Open Journal of Discrete Applied Mathematics

Wiener index of uniform hypergraphs induced by trees

Andrey Alekseevich Dobrynin1
Sobolev Institute of Mathematics, Siberian Branch of the Russian Academy of Sciences, Novosibirsk, 630090, Russia.; (A.A.D)
1Corresponding Author: dobr@math.nsc.ru

Abstract

The Wiener index W(G) of a graph G is defined as the sum of distances between its vertices. A tree T generates r-uniform hypergraph Hr,k(T) by the following way: hyperedges of cardinality r correspond to edges of the tree and adjacent hyperedges have k vertices in common. A relation between quantities W(T) and W(Hr,k(T)) is established.

Keywords:

Tree, hypergraph, Wiener index.

1. Introduction

In this paper we are concerned with undirected connected graphs G with vertex set V(G) and edge set E(G). The degree of a vertex is the number of edges that are incident to the vertex. Degree of a vertex v is denoted by deg(v). If u and v are vertices of G, then the number of edges in a shortest path connecting them is said to be their distance and is denoted by dG(u,v). Distance of a vertex v is the sum of distances from v to all vertices of a graph, dG(v)=uV(G)d(v,u). The Wiener index is a graph invariant defined as the sum of distances between all vertices of G: W(G)=u,vV(G)d(u,v)=12vV(G)dG(v).

It was introduced as a structural descriptor for tree-like molecular graphs [1]. Details on the mathematical properties and chemical applications of the Wiener index can be found in books [2, 3, 4, 5, 6, 7] and reviews [8, 9, 10, 11, 12, 13]. A number of articles are devoted to comparing of the index of a graph and its derived graphs such as the line graph, the total graph, thorny and subdivision graphs of various kind (see, for example, [14, 15, 16, 17]). Hypergraphs generalize graphs by extending the definition of an edge from a binary to an r-ary relation. Wiener index of some classes of hypergraphs was studied in [18, 19, 20]. Chemical applications of hypergraphs were discussed in [21, 22].

Define a class of r-uniform hypergraphs Hr,k(T) induced by n-vertex trees T. Edges of a tree correspond to hyperedges of cardinality r and adjacent hyperedges have k vertices in common, 1kr/2. Examples of a tree and the corresponding hypergraph are shown in Figure 1. The number of vertices of Hr,k(T) is equal to (n2)(rk)+r. We are interesting in finding a relation between quantities W(T) and W(Hr,k(T)).

Figure 1. Tree T and the induced hypergraph H7,2(T).

2. Main result

Wiener indices of a tree and its induced hypergraph satisfy the following relation.

Theorem 1. For the induced hypergraph Hr,k(T) of a tree T with n vertices, W(Hr,k(T))=(rk)2W(T)+n(k2)(n1)(r2k+12).

This result may be useful for ordering of Wiener indices of hypergraphs. If r and k are fixed, then the ordering of the Wiener index of induced hypergraphs Hr,k for n-vertex trees is completely defined by the ordering of the index of trees. In particular, W(Hr,k(Sn))W(Hr,k(T))W(Hr,k(Pn)) for any n-vertex tree T, where Sn and Pn are the star and the path with n vertices, W(Hr,k(Sn))=(r(n1)[2n(r2k)+8k3r1]+k(n2)[k(2n3)+1])/2, W(Hr,k(Pn))=n(rk)[(rk)n2+10k4r3]/6+2k2k(2r+1)+r(r+1)/2.

3. Proof of Theorem 1.

The edge subdivision operation for an edge (x,y)E(G) is the deletion of (x,y) from graph G and the addition of two edges (x,v) and (v,y) along with the new vertex v. Vertex v is called the subdivision vertex. Denote by Te the tree obtained from the subdivision of edge e in a tree T. The distance dG(v,U) from a vertex vV(G) to a vertex subset UV(G) is defined as dG(v,U)=uUdG(v,u).

Lemma 2. Let Te1,Te2,,Ten1 be trees obtained by subdivision of edges e1,e2,,en1 of n-vertex tree T with subdivision vertices v1,v2,,vn1, respectively. Then dTe1(v1)+dTe2(v2)++dTen1(vn1)=2W(T).

Proof. Let v be the subdivision vertex of edge e=(x,y) of a tree T. Denote by Vx and Vy the sets of vertices of two connected components after deleting edge e from T where xVx and yVy. Since dT(x)=dT(x,Vx)+|Vy|+dT(y,Vy) and dT(y)=dT(y,Vy)+|Vx|+dT(x,Vx), dT(x,Vx)+dT(y,Vy)=(dT(x)+dT(y)n)/2. Then dTe(v)=uVx[dTe(v,x)+dT(x,u)]+uVy[dTe(v,y)+dT(y,u)]=dT(x,Vx)+dT(y,Vy)+n=(dT(x)+dT(y)+n)/2. Klein et al. [23] proved that vV(T)deg(v)dT(v)=4W(T)n(n1) for an arbitrary n-vertex tree T. Then 2n1i=1dTei(vi)=(x,y)E(T)(dT(x)+dT(y)+n)=vV(T)deg(v)dT(v)+n(n1)=4W(T).

For convenience, we assume that pendent hyperedges are also adjacent with fictitious hyperedges shown by dashed lines in Figure 2. Denote by Bi, i=1,2,n, the vertices of a hypergraph H=Hr,k(T) belonging to hyperedge intersections and let A=V(H)B1B2Bn. We assume that edge Ei of the induced hypergraph corresponds to edge ei of the source tree T, i=1,2,,n1. Let dG(U)=uUdG(u) for UV(G). Then the Wiener index of H can be represented as follows:
W(H)=12(n1i=1dH(EiA)+ni=1dH(Bi)).
(1)

Figure 2. The hyperedges shown by dashed lines

Let uEiA and vi be the subdivision vertex of edge ei in T, i=1,2,,n1. Then dH(u)=(r2k1)+k+k+2(rk)++2(rk)+3(rk)++3(rk)+=(r2k1)2(r2k)+(rk)+(rk)+2(rk)++2(rk)+3(rk)++3(rk)+4(rk)++4(rk)+=(rk)dTei(vi)2(r2k)+(r2k1). Summing this equality for all vertices of intersection EiA, we have dH(EiA)=(r2k)dH(u)=(r2k)[(rk)dTei(vi)(r2k+1)]. Applying Lemma 1, we can write
n1i=1dH(EiA)=(r2k)((rk)n1i=1dTei(vi)(n1)(r2k+1))=(r2k)[2(rk)W(T)(n1)(r2k+1)].
(2)
Let uBi and vertex vi of T corresponds to this hyperedge intersection, i=1,2,,n. Then dH(u)=(k1)+(rk)++(rk)+2(rk)++2(rk)+3(rk)++3(rk)+=(rk)dT(vi)+(k1). Summing this equality for all vertices of the hyperedge intersection Bi, we have dH(Bi)=kdH(u)=k[(rk)dT(vi)+(k1)]. For vertices of all intersections,
ni=1dH(Bi)=k[(rk)ni=1dT(vi)+n(k1)]=2k(rk)W(T)+nk(k1).
(3)
Substitution expressions (2) and (3) back into Equation (1) completes the proof.

Acknowledgments

This work is supported by the Russian Foundation for Basic Research(project numbers 19-01-00682 and 17-51-560008).

Author Contributions

All authors contributed equally to the writing of this paper. All authors read and approved the final manuscript.

Conflicts of Interest:

The authors declare no conflict of interest.

References

  1. Wiener, H. (1947). Structural determination of paraffin boiling points. Journal of the American Chemical Society, 69(1), 17-20. [Google Scholor]
  2. Balaban, A. T., Motoc, I., Bonchev, D., & Mekenyan, O. (1983). Topological indices for structure-activity correlations. In Steric effects in drug design (pp. 21-55). Springer, Berlin, Heidelberg.[Google Scholor]
  3. Gutman, I., & Furtula, B. (Eds.) (2012). Distance in Molecular Graphs Theory. Mathematical chemistry monographs, 12, Univ. Kragujevac, Kragujevac, Serbia.[Google Scholor]
  4. Gutman, I., & Furtula, B. (Eds.) (2012). Distance in Molecular Graphs Applications. Mathematical chemistry monographs, 13, Univ. Kragujevac, Kragujevac, Serbia.
  5. Gutman, I., & Polansky, O. E. (1986).Mathematical Concepts in Organic Chemistry, Springer--Verlag, Berlin.[Google Scholor]
  6. Todeschini, R., & Consonni, V. (2008). Handbook of molecular descriptors (Vol. 11). John Wiley & Sons.[Google Scholor]
  7. Trinajstić, N. (1992). Chemical Graph Theory. CRC Press, Boca Raton. [Google Scholor]
  8. Dobrynin, A. A., Entringer, R., & Gutman, I. (2001). Wiener index of trees: theory and applications. Acta Applicandae Mathematica, 66(3), 211-249. [Google Scholor]
  9. Dobrynin, A. A., Gutman, I., Klavžar, S., & Žigert, P. (2002). Wiener index of hexagonal systems. Acta Applicandae Mathematica, 72(3), 247-294.[Google Scholor]
  10. Nikolić, S., & Trinajstić, N. (1995). The Wiener index: Development and applications. Croatica Chemica Acta, 68(1), 105-129.[Google Scholor]
  11. Entringer, R. C., Jackson, D. E., & Snyder, D. A. (1976). Distance in graphs. Czechoslovak Mathematical Journal, 26(2), 283-296.[Google Scholor]
  12. Knor, M., Škrekovski, R., & Tepeh, A. (2015). Mathematical aspects of Wiener index. Ars Mathematica Contemporanea, 11(2), 327--352.[Google Scholor]
  13. Entringer, R. C. (1997). Distance in graphs: trees. Journal of combinatorial mathematics and combinatorial computing , 24, 65--84.[Google Scholor]
  14. Eliasi, M., Raeisi, G., & Taeri, B. (2012). Wiener index of some graph operations. Discrete Applied Mathematics, 160(9), 1333-1344. [Google Scholor]
  15. Gutman, I. (1998). Distance of thorny graphs. Publications de l'Institut Mathématique (Beograd), 63(31-36), 73-74. [Google Scholor]
  16. Knor, M., & Škrekovski, R. (2014). Wiener index of line graphs. In Quantitative Graph Theory: Mathematical Foundations and Applications, 279-301. 279--301. [Google Scholor]
  17. Dobrynin, A. A., & Mel'nikov, L. S. (2012). Wiener index of line graphs. In: Distance in Molecular Graphs Theory, Gutman, I., \& Furtula, B. (Eds.). Univ. Kragujevac, Kragujevac, Serbia, 85--121. [Google Scholor]
  18. Guo, H., Zhou, B., & Lin, H. (2017). The Wiener index of uniform hypergraphs. MATCH Communications in Mathematical and in Computer Chemistry, 78, 133-152.[Google Scholor]
  19. Rani, L. N., Rajkumari, K. J., & Roy, S. (2019). Wiener Index of Hypertree. In Applied Mathematics and Scientific Computing (pp. 497-505). Birkhäuser, Cham.[Google Scholor]
  20. Sun, L., Wu, J., Cai, H., & Luo, Z. (2017). The Wiener index of r-uniform hypergraphs. Bulletin of the Malaysian Mathematical Sciences Society, 40(3), 1093-1113.[Google Scholor]
  21. Konstantinova, E. V., & Skorobogatov, V. A. (2001). Application of hypergraph theory in chemistry. Discrete Mathematics, 235(1-3), 365-383. [Google Scholor]
  22. Konstantinova, E. (2000). Chemical hypergraph theory. Lecture Notes from Combinatorial & Computational Mathametics Center, http://com2mac. postech. ac. kr. [Google Scholor]
  23. Klein, D. J., Mihalić, Z., Plavšić, D., & Trinajstić, N. (1992). Molecular topological index: A relation with the Wiener index. Journal of chemical information and computer sciences, 32(4), 304-305. [Google Scholor]