Skip to main content
Springer logoLink to Springer
. 2018 Jan 10;2018(1):16. doi: 10.1186/s13660-017-1597-3

Extremal values on Zagreb indices of trees with given distance k-domination number

Lidan Pei 1, Xiangfeng Pan 1,
PMCID: PMC5762821  PMID: 29375233

Abstract

Let G=(V(G),E(G)) be a graph. A set DV(G) is a distance k-dominating set of G if for every vertex uV(G)D, dG(u,v)k for some vertex vD, where k is a positive integer. The distance k-domination number γk(G) of G is the minimum cardinality among all distance k-dominating sets of G. The first Zagreb index of G is defined as M1=uV(G)d2(u) and the second Zagreb index of G is M2=uvE(G)d(u)d(v). In this paper, we obtain the upper bounds for the Zagreb indices of n-vertex trees with given distance k-domination number and characterize the extremal trees, which generalize the results of Borovićanin and Furtula (Appl. Math. Comput. 276:208–218, 2016). What is worth mentioning, for an n-vertex tree T, is that a sharp upper bound on the distance k-domination number γk(T) is determined.

Keywords: first Zagreb index, second Zagreb index, trees, distance k-domination number

Introduction

Throughout this paper, all graphs considered are simple, undirected and connected. Let G=(V,E) be a simple and connected graph, where V=V(G) is the vertex set and E=E(G) is the edge set of G. The eccentricity of v is defined as εG(v)=max{dG(u,v)uV(G)}. The diameter of G is diam(G)=max{εG(v)vV(G)}. A path P is called a diameter path of G if the length of P is diam(G). Denote by NGi(v) the set of vertices with distance i from v in G, that is, NGi(v)={uV(G)d(u,v)=i}. In particular, NG0(v)={v} and NG1(v)=NG(v). A vertex vV(G) is called a private k-neighbor of u with respect to D if i=0kNGi(v)D={u}. That is, dG(v,u)k and dG(v,x)k+1 for any vertex xD{u}. The pendent vertex is the vertex of degree 1.

A chemical molecule can be viewed as a graph. In a molecular graph, the vertices represent the atoms of the molecule and the edges are chemical bonds. A topological index of a molecular graph is a mathematical parameter which is used for studying various properties of this molecule. The distance-based topological indices, such as the Wiener index [2, 3] and the Balaban index [4], have been extensively researched for many decades. Meanwhile the spectrum-based indices developed rapidly, such as the Estrada index [5], the Kirchhoff index [6] and matching energy [7]. The eccentricity-based topological indices, such as the eccentric distance sum [8], the connective eccentricity index [9] and the adjacent eccentric distance sum [10], were proposed and studied recently. The degree-based topological indices, such as the Randić index [1113], the general sum-connectivity index [14, 15], the Zagreb indices [16], the multiplicative Zagreb indices [17, 18] and the augmented Zagreb index [19], where the Zagreb indices include the first Zagreb index M1=uV(G)d2(u) and the second Zagreb index M2=uvE(G)d(u)d(v), represent one kind of the most famous topological indices. In this paper, we continue the work on Zagreb indices. Further study about the Zagreb indices can be found in [2025]. Many researchers are interested in establishing the bounds for the Zagreb indices of graphs and characterizing the extremal graphs [1, 2640].

A set DV(G) is a dominating set of G if, for any vertex uV(G)D, NG(u)D. The domination number γ(G) of G is the minimum cardinality of dominating sets of G. For kN+, a set DV(G) is a distance k-dominating set of G if, for every vertex uV(G)D, dG(u,v)k for some vertex vD. The distance k-domination number γk(G) of G is the minimum cardinality among all distance k-dominating sets of G [41, 42]. Every vertex in a minimum distance k-dominating set has a private k-neighbor. The domination number is the special case of the distance k-domination number for k=1. Two famous books [43, 44] written by Haynes et al. show us a comprehensive study of domination. The topological indices of graphs with given domination number or domination variations have attracted much attention of researchers [1, 4547].

Borovićanin [1] showed the sharp upper bounds on the Zagreb indices of n-vertex trees with domination number γ and characterized the extremal trees. Motivated by [1], we describe the upper bounds for the Zagreb indices of n-vertex trees with given distance k-domination number and find the extremal trees. Furthermore, a sharp upper bound, in terms of n,k and Δ, on the distance k-domination number γk(T) for an n-vertex tree T is obtained in this paper.

Lemmas

In this section, we give some lemmas which are helpful to our results.

Lemma 2.1

([24, 48])

If T is an n-vertex tree, different from the star Sn, then Mi(T)<Mi(Sn) for i=1,2.

In what follows, we present two graph transformations that increase the Zagreb indices.

Transformation I

([49])

Let T be an n-vertex tree (n>3) and e=uvE(T) be a nonpendent edge. Assume that Tuv=T1T2 with vertex uV(T1) and vV(T2). Let T be the tree obtained by identifying the vertex u of T1 with vertex v of T2 and attaching a pendent vertex w to the u (=v) (see Figure 1). For the sake of convenience, we denote T=τ(T,uv).

Figure 1.

Figure 1

T and T in Transformation I .

Lemma 2.2

Let T be a tree of order n (≥3) and T=τ(T,uv). Then Mi(T)>Mi(T), i=1,2.

Proof

It is obvious that dT(u)=dT(u)+dT(v)1 and

M1(T)M1(T)=(dT(u)+dT(v)1)2+1dT2(u)dT2(v)=2(dT(u)1)(dT(v)1)>0.

Let xV(T) be a vertex different from u and v. Then

M2(T)M2(T)=(dT(u)+dT(v)1)(xuE(T1)dT(x)+xvE(T2)dT(x)+1)dT(u)xuE(T1)dT(x)dT(v)xvE(T2)dT(x)dT(u)dT(v)=(dT(v)1)xuE(T1)dT(x)+(dT(u)1)xvE(T2)dT(x)+dT(u)+dT(v)1dT(u)dT(v)2(dT(v)1)(dT(u)1)+dT(u)+dT(v)1dT(u)dT(v)=(dT(v)1)(dT(u)1)>0.

This completes the proof. □

Lemma 2.3

([50])

Let u and v be two distinct vertices in G. u1,u2,,ur are the pendent vertices adjacent to u and v1,v2,,vt are the pendent vertices adjacent to v. Define G=G{vv1,vv2,,vvt}+{uv1,uv2,,uvt} and G=G{uu1,uu2,,uur}+{vu1,vu2,,vur}, as shown in Figure 2. Then either Mi(G)>Mi(G) or Mi(G)>Mi(G), i=1,2.

Figure 2.

Figure 2

G , G and G in Lemma  2.3 .

Lemma 2.4

([51])

For a connected graph G of order n with nk+1, γk(G)nk+1.

Let G be a connected graph of order n. If γk(G)2, then nk+1. Otherwise, γk(G)=1, a contradiction. Hence, by Lemma 2.4, we have γk(G)nk+1 and n(k+1)γk for any connected graph G of order n if γk(G)2.

Lemma 2.5

Let T be an n-vertex tree with distance k-domination number γk2. Then nkγk.

Proof

Suppose that nkγk+1. Let vV(T) be the vertex such that d(v)= and N(v)={v1,,v}. Denote by Ti the component of Tv containing the vertex vi, i=1,,. Let D be a minimum distance k-dominating set of T,

S1={ii{1,2,,},0εTi(vi)k1}

and

S2={ii{1,2,,},εTi(vi)k}.

Clearly, |S2|1. If not, {v} is a distance k-dominating set of T, which contradicts γk2. If |S1|=0, then εTi(vi)k for i=1,,, so |V(Ti)D|1. Therefore, γknkγk+1, which implies that γkn+1k+1. Since γk2, γknk+1 by Lemma 2.4, a contradiction. Thus, |S1|1. Let i1S1 and

εTi1(vi1)=max{εTi(vi)iS1}=λ.

Then 0λk1, so |S2|n1λkkγk2kγk1.

If V(Ti)D=D1 for some iS1, then DD1+{v} is a distance k-dominating set according to the definition of S1. Thus, we assume that V(Ti)D= for each iS1. Similarly, suppose that DV(Ti1)= where D is a minimum distance k-dominating set of the tree T=TiS1{i1}V(Ti).

We claim that D is a distance k-dominating set of T. Let yV(Ti1) be the vertex such that d(vi1,y)=λ and yD1=i=0kNTi(y)D. Then yV(T)V(Ti1) and d(y,y)=d(y,v)+d(v,y)k, so, for xiS1{i1}V(Ti), we have d(x,y)=d(x,v)+d(v,y)d(y,v)+d(v,y)k. Hence, all the vertices in iS1{i1}V(Ti) can be dominated by yD. Therefore, D is a distance k-dominating set of T, so the claim is true.

In view of

k+1<(k+1)|S2|+λ+2|V(T)|n|S1|+1=n+|S2|+1,

one has

γk|D|n+|S2|+1k+1(by Lemma 2.4)(k+1)γk1k+1(since nkγk+1,|S2|γk1)<γk,

a contradiction as desired. □

Determining the bound on the distance k-domination number of a connected graph is an attractive problem. In Lemma 2.5, an upper bound for the distance k-domination number of a tree is characterized. Namely, if T is an n-vertex tree with distance k-domination number γk2, then γk(T)nΔ(T)k.

Let Tn,k,γk be the set of all n-vertex trees with distance k-domination number γk and Snkγk+1 be the star of order nkγk+1 with pendent vertices v1,v2,,vnkγk. Denote by Tn,k,γk the tree formed from Snkγk by attaching a path Pk1 to v1 and attaching a path Pk to vi for each i{2,,γk}, as shown in Figure 3. Then Tn,k,γkTn,k,γk. Even more noteworthy is the notion that γk(Tn,k,γk)=γk=nΔ(Tn,k,γk)k. It implies that the upper bound on the distance k-domination number mentioned in the above paragraph is sharp.

Figure 3.

Figure 3

Tn,k,γk .

The Zagreb indices of Tn,k,γk are computed as

M1(Tn,k,γk)=(nkγk)(nkγk+1)+4(kγk1)

and

M2(Tn,k,γk)={(nkγk)[n(k1)γk]+(4k2)γk4if k2,2(nγ+1)(γ1)+(nγ)(n2γ+1)if k=1.

For k=1, the distance k-domination number γ1(G) is the domination number γ(G). Furthermore, the upper bounds on the Zagreb indices of an n-vertex tree with domination number were studied in [1], so we only consider k2 in the following.

Lemma 2.6

([52])

T be a tree on (k+1)n vertices. Then γk(T)=n if and only if at least one of the following conditions holds:

  1. T is any tree on k+1 vertices;

  2. T=Rk for some tree R on n1 vertices, where Rk is the graph obtained by taking one copy of R and |V(R)| copies of the path Pk1 of length k1 and then joining the ith vertex of R to exactly one end vertex in the ith copy of Pk1.

Lemma 2.7

Let T be an n-vertex tree with distance k-domination number γk(T)3. If n=(k+1)γk, then

M1(T)γk(γk+1)+4(kγk1)

and

M2(T)2γk2+(4k2)γk4,

with equality if and only if TTn,k,γk.

Proof

When n=(k+1)γk, T=Rk for some tree R on γk vertices by Lemma 2.6. Assume that V(R)={v1,,vγk}. Then dR(vi)=dT(vi)1. It is well known that i=1nd(ui)=2(n1) for any n-vertex tree with vertex set {u1,,un}. Hence, i=1γkdR(vi)=2(γk1). By the definition of the first Zagreb index, we have

M1(T)=i=1γkdT2(vi)+xV(T)V(R)dT2(x)=i=1γk(dT(vi)1)2+xV(T)V(R)dT2(x)+2i=1γk(dT(vi)1)+γk=M1(R)+4(k1)γk+γk+2i=1γkdR(vi)+γkM1(Sγk)+4(k1)γk+2γk+4(γk1)=γk(γk+1)+4(kγk1).

The equality holds if and only if RSγk, that is, TTn,k,γk. We have

M2(T)=xyE(R)dT(x)dT(y)+xyE(T)E(R)dT(x)dT(y)=xyE(R)(dT(x)1)(dT(y)1)+xyE(R)(dT(x)+dT(y)1)+xyE(T)E(R)dT(x)dT(y)=M2(R)+xV(R)dT(x)(dT(x)1)(γk1)+xV(R)2dT(x)+4(k2)γk+2γk=M2(R)+xV(R)(dT(x)1)2+3xV(R)(dT(x)1)+4kγk5γk1=M2(R)+M1(R)+6(γk1)+4kγk5γk+1M2(Sγk)+M1(Sγk)+4kγk+γk5=2γk2+(4k2)γk4.

The equality holds if and only if RSγk. As a consequence, TTn,k,γk. □

Lemma 2.8

Let G be a graph which has a maximum value of the Zagreb indices among all n-vertex connected graphs with distance k-domination number and SG={vV(G)dG(v)=1,γk(Gv)=γk(G)}. If SG, then |NG(SG)|=1.

Proof

Suppose that |NG(SG)|2 and u and v are two distinct vertices in NG(SG). x1,x2,,xr are the pendent vertices adjacent to u and y1,y2,,yt are the pendent vertices adjacent to v, where r1 and t1. Let D be a minimum distance k-dominating set of G. If xiD for some i{1,,r}, then Dxi+u is a distance k-dominating set of T. Hence, we assume that xiD, i=1,,r. Similarly, yiD for 1it. Define G1=G{vy1}+{uy1} and G2=G{ux1}+{vx1}. Then γk(G1)=γk(G2)=γk(G). In addition, we have either Mi(G1)>Mi(G) or Mi(G2)>Mi(G), i=1,2, by a similar proof of Lemma 2.3 and thus omitted here (for reference, see the Appendix). It follows a contradiction, as desired. □

Main results

In this section, we give upper bounds on the Zagreb indices of a tree with given order n and distance k-domination number γk. If P=v0v1vd is a diameter path of an n-vertex tree T, then denote by Ti the component of T{vi1vi,vivi+1} containing vi, i=1,2,,d1. By Lemma 2.1, we obtain Theorem 3.1 directly.

Theorem 3.1

Let T be an n-vertex tree and γk(T)=1. Then M1(T)n(n1) and M2(T)(n1)2. The equality holds if and only if TSn.

Let Tn,k,2i be the tree obtained from the path P2k+2=v0v2k+1 by joining n2(k+1) pendent vertices to vi, where i{1,,2k}.

Theorem 3.2

If T is an n-vertex tree with distance k-domination number γk(T)=2, then

M1(T)(n2k)(n2k+1)+4(2k1),

with equality if and only if TTn,k,2i, where i{1,,k}. Also,

M2(T)(n2k)(n2k+2)+8k8,

with equality if and only if TTn,k,2i, where i{2,,k}.

Proof

Assume that TTn,k,2 is the tree that maximizes the Zagreb indices and P=v0v1vd is a diameter path of T. If d2k, then {vd2} is a distance k-dominating set of T, a contradiction to γk(T)=2. If d2k+2, define T=τ(T,vivi+1), where i{1,,d2}. Then TTn,k,2. By Lemma 2.2, we have Mi(T)>Mi(T), i=1,2, a contradiction. Hence, d=2k+1.

If Ti is not a star for some i{1,2,,d1}, then there exists an n-vertex tree T in Tn,k,2 such that Mi(T)>Mi(T) for i=1,2 by Lemma 2.2, a contradiction. Besides, TTn,k,2i for some i{1,,d1} by Lemma 2.3.

Since M1(Tn,k,2i)=M1(Tn,k,2j) for 1ijd1 and Tn,k,2iTn,k,2di for k+1id1, we get TTn,k,2i, i{1,,k}. By direct computation, one has M1(T)=M1(Tn,k,2i)=(n2k)(n2k+1)+4(2k1), i{1,,k}. In addition, M2(Tn,k,21)=M2(Tn,k,2d1)<M2(Tn,k,22)==M2(Tn,k,2d2) and Tn,k,2iTn,k,2di for i{k+1,,d2}. Hence, TTn,k,2i, where i{2,,k}. Moreover, M2(T)=M2(Tn,k,2i)=(n2k)(n2k+2)+8k8. This completes the proof. □

Lemma 3.3

Let tree TTn,k,3. Then

M1(T)(n3k)(n3k+1)+4(3k1)

and

M2(T)(n3k)(n3k+3)+12k10,

with equality if and only if TTn,k,3.

Proof

Assume that TTn,k,3. We complete the proof by induction on n. By Lemma 2.4, we have n(k+1)γk. This lemma is true for n=(k+1)γk by Lemma 2.7. Suppose that n>3(k+1) and the statement holds for n1 in the following.

Let D be a minimum distance k-dominating set of T and P=v0v1vd be a diameter path of T. Then d2k+2. Otherwise, {vk,vk+1} is a distance k-dominating set, a contradiction. Note that i=0kNTi(v0)D and i=0kNTi(v0)(i=0k1V(Ti){vk}). Hence, (i=0k1V(Ti){vk})D. However, i=0kNTi(x)i=0kNTi(vk) for xi=0kV(Ti){vk}, so we assume that vkD and (i=0kV(Ti){vk})D=. Similarly, vdkD and (i=dkdV(Ti){vdk})D=. Suppose that v0=u1, vd=u2,,um are the pendent vertices of T and ST={ui1im,γk(Tui)=γk(T)}. We have the following claim.

Claim 1

ST.

Proof

Assume that ST=. Namely, γk(Tui)=γk(T)1 for each i{1,,m}. If D{wi} is a minimum distance k-dominating set of the tree Tui, where wiD, then wiwj for 1ijm. Otherwise, γk(Tui)=γk(T) or γk(Tuj)=γk(T), a contradiction. It follows that mγk.

If dT(vi)3 for some i{2,,k,dk,,d1}, then V(Ti){u3,,um}. In view of {vk,vdk}D, we have γk(Tx)=γk(T) for xV(Ti){u3,,um}, a contradiction. Hence, dT(vi)=2 for i{2,,k,dk,,d1}.

Since γk(Tv0)=γk(T)1, v1 must be dominated by the vertices in D{vk}. Bearing in mind that (i=0kV(Ti){vk})D=, one has vk+1D. The same applies to vdk1. Hence, {vk,vk+1,vdk1,vdk}D. If d>2k+2, then the vertices vk, vk+1, vdk1 and vdk are different from each other, a contradiction to γk(T)=3. As a consequence, d=2k+2 and thus D={vk,vk+1,vdk}.

If dT(vk+1)=2, then TP2k+3 and {vk,vdk} is a distance k-dominating set, a contradiction. It follows that dT(vk+1)3. Hence, m3=γk. Recalling that mγk=3, we have m=3, which implies that Tk+1 is a path with end vertices vk+1 and u3. If d(vk+1,u3)>k, then u3 cannot be dominated by the vertices in D. If d(vk+1,u3)<k, then D{vk+1} is a distance k-dominating set, a contradiction. Therefore, d(vk+1,u3)=k. We conclude that |V(T)|=3(k+1), which contradicts n>3(k+1), so Claim 1 is true. □

Considering ST for TTn,k,3, the tree among Tn,k,3 that maximizes the Zagreb indices must be in the set {TTn,k,3|NT(ST)|=1} by Lemma 2.8. To determine the extremal trees among Tn,k,3, we assume that T{TTn,k,3|NT(ST)|=1} in what follows.

Let ui be a pendent vertex such that γk(Tui)=γk(T) and s be the unique vertex adjacent to ui. By Lemma 2.5, dT(s)nkγk. Define A={xV(T)dT(x)=1,xsE(T)} and B={xV(T)dT(x)2,xsE(T)}. Then γk(Tx)=γk(T)1 for all xA. As a consequence, |A|γk from the proof of Claim 1. By the induction hypothesis,

M1(T)=M1(Tui)+2d(s)(n1kγk)(n1kγk+1)+4(kγk1)+2(nkγk)=(nkγk)(nkγk+1)+4(kγk1).

The equality holds if and only if TuiTn1,k,γk and dT(s)==nkγk, i.e., TTn,k,γk.

Note that |A|+|B|=n1dT(s) and |A|γk. Therefore, |B|=n1dT(s)|A|n1dT(s)γk and

xsE(T)d(x)|A|+2|B|=(|A|+|B|)+|B|2(n1dT(s))γk.

By the above inequality and the definition of M2, we have

M2(T)=M2(Tui)+vV(T)dT(v)xsE(T)dT(x)1M2(Tui)+2(n1)2(n1dT(s))+γk1 1
(n1kγk)[n1(k1)γk]+(4k2)γk4+2(nkγk)+γk1(since dT(s)nkγk)=(nkγk)[n(k1)γk]+(4k2)γk4. 2

The equality (1) holds if and only if |A|=γk, |B|=n1dT(s)γk and dT(x)=2 for xB. The equality (2) holds if and only if TuiTn1,k,γk and dT(s)==nkγk. Hence, M2(T)(nkγk)[n(k1)γk]+(4k2)γk4 with equality if and only if TTn,k,γk. □

Theorem 3.4

Let T be a tree of order n with distance k-domination number γk (≥3). Then

M1(T)(nkγk)(nkγk+1)+4(kγk1)

and

M2(T)(nkγk)[n(k1)γk]+(4k2)γk4,

with equality if and only if TTn,k,γk.

Proof

Let TTn,k,γk and P=v0v1vd be a diameter path of T. Define ST={uV(T)dT(u)=1,γk(Tu)=γk(T)}. If ST=, then γk(Tvi)=γk(T)1 for i=0,d. If ST, then we suppose that T{TTn,k,γk|NT(ST)|=1} by Lemma 2.8 for establishing the maximum Zagreb indices of trees among Tn,k,γk. If vdST, then γk(Tv0)=γk(T)1, which implies that γk(Tv0)=γk(T)1 or γk(Tvd)=γk(T)1. Assume that γk(Tv0)=γk(T)1. Then there is a minimum distance k-dominating set D of T such that {vk,vk+1,vdk}D from the proof of Lemma 3.3.

Let T be the tree obtained from T by applying Transformation I on Ti repeatedly for i=1,,k such that TiS|V(Ti)|, where Ti is the component of T{vi1vi,vivi+1} containing vi, i=1,,k (see Figure 4). Then TTn,k,γk. By Lemma 2.2, we have Mi(T)Mi(T), i=1,2, with equality if and only if TT.

Figure 4.

Figure 4

T , T , T and T .

By Lemma 2.3, for some i0,i1{1,,k}, define

T=Ti{1,,k}{i0}{vixxNT(vi){vi1,vi+1}}+i{1,,k}{i0}{vi0xxNT(vi){vi1,vi+1}}

and

T˜=Ti{1,,k}{i1}{vixxNT(vi){vi1,vi+1}}+i{1,,k}{i1}{vi1xxNT(vi){vi1,vi+1}}.

Then one has M1(T)M1(T) with equality if and only if TT and M2(T)M2(T˜) with equality if and only if TT˜.

Suppose that |NT(vi0){vi01,vi0+1}|=|NT˜{vi11,vi1+1}|=m, m0. Let

T=T{vi0xxNT(vi0){vi01,vi0+1}}+{vk+1xxNT(vi0){vi01,vi0+1}}=T˜{vi1xxNT˜(vi1){vi11,vi1+1}}+{vk+1xxNT˜(vi1){vi11,vi1+1}}.

Then D is a minimum distance k-dominating set of T and dT(vi)=2 for i=1,,k. Assume that PNk,D(x) is the set of all private k-neighbors of x with respect to D in T. It is clear that the vertices in i=0kNTi(vk){v0,,vk} can be dominated by vk+1D. Thus, D{vk} is a distance k-dominating set of tree T{v0,,vk}. In addition, PNk,D(vk+1)V(T){v0,,vk}, which means that D{vk} is a minimum distance k-dominating set of T{v0,,vk}. So γk(T{v0,,vk})=γk1. Analogously, γk(T{v0,,vk1})=γk1.

By the definition of the first Zagreb index, we get

M1(T)M1(T)=4+(dT(vk+1)+m)2(2+m)2dT2(vk+1)=2m(dT(vk+1)2)0,

so M1(T)M1(T)=0 if and only if at least one of the following conditions holds:

  1. m=0, which implies that TT;

  2. dT(vk+1)=2.

If i1=1, then

M2(T)M2(T˜)=6+(dT˜(vk+1)+m)(m+xNT˜(vk+1)dT˜(x))(m+2)(m+3)dT˜(vk+1)xNT˜(vk+1)dT˜(x)=m[dT˜(vk+1)+xNT˜(vk+1)dT˜(x)5]0,

with equality if and only if m=0, that is, T˜T. If i11 and i1k, then

M2(T)M2(T˜)=8+(dT˜(vk+1)+m)(m+xNT˜(vk+1)dT˜(x))(m+2)(m+4)dT˜(vk+1)xNT˜(vk+1)dT˜(x)=m[dT˜(vk+1)+xNT˜(vk+1)dT˜(x)6]0.

Also, M2(T)M2(T˜)=0 if and only if at least one of the following conditions holds:

  1. m=0, namely, T˜T;

  2. dT˜(vk)=dT˜(vk+1)=dT˜(vk+2)=2.

If i11 and i1=k, then

M2(T)M2(T˜)=4+(dT˜(vk+1)+m)(m+2+xNT˜(vk+1){vk}dT˜(x))(m+2)(m+2)dT˜(vk+1)(xNT˜(vk+1){vk}dT˜(x)+m+2)=m(xNT˜(vk+1){vk}dT˜(x)2)0.

As a result, M2(T)M2(T˜)=0 if and only if at least one of the following conditions holds:

  1. m=0, which implies that T˜T;

  2. dT˜(vk+1)=dT˜(vk+2)=2.

In what follows, we prove M1(T)(nkγk)(nkγk+1)+4(kγk1) and M2(T)(nkγk)[n(k1)γk]+(4k2)γk4 with equality if and only if TTn,k,γk by induction on γk. The statement is true for γk=3 and n(k+1)γk by Lemma 3.3. Assume that γk4, the statement holds for γk1 and all the n(k+1)(γk1).

In view of γk(T{v0,v1,,vk})=γk1 and |V(T{v0,v1,,vk})|=nk1(k+1)(γk1), by the induction hypothesis, we get

M1(T)=M1(T{v0,v1,,vk})+2dT(vk+1)1+i=0kdT2(vi)M1(Tnk1,k,γk1)+2(nkγk)+4k=(nkγk)(nkγk+1)+4(kγk1).

The equality holds if and only if T{v0,v1,,vk}Tnk1,k,γk1 and dT(vk+1)==nkγk. Recalling that dT(vi)=2 for i=1,,k, we have M1(T)=(nkγk)(nkγk+1)+4(kγk1) if and only if TTn,k,γk.

Thus, M1(T)M1(T)M1(T)M1(T)(nkγk)(nkγk+1)+4(kγk1) and M1(T)=(nkγk)(nkγk+1)+4(kγk1) if and only if at least one of the following conditions holds:

  1. TTTTTn,k,γk;

  2. TTT, where dT(vk+1)=2. Besides, TTn,k,γk.

However, the second condition is impossible. If TTn,k,γk, then dT(vk+1)=nkγk and the number of the pendent vertices in NT(vk+1) is n(k+1)γk. By the definition of T, we have

n(k+1)γk|NT(vi0){vi01,vi0+1}|.

Hence,

dT(vk+1)=dT(vk+1)|NT(vi0){vi01,vi0+1}|dT(vk+1)[n(k+1)γk]=γk3,

a contradiction to dT(vk+1)=2. Therefore,

M1(T)(nkγk)(nkγk+1)+4(kγk1)

with equality if and only if TTn,k,γk.

Note that γk(T{v0,,vk1})=γk1 and |V(T{v0,,vk1})|>(k+1)(γk1). Then

M2(T)=M2(T{v0,v1,,vk1})+dT(vk+1)+4(k1)+2M2(Tnk,k,γk1)+nkγk+4(k1)+2=(nkγk)[n(k1)γk]+(4k2)γk4.

The equality holds if and only if T{v0,,vk1}Tnk,k,γk1 and dT(vk+1)==nkγk. In consideration of dT(vi)=2 for i=1,,k, the equality holds if and only if TTn,k,γk.

Hence, if i11, then M2(T)M2(T)M2(T˜)M2(T)(nkγk)[n(k1)γk]+(4k2)γk4, with equality if and only if at least one of the following conditions holds:

  1. TTT˜TTn,k,γk;

  2. TTT˜, where dT˜(vk)=dT˜(vk+1)=dT˜(vk+2)=2 and T˜Tn,k,γk.

Analogous to the analysis of the first Zagreb index, the second condition above is impossible. Thus,

M2(T)(nkγk)[n(k1)γk]+(4k2)γk4

and the equality holds if and only if TTn,k,γk.

Besides, if i=1, then M2(T)(nkγk)[n(k1)γk]+(4k2)γk4 with equality if and only if TTn,k,γk immediately. This completes the proof. □

Remark 3.5

Borovićanin and Furtula [1] proved

M1(T)(nγ)(nγ+1)+4(γ1)

and

M2(T)2(nγ+1)(γ1)+(nγ)(n2γ+1),

with equality if and only if TTn,γ, where Tn,γ is the tree obtained from the star K1,nγ by attaching a pendent edge to its γ1 pendent vertices. In this paper, we determine the extremal values on the Zagreb indices of trees with distance k-domination number for k2. Note that the domination number is the special case of the distance k-domination number for k=1 and Tn,k,γkTn,γ, Tn,k,2iTn,γ, i{1,,k}, when k=1. Let T be an n-vertex tree with distance k-domination number γk. Then, by using Theorems 3.1, 3.2 and 3.4 and the results in [1], we have

M1(T){n(n1)if γk=1,(nkγk)(nkγk+1)+4(kγk1)if γk2,

with equality if and only if TSn when γk=1, TTn,k,2i, i{1,,k}, when γk=2, or TTn,k,γk when γk3. Moreover,

M2(T){2(nγk+1)(γk1)+(nγk)(n2γk+1)if k=1,(n1)2if k2,γk=1,(nkγk)[n(k1)γk]+(4k2)γk4if k2,γk2,

with equality if and only if TSn when k2 and γk=1, TTn,k,2i, i{2,,k}, when k2 and γk=2, or TTn,k,γk otherwise.

Acknowledgements

This work is financially supported by the National Natural Science Foundation of China (No. 11401004) and the Natural Science Foundation of Anhui Province of China (No. 1408085QA03).

Appendix

Proof

Either Mi(G1)>Mi(G) or Mi(G2)>Mi(G), i=1,2, in Lemma 2.8, where G1=G{vy1}+{uy1} and G2=G{ux1}+{vx1}, as shown in the following figure. graphic file with name 13660_2017_1597_Fige_HTML.jpg Let G=G{x1,,xr,y1,,yt}, dG(u)=a and dG(v)=b. Then

M1(G1)M1(G)=(a+r+1)2+(b+t1)2(a+r)2(b+t)2=2(a+rbt+1)

and

M1(G2)M1(G)=(a+r1)2+(b+t+1)2(a+r)2(b+t)2=2(b+tar+1)

by the definition of the first Zagreb index. Suppose that M1(G1)M1(G)0. Then a+rb+t1. It follows that M1(G2)M1(G)>0.

If uNG(v), then

M2(G1)M2(G)=(a+r+1)(xNG(u)dG(x)+r+1)+(b+t1)(xNG(v)dG(x)+t1)(a+r)(xNG(u)dG(x)+r)(b+t)(xNG(v)dG(x)+t)=xNG(u)dG(x)xNG(v)dG(x)+2r2t+ab+2

and

M2(G2)M2(G)=(a+r1)(xNG(u)dG(x)+r1)+(b+t+1)(xNG(v)dG(x)+t+1)(a+r)(xNG(u)dG(x)+r)(b+t)(xNG(v)dG(x)+t)=xNG(v)dG(x)xNG(u)dG(x)+2t2r+ba+2.

If M2(G1)M2(G)0, then M2(G2)M2(G)>0.

If uNG(v), then

M2(G1)M2(G)=(a+r+1)(xNG(u){v}dG(x)+r+1)+(b+t1)(xNG(u){v}dG(x)+t1)+(a+r+1)(b+t1)(a+r)(xNG(u){v}dG(x)+r)(b+t)(xNG(u){v}dG(x)+t)(a+r)(b+t)=xNG(u){v}dG(x)xNG(v){u}dG(x)+rt+1

and

M2(G2)M2(G)=(a+r1)(xNG(u){v}dG(x)+r1)+(b+t+1)(xNG(u){v}dG(x)+t+1)+(a+r1)(b+t+1)(a+r)(xNG(u){v}dG(x)+r)(b+t)(xNG(u){v}dG(x)+t)(a+r)(b+t)=xNG(v){u}dG(x)xNG(u){v}dG(x)+tr+1.

Assume that M2(G1)M2(G)0. Then M2(G2)M2(G)>0. Therefore, either Mi(G1)>Mi(G) or Mi(G2)>Mi(G), i=1,2. □

Authors’ contributions

All authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Lidan Pei, Email: lidanpei@163.com.

Xiangfeng Pan, Email: xfpan@ustc.edu.

References

  • 1.Borovićanin B, Furtula B. On extremal Zagreb indices of trees with given domination number. Appl. Math. Comput. 2016;279:208–218. [Google Scholar]
  • 2.Dobrynin A, Kochetova AA. Degree distance of a graph: a degree analogue of the Wiener index. J. Chem. Inf. Comput. Sci. 1994;34:1082–1086. doi: 10.1021/ci00021a008. [DOI] [Google Scholar]
  • 3.Dobrynin A, Entringer R, Gutman I. Wiener index of trees: theory and applications. Acta Appl. Math. 2011;66:211–249. doi: 10.1023/A:1010767517079. [DOI] [Google Scholar]
  • 4.Balaban AT, Chiriac A, Motoc I, Simon Z. Steric Fit in Quantitative Structure-Activity Relations. Berlin: Springer; 1980. pp. 22–27. [Google Scholar]
  • 5.Estrada E. Characterization of 3D molecular structure. Chem. Phys. Lett. 2000;319:713–718. doi: 10.1016/S0009-2614(00)00158-5. [DOI] [Google Scholar]
  • 6.Zhang HP, Yang YJ. Resistance distance and Kirchhoff index in circulant graphs. Int. J. Quant. Chem. 2007;107:330–339. doi: 10.1002/qua.21068. [DOI] [Google Scholar]
  • 7.Bordes A, Glorot X, Weston J, Bengio Y. A semantic matching energy function for learning with multi-relational data. Mach. Learn. 2014;94:233–259. doi: 10.1007/s10994-013-5363-6. [DOI] [Google Scholar]
  • 8.Gupta S, Singh M, Madan AK. Eccentric distance sum: a novel graph invariant for predicting biological and physical properties. J. Math. Anal. Appl. 2002;275:386–401. doi: 10.1016/S0022-247X(02)00373-6. [DOI] [Google Scholar]
  • 9.Gupta S, Singh M, Madan AK. Connective eccentricity index: a novel topological descriptor for predicting biological activity. J. Mol. Graph. Model. 2000;18:18–25. doi: 10.1016/S1093-3263(00)00027-9. [DOI] [PubMed] [Google Scholar]
  • 10.Sardana S, Madan AK. Predicting anti-HIV activity of TIBO derivatives: a computational approach using a novel topological descriptor. J. Mol. Model. 2002;8:258–265. doi: 10.1007/s00894-002-0093-x. [DOI] [PubMed] [Google Scholar]
  • 11.Randić M. On characterization of molecular branching. J. Am. Chem. Soc. 1975;97:6609–6615. doi: 10.1021/ja00856a001. [DOI] [Google Scholar]
  • 12.Shi YT. Note on two generalizations of the Randic index. Appl. Math. Comput. 2015;265:1019–1025. [Google Scholar]
  • 13.Lokesha V, Shetty BS, Ranjini PS, Cangul IN, Cevilk AS. New bounds for Randic and GA indices. J. Inequal. Appl. 2013;2013:180. doi: 10.1186/1029-242X-2013-180. [DOI] [Google Scholar]
  • 14.Zhou B, Trinajstić N. On general sum-connectivity index. J. Math. Chem. 2013;47:210–218. doi: 10.1007/s10910-009-9542-4. [DOI] [Google Scholar]
  • 15.Akhter S, Imran M, Raza Z. Bounds for the general sum-connectivity index of composite graphs. J. Inequal. Appl. 2017;2017:76. doi: 10.1186/s13660-017-1350-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Gutman I, Trinajstić N. Graph theory and molecular orbitals. Total π-electron energy of alternant hydrocarbons. Chem. Phys. Lett. 1972;17:535–538. doi: 10.1016/0009-2614(72)85099-1. [DOI] [Google Scholar]
  • 17.Gutman I. Multiplicative Zagreb indices of trees. Bull. Soc. Math. Banja Luka. 2011;18:17–23. [Google Scholar]
  • 18.Das KC, Yurttas A, Togan M, Cevik AS, Cangul IN. The multiplicative Zagreb indices of graph operations. J. Inequal. Appl. 2013;2013:90. doi: 10.1186/1029-242X-2013-90. [DOI] [Google Scholar]
  • 19.Zhan FQ, Qiao YF, Cai JL. Unicyclic and bicyclic graphs with minimal augmented Zagreb index. J. Inequal. Appl. 2015;2015:126. doi: 10.1186/s13660-015-0651-2. [DOI] [Google Scholar]
  • 20.Balaban AT, Motoc I, Bonchev D, Mekenyan O. Topological indices for structure-activity correlations. Top. Curr. Chem. 1983;114:21–55. doi: 10.1007/BFb0111212. [DOI] [Google Scholar]
  • 21.Todeschini R, Consonni V. Handbook of Molecular Descriptors. Weinheim: Wiley-VCH; 2000. [Google Scholar]
  • 22.Gutman I, Ruščić B, Trinajstić N, Wilcox CF. Graph theory and molecular orbitals, XII. Acyclic polyencs. J. Chem. Phys. 1975;62:3399–3405. doi: 10.1063/1.430994. [DOI] [Google Scholar]
  • 23.Nikolić S, Kovaćević G, Miličević A, Trinajstić N. The Zagreb indices 30 years after. Croat. Chem. Acta. 2003;76:113–124. [Google Scholar]
  • 24.Gutman I, Das KC. The first Zagreb index 30 years after. MATCH Commun. Math. Comput. Chem. 2004;50:83–92. [Google Scholar]
  • 25.Furtula B, Gutman I. A forgotten topological index. J. Math. Chem. 2015;53:1184–1190. doi: 10.1007/s10910-015-0480-z. [DOI] [Google Scholar]
  • 26.Hosamani SM, Basavanagoud B. New upper bounds for the first Zagreb index. MATCH Commun. Math. Comput. Chem. 2015;74:97–101. [Google Scholar]
  • 27.Milovanović EI, Milovanović IŽ, Dolićanin EĆ, Glogić E. A note on the first reformulated Zagreb index. Appl. Math. Comput. 2016;273:16–20. [Google Scholar]
  • 28.Furtula B, Gutmana I, Ediz S. On difference of Zagreb indices. Discrete Appl. Math. 2014;178:83–88. doi: 10.1016/j.dam.2014.06.011. [DOI] [Google Scholar]
  • 29.Liu BL, Gutman I. Upper bounds for Zagreb indices of connected graphs. MATCH Commun. Math. Comput. Chem. 2006;55:439–446. [Google Scholar]
  • 30.Zhang SG, Zhang HL. Unicyclic graphs with the first three smallest and largest first general Zagreb index. MATCH Commun. Math. Comput. Chem. 2006;55:427–438. [Google Scholar]
  • 31.Zhou B, Gutman I. Further properties of Zagreb indices. MATCH Commun. Math. Comput. Chem. 2005;54:233–239. [Google Scholar]
  • 32.Gutman I, Goubko M. Trees with fixed number of pendent vertices with minimal first Zagreb index. Bull. Int. Math. Virtual Inst. 2013;3:161–164. [Google Scholar]
  • 33.Yan Z, Liu HQ, Liu HG. Sharp bounds for the second Zagreb index of unicyclic graphs. J. Math. Chem. 2007;42:565–574. doi: 10.1007/s10910-006-9132-7. [DOI] [Google Scholar]
  • 34.Lang RL, Deng XL, Lu H. Bipartite graphs with the maximal value of the second Zagreb index. Bull. Malays. Math. Sci. Soc. 2013;36:1–6. [Google Scholar]
  • 35.Vasilyeva A, Dardab R, Stevanović D. Trees of given order and independence number with minimal first Zagreb index. MATCH Commun. Math. Comput. Chem. 2014;72:775–782. [Google Scholar]
  • 36.Feng YQ, Hu X, Li SC. On the extremal Zagreb indices of graphs with cut edges. Acta Appl. Math. 2010;10:667–684. doi: 10.1007/s10440-009-9467-8. [DOI] [Google Scholar]
  • 37.Liu MH, Liu BL. Second Zagreb indices of unicyclic graphs with given degree sequences. Discrete Appl. Math. 2014;167:217–221. doi: 10.1016/j.dam.2013.10.033. [DOI] [Google Scholar]
  • 38.Xu KX. The Zagreb indices of graphs with a given clique number. Appl. Math. Lett. 2011;24:1026–1030. doi: 10.1016/j.aml.2011.01.034. [DOI] [Google Scholar]
  • 39.Li SC, Yang HX, Zhao Q. Sharp bounds on Zagreb indices of cacti with k pendent vertices. Filomat. 2012;26:1189–1200. doi: 10.2298/FIL1206189L. [DOI] [Google Scholar]
  • 40.Li SC, Zhang MJ. Sharp bounds for the Zagreb indices of bipartite graphs with a given diameter. Appl. Math. Lett. 2011;24:131–137. doi: 10.1016/j.aml.2010.08.032. [DOI] [Google Scholar]
  • 41. Chang, GJ: k-domination and graph covering problems. Ph.D. thesis, School of OR and IE, Cornell University, Ithaca, NY (1982)
  • 42.Chang GJ, Nemhauser GL. The k-domination and k-stability problems on sun-free chordal graphs. SIAM J. Algebraic Discrete Methods. 1984;5:332–345. doi: 10.1137/0605034. [DOI] [Google Scholar]
  • 43.Haynes TW, Hedetniemi ST, Slater PJ. Fundamentals of Domination in Graphs. New York: Marcel Dekker; 1998. [Google Scholar]
  • 44.Haynes TW, Hedetniemi ST, Slater PJ. Domination in Graphs. New York: Marcel Dekker; 1998. [Google Scholar]
  • 45.Dankelmann P. Average distance and domination number. Discrete Appl. Math. 1997;80:21–35. doi: 10.1016/S0166-218X(97)00067-X. [DOI] [Google Scholar]
  • 46.Tian F, Xu JM. Average distance and distance domination numbers. Discrete Appl. Math. 2009;157:1113–1127. doi: 10.1016/j.dam.2008.03.024. [DOI] [Google Scholar]
  • 47.He CX, Wu BF, Yu ZS. On the energy of trees with given domination number. MATCH Commun. Math. Comput. Chem. 2010;64:169–180. [Google Scholar]
  • 48.Das KC, Gutman I. Some properties of the second Zagreb index. MATCH Commun. Math. Comput. Chem. 2004;52:103–112. [Google Scholar]
  • 49.Hua HB, Zhang SG, Xu KX. Further results on the eccentric distance sum. Discrete Appl. Math. 2012;160:170–180. doi: 10.1016/j.dam.2011.10.002. [DOI] [Google Scholar]
  • 50.Deng HY. A unified approach to the extremal Zagreb indices for trees, unicyclic graphs and bicyclic graphs. MATCH Commun. Math. Comput. Chem. 2007;57:597–616. [Google Scholar]
  • 51.Meir A, Moon JW. Relations between packing and covering numbers of a tree. Pac. J. Math. 1975;61:225–233. doi: 10.2140/pjm.1975.61.225. [DOI] [Google Scholar]
  • 52.Topp J, Volkmann L. On packing and covering numbers of graphs. Discrete Math. 1991;96:229–238. doi: 10.1016/0012-365X(91)90316-T. [DOI] [Google Scholar]

Articles from Journal of Inequalities and Applications are provided here courtesy of Springer

RESOURCES