Research Article | Open Access

# The Terminal Hosoya Polynomial of Some Families of Composite Graphs

**Academic Editor:**Jiang Zeng

#### Abstract

Let be a connected graph and let be the set of pendent vertices of . The *terminal Hosoya polynomial* of is defined as , where denotes the distance between the pendent vertices and . In this note paper we obtain closed formulae for the terminal Hosoya polynomial of rooted product graphs and corona product graphs.

#### 1. Introduction

Throughout this paper denotes a connected, simple, and finite graph with vertex set and edge set . The* distance * between two vertices and is the minimum of the lengths of paths between and .

The* Wiener index * of a graph with vertex set , defined as the sum of distances between all pairs of vertices of ,
is the first mathematical invariant reflecting the topological structure of a molecular graph.

This topological index has been extensively studied; for instance, a comprehensive survey on the direct calculation, applications, and the relation of the Wiener index of trees with other parameters of graphs can be found in [1]. Moreover, a list of 120 references of the main works on the Wiener index of graphs can be found in the referred survey.

The Hosoya polynomial of a graph was introduced in Hosoya's seminal paper [2] in 1988 and received a lot of attention afterwards. The polynomial was later independently introduced and considered by Sagan et al. [3] under the name Wiener polynomial of a graph. Both names are still used for the polynomial but the term Hosoya polynomial is nowadays used by the majority of researchers. The main advantage of the Hosoya polynomial is that it contains a wealth of information about distance based graph invariants. For instance, knowing the Hosoya polynomial of a graph, it is straightforward to determine the Wiener index of a graph as the first derivative of the polynomial at the point . Cash [4] noticed that the hyper-Wiener index can be obtained from the Hosoya polynomial in a similar simple manner. A comprehensive survey on the main properties of the Hosoya polynomial, which includes a wide list of bibliographic references, can be found in Gutman et al. [5]. Also, Estrada et al. [6] studied several chemical applications of the Hosoya polynomial.

The* Hosoya polynomial* of a connected graph is defined as
As we pointed out above, the Wiener index of a graph is determined as the first derivative of the polynomial at .

The Hosoya polynomial has been obtained for trees, composite graphs, benzenoid graphs, tori, zig-zag open-ended nanotubes, certain graph decorations, armchair open-ended nanotubes, zigzag polyhex nanotorus, nanotubes, pentachains, polyphenyl chains, the circumcoronene series, Fibonacci and Lucas cubes, Hanoi graphs, and so forth. See the references in [7].

The* degree* of a vertex in is the number of edges incident to it and is denoted by . If , then is called a* pendent* vertex of . The set of pendent vertices of will be denoted by .

Gutman et al. proposed the concept of* terminal Wiener index*, which is defined as the sum of distances between all pairs of pendent vertices of [8]. For detailed information on the terminal Wiener index the readers may refer to the recent papers [8–11] and the references cited therein.

By analogy to the definition of Hosoya polynomial, the* terminal Hosoya polynomial* was defined by Narayankar et al. [12] as
and recently Ramane et al. studied for the case of line graphs [13]. As we can expect, the terminal Wiener index, denoted by , is obtained from as

Among the most known products of graphs, namely, Cartesian product, lexicographic product, strong product, rooted product, and corona product, the two latest ones are the only cases in which we can obtain connected graphs having pendent vertices. So, in this paper we obtain formulae for the terminal Hosoya polynomial of both types of graphs, rooted product graphs and corona product graphs.

The remaining definitions will be given the first time that the concept is found in the text.

#### 2. The Terminal Hosoya Polynomial of Rooted Product Graphs

A* rooted graph* is a graph in which one vertex is labeled in a special way so as to distinguish it from the other vertices. The special vertex is called the* root* of the graph. Let be a labeled graph on vertices. Let be a sequence of rooted graphs . The* rooted product graph * is the graph obtained by identifying the root of with the th vertex of [14]. In this paper we consider a particular case of rooted product graphs where consists of isomorphic rooted graphs [15]. More formally, assuming that and that the root vertex of is , we define the* rooted product graph * as the graph whose vertex set is and whose edge set is

As an example of a chemical compound whose graph is obtained as a rooted product graph we consider the Cycloalkanes with a single ring, whose chemical formula is , and whose molecular graph can be expressed as , where is the cycle graph of order , is a path of order , and is the central vertex of (see Figure 1).

To begin with, we need some additional notation. We define the* terminal Hosoya polynomial with respect to * as

Theorem 1. *Let be a connected graph of order and let be a connected nontrivial graph. Then for any ,
*

*Proof. *Let and let be the th-“copy” of in ; that is, is the subgraph of generated by the set , which is isomorphic to . Then,
So, if , then and, as a consequence, . So, we assume that .

Notice that for every pair of pendent vertices of and we have
Also, for , , we have
Hence, splits as the sum of two polynomials , where is obtained from pairs of pendent vertices in the same and is obtained from pairs , where . On the one hand,
and, on the other hand,
Therefore, the result follows.

Given a vertex , we define
Notice that we can see as the* terminal Wiener index with respect to *; that is, is the first derivative of the polynomial at . As a direct consequence of Theorem 1 we obtain the following result on the terminal Wiener index.

Corollary 2. *Let be a connected nontrivial graph. Then for any and any connected graph of order ,
*

Now we consider the case of rooted product graphs where the root is a pendent vertex of .

Theorem 3. *Let be a connected graph of order and let be a connected nontrivial graph. Then for any ,
*

*Proof. *We proceed as in the proof of Theorem 1, with the only difference that in this case is obtained as follows:

Corollary 4. *Let be a connected nontrivial graph. Then for any and any connected graph of order , one has
*

#### 3. The Terminal Hosoya Polynomial of Corona Graphs

Let and be two graphs of order and , respectively. The corona product is defined as the graph obtained from and by taking one copy of and copies of and joining by an edge each vertex from the th-copy of with the th-vertex of [16]. We will denote by the set of vertices of and by the copy of such that is adjacent to for every . Thus, the vertex set of is and, consequently, has order and, if is connected, then is also connected and it has diameter .

Notice that the corona graph is isomorphic to the join graph . Now, if is a tree and is an empty graph (An empty graph on nodes consists of isolated nodes with no edges. Such graphs are sometimes also called edgeless graphs or null graphs), then the corona graph is a tree and the set of leaves (pendent vertices) of is . In particular, if is a path, then is a caterpillar graph and the path , that is formed by the nonleaves of , is known as the backbone of the caterpillar.

The formula for the Hosoya polynomial of corona graphs was previously obtained in [17]. In this section we obtain the formula for the terminal Hosoya polynomial of corona graphs . Of course, has pendent vertices if and only if has isolated vertices.

Corollary 5. *For any connected graph of order and any graph having isolated vertices,
*

*Proof. *First of all, notice that , where is the trivial graph composed by the vertex . Now, since and , the result immediately follows from Theorem 1.

Finally, Corollary 5 (and also Corollary 2) leads to the following formula for the terminal Wiener index of .

*Remark 6. *For any connected graph of order and any graph having isolated vertices,

#### Conflict of Interests

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

#### References

- A. A. Dobrynin, R. Entringer, and I. Gutman, “Wiener index of trees: theory and applications,”
*Acta Applicandae Mathematicae. An International Survey Journal on Applying Mathematics and Mathematical Applications*, vol. 66, no. 3, pp. 211–249, 2001. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - H. Hosoya, “On some counting polynomials in chemistry,”
*Discrete Applied Mathematics*, vol. 19, no. 1–3, pp. 239–257, 1988. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - B. E. Sagan, Y. Yeh, and P. Zhang, “The Wiener polynomial of a graph,”
*International Journal of Quantum Chemistry*, vol. 60, no. 5, pp. 959–969, 1996. View at: Google Scholar - G. G. Cash, “Relationship between the Hosoya polynomial and the hyper-Wiener index,”
*Applied Mathematics Letters*, vol. 15, no. 7, pp. 893–895, 2002. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - I. Gutman, Y. Zhang, M. Dehmer, and A. Ilic, “Altenburg, Wiener, and Hosoya polynomials,” in
*Distance in Molecular Graphs-Theory*, I. Gutman and B. Furtula, Eds., pp. 49–70, University of Kragujevac, Kragujevac, Serbia, 2012. View at: Google Scholar - E. Estrada, O. Ivanciuc, I. Gutman, A. Gutierrez, and L. Rodríguez, “Extended Wiener indices. A new set of descriptors for quantitative structure-property studies,”
*New Journal of Chemistry*, vol. 22, no. 8, pp. 819–822, 1998. View at: Google Scholar - E. Deutsch and S. Klavžar, “Computing the Hosoya polynomial of graphs from primary subgraphs,”
*MATCH Communications in Mathematical and in Computer Chemistry*, vol. 70, no. 2, pp. 627–644, 2013. View at: Google Scholar | MathSciNet - I. Gutman, B. Furtula, and M. Petrović, “Terminal Wiener index,”
*Journal of Mathematical Chemistry*, vol. 46, no. 2, pp. 522–531, 2009. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - L. A. Székely, H. Wang, and T. Wu, “The sum of the distances between the leaves of a tree and the “semi-regular” property,”
*Discrete Mathematics*, vol. 311, no. 13, pp. 1197–1203, 2011. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - X. Deng and J. Zhang, “Equiseparability on terminal Wiener index,”
*Applied Mathematics Letters*, vol. 25, no. 3, pp. 580–585, 2012. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - Y.-H. Chen and X.-D. Zhang, “On Wiener and terminal Wiener indices of trees,”
*MATCH Communications in Mathematical and in Computer Chemistry*, vol. 70, no. 2, pp. 591–602, 2013. View at: Google Scholar | MathSciNet - K. P. Narayankar, S. S. Shirkol, H. S. Ramane, and S. B. Lokesh, “Terminal Hosoya polynomial of thorn graphs,” in
*International Conference on Discrete Mathematics (ICDM '13)*, Karnatak University, Dharwad, India, 2013. View at: Google Scholar - H. S. Ramane, A. B. Ganagi, K. P. Narayankar, and S. S. Shirkol, “Terminal Hosoya polynomial of line graphs,”
*Journal of Discrete Mathematics*, vol. 2013, Article ID 857908, 3 pages, 2013. View at: Publisher Site | Google Scholar - C. D. Godsil and B. D. McKay, “A new graph product and its spectrum,”
*Bulletin of the Australian Mathematical Society*, vol. 18, no. 1, pp. 21–28, 1978. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - A. J. Schwenk, “Computing the characteristic polynomial of a graph,” in
*Graphs and Combinatorics*, R. Bari and F. Harary, Eds., pp. 153–172, Springer, Berlin, Germany, 1974. View at: Google Scholar | Zentralblatt MATH | MathSciNet - R. Frucht and F. Harary, “On the corona of two graphs,”
*Aequationes Mathematicae*, vol. 4, pp. 322–325, 1970. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - D. Stevanović, “Hosoya polynomial of composite graphs,”
*Discrete Mathematics*, vol. 235, no. 1–3, pp. 237–244, 2001. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet

#### Copyright

Copyright © 2014 Emeric Deutsch and Juan Alberto Rodríguez-Velázquez. 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.