Journal of Discrete Mathematics

Volume 2014 (2014), Article ID 292679, 5 pages

http://dx.doi.org/10.1155/2014/292679

## Eccentric Connectivity and Zagreb Coindices of the Generalized Hierarchical Product of Graphs

^{1}Department of Mathematics, Ferdowsi University of Mashhad, P.O. Box 1159, Mashhad 91775, Iran^{2}Department of Mathematics, Faculty of Mathematical Sciences, University of Kashan, Kashan 87317-51167, Iran

Received 9 May 2014; Accepted 14 October 2014; Published 27 November 2014

Academic Editor: Aleksandar Ilić

Copyright © 2014 M. Tavakoli et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Formulas for calculations of the eccentric connectivity index and Zagreb coindices of graphs under generalized hierarchical product are presented. As an application, explicit formulas for eccentric connectivity index and Zagreb coindices of some chemical graphs are obtained.

#### 1. Introduction

All graphs considered here are undirected, simple, and connected. For two vertices and of a graph , the distance is equal to the length of a shortest path connecting and . Suppose that and are the set of vertices and edges of , respectively. For every vertex , the edge connecting and is denoted by and ( for short) denotes the degree of in . The diameter of , denoted by , is the maximum distance among all pairs of vertices in the graph.

The first and second Zagreb indices are defined as respectively [1]. The applications of these graph invariants and their mathematical properties are reviewed in two important survey articles [2, 3]. When a topological index or a new graph operation is introduced, then the following mathematical questions are usually raised.(1)What are the extremal properties of this new topological index?(2)Is it possible to find exact formulas for this topological index under old and new graph operations?We refer to [4–7] for such questions about Zagreb group indices.

The Zagreb indices can be viewed as the contributions of pairs of adjacent vertices to certain degree-weighted generalizations of Wiener polynomials. The first and second Zagreb coindices were first introduced by Došlić [8]. They are defined as follows: In [9], the authors computed exact formulas for these graph parameters under some graph operations.

Now we define a vertex version of Zagreb indices as follows: The graph invariants and are called the first and second vertex Zagreb indices of .

The eccentricity is the largest distance between and any other vertex of . The total connectivity index of a graph is defined as . Also, the eccentric connectivity index of is defined as [10]. We refer to [11] for a good survey on this topological index.

A graph with a specified vertex subset is denoted by . Suppose and are graphs and . The generalized hierarchical product, denoted by , is the graph with vertex set and two vertices and are adjacent if and only if and or and ; see Figure 1. This graph operation was introduced recently by Barrière et al. [12, 13] and found some applications in computer science. We encourage the reader to consult [14–16] for the mathematical properties of the hierarchical product of graphs. The Cartesian product, , of graphs and has the vertex set and is an edge of if and or and [17].

We denote by and the path and cycle with vertices, respectively. Our notations are standard and can be taken from the standard books on graph theory.

#### 2. Main** **Results

We start by introducing some notations that will be kept throughout this section. Let be a graph and . Following Pattabiraman and Paulraja [18], an path through in is an path in containing some vertices (not necessarily distinct from and ). Let denote the length of a shortest path through in . Notice that if one of the vertices and belongs to , then . Furthermore, let ; then and can be defined as follows:

Lemma 1 (see [13]). *Let and be graphs with . Then one has the following:*(a)*if , then the generalized hierarchical product is the Cartesian product of and ;*(b)*; ;*(c)* is connected if and only if and are connected;*(d)*, = + , if ; , if .*

*Theorem 2 (see [19]). Let and be two connected graphs and let be a nonempty subset of . Then
*

*Put . Then , , and . Therefore,*

*Corollary 3 (see [19]). Let and be two connected graphs. Then
*

*Example 4. *Let be the graph of truncated cube. Then , where , as shown in Figure 1. It is not difficult to check that , and so, by Theorem 2, we have .

*Example 5. *Consider the linear phenylene including benzene rings; see Figure 2. The linear phenylene is the graph , where
On the other hand, by tedious calculations, one can check that
So, by Theorem 2, we obtain

*Theorem 6. Let and be two connected graphs and let be a nonempty subset of . Then, (1).(2) + + + .*

*Proof. *Let and be two connected graphs and let be a nonempty subset of . The part (1) of this theorem is clear. To prove the second part, we notice that by definitions of generalized hierarchical product and , we have
This completes the proof.

*Corollary 7 (see [15]). Let and be two connected graphs and let be a nonempty subset of . Then
*

*Proof. *It follows from definition of that . On the other hand, . Therefore,
So, by replacing and with and , respectively, in the above equation, the assertion follows immediately.

*Corollary 8. Let and be two connected graphs and let be a nonempty subset of . Then
*

*Proof. *The assertion follows from Theorem 6, Corollary 7, and the fact that = .

*Theorem 9 (see [15]). Let and be two connected graphs and let be a nonempty subset of . Then
where is the set of all adjacent vertices of .*

*By Theorems 6 and 9 and this fact that , we can write the following.*

*Corollary 10. Let and be two connected graphs and let be a nonempty subset of . Then
*

*Example 11. *The molecular graph of dimer fullerene is the graph , where (Figure 3). On the other hand, it is not difficult to check that , , , , , , and . Thus, by the above results, we obtain(1) and .(2) and .

*Example 12. *Consider the linear phenylene including benzene rings (Figure 2). The linear phenylene is the graph , where ; see Figure 2. On the other hand, it is not difficult to check that , , , , , , and . Hence, by previous result, we obtain the following:(1) and ;(2) and = .

*Example 13. *Let be the graph of truncated cube. Then , where , as shown in Figure 1. Therefore,(1) and .(2) and .

*Conflict of Interests*

*Conflict of Interests**The authors declare that there is no conflict of interests regarding the publication of this paper.*

*Acknowledgments*

*Acknowledgments**The research of the first and second authors was supported by a grant from Ferdowsi University of Mashhad; (no. MA92295RAH). The research of the third author is partially supported by the University of Kashan under Grant no. 159020/40.*

*References*

*References*

- I. Gutman and N. Trinajstić, “Graph theory and molecular orbitals. Total φ-electron energy of alternant hydrocarbons,”
*Chemical Physics Letters*, vol. 17, no. 4, pp. 535–538, 1972. View at Publisher · View at Google Scholar · View at Scopus - I. Gutman and K. C. Das, “The first Zagreb index 30 years after,”
*MATCH: Communications in Mathematical and in Computer Chemistry*, no. 50, pp. 83–92, 2004. View at Google Scholar · View at MathSciNet · View at Scopus - S. Nikolić, G. Kovačević, A. Milićević, and N. Trinajstić, “The Zagreb indices 30 years after,”
*Croatica Chemica Acta*, vol. 76, no. 2, pp. 113–124, 2003. View at Google Scholar - A. R. Ashrafi, T. Došlic, and A. Hamzeh, “Extremal graphs with respect to the Zagreb coindices,”
*MATCH: Communications in Mathematical and in Computer Chemistry*, vol. 65, no. 1, pp. 85–92, 2011. View at Google Scholar · View at MathSciNet · View at Scopus - Y. Guo, Y. Du, and Y. Wang, “Bipartite graphs with extreme values of the first general Zagreb index,”
*MATCH: Communications in Mathematical and in Computer Chemistry*, vol. 63, no. 2, pp. 469–480, 2010. View at Google Scholar · View at MathSciNet · View at Scopus - D. Stevanović, “Hosoya polynomial of composite graphs,”
*Discrete Mathematics*, vol. 235, no. 1–3, pp. 237–244, 2001. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - M. H. Khalifeh, H. Yousefi-Azari, and A. R. Ashrafi, “The first and second Zagreb indices of some graph operations,”
*Discrete Applied Mathematics*, vol. 157, no. 4, pp. 804–811, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - T. Došlić, “Vertex-weighted Wiener polynomials for composite graphs,”
*Ars Mathematica Contemporanea*, vol. 1, no. 1, pp. 66–80, 2008. View at Google Scholar · View at MathSciNet - A. R. Ashrafi, T. Došlić, and A. Hamzeh, “The Zagreb coindices of graph operations,”
*Discrete Applied Mathematics*, vol. 158, no. 15, pp. 1571–1578, 2010. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - V. Sharma, R. Goswami, and A. K. Madan, “Eccentric connectivity index: a novel highly discriminating topological descriptor for structure-property and structure-activity studies,”
*Journal of Chemical Information and Computer Sciences*, vol. 37, no. 2, pp. 273–282, 1997. View at Google Scholar · View at Scopus - A. Ilić, “Eccentric connectivity index,” in
*Novel Molecular Structure Descriptors—Theory and Applications II*, I. Gutman and B. Furtula, Eds., pp. 139–168, University of Kragujevac, Kragujevac, Serbia, 2010. View at Google Scholar - L. Barrière, F. Comellas, C. Dalfó, and M. A. Fiol, “The hierarchical product of graphs,”
*Discrete Applied Mathematics*, vol. 157, no. 1, pp. 36–48, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - L. Barrière, C. Dalfó, M. A. Fiol, and M. Mitjana, “The generalized hierarchical product of graphs,”
*Discrete Mathematics*, vol. 309, no. 12, pp. 3871–3881, 2009. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - M. Arezoomand and B. Taeri, “Applications of generalized hierarchical product of graphs in computing the Szeged index of chemical graphs,”
*MATCH: Communications in Mathematical and in Computer Chemistry*, vol. 64, no. 3, pp. 591–602, 2010. View at Google Scholar · View at MathSciNet · View at Scopus - M. Arezoomand and B. Taeri, “Zagreb indices of the generalized hierarchical product of graphs,”
*MATCH: Communications in Mathematical and in Computer Chemistry*, vol. 69, no. 1, pp. 131–140, 2013. View at Google Scholar · View at MathSciNet · View at Scopus - M. Tavakoli, F. Rahbarnia, and A. R. Ashrafi, “Further results on hierarchical product of graphs,”
*Discrete Applied Mathematics*, vol. 161, no. 7-8, pp. 1162–1167, 2013. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - R. Hammack, W. Imrich, and S. Klavžar,
*Handbook of Product Graphs*, Taylor & Francis, 2nd edition, 2011. View at MathSciNet - K. Pattabiraman and P. Paulraja, “Vertex and edge Padmakar-Ivan indices of the generalized hierarchical product of graphs,”
*Discrete Applied Mathematics*, vol. 160, no. 9, pp. 1376–1384, 2012. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - B. Eskender and E. Vumar, “Eccentric connectivity index and eccentric distance sum of some graph operations,”
*Transactions on Combinatorics*, vol. 2, no. 1, pp. 103–111, 2013. View at Google Scholar · View at MathSciNet

*
*