- Research
- Open access
- Published:
On the Harary index of graph operations
Journal of Inequalities and Applications volume 2013, Article number: 339 (2013)
Abstract
The Harary index is defined as the sum of reciprocals of distances between all pairs of vertices of a connected graph. In this paper, expressions for the Harary indices of the join, corona product, Cartesian product, composition and disjunction of graphs are derived and the indices for some well-known graphs are evaluated. In derivations some terms appear which are similar to the Harary index and we name them the second and third Harary index.
MSC:05C05, 05C07, 05C90.
1 Introduction and preliminaries
Throughout this paper we consider simple connected graphs without loops and multiple edges. Suppose that G is a graph with vertex set and edge set . The distance between the vertices and of is denoted by and it is defined as the number of edges in a minimal path connecting the vertices and . The Harary index is one of very much studied topological indices and is defined as follows [1, 2]:
where the summation goes over all unordered pairs of vertices of G. Mathematical properties and applications of H are reported in [3–11]. We now propose two more members of the class of Harary indices, the second Harary index and the third Harary index, which are as follows:
and
where the summation goes over all unordered pairs of the vertices of G. The Wiener index of G is defined as [12]
If we denote by the number of vertex pairs of G, the distance of which is equal to k, then the Wiener index of G can be expressed as
The maximum value of k, for which is non-zero, is the diameter of the graph G, and it will be denoted by . The Wiener index is of certain importance in chemistry [13]. It is one of the oldest and most thoroughly studied graph-based molecular structure-descriptors (the so-called topological indices) [12–14]. Numerous chemical applications of it have been reported (see, for instance, [15, 16]), and its mathematical properties are reasonably well understood [17–20]. The degree of , denoted by , is the number of vertices in G adjacent to . For other undefined notations and terminology from graph theory, the readers are referred to [21].
In [22], Khalifeh et al. computed some exact formulae for the hyper-Wiener index of the join, Cartesian product, composition, disjunction and symmetric difference of graphs. Some more properties and applications of graph products can be seen in the classical book [23].
The paper is organized as follows. In Section 2, we obtain lower and upper bounds on the Harary index of graphs. In Section 3, we give some exact expressions for the Harary index of various graph operations, such as join, corona product, Cartesian product, composition, disjunction, etc. Moreover, computations are done for some well-known graphs.
2 Bounds on the Harary index
We define
where t is any non-negative real number. In this section we obtain lower and upper bounds on of the graph G. From that we can find lower and upper bounds on the Harary index of graphs. These results are useful in the next section. We begin with the following lower and upper bounds on .
Theorem 1LetG () be a connected graph of order, edges and diameter. Then
with equality holding if and only ifGis isomorphic to a graph of diameter 2. Moreover,
with equality holding if and only ifGis isomorphic to a graph of diameter 2.
Proof For , , , , , we have
From the definition of the Wiener index, we have
Using the above, we get
Now,
Using (3) in the above, we get
and
Now,
Using (4), (6) and (7) in the above, we get the lower bound in (1) and upper bound in (2) on of the graph G.
Now suppose that the equality holds in (1) and (2). Then all inequalities in the above argument must be equalities. For the lower bound, we must have
For the upper bound, we must have
Thus G is isomorphic to a graph of diameter 2.
Conversely, one can see easily that both equalities hold in (1) and (2) for graphs of diameter 2. □
Corollary 1LetG () be a connected graph of order, edges and diameter. Then
with equality holding if and only ifGis isomorphic to a graph of diameter 2. Moreover,
with equality holding if and only ifGis isomorphic to a graph of diameter 2.
Proof Putting in (1) and (2), we get the required result. By Theorem 1, we have that both equalities hold if and only if G is isomorphic to a graph of diameter 2. □
Corollary 2LetG () be a connected graph of order, edges and diameter. Then
with equality holding if and only ifGis isomorphic to a graph of diameter 2. Moreover,
with equality holding if and only ifGis isomorphic to a graph of diameter 2.
Proof Putting in (1) and (2), we get the required result. By Theorem 1, we have that both equalities hold if and only if G is isomorphic to a graph of diameter 2. □
From the above Theorem 1, we get the lower and upper bounds on the Harary index of graphs.
Theorem 2LetG () be a connected graph of order, edges and diameter. Then
with equality holding if and only ifGis isomorphic to a graph of diameter 2. Moreover,
with equality holding if and only ifGis isomorphic to a graph of diameter 2.
Proof Putting in (1) and (2), we get the required result. By Theorem 1, we have that both equalities hold if and only if G is isomorphic to a graph of diameter 2. □
3 Harary index of graph operations
In this section, some exact formulae for the Harary index of some graph operations are presented.
Let and be two graphs with and vertices, and and edges, respectively. The join of graphs and with disjoint vertex sets and , and edge sets and is the graph union together with all the edges joining and . Thus, for example, , the complete bipartite graph.
Theorem 3Letandbe two graphs. Then
Proof By the definition of the Harary index, we have
□
For two cycles and , we have the following.
Example 1
The corona product of two graphs and is defined to be the graph Γ obtained by taking one copy of (which has vertices) and copies of , and then joining the i th vertex of to every vertex in the i th copy of , . Let and be two graphs such that , , and , , . Then it follows from the definition of the corona that has vertices and edges, where
It is clear that if is connected, then is connected, and in general is not isomorphic to .
Theorem 4The Harary index of the corona product is computed as follows:
whereand.
Proof Note that
By the definition of the Harary index, we have
□
Theorem 5Let () andbe two connected graphs with diameter of, . Then the lower and upper bounds on the Harary index of the corona product are as follows:
with equality holding if and only ifis isomorphic to a graph of diameter 2. Moreover,
with equality holding if and only ifis isomorphic to a graph of diameter 2.
Proof Using Corollaries 1 and 2 with Theorem 2, from Theorem 4, we get the lower and upper bounds on the Harary index of the corona product. Moreover, the equality holds if and only if is isomorphic to a graph of diameter 2. □
Given a graph G with vertex set , the thorn graph first introduced by Gutman [24], is a graph obtained by attaching pendent vertices to vertex for . In particular, if , we denote by the thorn graph for short. Recall the definition of the corona product, the graph , where denotes the complement of a complete graph . Therefore, for a connected graph G of order n, we have the following.
Example 2
The Cartesian product of graphs and has the vertex set and is an edge of if and , or and .
Theorem 6Letandbe two connected graphs with diameterof the graph. Then
where
Moreover, both sides of the equality hold in (8) if and only ifis isomorphic to a complete graph of order.
Proof By the definition of the Harary index, we have
where is given in the statement of the theorem. Since , similarly, we get
where is given in the statement of the theorem. The first part of the proof is over.
Suppose that both sides of the equality hold in (8). Then we must have , , for all or , , for all . Hence is isomorphic to a complete graph of order .
Conversely, one can see easily that (8) holds for , a complete graph of order . This completes the proof. □
Theorem 7Let () and () be two connected graphs with diameterof the graphandof the graph. Then
Moreover,
Proof Using Theorems 1 and 2 with Corollary 1 in Theorem 6, we get the lower and upper bounds on the Cartesian product of the graphs and . Moreover, both inequalities are strict as , and by Theorem 6. □
Theorem 8Letandbe two connected graphs with diameterof the graph. Then
where
Moreover, both sides of the equality hold in (10) if and only ifis isomorphic to a complete graph of order.
Proof Since , , from (9) we get the required result in (10). Moreover, both sides of the equality hold in (10) if and only if is isomorphic to a complete graph of order . □
Theorem 9Let () and () be two connected graphs with diameterof the graphandof the graph. Then
Moreover,
Proof Using Theorems 1 and 2 with Corollary 1 in Theorem 8, we get the lower and upper bound on the Cartesian product of graphs and . Moreover, both inequalities are strict as , and by Theorem 8. □
Corollary 3LetGbe a connected graph of order. Then
where.
Proof Choosing and in Theorem 6, this theorem follows immediately. □
The lattice graph (see [25]) is just . It is well known that [2]. So, we have the following example.
Example 3
The composition (also called lexicographic product [26]) of graphs and with disjoint vertex sets and and edge sets and is the graph with vertex set and is adjacent with whenever is adjacent with , or and is adjacent with .
Theorem 10Letandbe two connected graphs. Then
Proof By the definition of the Harary index, we have
□
The double graph of a given graph G, denoted by , is constructed by making two copies of G (including the initial edge set of each), denoted by and , and adding edges and for every edge uv of G. From the definition of composition, we conclude that for any connected graph G. Therefore the following corollary can be easily obtained.
Corollary 4LetGbe a connected graph. Then
For a complete graph , we find that is a graph obtained by deleting a perfect matching from the complete graph , which is just the well-known cocktail party graph (see [27]).
Example 4
The disjunction of graphs and is the graph with vertex set and is adjacent with whenever or .
Theorem 11Letandbe two connected graphs. Then
Proof In [22], it has been proved that
Moreover, it has been showed that
By the definition of the Harary index, we have
□
The construction of the extended double cover was introduced by Alon [28] in 1986. For a simple graph G with vertex set , the extended double cover of G, denoted by , is the bipartite graph with bipartition where and , in which and are adjacent if and only if or and are adjacent in G. Note that for a graph G, . So, the corollary below follows immediately.
Corollary 5LetGbe a connected graph of ordern. Then
For a complete graph , by the definition listed above, we find that is just .
Example 5
Let be a connected graph of vertices with edges. If we put two similar graphs G side by side, and any vertex of the first graph G is connected by edges with those vertices which are adjacent to the corresponding vertex of the second graph G and the resultant graph is denoted by , then we have and . Moreover, is the graph of and G with the vertex set and is an edge of whenever ( and is adjacent with ) or ( and is adjacent with ).
Theorem 12LetGbe a connected graph. Then
Proof By the definition of the Harary index, we have
□
Let be a connected graph of vertices with edges. If we put two similar graphs G side by side, and any vertex of the first graph G is connected by edges with those vertices which are nonadjacent to the corresponding vertex (including the corresponding vertex itself) of the second graph G and the resultant graph is denoted by , then we have and . Moreover, is the graph of and G with the vertex set and is an edge of whenever ( and is adjacent with ) or ( and is nonadjacent with ).
Theorem 13LetGbe a connected graph of order. Then
Proof In , for each vertex , there are neighbors, and vertices with the distance 2 from itself. By the definition of the Harary index, we have
□
References
Ivanciuc O, Balaban TS, Balaban AT: Reciprocal distance matrix, related local vertex invariants and topological indices. J. Math. Chem. 1993, 12: 309–318. 10.1007/BF01164642
Plavšić D, Nikolić S, Trinajstić N, Mihalić Z: On the Harary index for the characterization of chemical graphs. J. Math. Chem. 1993, 12: 235–250. 10.1007/BF01164638
Das KC, Zhou B, Trinajstić N: Bounds on Harary index. J. Math. Chem. 2009, 46: 1369–1376. 10.1007/s10910-009-9520-x
Das KC, Xu K, Gutman I: On Zagreb and Harary indices. MATCH Commun. Math. Comput. Chem. 2013, 70(1):301–314.
Ilić A, Yu G, Feng L: The Harary index of trees. Util. Math. 2012, 87: 21–32.
Lučić B, Miličević A, Nikolić S, Trinajstić N: Harary index - twelve years later. Croat. Chem. Acta 2002, 75: 847–868.
Xu K: Trees with the seven smallest and eight greatest Harary indices. Discrete Appl. Math. 2012, 160: 321–331. 10.1016/j.dam.2011.08.014
Xu K, Das KC: Extremal unicyclic and bicyclic graphs with respect to Harary index. Bull. Malays. Math. Soc. 2013, 36(2):373–383.
Xu K, Das KC: On Harary index of graphs. Discrete Appl. Math. 2011, 159: 1631–1640. 10.1016/j.dam.2011.06.003
Xu K, Trinajstić N: Hyper-Wiener and Harary indices of graphs with cut edges. Util. Math. 2011, 84: 153–163.
Zhou B, Cai X, Trinajstić N: On the Harary index. J. Math. Chem. 2008, 44: 611–618. 10.1007/s10910-007-9339-2
Wiener H: Structural determination of paraffin boiling points. J. Am. Chem. Soc. 1947, 69: 17–20. 10.1021/ja01193a005
Gutman I, Polansky OE: Mathematical Concepts in Organic Chemistry. Springer, Berlin; 1986.
Todeschini R, Consonni V: Handbook of Molecular Descriptors. Wiley, Weinheim; 2000.
Needham DE, Wei IC, Seybold PG: Molecular modeling of the physical properties of alkanes. J. Am. Chem. Soc. 1988, 110: 4186–4194. 10.1021/ja00221a015
Rücker G, Rücker C: On topological indices, boiling points, and cycloalkanes. J. Chem. Inf. Comput. Sci. 1999, 39: 788–802. 10.1021/ci9900175
Das KC, Gutman I: Estimating the Wiener index by means of number of vertices, number of edges, and diameter. MATCH Commun. Math. Comput. Chem. 2010, 64(3):647–660.
Dobrynin AA, Entringer R, Gutman I: Wiener index of trees: theory and applications. Acta Appl. Math. 2001, 66: 211–249. 10.1023/A:1010767517079
Liu H, Pan XF: On the Wiener index of trees with fixed diameter. MATCH Commun. Math. Comput. Chem. 2008, 60: 85–94.
Zhang XD, Xiang QY, Xu LQ, Pan RY: The Wiener index of trees with given degree sequence. MATCH Commun. Math. Comput. Chem. 2008, 60: 623–644.
Bondy JA, Murty USR: Graph Theory with Applications. Macmillan Press, New York; 1976.
Khalifeh MH, Azari HY, Ashrafi AR: The hyper-Wiener index of graph operations. Comput. Math. Appl. 2008, 56: 1402–1407. 10.1016/j.camwa.2008.03.003
Imrich W, Klavžar S: Product Graphs: Structure and Recognition. Wiley, New York; 2000.
Gutman I: Distance in theory of graphs. Publ. Inst. Math. (Belgr.) 1998, 63: 31–36.
Brouwer AE, Cohen AM, Neumaier A: Distance-Regular Graphs. Springer, Berlin; 1989.
Harary F: Graph Theory. Addison-Wesley, Reading; 1994. p. 22
Biggs NL: Algebraic Graph Theory. 2nd edition. Cambridge University Press, Cambridge; 1993. pp. 17 and 68
Alon N: Eigenvalues and expanders. Combinatorica 1986, 6: 83–96. 10.1007/BF02579166
Acknowledgements
KCD was supported by the Faculty research Fund, Sungkyunkwan University, 2012, and National Research Foundation funded by the Korean government with the grant no. 2013R1A1A2009341; and KX was supported by China Postdoctoral Science Foundation (2013M530253) and the NNSF of China with the number 11201227. Moreover, INC and ASC were supported by the Scientific Project Office Funds (BAP) of Uludag (with Project Code F2012/15, F2012/19 and F2012/20) and Selcuk (with Project Code 13701071) Universities, respectively.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
All authors completed the paper together. All authors read and approved the final manuscript.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Das, K.C., Xu, K., Cangul, I.N. et al. On the Harary index of graph operations. J Inequal Appl 2013, 339 (2013). https://doi.org/10.1186/1029-242X-2013-339
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/1029-242X-2013-339