Applied Mathematics Letters: Kexiang Xu
Applied Mathematics Letters: Kexiang Xu
Applied Mathematics Letters: Kexiang Xu
1. Introduction
All graphs considered in this work are undirected and simple. Let G be a graph with vertex set V (G) and edge set E (G).
The degree of v ∈ V (G), denoted by dG (v), is the number of vertices in G adjacent to v . Other undefined notation and
terminology for graph theory can be found in [1].
A graphical invariant is a number related to a graph which is structurally invariant, in other words, it is a fixed number
under graph automorphisms. In chemical graph theory, these invariant numbers are also known as the topological indices.
One of the oldest graph invariants is the well-known Zagreb index first introduced in [2], where Gutman and Trinajstić
examined the dependence of total π -electron energy on molecular structure, and this was elaborated on in [3]. For a
(molecular) graph G, the first Zagreb index M1 (G) and the second Zagreb index M2 (G) are, respectively, defined as follows:
− −
M1 = M1 (G) = dG (v)2 , M2 = M2 (G) = dG (u)dG (v).
v∈V (G) uv∈E (G)
These two topological indices (M1 and M2 ) reflect the extent of branching of the molecular carbon-atom skeleton [4,5].
Note that some authors call M1 the Gutman index (see [5]). The main properties of M1 and M2 were summarized in [6–8].
Recently, determining the extremal values or bounds of these two topological indices of graphs, as well as characterizing
the corresponding extremal graphs, has attracted the attention of many researchers. Already, many nice results concerning
this topic have been obtained (see [9–13,7,14–16]). In particular, Zhou [15] determined the upper bounds of Zagreb indices
of all Kr +1 -free graphs with m edges. Deng [12] introduced some new transformations of graphs, which increase or decrease
the Zagreb indices of graphs. Behtoei et al. [9] determined the extremal graph with maximal first Zagreb index among all
graphs with edge or vertex connectivity k.
The chromatic number of a graph G, denoted by χ (G), is the minimum number of colors such that G can be colored with
these colors in such a way that no two adjacent vertices have the same color. A clique of graph G is a subset V0 of V (G) such
that in G[V0 ], the subgraph of G induced by V0 , any two vertices are adjacent. The clique number of G, denoted by ω(G), is the
number of vertices in a largest clique of G. For any two nonadjacent vertices x and y in graph G, we use G + xy to denote the
graph obtained from adding a new edge xy to graph G. Similarly, for e = xy ∈ E (G), G − xy represents a new graph obtained
0893-9659/$ – see front matter © 2011 Elsevier Ltd. All rights reserved.
doi:10.1016/j.aml.2011.01.034
K. Xu / Applied Mathematics Letters 24 (2011) 1026–1030 1027
from graph G by deleting the edge e = xy. We denote by Pn , Cn and Kn the path graph, the cycle graph and the complete
graph on n vertices, respectively, throughout this work.
Let Xn,k and Wn,k be the set of connected graphs of order n with chromatic number k and the set of connected graphs of
order n with clique number k, respectively. Recall that the Turán graph Tn (k) is a complete k-partite graph whose partition
sets differ in size by at most 1. Denote by Kk ((n − k)1 ) the graph obtained by identifying one vertex of Kk with a pendent
vertex of path Pn−k+1 . For an example, K4 (51 ) is shown as Fig. 1. Note that Kk ((n − k)1 ) is just akite graph. In this note we
show that the Turán graph Tn (k) has the maximal (first and second) Zagreb index in Wn,k , and the minimal (first and second)
Zagreb index of graphs from Wn,k is uniquely attained at Kk ((n − k)1 ).
2. Some lemmas
To obtain our main results, we first give some lemmas as necessary preliminaries.
From the definitions of the first Zagreb index and the second Zagreb index of graphs, these two lemmas are obvious but
fundamental.
Lemma 2.1. Let G be a graph with two nonadjacent vertices u, v ∈ V (G). Then we have Mi (G + uv) > Mi (G) for i = 1, 2.
Lemma 2.2. Let G be a graph with e ∈ E (G). Then we have Mi (G − e) < Mi (G) for i = 1, 2.
In the following we always assume that n1 + n2 + · · · + nk = n. Denote by Kn1 ,n2 ,...,nk the complete k-partite graph of
order n whose partition sets are of size n1 , n2 , . . . , nk , respectively. The next lemma presents the values of Zagreb indices of
Kn1 ,n2 ,...,nk .
Lemma 2.3.
k
−
M1 (Kn1 ,n2 ,...,nk ) = nt ( n − nt ) 2 ,
t =1
k
− k
−
M2 (Kn1 ,n2 ,...,nk ) = ns nt (n − ns )(n − nt ).
s=1 t =s+1
Proof. For j ∈ {1, 2, . . . , k}, in a partition set of size nj in Kn1 ,n2 ,...,nk , each vertex is of degree n − nj ; by the definition of the
first Zagreb index, it is easy to see that M1 (Kn1 ,n2 ,...,nk ) = t =1 nt (n − nt ) .
∑k 2
Between two partition sets of sizes ni , nj with 1 ≤ i < j ≤ k, respectively, in Kn1 ,n2 ,...,nk , there exist in total ni nj edges
linking these two sets. Moreover, the two vertices incident with each of these edges are of degrees n − ni and n − nj ,
respectively. From the definition of the second Zagreb index, M2 (Kn1 ,n2 ,...,nk ) = ns nt (n − ns )(n − nt ), ending
∑k ∑k
s=1 t =s +1
the proof of this lemma.
Lemma 2.4. Let Gi ∈ Xn,k be a graph with maximal Zagreb index Mi for i ∈ {1, 2}. Then Gi must be of the form Kn1 ,n2 ,...,nk where
i ∈ {1, 2}.
Proof. Considering the definition of the set Xn,k , in view of Lemma 2.1, this lemma follows immediately.
To continue our study, we first introduce some new definitions. If u, v ∈ V (G) are two distinct vertices of a graph G, for
two positive integers p and q, we denote by Gu,v (p, q) the graph obtained from G by attaching at u a path of length p and at
v a path of length q. Analogously, for v ∈ V (G), Gv (k) denotes the graph obtained by attaching at v a path of length k. Below,
we list two transformations of graphs introduced in [12] which decrease the Zagreb indices of graphs.
Lemma 2.5 ([12]). Let G ̸= K1 be a connected graph with v ∈ V (G). G(k, n − 1 − k) is the graph resulting from attaching at v
two paths of length k and n − 1 − k, respectively, with 1 ≤ k ≤ n − 2. Then we have Mi (G(k, n − 1 − k)) > Mi (Gv (n − 1)) for
i ∈ {1, 2}.
By repeating Lemma 2.5, the following remark is easily obtained.
Remark 2.1 ([12]). When a tree T of size t attached to a graph G is replaced by a path Pt +1 as shown in Fig. 2, the Zagreb
indices M1 and M2 all decrease.
Lemma 2.6 ([12]). Assume that s, t are two positive integers. Let u and v be two vertices in graph G such that dG (u) ≥ dG (v) > 1.
Then we have Mi (Gu,v (s, t )) > Mi (Gv (s + t )) for i ∈ {1, 2}.
1028 K. Xu / Applied Mathematics Letters 24 (2011) 1026–1030
To obtain our main results, we first consider the maximal Zagreb indices of graphs from Xn,k . For k = 1, the set Xn,k
contains a single connected graph K1 . When k = n, the only graph in Xn,k is Kn . So, in the following, we always assume that
1 < k < n and n = kq + r where 0 ≤ r < k, i.e., q = ⌊ nk ⌋.
M1 (Kn1 ,n2 ) = n1 (n − n1 )2 + n2 (n − n2 )2
= n1 n22 + n2 n21 = n1 n2 n,
M1 (Kn1 +1,n2 −1 ) = (n1 + 1)(n2 − 1)n,
and
and
∑p−1 ∑k ∑q−1 ∑k
ni nj (n−ni )(n−nj ), B2 = ni nj (n−ni )(n−nj ), B3 = ni nj (n−ni )(n−nj )
∑k ∑k
Set B1 = i=1 j=i+1 i=p+1 j=i+1 i =q +1 j=i+1
j̸=p,q j̸=q
∑p−1 ∑q−1
ni (n − ni ) + ni ( n − ni ) + ni (n − ni ). By Lemma 2.3, we have
∑k
and D = i=1 i=p+1 j =q +1
p−1 −
− k q−1 −
− k
M2 (Kn1 ,n2 ,...,np ,...,nq ,...,nk ) = ni nj (n − ni )(n − nj ) + ni nj (n − ni )(n − nj )
i=1 j=i+1 i=p+1 j=i+1
j̸=p,q j̸=q
k
− k
− −p−1 k
−
+ ni nj (n − ni )(n − nj ) + np (n − np ) ni (n − ni ) + nj ( n − nj )
i=q+1 j=i+1 i =1 j=p+1
−p−1 q −1
− k
−
+ nq ( n − nq ) ni (n − ni ) + nj ( n − nj ) + nj (n − nj )
i =1 j=p+1 j =q +1
p−1
−
= B1 + B2 + B3 + [np (n − np ) + nq (n − nq )] ni (n − ni )
i=1
q −1
−
+ [np (n − np ) + nq (n − nq )] ni (n − ni )
i=p+1
k
−
+ [np (n − np ) + nq (n − nq )] ni (n − ni ) + np nq (n − np )(n − nq )
j =q +1
= B1 + B2 + B3 + [np (n − np ) + nq (n − nq )]D + np nq (n − np )(n − nq ),
M2 (Kn1 ,n2 ,...,np +1,...,nq −1,...,nk ) = B1 + B2 + B3 + [(np + 1)(n − np − 1) + (nq − 1)(n − nq + 1)]D
+ (np + 1)(nq − 1)(n − np − 1)(n − nq + 1),
and
M2 (Kn1 ,n2 ,...,np +1,...,nq −1,...,nk ) − M2 (Kn1 ,n2 ,...,np ,...,nq ,...,nk )
= [(np + 1)(n − np − 1) + (nq − 1)(n − nq + 1) − np (n − np ) − nq (n − nq )]D
+ (np + 1)(nq − 1)(n − np − 1)(n − nq + 1) − np nq (n − np )(n − nq )
= 2(nq − np − 1)D + (np nq + nq − np − 1)(n − np − 1)(n − nq + 1) − np nq (n − np )(n − nq )
≥ 2(nq − np − 1)D + np nq [(n − np − 1)(n − nq + 1) − (n − np )(n − nq )]
≥ np nq [(n − np ) − (n − nq ) − 1] > nq − np − 1 > 0.
This is impossible because of the maximality of the second Zagreb index of G2 .
Recall that n = k⌊ nk ⌋ + r = (k − r )⌊ nk ⌋ + r ⌈ nk ⌉. Applying Lemma 2.3, the values of Zagreb indices Mi (Tk (n)) for i = 1, 2
can be obtained immediately.
Conversely, one can see easily that the first equality holds in (1) or (2) when G ∼ = Tn (k). This completes the proof of this
lemma.
Lemma 3.2 ([17]). Let G = (V , E ) be a graph with ω(G) ≤ k. Then there is a k-partite graph G′ = (V , E ′ ) such that for every
vertex v ∈ V , dG (v) ≤ dG′ (v).
Proof. Suppose that a graph G1 from Wn,k has the smallest first Zagreb index. From the definition of the set Wn,k , G1 contains
a complete graph Kk as a subgraph. Without loss of generality, suppose that V (Kk ) = {v1 , v2 , . . . , vk }. By Lemma 2.2, G1 must
be a graph obtained from Kk by attaching some trees rooted at some vertices of Kk . From the structure of G1 , we assume that
V0 = {vi |i ∈ {1, 2, . . . , k}, dG1 (vi ) > k − 1} (i.e., there is a tree attached at vi for any vertex vi ∈ V0 ) and the vertices in V0
are labeled as v1 , v2 , . . . , vt with t ≤ k.
From Remark 2.1, we find that, in G1 , all the trees attached at some vertices of Kk must be paths. That is to say, the degrees
of all vertices in V0 of G1 are k. Now we claim that |V0 | = 1. To the contrary, there are at least two vertices, say vi and vj , in
V0 . Note that G1 is just Gvi ,vj (pi , pj ). But from Lemma 2.6, G1 ∼= Gvi ,vj (pi , pj ) can be changed to Gvi (pi + pj ) or Gvj (pi + pj ) with
= Kk ((n − k)1 ).
a smaller first Zagreb index. This is a contradiction to the choice of G1 . Therefore G1 ∼
From the definition of first Zagreb index, we have
M1 (Kk ((n − k)1 )) = (k − 1)(k − 1)2 + k2 + 4(n − k − 1) + 1
= k3 − 2k2 − k + 4n − 4,
which finishes the proof of (1) in this theorem.
By a very similar reasoning, we can prove (2) of this theorem, except for the value of M2 (Kk ((n − k)1 )). Now we calculate
the value of M2 (Kk ((n − k)1 )). From the definition of the second Zagreb index, we have
M2 (Kk ((n − k)1 )) = [(k2 ) − (k − 1)](k − 1)2 + (k − 1)k(k − 1) + 2k + 4(n − k − 2) + 2
= (k2 )(k − 1)2 + k2 + 4(n − k) − 5,
completing the proof of this theorem.
However, it seems more difficult to determine the extremal graphs from Xn,k with smallest (first and second) Zagreb
indices. Perhaps the kite graph Kk ((n − k)1 ) may be a possible choice. But it is pointed out by an anonymous referee that a
kite graph will not always achieve the lower bound for the Zagreb index in this set, by the fact that M1 (C5 ) < M1 (K3 (21 )).
Acknowledgements
The author is grateful to the anonymous referee and the handling editor for some valuable comments and corrections,
which have considerably improved the presentation of this work. He also thanks Professor Nenad Trinajstić and Professor
Bo Zhou for their genuine encouragement and help.
References
[1] J.A. Bondy, U.S.R. Murty, Graph Theory with Applications, Macmillan Press, New York, 1976.
[2] I. Gutman, N. Trinajstić, Graph theory and molecular orbitals. Total π -electron energy of alternant hydrocarbons, Chem. Phys. Lett. 17 (1972) 535–538.
[3] I. Gutman, B. Ruščić, N. Trinajstić, C.F. Wilcox, Graph theory and molecular orbitals. XII. Acyclic polyenes, J. Chem. Phys. 62 (1975) 3399–3405.
[4] A.T. Balaban, I. Motoc, D. Bonchev, O. Mekenyan, Topological indices for structure–activity corrections, Topics Curr. Chem. 114 (1983) 21–55.
[5] R. Todeschini, V. Consonni, Handbook of Molecular Descriptors, Wiley-VCH, Weinheim, 2000.
[6] I. Gutman, K.C. Das, The first Zagreb index 30 years after, MATCH Commun. Math. Comput. Chem. 50 (2004) 83–92.
[7] B. Liu, Z. You, A survey on comparing Zagreb indices, MATCH Commun. Math. Comput. Chem. 65 (2011) 581–593.
[8] S. Nikolić, G. Kovačević, A. Miličević, N. Trinajstić, The Zagreb indices 30 years after, Croat. Chem. Acta 76 (2003) 113–124.
[9] A. Behtoei, M. Jannesari, B. Taeri, Maximum Zagreb index, minimum hyper-Wiener index and graph connectivity, Appl. Math. Lett. 22 (2009)
1571–1576.
[10] K.C. Das, Maximizing the sum of the squares of degrees of a graph, Disc. Math. 257 (2004) 57–66.
[11] K.C. Das, I. Gutman, Some properties of the second Zagreb index, MATCH Commun. Math. Comput. Chem. 52 (2004) 103–112.
[12] H.Y. Deng, A unified approach to the extremal Zagreb indices for trees, unicyclic graphs and bicyclic graphs, MATCH Commun. Math. Comput. Chem.
57 (2007) 597–616.
[13] S. Li, H. Zhou, On the maximum and minimum Zagreb indices of graphs with connectivity at most k, Appl. Math. Lett. 23 (2010) 128–132.
[14] B. Zhou, Zagreb indices, MATCH Commun. Math. Comput. Chem. 52 (2004) 113–118.
[15] B. Zhou, Remarks on Zagreb indices, MATCH Commun. Math. Comput. Chem. 57 (2007) 591–596.
[16] B. Zhou, I. Gutman, Further properties of Zagreb indices, MATCH Commun. Math. Comput. Chem. 54 (2005) 233–239.
[17] P. Erdős, On the graph theorem of Turán, Mat. Lapok 21 (1970) 249–251.