An Upper Bound on the First Zagreb Index in Trees
R.RASI1,S.M.SHEIKHOLESLAMI1, AND A.BEHMARAM2
1
Department of Mathematics, Azarbaijan Shahid Madani University, Tabriz, I. R. Iran 2
Faculty of Mathematical Sciences, University of Tabriz, Tabriz, I. R. Iran
ARTICLE INFO ABSTRACT
Article History:
Received: 1 March, 2016 Accepted: 10 June 2016 Published online 6 February 2017 Academic Editor: Tomislav Došlić
The first Zagreb index M1(G) is equal to the sum of squares of the degrees of the vertices and the first Zagreb coindex ( ) is equal to the sum of sums of vertex degrees of the pairs of non-adjacent vertices. Kovijanić Vukićević and G. Popivoda (Iran. J. Math. Chem. 5 (2014) 19–29) proved that for any chemical tree of order n, n 5,
. o
10 6
3) m ( 0,1 12
6 ) ( 1
therwise n
od n
n T M
IIn this paper, we generalize the aforementioned bound for all trees in terms of their order and maximum degree. Moreover, we give a lower bound on the first Zagreb coindex of trees.
© 2017 University of Kashan Press. All rights reserved Keywords:
first Zagreb index first Zagreb coindex tree
Chemical tree
1.
I
NTRODUCTIONIn this paper, G is a simple connected graph with vertex set V = V(G) and edge set E = E(G). The order |V| of G is denoted by n = n(G). For every vertex vV , the open neighborhood N(v) is the set {uV(G)|uvE(G)} and the closed neighborhood of v is the set N[v]= N(v){v}. The degree of a vertex vV is dv =
|
N(v)|
. The minimum and maximum degree of a graph G are denoted by =(G) and =(G), respectively. Trees with the property 4 are called chemical trees.The Zagreb indices have been introduced more than thirty years ago by Gutman and Trinajestić in [6]. They are important molecular descriptors and have been closely correlated with many chemical properties [6, 7]. Thus, it attracted more and more attention from chemists and mathematicians [2, 3, 4, 8, 10, 11].
The first Zagreb index M1(G) is defined as follows:
Corresponding Author: (Email address: ([email protected]) DOI: 10.22052/ijmc.2017.42995
. = )
( 2
1 v
V v
d G
M
The first Zagreb index can be also expressed as the sum of vertex degree over edges of G, that is, M1(G)= uv E(G)(du dv). Došlić in [5] introduced a new graph invariant called the first Zagreb coindex, as M1(G)= uv E(G)(dudv). Next we introduce a family of trees. For n=(1)k p (k 2), let Tn be the family of trees of order n with maximum degree such that:
If p=0, k1 vertices have degree , 1 vertex has degree 2 and remaining vertices are pendant.
If p=1, k1 vertices have degree , 1 vertex has degree 1 and remaining vertices are pendant.
If p=2, k vertices have degree and remaining vertices are pendant.
If p3, k vertices have degree , 1 vertex has degree p1, and nk1 remaining vertices are pendant.
Kovijanić Vukićević and Popivoda [9] proved the following upper bound on the first Zagreb index of chemical trees and characterized all extreme chemical trees.
Theorem 1. Let T be a chemical tree with n5 vertices. Then
, o
10 6
3) m ( 0,1 12
6 ) ( 1
therwise n
od n
n T
M
with equality if and only if GTn.
In this paper, we establish an upper bound on the first Zagreb index of trees in terms of the order and maximum degree, as a generalization of aforementioned bound. As a consequence, we obtain a lower bound on the first Zagreb coindex for trees.
2.
M
AINR
ESULTSIn this section, we prove the following result:
3, 2)
( 3 2 2) (
2 = 2
2 2) (
1 = 3
2) (
0 = 4
4 2) ( ) ( 1
p p
p n
p n
p n
p n
T M
with equality if and only if GTn .
To prove Theorem 2, we proceed with some definitions and lemmas. If n is a positive integer, then an integer partition of n is a non-increasing sequence of positive integers (a1,a2,,at) whose sum is n. If 1a1a2at a, then (a1,a2,,at) is called an integer partition of n on Na ={1,2,,a}. An integer partition (a1,a2,,at) of n on Na is called an integer a-partition if the number of a in this partition is as large as possible. In other words, if n=ka, then (a,,a) is the integer a–partition and if n=kab where 0
<
b<
a then (b,a,,a) is the integer a–partition. The proof of the next result is straightforward and therefore omitted.Lemma 3. For positive integers n,t and a (i 1it), we have a) If n=a1a2at and t 1, then 2 2
2 2 1 2
t
a a
a
n .
b) If ai aj, then (ai1)2(aj1)2ai2a2j 2.
Lemma 4. If (a1,a2,,at) is an integer partition of n=kab(0ba) on N , then a
. 2 2 2
1 =
b ka ai t
i
Proof. Let (a1,a2,,at) be an partition of n on Na. If ai aj a for some 1i jt, then by switching (ai,aj) to (ai 1,aj 1), we get a new integer partition of n on Na. Note that if ai 1=0, then we will remove ai1 from the new partition. Applying Lemma 3 (a), we obtain
. 1)
( 1)
( 2 2 2
2 1 2
1 =
t j
i i
t
i
a a
a a
a
By repeating this process, we arrive at an integer a–partition of n on Na. It follows from Lemma 2 that 2 2 2
1
=ai ka b t
i
Lemma 5. Let n=kab where 0ba and let (a1,a2,,at) be an integer partition of n on Na which is not a–partition. Then the following statements holds:
a. If b0, then 2 2 2
1
=( 1) ( 1) ( 1)
ai k a bt
i .
b. If b=0, then 2 2 1
=( 1) ( 1)
t ai k ai .
Proof. (a) Since n=a at =ba a=kab k
1 , we have tk1. First let
1 = k
t . Then we have
, 1) ( 1) ( =
1) ( 1)
( 1) ( =
Lemma3) (by
) 2( )
(
) 2( )
( = 1) ( 1)
(
2 2
2 2
2 2
2 2
1 2
2 1
b a
k
k t b
a k
b ka t b ka
b ka t
a a
a
a t t
as desired. Now let tk1. Repeating the switching process described in the proof of Lemma 4, i.e. for any pair (ai,aj) where 1ai aj a and using the fact that
2 1) ( 1)
( 2 2
2 2
j i j
i a a a
a , we get ai =0 or aj =a. To achieving an integer a– partition, we need to apply the switching process at least t(k1) times. This implies that
1)). ( 2( 2 2 2 2
1 a ka b t k
a t (1) Thus
. 1) ( 1) (
1)) ( ( 1) ( 1) ( =
(1)) b
( ) 2( 1))
( 2(
) 2( )
( = 1) ( 1)
(
2 2
2 2
2 2
2 2
1 2
2 1
b a
k
k t b
a k
inequality y
b ka t
k t b ka
b ka t
a a
a
a t t
(b) If b=0 ,then = = = .
k
1 a a a ka
a
n t Since (a1,,at) is not a–partition, we have tk. Applying (1), we obtain
. 1) (
1) ( =
2 ) 2(
2 ) (
= 1) ( 1)
(
2 2 2
2 2
1 2
2 1
a k
t k a
k
ka t k t ka
ka t a a
a
a t t
Remark 6. Let T be a tree of order n and maximum degree . For each i{1,2,,}, let ni denote the number of vertices of degree i. Then
n n n
n1 2 = (2) and
2. 2 = 2 2
1 n n n
n (3) Subtracting (2) from (3), yields
2. = 1) ( 2 3
2 n n n
n (4)
By (4), we obtain the following integer partition
), 1 , 1, , , ,2 2, , ,1 1, (
3 2
n n
n
(5)
of n2 on N1={1,2,,1}. It follows from Lemma 4 that 22n2 32n32n is maximum if and only if the partition (5) obtained from (4), is an (1)−partition of
2
n on N1. In that case, n1 (the number of leaves) will be maximum. Next result is an immediate consequence of above discussion.
Corollary 7. For any tree T of order n with maximum degree , the first Zagreb index
n n
n T
M1( )= 1 22 2 2 is maximum if and only if the integer partition (5) is an 1)
( –partition of n2 on N1. In that case, the integer partition (n1,n2,,n) is called an optimal solution of (4).
Theorem 8. Let T be a tree of order n and maximum degree with n 0 (mod 1). Then M1(T)(2)n44, with equality if and only if TTn.
Proof. Assume that n=(1)k. By (4),
, = ) 1
2 2)
( 2
(
=k n2 n3 n 1 k r
n
where
1
2 1 2) ( 3
2 2 =
n n
n
r . Then 1rk1 and 1n k1. We consider three cases as follows:
Case 1.r=1. Then clearly n =k1. It follows that
2 1) ( = 1) 1)( ( 2)
(
2 3 1
2 n n k k
n
3. = 2). (
2 3 1
2 n n
n
Thus n1=0 and so
3. = 3). (
2 3 2
2 n n
n (6) According to Corollary 6, the optimal solution of (6) is n2 =n3==n3=0 and
1 = 2
n . Since n1n2n =n, we conclude that n1=(2)k. By Corollary 7, 1)
,0,1,0, ,0,
2) (( = ) , , , , , ,
(n1 n2 n3 n2 n1 n k k
is the optimal solution and so M1(T) is maximum. Therefore,
4. 4 2) ( =
4 4 1) 2)( ( =
1) ( 2 2 2) ( 2) ( =
. 2 1 . 2 1) ( 2 . 2 2) ( 2
2 2 1 ) ( 1
n k
k k
n n
n n
n T
M
Case 2. 2r. Then n22n3(2)n1=(2)r(r2). Since 2
2
r , it follows from Corollary 7 that
) , ,0, ,0,1,0, 1,0,
2) (( = ) , , , , , , , , ,
(n1 n2 nr2 nr1 nr n2 n1 n k r kr is an optimal solution in this case. Since 2r< and 4, we have
4 4 < 1) 2
(r
r and so
4. 4 2) (
1) 2 ( 1) 2)( ( =
) ( 2 2 1) ( 2 1) ( 1 2) ( ) ( 1
n
r r k
r k r
r k
T M
Case 3. rk1. Then n22n3(2).n1=(2)r(r2). There are non-negative integers t,s such that (r2)=t(2)s and 0s2. Hence
. ) 2)( ( = 2). (
2 3 1
2 n n r t s
n If 0s2, then ) , ,0, ,0,1,0, 1),0,
( 2) (( = ) , , , , , , , , ,
(n1 n2 ns ns1 ns2 n2 n1 n k t rt kr is the optimal solution and since (s)<0 and 4r, we obtain
. 4 4 2) (
2) )( ( 2) (
2) )( ( 2) ( =
2) ( ) 2 (1 2) ( 1) 2)( ( =
) ( 2 ) ( 2 1) ( 2 1) ( 1) ( 2) ( ) ( 1
n
r r s
s n
r r s
s n
t r
s s k
r k t
r s
t k T
M
If s=0, then the optimal solution is
). , ,0, ,0, 2)
(( = ) , , , , ,
Since t(2)=r2s, (s2)0 and 4r, we conclude that
. 4 4 2) (
2) (
2) ( 2) ( =
2 2 2
2 2
2 2
=
) ( 2 ) ( 2 1) ( ) 2) (( =
. 2 3
9 2 4 1 ) ( 1
n
r r n
r r s
n
r k t t t r r r t k k
r k t
r t
k
n n
n n T
M
Therefore, in all cases M1(T)(2)n44. If TTn, then clearly 4
4 2) ( = ) (
1T n
M . Conversely, let T be a tree of order n with n 0 (mod 1) and M1(T)=(2)n44. This occurs only in Case 1, that is, T has
1 1 =
1
n
k
vertices of degree , one vertex of degree 2 and (2)k leaves. Hence TTn and the proof is complete.
Theorem 9. Let T be a tree of order n with maximum degree and n1(mod 1). Then M1(T)(2)n3, with equality if and only if TTn.
Proof. Let n=(1)k1. Set
1
1 2)
( 2
= 2 3 1
n n
n
r . By (4),
. = ) 1
1 2)
( 2
(
=k n2 n3 n 1 k r
n
Then clearly 1rk1 and 1n k1. We consider three cases.
Case 1. r=1. Since n =k1, it follows from (4) that 2)
( = 2).
( 1
2 n
n and by Corollary 7
1) ,0,1, 1,0, 2)
(( = ) , , , , ,
(n1 n2 n2 n1 n k k
is the optimal solution. Thus
. 3 2) ( =
1) ( 2 (1) 2 1) ( 1) 2) (( =
. 2 1 . 2 1) ( 2 . 2 2) ( 2
2 2 1 ) ( 1
n
k k
n n
n n
n T
M
Case 2. 2r1. As above, n2(2).n1=(2)r(r1). Since 2
1
) , ,0, ,0,1,0, ,0,
2) (( = ) , , , , , , , , ,
(n1 n2 nr1 nr nr1 n2 n1 n k r kr
is the optimal soloution. Since 2r1, it is easy to see that
0 2) (
) (1
2 r r2 r and we have
. 3 2) (
2) 2
( ) (1 2 3 2) ( =
2 2
1) 2)( ( =
) ( 2 2 1) ( (1) 2 2) ( =
. 2 1 . 2 1) ( 2 . 2 2) ( 2
4 1 = ) ( 1
n
r r r n
r r r k
r k r
r k
n n
n n
n T
M
Case 3. 1rk1. There are non-negative integers t,s such that s
t
r1= (2) , t1 and s1. By substituting in (4), we have s
t r n
n
n22 3(2) 1=(2)( ) . First let 0 s. Since s2, it follows from Corollary 7 that
) , ,0,0, ,0,1,0, ,0,
2) (( = ) , , , , , , , , ,
(n1 n2 ns ns1 ns2 n2 n1 n kt rt kr is the optimal solution. Thus
. 3 2) (
1) 1)( ( 2) (
3 2) ( =
2) ( ) 2 (1 2 1) ( 1) 2)( ( =
) ( 2 ) ( 2 1) ( 2 1) ( 2)
( ) ( 1
n
r s
s n
t r
s k
r k t
r s
t k T
M
Now let s=0. Then the optimal solution is
) , ,0, 1,0, 2)
(( = ) , , , , ,
(n1 n2 n2 n1 n kt rt kr and we have
. 3 2) (
1) 1)( ( 3 2) ( =
2) ( 1 1) (2 1) 2)( ( =
) ( 2 ) ( 2 1) ( 1 2)
( ) ( 1
n
r n
t r
k
r k t
r t
k T
M
As in the proof of Theorem 8 we can see that M1(T)=(2)n3 if and only if
n
TT .
Theorem 10. Let T be a tree of order n with maximum degree and n p(mod 1)
3, 2)
( 3 2 2) (
2 = 2
2 2) ( ) ( 1
p p
p n
p n
T M
with equality if and only if TTn.
Proof. Let n=(1)k p. Suppose that
1
) (2 2)
( 2
= 2 3 1
n n p
n
r . By (4),
we have
. = ) 1
) (2 2)
( 2
(
=k n2 n3 n 1 p k r
n
Then clearly 0rk1 and 1 n k. We consider four cases. Case 1. r=0. Then n =k and by (4) we have
2. = 1) ( 2) 1)
(( = ) 1). (( 2) ( = 2). (
2 3 1
2 n n n n k p k p
n
If p= 2, then n22n3(2).n1=0. This implies that n2=n3==n1=0 and n1=nk by (2). Thus
2. 2 2) ( =
2) 1)( ( =
1) 1)( ( =
2 ) ( =
. 2 1 . 2 1) ( 2
2 2 1 ) ( 1
n n n
k n
k k
n
n n
n n
T
M
Now let 2 p2. Since 1 p24 and 2
= 2). (
2 3 1
2 n n p
n , it follows from Corollary 7 that
) ,0, ,0,1,0, 1,0,
( = ) , , , ,
, , ,
(n1 n2 np2 np1np n1 n nk k
is the optimal solution and so
. 3 2 2)
( =
2 2 )
1)( ( =
2 2 1)
1)( ( =
) ( 2 (1) 2 1) ( 1) (
=
. 2 1 . 2 1) ( 2
4 1 ) ( 1
p p p n
p p n p n
p p n k
k p
k n
n n
n n T max M
Case 2. r =1. Then n =k1 and
1) ,0,1, ,0,1,0,
1,0, 2)
(( = ) , , , , , , , , ,
(n1 n2 np1 np np1 n2 n1 n k p k
. 3 2 2) ( 2 2 ) 2)( ( = 2 2 1) 2)( ( = 2 2 1 2 2 2 1 2 = 1) ( 2 2 1) ( 2 1 2) ( = . 2 1 . 2 1) ( 2 4 1 = ) ( 1 p p p n p p p n p p k k p p k k k p p k n n n n T M
Case 3. 2r p. By (4), we have n22n3(2)n1 2)
( 2) (
= r pr . Since r22, it follows from Corollary 7 that
) , ,0, ,0,1,0, 1,0, 2) (( = ) , , , , , , , , ,
(n1 n2 npr2 npr1 npr n2 n1 n kp r kr
is the optimal solution. On the other hand, we deduce from p2 and r< p that
0 1 = ) 2( 1 ) 2(
1
p p p p
r and so r(r12(p))0. Thus
. ) ( 1 = 3 2 2) ( )) 2( 1 ( 3 2 2) ( = 1) 2 ( 2 2 ) 2)( ( = 1) 2 ( 2 2 1) 2)( ( = 2 2 2 2 2 2 2 1 2 2 1 2 = ) ( 2 ) ( 2 1) ( (1) 2 1) ( 1) 2) (( = . 2 1 . 2 1) ( 2 4 1 ) ( 1 T max M p p p n p r r p p p n p r r r p p p n p r r r p p k r k r r r r p rp r p p k k r k r r p p k n n n n T M
Case 4. prk1. Let pr2=t(2)s. By substituting in (4), we have
s t r n
n
n22 3(2) 1=(2)( ) . If s=0 then by Corollary 7, ) , ,0, ,0, 2) (( = ) , , , , ,
(n1 n2 n2 n1 n k pt rt kr is the optimal solution. Since pr and p2, we have
. 3 2 2) ( ) 2 2 (2 3 2 2) ( = 2 2 2 2) ( = 2 2) ( ) 2)( ( = 2 2) ( ) 2 2 ( = ) ( 2 ) ( 2 1) ( ) 2) (( = . 2 1 . 2 1) ( 2 4 1 = ) ( 1 p p p n r r p p p p p p n r r p r p p p n r r p t p n r r p t k k k r k t r t p k n n n n T M
Now let 0 s. Since s2, it follows from Corollary 7 that
) , ,0,0, ,0,1,0, 1),0, ( 2) (( = ) , , , , , , , , ,
(n1 n2 ns ns1 ns2 n2 n1 n k p t rt kr is the optimal solution. Since 2 p2 and 0s3, it is straightforward to verify that pp22ps22srr2s0. Thus
. 3 2 2) ( ) 2 2 2 2 2 ( 3 2 2) ( = 2 2 2 2) ( = ) 2 ( 2 2 2 ) 2)( ( = 2) ( 2 2 2 1) 2)( ( = 2 2 2 2 2 ) 2 2 ( = ) ( 2 ) ( 2 1) ( 2 1) ( 1) ( 2) ( = . 2 1 . 2 1) ( 2 4 1 = ) ( 1 p p p n s r r s s p p p p p p n s r r s s p n s r p r r s s p p n t r r s s p k t t r r s s p k k k r k t r s t p k n n n n T M
Therefore, in all cases M1(T)2)np p2 3p. As in the proof of Theorem 8, we can see that
3, 2) ( 3 2 2) ( 2 = 2 2 2) ( = ) ( 1 p p p n p n T M
if and only if TTn. This completes the proof.
We now present a lower bound on the first Zagreb coindex among all trees. Ashrafi et al. [1] proved that for any conneted graph G of order n and size m
). ( 1) ( 2 = ) ( 1
1 G m n M G
M
Corollary 11. Let T be a tree of order n with maximum degree . If n p (mod 1), then
3. 3)
( 2 2
6) (
2. = 4
2 2 6) (
1 = 2
3 2 6) (
0 = 2
4 2 6) (
) (
2 2 2 2
1
p p
p p
n n
p n
n
p n
n
p n
n
T M
R
EFERENCES[1] A. R. Ashrafi, T. Došlić, A. Hamzeh, The Zagreb coindices of graph operations, Discrete Appl. Math. 158 (2010), 1571–1578.
[2] K. C. Das, Sharp bounds for the sum of the squares of the degrees of a graph, Kragujevac J. Math. 25 (2003), 31–49.
[3] K. C. Das, Maximizing the sum of the squares of the degrees of a graph, Discrete Math. 285 (2004), 57–66.
[4] D. de Caen, An upper bound on the sum of squares in a graph, Discrete Math. 185 (1998), 245–248.
[5] T. Došlić, Vertex-weighted Wiener polynomials for composite graphs, Ars. Math. Contemp. 1 (2008), 66–80.
[6] I. Gutman, N. Trinajstić, Graph theory and molecular orbitals. Total -electron energy of alternant hydrocarbons, Chem. Phys. Lett. 17 (1972), 535–538.
[7] X. L. Li, I. Gutman, Mathematical Aspects of Randić-Type Molecular Structure Descriptors, Mathematical Chemistry Monograph 1, University of Kragujevac, 2006. [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] Ž. Kovijanić Vukićević, G. Popivoda, Chemical trees with extreme values of Zagreb indices and coindices, Iranian. J. Math. Chem. 5 (2014) 19–29.
[10] S. Zhang, W. Wang, T. C. E. Cheng, Bicyclic graphs with the first three smallest and largest values of the first general Zagreb index, MATCH Commun. Math. Comput. Chem. 56 (2006), 579–592.