Applied Mathematics
p-ISSN: 2163-1409 e-ISSN: 2163-1425
2016; 6(2): 21-24
doi:10.5923/j.am.20160602.01

Mohammad Reza Farahani 1, Muhammad Kamran Jamil 2, M. R. Rajesh Kanna 3, Sunilkumar M. Hosamani 4
1Department of Applied Mathematics of Iran University of Science and Technology (IUST), Tehran, Iran
2Department of Mathematics, Riphah Institute of Computing and Applied Sciences (RICAS), Riphah International University, Lahore, Pakistan
3Department of Mathematics, Maharani's Science College for Women, Mysore, India
4Department of Mathematics, Rani Channamma University, Belgavi, India
Correspondence to: Mohammad Reza Farahani , Department of Applied Mathematics of Iran University of Science and Technology (IUST), Tehran, Iran.
| Email: | ![]() |
Copyright © 2016 Scientific & Academic Publishing. All Rights Reserved.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/

Let G be a connected graph. The Wiener index of a graph is defined as the sum of all distances between different vertices, and the Hosoya polynomial of a graph G is defined as
. In this paper, we find the Wiener index and Hosoya polynomial of the line graphs of the wheel graphs using the concept of subdivision.
Keywords: Subdivision Graphs, Line Graphs, Wheel Wn, Wiener Index, Hosoya polynomial
Cite this paper: Mohammad Reza Farahani , Muhammad Kamran Jamil , M. R. Rajesh Kanna , Sunilkumar M. Hosamani , The Wiener Index and Hosoya Polynomial of the Subdivision Graph of the Wheel S(Wn) and the Line Graph Subdivision Graph of the Wheel L(S(Wn)), Applied Mathematics, Vol. 6 No. 2, 2016, pp. 21-24. doi: 10.5923/j.am.20160602.01.
the distance between u and v is the length of shortest u-v path and denoted as
. The diameter, d(G), is the largest distance between any two vertices of a graph G. For a vertex
degree of u is the number of first neighbours of u in G.The subdivision graph, S(G), is the graph obtained by inserting an additional vertex into each edge of G, in other words by replacing each of its edge by a path of length 2. The line graph, L(G), of a graph G is the graph whose vertices are the edges of G, two vertices e and f are incident if and only if they have a common end vertex in G. A wheel graph with n vertices, Wn, is a graph formed by connecting a single vertex to all vertices of a cycle. A wheel graph with n vertices has 2(n-1) edges. For further details and results see [1-7].A topological index is a function
where
is the set of finite simple graphs with the property that
if G and H are isomorphic. There is a lot of research has been done on topological indices of different graph families so far, and is of much importance due to their chemical significance. One of the oldest topological index which is the Wiener index was introduced by chemist Harold Wiener in 1947 [8, 9]. He introduced this index for comparing and describing the relation between Physical-Chemical properties. The definition of this index is as follows:
The Wiener index of many molecular graphs has been computed, for details see [10-14]. The Hosoya polynomial was first introduced by H. Hosoya [15] and defines as follow:
A lot of research on the Hosoya polynomial of many molecular graphs has been done. For more details and chemical applications and mathematical properties of these topological indices see paper series [16-28].Let d(G,k) be the number of vertex pairs of G, the distance of which is equal to k. Then we can rewrite the Hosoya polynomial and the Wiener index as
where d(G) be the diameter of G and is the longest topological distance in G.
So these imply that the size of edge set E(S(Wn)) is equal to
Form the definitions of the Wiener index and Hosoya polynomial of a graph G, one can see that it is enough to compute all terms d(S(Wn),k) of the subdivision graph of the wheel graph S(Wn), where d(S(Wn),k) denote the number of unordered pairs of vertices x and y of S(Wn) such that distance d(x,y)=k (1≤k≤d(S(Wn))). Also, by according to Figure 1, we can see that d(S(Wn))=6, obviously. Thus we have two re-formulas of the Wiener index and Hosoya polynomial of S(Wn) as follow:
and
By the definitions of the Wiener index and Hosoya polynomial of G, we see that the first term of H(S(Wn),x) is equal to the number of edges of S(Wn)¸ thus d(S(Wn),1) = |E(S(Wn))| = 4n.By Figure 1 and the definition of the subdivision graph of G, we see that there are n 2-edges paths between the Centre vertex c and the members of V3 and n 2-edges paths between all members of V3. Also, for vertices from V2 we see that there are ½[2n+n(n-1)+4n]= ½(n2+5n) 2-edges paths between them. Thus, the second term d(S(Wn),2) is equal to ½(n2+9n).Now, for the third terms of the Wiener index and Hosoya polynomial of S(Wn), we start from the Centre vertex c, we have n 3-edges paths until the members of V2. Also there are n(n-1)+2n=n(n+1) 3-edges paths start from a vertex v of V3 and end to a vertex u of V2 and there is not any 3-edges path between all pairs of vertices (V2, V2), (V2, Vn) and (V3, V3). These imply that d(S(Wn),3) is equal to n2+2n.From Figure 1, we see that there is not any 4-edges path with the Centre vertex c and between all members of V2 and V3. But there are n(n-2)+n= n2-n 4-edges paths between all vertices from member of V2, and there are ½n(n-3) 4-edges paths between all vertices from V3. Thus, the number of the 4-edges paths of the subdivision graph of the wheel graph S (Wn), is n2-n+½n (n-3) and d(S(Wn),4) is equal to ½n(3n-5).![]() | Figure 1. [1, 2] The subdivision graph of the wheel Wn and the line graph subdivision graph of the wheel L(S(Wn)) for all positive integer number n≥3 |
Also, by definition of the Hosoya polynomial of an arbitrary graph G as order n (|V(G)|=n), it is obvious that
And, we can check
And this complete the proof of theorem 1.Theorem 2. Consider the line graph of the subdivision graph of the wheel graph L(S(Wn)) for all positive integer number n≥3. Then, ● The Hosoya polynomial of L(S(Wn)) is equal toH(L(S(Wn)),x)=½n(n+9)x+n(n+5)x2 +½n(5n+3)x3+2n(n-2)x4+ n(n-9)x5.● The Wiener polynomial of L(S(Wn)) is equal toW(L(S(Wn)) )=17n2-34n.Proof of Theorem 2: Let L(S(Wn)) be the line graph of the subdivision graph of the wheel graph (Figure 1). The number of vertices in this graph is equal to the number of edge of the subdivision graph of the wheel graph S(Wn) and |V(L(S(Wn)) )|=4n, where n vertices of the line graph of the subdivision graph of the wheel graph L(S(Wn)) have degree n=|V(Kn-1)|+1 and all other vertices have degree three. So, we divide the vertex set of L(S(Wn)) into two partitions V3 and Vm and obviously
Here, we named all members of the vertex partition Vn as the Centre vertices.Thus, the size of edge set E(L(S(Wn)) ) is equal to|E(L(S(Wn)) )|=½[n×n+3×3n] =½n(n+9).Or |E(L(S(Wn)) )|=5n+|E(Kn)|=5n+½n(n-1) =½n(n+9).Of course by definition of the line graph of an arbitrary graph G, it is obvious |E(L(G))| = d(G,2), |E(L(G))| = d(L(G),1).New, similar to above proof of Theorem 1, to achieve our aims it is enough, we compute all terms d(L(S(Wn)),i) for all i=1,..., d(L(S(Wn)) ) (which from Figure 1, one can see that the diameter of the line graph of the subdivision graph of the wheel graph L(S(Wn)) d(L(S(Wn))) is equal to 5). Obviously, by above equations, we know that d(L(S(Wn)),1) =|E(L(S(Wn)) )|= d(S(Wn)),2) =½n(n+9).On the other hand from the structure of L(S(Wn)) (Figure 1), d(L(S(Wn)),2) =n2+5n. Since, there are ½[2n+2n]+2n 2-edges paths between all vertices of the vertex partition V3. There are n+n+n(n-1) Centre vertices c∈Vn⊂V(L(S(Wn)) ) and vertices from V3. From Figure 1, one can see that d(L(S(Wn)),3) =½n(5n+3), because 2n(n-1) 3-edges paths start from the Centre vertices of Vn and end to the vertices of the vertex partition V3. Also, there are 2n+½n(n-1)+2n=½n(n+7) 3-edges paths between all members of V3.For d(L(S(Wn)),4), we see that there is not any 4-edges path started from the Centre vertices c and between all members of Vn and V3. And only there are 2n+2n(n-3)= 2n2-4n 4-edges paths between all member of V3. Thus, the number of the 4-edges paths of the line graph of the subdivision graph of the wheel graph L(S(Wn)) is equal to 2n(n-2).Finally, from the structure of L(S(Wn)) (Figure 1), we see that there are ½(2n)(n-9) 5-edges paths between all vertices from V3. Therefor the last terms of the Hosoya polynomial of L(S(Wn)) is equal to d(L(S(Wn)),5) =n(n-9).Now, these above computations imply that the Hosoya polynomial of the line graph of the subdivision graph of the wheel graph L(S(Wn)) will be H(L(S(Wn)),x)=Σd=1 5 d(L(S(Wn)), d)xd=½n(n+9)x+n(n+5)x2+½n(5n+3)x3+2n(n-2)x4+n(n-9)x5.And obviously
Here the proof of theorem is completed.