Abstract
Graphs are used to model chemical compounds and drugs. In the graphs, each vertex represents an atom of molecule and edges between the corresponding vertices are used to represent covalent bounds between atoms. The Wiener polarity index W p(G) of a graph G is the number of unordered pairs of vertices u, v of G such that the distance between u and v is equal to 3. The trees and unicyclic graphs with perfect matching, of which all vertices have degrees not greater than three, are referred to as the Hückel trees and unicyclic Hückel graphs, respectively. In this paper, we first consider the smallest and the largest Wiener polarity index among all Hückel trees on 2n vertices and characterize the corresponding extremal graphs. Then we obtain an upper and lower bound for the Wiener polarity index of unicyclic Hückel graphs on 2n vertices.
1. Introduction
Nearly half a century ago, the development of quantum chemistry is largely due to the wide application of the concept of graph. One of the major topics in this field is molecular topological index. The molecular topological index can describe the structure of the molecule quantitatively, as an invariant of the graph can be used to demonstrate the relationship between the molecules structure and performance. Quantitative structure activity relationships are a popular computational biology paradigm in modern drug design.
One of the most widely known topological descriptors is Wiener polarity index. The Wiener polarity index of an organic molecule graph of which G = (V(G), E(G)) is defined by
| (1) |
which is the number of unordered pairs of vertices u, v of G such that d G(u, v) = 3, where d G(u, v) denotes the distance between two vertices u and v in G.
The Wiener polarity index for the quantity defined in the equation above is introduced by Wiener [1] for acyclic molecules in a slightly different yet equivalent manner. Moreover, Wiener [1] used a linear formula for the Wiener index W≔∑u,v⊆V d G(u, v) and the Wiener polarity index W p to calculate the boiling points t B of the paraffins; that is,
| (2) |
where a, b, and c are constants for a given isomeric graph.
In 1998, by using the Wiener polarity index, Lukovits and Linert [2] demonstrated quantitative structure-property relationships in a series of acyclic and cycle-containing hydrocarbons. Besides, a physical-chemical interpretation of W p(G) was found by Hosoya [3]. Recently, Du et al. [4] obtained the smallest and largest Wiener polarity indices together with the corresponding graphs among all trees on n vertices, respectively. Deng et al. [5] characterized the extremal Wiener polarity index of trees with a given diameter. The authors in [6] found the maximum Wiener polarity index among all chemical trees with n vertices and k pendents. Hou et al. [7] found the maximum Wiener polarity index of unicyclic graphs together with the corresponding extremal graphs.
As is well known, conjugated hydrocarbon molecules considered in the Hückel molecule orbit theory are usually represented by the carbon-atom skeleton graphs, of which all vertices have degrees less than four. We call such molecular graphs Hückel molecular graphs. In graph theory, the Hückel molecular graphs with Kekulé structures are graphs with perfect matchings of which the largest degree of vertices does not exceed three.
Let N G(u) be the neighbor vertex set of u in G. Then d G(u) = |N G(u)| is called the degree of u. If d G(v) = 1, then we call v a pendent vertex of G. Let Δ(G) denote the maximum vertices degree in G. As usual, let C n and P n be the cycle and path of order n, respectively. A path P in G is called i-degree pendent chain if all its internal vertices are of degree 2 and its ends of degrees 1 and i, respectively, where i ≥ 3. A matching M of the graph G is a subset of E(G) such that no two edges in M share a common vertex. If M is a matching of a graph G and vertex v is incident with an edge of M, then v is said to be M-saturated, and if every vertex of G is M-saturated, then M is a perfect matching. Suppose uv ∈ E(G); the notion G − uv denotes the new graph yielded from G by deleting the edge uv. Similarly, if uv ∉ E(G), then G + uv denotes the new graph obtained from G by adding the edge uv. The set of the Hückel trees and Hückel unicyclic graphs with 2n vertices is denoted by 𝒯 2n and ℋ 2n, respectively.
In the paper, we consider the Wiener polarity index for Hückel trees and Hückel unicyclic graphs. In Section 2, we discuss some properties of the Wiener polarity index of Hückel trees. In Section 3, we determine the smallest and largest Wiener polarity index together with the corresponding graphs among all Hückel trees. In Section 4, the smallest and the largest Wiener polarity indices among all Hückel unicyclic graphs on 2n vertices are identified, respectively.
2. Some Properties of the Wiener Polarity Index of Hückel Trees
In this section, first, we give some formulas for computing the Wiener polarity index of trees.
Lemma 1 (see [4]). —
Let T = (V, E) be a tree. Then
(3)
Lemma 2 (see [8]). —
Let T be a 2n-vertex tree (n ≥ 2) with a perfect matching. Then T has at least two pendent vertices such that each is adjacent to vertices of degree two.
For any T ∈ 𝒯 2n, the following several lemmas will give necessary conditions on which W p(T) attains the maximum values.
Lemma 3 . —
Let T be a graph in 𝒯 2n such that W p(T) is as larger as possible. Then the lengths of all pendent chains in T are no more than 2.
Proof —
By contradiction. Assume that there exists a pendent chain P = u 0 u 1 u 2 ⋯ u k−1 u k with length k such that k ≥ 3; we distinguish the following two cases.
Case 1 (k = 3). This implies that there exists a pendent chain P = u 0 u 1 u 2 u 3 such that d T(u 0) = 3, d T(u 1) = d T(u 2) = 2, and d T(u 3) = 1. We claim that the vertex adjacent to u 0 cannot be a pendent vertex; suppose, on the contrary, that v 0 is a pendent vertex adjacent to u 0. Assuming that M is the perfect matching of T, we know that M is unique in trees and each pendent edge of T belongs to M; therefore, u 0 v 0 ∈ M and u 2 u 3 ∈ M. Then u 1 is not saturated by M, a contradiction. Let v be a vertex of degree 2 nearest to u 0 except for u 1. Let T′ = T − u 1 u 2 + vu 2, then obviously, T′ ∈ 𝒯 2n. The following two subcases should be considered.
Subcase 1.1 (u 0 v ∈ E(T)). In this case, we assume that a is another neighbor of v; by Lemma 1, we have
(4) It contradicts the maximality of W p(T).
Subcase 1.2 (u 0 v ∉ E(G)). In this case, Let a and b be the neighbors of v; by Lemma 1, we have
(5) If d T(a) = 1, then d T(b) ≥ 2; otherwise, if d T(b) = 1, there are two pendent edges which are adjacent to vertex v, a contradiction to the fact there exists perfect matching. Furthermore, by the choice of v, we deduce that d T(b) ≠ 2; if not, v is not the vertex of degree 2 nearest to u 0. If d T(b) = 3, we also have W p(T′) > W p(T), a contradiction once again.
Case 2 (k ≥ 4). Let P = u 0 u 1 u 2 ⋯ u k−1 u k be the pendent path with length k. Let T′ = T − u k−2 u k−1 + u k−3 u k−1, and then T′ ∈ 𝒯 2n; by Lemma 1, we have
(6) Thus, W p(T′) > W p(T), a contradiction. This completes the proof.
By Lemma 3, we can show that if T ∈ 𝒯 2n with maximum W p(T), the length of any pendent chain is either 2 or 1. Therefore, we have reduced the problem to the Hückel trees having a path with both ends of degree 3. Then, we introduce a graph transformation which will be used in the following proof.
Let T be a tree in 𝒯 2n with n ≥ 2. Let e = uv be a nonpendent edge of T. T 1 and T 2 are two components of T − e, u ∈ T 1, and v ∈ T 2. T 0 is the graph obtained from T in the following way:
-
(1)
Contract the edge e = uv (i.e., identify u of T 1 with v of T 2).
-
(2)
Add a pendent edge to the vertex u( = v).
We call procedures (1) and (2) the edge-growth transformation of T or e.g.t of T for short (see Figure 1).
Figure 1.

The edge-growth transformation.
Lemma 4 . —
Let T be a graph in 𝒯 2n such that W p(T) is as larger as possible. If P is a path in T with two end-vertices of degree 3, then all internal vertices of P are of degree 3.
Proof —
Suppose, on the contrary, that there is a path xv 1 ⋯ v t y in T such that d T(x) = 3, d T(y) = 3, d T(v 1) = ⋯ = d T(v t) = 2, and t ≥ 1. Let M be the perfect matching of T; we consider the following two cases.
Case 1 (t is even). In this case, it is easy to see that either xv 1, v t y ∉ M or xv 1, v t y ∈ M. If not, there must exist a vertex of path v 1 ⋯ v t not saturated by M. We distinguish the following subcases.
Subcase 1.1 (xv 1 ∉ M and v t y ∉ M). Since t is even, the vertices v 1, v 2,…, v t of path xv 1 ⋯ v t y are matched mutually. That is to say, v 1 v 2 ∈ M, v 3 v 4 ∈ M,…, v t−1 v t ∈ M. One can transform T into T′ by using exactly t/2 steps of e.g.t for above edges continuously; we note that the resulting graph T′ is a tree obtained by attaching one pendent edge to each vertex of v 1, v 3,…, v t−1. Then T′ ∈ 𝒯 2n. Then by Lemma 1, we have
(7) which contradicts the maximality of W p(T).
Subcase 1.2 (xv 1 ∈ M and v t y ∈ M). In this subcase, we can easily see that the vertices v 2, v 3, v 4,…, v t−2, v t−1 of P are mutually matched. That is to say, v 2 v 3 ∈ M, v 4 v 5 ∈ M,…, v t−2 v t−1 ∈ M; then one can transform T into T′ by using exactly (t − 2)/2 steps of e.g.t continuously. We notice that the resulting graph T′ is a Hückel tree obtained by attaching one pendent edge to each vertex of v 2, v 4,…, v t−2. Then T′ is one of class (I) of trees, as shown in Figure 2.
Let a and b be two neighbors of vertex x and c and d be two neighbors of y, respectively. Let G 1, G 2, G 3, and G 4 be the connected components containing a, b, c, and d of the graph T − x − y, respectively. Also, by Lemma 1, we have
(8) If t > 3, W p(T′) > W p(T). If t = 2, T is also one of class (I) of trees.
In the following, we have reduced the problem to the Hückel trees of class (I). For xv 1 ∈ M, then ax and bx cannot be pendent edges of T′, since T′ ∈ 𝒯 2n. There are at least two vertices in G 1 and G 2; without loss of generality, we consider G 1. Let n i(G i) be the number of vertices of G i. We distinguish the following subcases.
Subcase 1.2.1 (n 1(G 1) = 2). Let wa be pendent edge of G 1, where w is pendent vertex. Let T′′ = T′ − aw + v 1 w. Denote M′ to be the perfect matching of T′; then M′′ = M′ − xv 1 − wa + ax + v 1 w is the perfect matching of T′′; we notice that T′′ ∈ 𝒯 2n, and by Lemma 1, there is
(9) Therefore, W p(T′′) > W p(T′) > W p(T), a contradiction.
Subcase 1.2.2 (n 1(G 1) ≥ 3). Obviously, G 1 is a subgraph of T′ with a perfect matching, since xv 1 ∈ M. Then by Lemma 2, there exists a pendent vertex v which is adjacent to u of degree 2; let w be another neighbor of u in T′. Let T′′ = T′ − wu + v 1 u; it is easy to see that M′ is still the perfect matching of T′′, and then T′′ ∈ 𝒯 2n; by Lemma 1, we have
(10) From Lemma 3, it is noted that d T′(w) = 3; otherwise, if d T′(w) = 2, then there exists a pendent chain with length of at least 3, a contradiction. Let x 1 and x 2 denote the two neighbors of w in G 1; it should be noted that 1 ≤ d T′(x 1) ≤ 3 and 1 ≤ d T′(x 2) ≤ 3. Then by Lemma 1, we have
(11) Therefore, W p(T′′) > W p(T′) > W p(T), a contradiction.
The analysis on v t of degree 2 is the same as that for v 1.
Case 2 (t is odd). In this case, there are odd vertices of degree 2 in the path xv 1 ⋯ v t y; then there exits exactly one of two edges xv 1 and v t y which belongs to M; without loss of generality, we assume that xv 1 ∈ M. It should be noted that v 2 v 3 ∈ M and v 4 v 5 ∈ M,…, v t−1 v t ∈ M; then one can transform T into T′ by using exactly (t − 1)/2 steps of e.g.t continuously. We notice that the resulting graph T′ is a Hückel tree obtained by attaching one pendent edge to each vertex of v 2, v 4,…, v t−1; then T′ is one of class (II), as shown in Figure 3.
We also notice that
(12) If t > 2, there is W p(T′) > W p(T). If t = 1, T is also in class (II) of trees. The proof is similar to that of Subcase 1.2.
In any case, the resulting graph belongs to 𝒯 2n such that all the internal vertices of the path xv 1 ⋯ v t y are of degree 3. Furthermore, the resulting graph has the value of Wiener polarity no less than that of T, which contradicts the maximality of W p(T).
This completes the proof.
Figure 2.

The trees in class (I).
Figure 3.

The trees in class (II).
The next result follows obviously from the proof of Lemmas 3 and 4.
Corollary 5 . —
Let T ∗ have maximal Wiener polarity index in 𝒯 2n (n ≥ 3). Then there exist the following properties of T ∗:
- (i)
All the lengths of pendent chains are no more than 2.
- (ii)
If P is a path in T ∗ with both ends of degree 3, then all internal vertices of P are of degree 3.
- (iii)
All the vertices of degree 2 in T ∗ are on the pendent chains.
3. The Extremal Wiener Polarity Index of Hückel Trees
In this section, we will discuss the maximum and minimum Wiener polarity index of Hückel trees with 2n vertices. Firstly, we consider the Hückel trees with the largest Wiener polarity index.
Let m ij be the number of edges in T between vertices of degrees i and j. By Lemma 1, we have
| (13) |
In particular, if T is a Hückel tree, then
| (14) |
Let T ∗ ∈ 𝒯 2n with a vertices sequence (n 1, n 2, n 3), where n i denotes the number of vertices of T ∗ with degree i. Recall the following relations:
| (15) |
From above two equalities it follows that
| (16) |
By Corollary 5, it should be noted that the subgraph T′ induced by the vertices of degree 3 in T ∗ is also a tree. Then we deduce that
| (17) |
Then, by Corollary 5, we have
| (18) |
By above equations, we have that W p(T ∗) = 2(2n − 2n 3 − 2) + 4(n 3 − 1) = 4n − 8. From Corollary 5 and the arguments above, the following result is obvious.
Theorem 6 . —
Suppose T is a graph in 𝒯 2n with n ≥ 3. Then W p(T) ≤ 4n − 8, and equality holds if and only if T≅T ∗.
Next, we consider the minimum Wiener polarity index among 𝒯 2n, and we first consider some special cases.
If n = 1, T 2n≅P 2 and W p(P 2) = 0; If n = 2, T 2n≅P 4 and W p(P 4) = 1.
In the following, we assume that n ≥ 3.
For all Hückel trees T in 𝒯 2n, sharp lower bounds for W p(T) are obtained in the following theorem.
Theorem 7 . —
Suppose T is a graph in 𝒯 2n with n ≥ 3, then W p(T) ≥ 2n − 3, and equality holds if and only if T≅P 2n.
Proof —
We prove the assertion by induction on n. If n = 3, then T≅P 6 or T≅T 1 (see Figure 4). It can be easily checked that W p(P 6) = 3 < W p(T 1) = 4. The result holds for n = 3.
Now assume the assertion holds for all Hückel trees with less than n ≥ 4 vertices. Suppose T is a Hückel tree with 2n vertices; by Lemma 2, then there exists a pendent vertex v which is adjacent to u of degree 2. Let T′ = T − u − v; it should be noted that T′ ∈ 𝒯 2n−2. Let u′ be adjacent to u of T; that is, uu′ ∈ E(T). We distinguish the following cases.
Case 1 (d T(u′) = 2). Let a be another neighbor of u′; then by Lemma 1, we have W p(T) − W p(T′) = (d T(a) − 1) + 1 = d T(a) ≥ 2, since 2n ≥ 6, by induction hypothesis, so W p(T) ≥ W p(T′) + 2 ≥ 2(n − 1) − 3 + 2 = 2n − 3, with equality if and only if T′≅P 2n−2 and d T(a) = 2. Now we reconstruct the tree T from T′≅P 2n−2 by attaching a pendent chain with length 2 to the vertex u′. It follows that T ∈ 𝒯 2n. Hence, W p(T) ≥ 2n − 3, and the equality holds if and only if T≅P 2n.
Case 2 (d T(u′) = 3). Let u 1′ and u 2′ be the other two neighbors of u′; then by Lemma 1, we have
(19) That is to say, W p(T) = W p(T′) + d T(u 1′) + d T(u 2′). If d T(u 1′) = 1, then d T(u 2′) ≥ 2; if not, there is no perfect matching in 𝒯 2n, and by induction hypothesis, we have
(20) The result holds.
Figure 4.

Hückel trees with 2n = 6.
4. The Wiener Polarity Index of Unicyclic Hückel Graphs
In this section, we will give sharp lower and upper bounds for Wiener polarity index of unicyclic Hückel graphs. The girth g(G) of a connected graph G is the length of shortest cycle in G.
First, we will establish some lemmas which will be useful to the proofs of our main results.
Lemma 8 (see [9]). —
Let U = (V, E) be a unicyclic graph. If g(U) = 3 with V(C 3) = {v 1, v 2, v 3}, then
(21) if g(U) = 4 with V(C 4) = {v 1, v 2, v 3, v 4}, then
(22)
Moreover, if g(U) = 5, W p(U) = ∑uv∈E(U)(d U(u) − 1)(d U(v) − 1) − 5;
if g(U) = 6, W p(U) = ∑uv∈E(U)(d U(u) − 1)(d U(v) − 1) − 3;
if g(U) ≥ 7, W p(U) = ∑uv∈E(U)(d U(u) − 1)(d U(v) − 1).
Lemma 9 . —
Let U be a unicyclic Hückel graph with 2n vertices. Then
- (1)
if g(U) = 3, then 2n − 4 ≤ W p(U) ≤ 4n − 5;
- (2)
if g(U) = 4, then 2n − 4 ≤ W p(U) ≤ 4n − 4.
Proof —
We only prove the first assertion, and the second assertion can be proved analogously. Let U be a unicyclic Hückel graph with g(U) = 3 and v, w, and u be the three vertices on the unique cycle of U, and let d U(v) = k 1 + 2, d U(u) = k 2 + 2, and d U(w) = k 3 + 2. N U(v) = {w, u, v 1, v 2,…, v k1}, N U(u) = {w, v, u 1, u 2,…, u k2}, and N U(w) = {v, u, w 1, w 2,…, w k3}, where 0 ≤ k 1, k 2, k 3 ≤ 1.
Let M be the perfect matching of U; there exists one edge on the unique cycle of U that does not belong to M; otherwise, there is a contradiction to the fact that U has perfect matching; without loss of generality, suppose that wu ∉ M, and then deleting the edge wu, we get a Hückel tree T and M still is the perfect matching of T. By Lemmas 1 and 8, we have
(23) Since U is a unicyclic Hückel graph, without loss of generality, we may assume that 0 ≤ k 2 ≤ k 3 ≤ 1. Then
(24) Hence, by Theorem 6, we obtain that
(25) Similarly, by Theorem 7, we obtain that
(26) This completes the proof.
Lemma 10 . —
Let U be a unicyclic Hückel graph with 2n vertices. Then
- (1)
if g(U) ≥ 7, then 2n − 2 ≤ W p(U) ≤ 4n + 4;
- (2)
if g(U) = 6, then 2n − 5 ≤ W p(U) ≤ 4n + 1;
- (3)
if g(U) = 5, then 2n − 7 ≤ W p(U) ≤ 4n − 1.
Proof —
We only prove the first assertion and other assertions can be proved similarly. Let U be a unicyclic Hückel graph with g(U) ≥ 7. Let M be the perfect matching of U; then there exists edge uv ∈ E(C k) such that uv ∉ M. We can get a Hückel tree T by deleting uv. By Lemma 8, we have
(27) where d U(u) = k + 1, d U(v) = l + 1, N U(u) = {v, u 1,…, u k}, and N U(v) = {u, v 1,…, v l}; without loss of generality, assume that 1 ≤ k ≤ l ≤ 2; then
(28) This completes the proof.
Combining Lemmas 9 and 10, we have the following result.
Theorem 11 . —
Let U be a unicyclic Hückel graph in ℋ 2n with n ≥ 4. Then
(29)
5. Conclusion
This paper determined the smallest and the largest Wiener polarity index among all Hückel trees and unicyclic Hückel graphs on 2n vertices and characterized the corresponding extremal graphs. Thus, the promising prospects of the application for the chemical and pharmacy engineering will be illustrated in the theoretical conclusion that is obtained in this paper.
Acknowledgments
The research was supported by NSF of the Higher Education Institutions of Jiangsu Province (no. 12KJB110001) and NNSF of China (no. 11571135).
Competing Interests
The author declares that there are no competing interests regarding the publication of this paper.
References
- 1.Wiener H. Structural determination of paraffin boiling points. Journal of the American Chemical Society. 1947;69(1):17–20. doi: 10.1021/ja01193a005. [DOI] [PubMed] [Google Scholar]
- 2.Lukovits I., Linert W. Polarity-numbers of cycle-containing structures. Journal of Chemical Information and Computer Sciences. 1998;38(4):715–719. doi: 10.1021/ci970122j. [DOI] [Google Scholar]
- 3.Hosoya H. Mathematical and chemical analysis of Wiener's polarity number. In: Rouvray D. H., King R. B., editors. Topology in Chemistry—Discrete Mathematics of Molecules. Chichester, UK: Horwood; 2002. [Google Scholar]
- 4.Du W., Li X., Shi Y. Algorithms and extremal problem on Wiener polarity index. MATCH Communications In Mathematical and in Computer Chemistry. 2009;62(1):235–244. [Google Scholar]
- 5.Deng H., Xiao H., Tang F. On the extremal Wiener polarity index of trees with a given diameter. MATCH Communications in Mathematical and in Computer Chemistry. 2010;63:257–264. [Google Scholar]
- 6.Deng H. On the extremal Wiener polarity index of chemical trees. MATCH Communications in Mathematical and in Computer Chemistry. 2011;66(1):305–314. [Google Scholar]
- 7.Hou H., Liu B., Huang Y. The maximum Wiener polarity index of unicyclic graphs. Applied Mathematics and Computation. 2012;218(20):10149–10157. doi: 10.1016/j.amc.2012.03.090. [DOI] [Google Scholar]
- 8.Hou Y., Li J. Bounds on the largest eigenvalues of trees with a given size of matching. Linear Algebra and Its Applications. 2002;342:203–217. doi: 10.1016/s0024-3795(01)00465-7. [DOI] [Google Scholar]
- 9.Liu M., Liu B. On the Wiener polarity index. MATCH Communications in Mathematical and in Computer Chemistry. 2011;66(1):293–304. [Google Scholar]
