1,297
Views
3
CrossRef citations to date
0
Altmetric
Articles

The hyper-Zagreb index of cacti with perfect matchings

&

Abstract

Let G be a simple connected graph. The hyper-Zagreb index is defined as HM(G)=uvE(G)(dG(u)+dG(v))2. A connected graph G is a cacti if all blocks of G are either edges or cycles. Let ζ(2n,r) be the set of cacti of order 2n with a perfect matching and r cycles. In this paper, we determine sharp upper bounds of the hyper-Zagreb index of cacti among ζ(2n,r) and characterize the corresponding extremal cacti.

1 Introduction

Throughout this paper, all graphs we considered are finite, undirected, and simple. Let G be a connected graph with vertex set V(G) and edge set E(G). Let |G| and |E| be the number of vertices and edges of G, respectively. For a vertex uV(G), the degree of u, denote by dG(u) (or du for short), is the number of vertices which are adjacent to u. Let NG(u) be the set of all neighbors of u in G. Call a vertex u a pendant vertex of G, denote by PV the set of pendent vertices of G, if dG(u)=1 and call an edge uv a pendant edge of G, if dG(u)=1 or dG(v)=1. Denote by Pn and Cn a path and a cyclic on n vertices, respectively. A subset ME is called a matching in G if its elements are edges and no two are adjacent in G. A matching in G saturates a vertex v, and v is said to be Msaturated, if some edge of M is incident with v. If every vertex of G is Msaturated, the matching M is perfect.

For a molecular graph G, the first Zagreb index M1(G) and the second Zagreb index M2(G) are defined in as M1(G)=uV(G)(d(u))2 M2(G)=uvE(G)d(u)d(v)Some recent results on the Zagreb indices are reported in Citation[1–7], where also references to the previous mathematical research in this area can be found.

In 2013, Shirdel et al. in Citation[8] introduced a new degree-topological index named hyper-Zagreb index as HM(G)=uvE(G)(dG(u)+dG(v))2Some recent results on the hyper-Zagreb indices are reported in Citation[9–11].

Recently, finding the extremal values or bounds for the topological index of graphs, as well as related problems of characterizing the extremal graphs, attracted the attention of many researches and many results are obtained. Li et al. [Citation12] determine the n-vertex cacti with maximal Zagreb indices and also determine the cactus with a perfect matching having maximal Zagreb indices. In [Citation13], Du et al. obtain the minimum sum-connectivity indices of trees and unicyclic graphs with given number of vertices and matching number, respectively, and determine the corresponding extremal graphs.

Motivated by these results Citation[12,13], we explore the properties for the hyper-Zagreb index. In this paper, we will determine sharp upper bounds of hyper-Zagreb index among cacti among ζ(2n,r) and characterize the corresponding extremal cacti.

2 Main results

Firstly, we introduce some useful lemmas which will be used frequently.

Lemma 1

[Citation14] A graph G has a perfect matching if and only if o(GS)|S|forallSVwhere o(GS) is the number of odd components of GS.

By Lemma 1, we have next corollary.

Corollary 2

A graph G has a perfect matching, then each vertex of G is adjacent to at most one pendent vertex.

In the following, we give sharp upper bounds for hyper-Zagreb index of tree with a perfect matching.

Let T2n be the set of trees of order 2n and with a perfect matching.

Lemma 3

If TT2n,n2, thenHM(T)α(n) with equality if and only if T=T2n,n, where α(n)=n3+4n2+11n12and T2n,n is the graph given in .

Fig. 1 Some cacti with a perfect matching.

Fig. 1 Some cacti with a perfect matching.

Proof

By induction on n. When n=2, the theorem holds clearly.

Next, we assume that n3. Let M be a perfect matching of TT2n. There exists a vertex u of degree 2 which is adjacent to a pendent vertex v in T.

Let w be the other vertex adjacent to u and N(w)PV={x1,,xt}, where PV is the set of all pendent vertices of T. Then t1 from Corollary 2. If d(w)=d and N(w)PV={xt+1,xt+2,,xd1,xd=u}, then 2dn and dxi=di2, i=t+1,,d1.

Let T=Tuv. then TT2n2. By the inductive assumption, HM(T)α(n1). We know that i=12nd(vi)=2|E|, so we have i=t+1d1dxi+d+3+t+(2nd2)2|E|=4n2, so i=t+1d1dxi2nt3. HM(T)=HM(T)+t[(d+1)2d2]+(d+2)2+i=t+1d1[(d+dxi)2(d+dxi1)2]+9α(n1)+3d2+d+2t+14+2i=t+1d1dxi=α(n)+[α(n1)α(n)]+3d2+d+2t+14+2i=t+1d1dxiα(n)+(3n25n8)+3d2+d+2t+14+2(2nt3)=α(n)+3(d2n2)+(dn)α(n).The equality holds if and only if T=T2n,n. The proof is completed.□

In the following, we give sharp upper bounds for hyper-Zagreb index of unicyclic graphs with a perfect matching.

Let U2n be the set of unicyclic graphs of order 2n and with a perfect matching.

Lemma 4

If GU2n,n2, thenHM(G)β(n) with equality if and only if G=U2n,n, where β(n)=n3+7n2+22n+2and U2n,n is the graph given in .

Proof

By induction on n.

When n=2. It only has the graph C4 and the graph H4. H4 is the graph is the graph given in . HM(C4)=64<82=HM(H4)=β(2)

Next, we assume that n3. Let M be a perfect matching of GU2n.

Case 1. δ(G)2. HM(C2n)=32n<β(n)

Case 2. δ(G)=1. We divide into two subcases.

Subcase 2.1. There exists a vertex u of degree 2 which is adjacent to a pendent vertex v in G.

Let w be the other vertex adjacent to u and N(w)PV={x1,,xt}, where PV is the set of all pendent vertices of G. Then t1 from Corollary 2. If d(w)=d and N(w)PV={xt+1,xt+2,,xd1,xd=u}, then 2dn+1 and dxi=di2, i=t+1,,d1.

Let G=Guv. then GU2n2. By the inductive assumption, HM(G)β(n1). We know that i=12nd(vi)=2|E|, so we have i=t+1d1dxi+d+3+t+(2nd2)2|E|=4n, so i=t+1d1dxi2nt1. HM(G)=HM(G)+t[(d+1)2d2]+(d+2)2+i=t+1d1[(d+dxi)2(d+dxi1)2]+9β(n1)+3d2+d+2t+14+2i=t+1d1dxi=β(n)+[β(n1)β(n)]+3d2+d+2t+14+2i=t+1d1dxiβ(n)+(3n211n16)+3d2+d+2t+14+2(2nt1)=β(n)+3d2+d3n27n4=β(n)+3[d2(n+1)2]+d(n+1)β(n).The equality holds if and only if G=U2n,n.

Subcase 2.2. The degree of any vertex which is adjacent to a pendent vertex in G is at least 3.

We denote the cycle C=u1u2uλu1 of G. Then dui=3 if u is adjacent to a pendent vertex, otherwise dui=2; and 3du1=dn+1.

Note that at most one of u1u2, u1uλ belongs to M. Without loss of generality, we assume that u1u2M.

(I) λ=3.

We know du1=du2=du3=3, the graph is H6, which is the graph given in . HM(H6)=156<β(3)

(II) λ4.

(i) du2=3. Then there exist a pendent vertex u2 adjacent to u2, and u2u2M. du3=3 or du3=2.

Let G=Gu2u2+u1u3. GU2n2. By the inductive assumption, HM(G)β(n1). HM(G)=HM(G)+(d+3)2+(du3+3)2(du3+d)2+16β(n1)+6d+2du32ddu3+34=β(n)+[β(n1)β(n)]+6d+2du32ddu3+34=β(n)+[3n211n16]+6d+2du32ddu3+34

If du3=2, HM(G)β(n)+2(d(n+1))3n29n+24<β(n)

If du3=3, HM(G)β(n)3n211n+24<β(n)

(ii) du2=2. Since u1u2M, u2u3M, du3=2 and u3u4M.

Let G=Gu3u4+u2u4. GU2n. HM(G)HM(G)=[(d+2)2(d+3)2]+(2+du4)2(3+du4)2=2d2du410<0

The proof is completed.□

Now, we give sharp upper bounds for hyper-Zagreb index of cacti with a perfect matching.

Theorem 5

If Gζ(2n,r),n2, thenHM(G)γ(n,r) with equality if and only if G(2n,r), where γ(n,r)=(n+r1)(n+r+2)2+(n+r+1)2+9(nr1)+16rand G(2n,r) is the graph given in .

Proof

By induction on n+r.

If r=0 or r=1. By Lemmas 3 and 4, the theorem holds clearly.

Next, we assume that n3 and r2. Let M be a perfect matching of Gζ(2n,r).

Case 1. δ(G)2.

Since Gζ(2n,r), dvn+r with equality if only if v is the unique common vertex of all cycles of the graph G(2n,r).

Let C=u1u2uλu1 be a cycle of G such that 3du1=dn+r and dui=2(i=2,,λ), and N(u1)={u2,uλ,x1,x2,,xd2}. Obviously, at most one of u1u2 and u1uλ belongs to M. Without loss of generality, we assume that u1u2M.

Let G=Gu1u2, then Gζ(2n,r1). By the inductive assumption, HM(G)γ(n,r1). We know that i=12nd(vi)=2|E|, so we have i=1d1dxi+d+2(2nd)2|E|=4n+2r2, so i=1d1dxid+2r2. HM(G)=HM(G)+(d+2)2+i=1d1[(d+dxi)2(d+dxi1)2]+7γ(n,r1)+2i=1d1dxi+3d2+d+12=γ(n,r)+[γ(n,r1)γ(n,r)]+2i=1d1dxi+3d2+d+12γ(n,r)+[3(n+r)25(n+r)6]+2(d+2r2)+3d2+d+12=γ(n,r)+3[d2(n+r)2]+3(d(n+r))+2(r+1n)<γ(n,r)

Case 2. δ(G)=1. We divide into two subcases.

Subcase 2.1. There exists a vertex u of degree 2 which is adjacent to a pendent vertex v in G.

Let w be the other vertex adjacent to u and N(w)PV={x1,,xt}, where PV is the set of all pendent vertices of G. Then t1 from corollary 2.2. If d(w)=d and N(w)PV={xt+1,xt+2,,xd1,xd=u}, then 2dn+r and dxi=di2, i=t+1,,d1.

Let G=Guv, then Gζ(2n2,r). By the inductive assumption, HM(G)γ(n1,r). We know that i=12nd(vi)=2|E|, so we have i=t+1d1dxi+d+3+t+(2nd2)2|E|=4n+2r2, so i=1d1dxi2n+2rt3. HM(G)=HM(G)+t[(d+1)2d2]+i=t+1d1[(d+dxi)2(d+dxi1)2]+(d+2)2+9γ(n,r1)+2i=t+1d1dxi+2t+3d2+d+14=γ(n,r)+[γ(n,r1)γ(n,r)]+2i=t+1d1dxi+2t+3d2+d+14γ(n,r)+[3(n+r)25(n+r)8]+2(2n+2rt3)+3d2+d+14=γ(n,r)+3[d2(n+r)2]+d(n+r)γ(n,r)The equality holds if and only if G=G(2n,r).

Subcase 2.2. The degree of any vertex which is adjacent to a pendent vertex in G is at least 3.

We can choose a cycle C=u1u2uλu1 of G such that ui(i=2,3,,λ) does not appear on other cycles of G. Then dui=3 if u is adjacent to a pendent vertex, otherwise dui=2 ; and 3du1=dn+r.

Note that at most one of u1u2, u1uλ belongs to M. Without loss of generality, we assume that u1u2M.

(I) λ=3.

Let N(u1)={u2,u3,x1,x2,,xd2}, and dx2=dx3==dxt=1, 0t1, dx22, i=t+1,,d2.

(i) du2=du3=2. Then u2u3M.

Let G=Gu2u3. then Gζ(2n2,r1). By the inductive assumption, HM(G)γ(n1,r1). We know that i=12nd(vi)=2|E|, so we have i=1d2dxi+d+4+2nd12|E|=4n+2r2, so i=1d1dxi2n+2r5. HM(G)=HM(G)+i=1d2[(d+dxi)2(d+dxi2)2]+2(d+2)2+16γ(n1,r1)+4i=1d2dxi+6d24d+32=γ(n,r)+[γ(n1,r1)γ(n,r)]+4i=1d2dxi+6d24d+32γ(n,r)+[6(n+r)24(n+r)12]+4(2n+2r5)+6d24d+32=γ(n,r)+6[d2(n+r)2]+4(n+rd)γ(n,r)The equality holds if and only if G=G(2n,r).

(ii) du2=du3=3. Then there exist two pendent vertices u2, u3 adjacent to u2, u3, respectively, and u2u2M, u3u3M.

Let G=Gu2u3. Then (M{u2u3}){u2u2,u3u3} is a perfect matching of G, then Gζ(2n2,r). By the inductive assumption, HM(G)γ(n1,r). HM(G)=HM(G)+2((d+3)2(d+2)2)+52γ(n1,r)+4d+62=γ(n,r)+[γ(n1,r)γ(n,r)]+4d+62γ(n,r)+(3(n+r)25(n+r)8)+4d+62=γ(n,r)+4[d(n+r)]3(n+r)2(n+r)+54<γ(n,r)

(iii) du2=3, du3=2, or du2=2, du3=3.

Without loss of generality, we assume that du2=3, du3=2, Then there exist a pendent vertex u2 adjacent to u2, and u2u2M and u1u3M.

Let N(u1)={u2,u3,x1,x2,,xd2}, and G=Gu2u2. Then dxi2, i=1,2,,d2 since u1u3M, Gζ(2n2,r1). By the inductive assumption, HM(G)γ(n1,r1). We know that i=12nd(vi)=2|E|, so we have i=1d2dxi+d+6+(2nd2)2|E|=4n+2r2, so i=1d1dxi2n+2r6. HM(G)=HM(G)+i=1d2[(d+dxi)2(d+dxi1)2]+((d+2)2d2)+(d+3)2+41γ(n1,r1)+2i=1d2dxi+3d2+5d+56=γ(n,r)+[γ(n1,r1)γ(n,r)]+2i=1d2dxi+3d2+5d+56γ(n,r)6(n+r)24(n+r)12+2(2n+2r6)+3d2+5d+56=γ(n,r)+3[d2(n+r)2]3(n+r)2+5d+32<γ(n,r)

(II) λ4.

(i) du2=3. Then there exist a pendent vertex u2 adjacent to u2, and u2u2M. du3=3 or du3=2.

Let G=Gu2u2+u1u3. Gζ(2n2,r). By the inductive assumption, HM(G)γ(n1,r). HM(G)=HM(G)+(d+3)2+(du3+3)2(d+du3)2+16γ(n1,r)+6d+6du32ddu3+34=γ(n,r)+[γ(n1,r)γ(n,r)]+6d+6du32ddu3+34=γ(n,r)+[3(n+r)25(n+r)8]+6d+6du32ddu3+34=γ(n,r)+[(62du3)d2(n+r)]3(n+r)23(n+r)+6du3+26<γ(n,r).

(ii) du2=2. Since u1u2M, u2u3M, du3=2 and u3u4M.

Let G=Gu3u4+u2u4. Gζ(2n,r). HM(G)HM(G)=[(d+2)2(d+3)2]+(du4+2)2(du4+3)2<0

The proof is completed.□

References

  • GutmanI.DasK.C., The frst Zagreb index 30 years after MATCH Commun. Math. Comput. Chem. 502004 83–92
  • ZhouB.GutmanI., Further properties of Zagreb indices MATCH Commun. Math. Comput. Chem. 54 1 2005 233–239
  • Fath-TabarG.H., Old and new Zagreb indices of graphs MATCH Commun. Math. Comput. Chem. 652011 79–84
  • DasK.C.GutmanI.ZhouB., New upper bounds on Zagreb indices J. Math. Chem. 462009 514–521
  • da FonsecaC.M.StevanovicD., Further properties of the second Zagreb index MATCH Commun. Math. Comput. Chem. 722014 655–668
  • DengH.SaralaD.AyyaswamyS.K.BalachandranS., The Zagreb indices of four operations on graphs Appl. Math. Comput. 2752016 422–431
  • RamaneH.S.ManjalapurV.V.PatilP.M., General sum-connectivity index, general product-connectivity index, general Zagreb index and coindices of line graph of subdivision graphs AKCE Int. J. Graphs Combinat. 142017 92–100
  • ShirdelG.H.RezapourH.SayadiA.M., The hyper Zagreb index of graph operations Iran. J. Math. Chem. 42013 213–220
  • GaoW.JamilM.K.FarahaniM.R., The hyper-Zagreb index and some graph operations J. Appl. Math. Comput. 542017 263–275
  • WangS.GaoW.JamilM.K.et al., Bounds of Zagreb indices and hyper Zagreb indices Math. Rep.2016
  • DeNilanjan, Hyper Zagreb index of bridge and chain grpahs Open J. Math. Sci. 22018 1–17
  • LiS.YangH.ZhaoQ., Sharp bounds on Zagreb indices of cacti with k pendant vertices Filomat2012 1189–1200
  • DuZ.ZhouB.TrinajstiN., Minimum sum-connectivity indices of trees and unicyclic graphs of a given matching number J. Math. Chem. 472010 842–855
  • TutteW.T., The factorization of linear graphs J. Lond. Math. Soc. 21974 107–111