The First Zagreb Index, the Independence Number and Some Hamiltonian Properties of Graphs

Abstract

Let G=( V,E ) be a graph. The first Zagreb index of a graph G is defined as uV d G 2 ( u ) , where d G ( u ) is the degree of vertex u in G . In this paper, we obtain two lower bounds involving the independence number for the first Zagreb index of a graph. We also characterize the graphs achieving the bounds. We further present sufficient conditions based on the first Zagreb index for Hamiltonian graphs and traceable graphs.

Share and Cite:

Li, R. (2025) The First Zagreb Index, the Independence Number and Some Hamiltonian Properties of Graphs. Open Journal of Discrete Mathematics, 15, 92-99. doi: 10.4236/ojdm.2025.154007.

1. Introduction

In this paper, we consider only finite undirected graphs without loops or multiple edges. Notation and terminology not defined here follow those in [1]. Let G=( V( G ),E( G ) ) be a graph. The number of vertices and the number of edges in G are denoted by n and e , respectively. The degree of a vertex v is denoted by d G ( v ) . The minimum and maximum degrees of a graph G are denoted by δ( G ) and Δ( G ) , respectively. A subset of V( G ) in a graph G is called an independent set if any two vertices in the subset are not adjacent. An independent set in a graph G is called a maximum independent set if its size is maximum. The independence number of a graph G is defined as the size of a maximum independent set in G and is denoted by β( G ) . For two disjoint vertex subsets S and T of V( G ) , we define E( S,T ) as {  e:e=abE( G ),aS,bT } . Namely, E( S,T ) is the set of all the edges in E( G ) such that one end vertex of each edge is in S and another end vertex of the edge is in T . We use K a,b to denote a complete bipartite graph with two partition sets X and Y such that | X |=a and | Y |=b . A cycle C in a graph G is called a Hamilton cycle of G if C contains all the vertices of G . A graph G is called Hamiltonian if G has a Hamilton cycle. A path P in a graph G is called a Hamilton path of G if P contains all the vertices of G . A graph G is called traceable if G has a Hamilton path.

Gutman and Trinajstić [2] introduced the concept of the first Zagreb index of a graph in 1972. Also see [3]. Let G=( V( G ),E( G ) ) be a graph. Its first Zagreb index is defined as Z 1 ( G ):= uV( G ) d G 2 ( u ) . As one of the most important topological indices of a graph, the first Zagreb index of a graph has been intensively investigated. A lot of results on the first Zagreb index of a graph have been obtained. The readers are referred to the survey paper [4] and the references therein. Finding the bounds for the first Zagreb index of a graph is one of the important topics. In this paper, using two established inequalities, we obtain two lower bounds involving the independence number for the first Zagreb index of a graph. We also characterize the graphs achieving the bounds. It is noticed that in recent years, using the first Zagreb index of a graph and its variants, researchers have presented sufficient conditions for the Hamiltonian properties of graphs. Some of the conditions can be found in [5]-[15]. In this paper, we present new sufficient conditions based on the first Zagreb index for Hamiltonian graphs and traceable graphs. The main results of this paper are as follows.

Theorem 1. Let G be a graph with n vertices, e edges, minimum degree δ1 , and maximum degree Δ . Then

(1)

Z 1 ( G )β δ 2 + δ 2 ( 2e+nβ ) 2δ+1 .

with equality if and only if G is a regular bipartite graph.

(2)

Z 1 ( G )β δ 2 + e 2 ( Δ 2 +1 ) ( nβ ) Δ 2 ( nβ ).

with equality if and only if G is a bipartite graph with partition sets of I and VI such that | I |=β , d( u )=δ for each uI , and d( v )=Δ for each vVI .

Theorem 2. Let G be a k -connected ( k2 ) graph with n3 vertices, e edges, minimum degree δ , and maximum degree Δ .

(1) If

Z 1 ( G )( k+1 ) δ 2 + δ 2 ( 2e+nk1 ) 2δ+1 ,

then G is Hamiltonian.

(2) If

Z 1 ( G )( k+1 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk1 ) Δ 2 ( nk1 ),

then G is Hamiltonian or G is K k,k+1 .

Theorem 3. Let G be a k -connected ( k1 ) with n9 vertices, e edges, minimum degree δ , and maximum degree Δ .

(1) If

Z 1 ( G )( k+2 ) δ 2 + δ 2 ( 2e+nk2 ) 2δ+1

then G is traceable.

(2) If

Z 1 ( G )( k+2 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk2 ) Δ 2 ( nk2 ),

then G is traceable or G is K k,k+2 .

2. Lemmas

We will use the following results as our lemmas.

Lemma 1 [16]. Let G be a k -connected graph of order n3 . If βk , then G is Hamiltonian.

Lemma 2 [16]. Let G be a k -connected graph of order n. If βk+1 , then G is traceable.

Lemma 3 ([17], Theorem 6 on Page 9). Let p1 and a i , b i 0 ( 1is ). Then

( i=1 s a i p )( i=1 s b i p ) i=1 s ( a i + b i ) p i=1 s ( a i b i a i + b i ) p

with the convention 00/ ( 0+0 ) =0 . The equality is attained if and only if there exist constants λ , μ with λ+μ>0 and λ a i =μ b i for every 1is .

Lemma 4 ([18], Theorem 3.20 on Page 37). Suppose p k and q k ( k=1,2,,s ) are real numbers with | p k | + | q k |0 ( k=1,2,,s ) . One has the inequality

( k=1 s p k q k ) 2 k=1 s ( p k 2 + q k 2 ) k=1 s p k 2 q k 2 p k 2 + q k 2 .

Lemma 5 [19]. Let G be a balanced bipartite graph of order 2n with bipartition ( A , B ). If d( x )+d( y )n+1 for any xA and any yB with xyE , then G is Hamiltonian.

Lemma 6 [20]. Let G be a 2-connected bipartite graph with bipartition ( A , B ), where | A || B | . If each vertex in A has degree at least s and each vertex in B has degree at least t , then G contains a cycle of length at least 2min( | B |,s+t1,2s2 ) .

3. Proofs

Proof of Theorem 1. Let G be a graph with n vertices, e edges, and δ1 . Clearly, β<n . Let I:={ u 1 , u 2 ,, u β } be a maximum independent set in G and VI:={ v 1 , v 2 ,, v nβ } . Then

uI d( u )=| E( I,VI ) | vVI d( v ).

Since uI d( u ) + vVI d( v ) =2e , we have that

uI d( u )e vVI d( v ).

(1) Applying Lemma 3 with p=2 , s=nβ , a i =d( v i ) , and b i =1 , where i=1,2,,nβ , we have

( i=1 nβ d 2 ( v i ) )( i=1 nβ 1 2 )( i=1 nβ ( d( v i )+1 ) 2 ) i=1 nβ ( d( v i )1 d( v i )+1 ) 2 .

Thus

( i=1 nβ d 2 ( v i ) )( nβ )( i=1 nβ ( d 2 ( v i )+2d( v i )+1 ) ) i=1 nβ ( δ δ+1 ) 2 .

Therefore

( i=1 nβ d 2 ( v i ) )( nβ )( i=1 nβ d 2 ( v i )+2e+nβ )( nβ ) ( δ δ+1 ) 2 .

Hence

( i=1 nβ d 2 ( v i ) ) δ 2 ( 2e+nβ ) 2δ+1 .

So

Z 1 ( G )= wV( G ) d 2 ( w )= i=1 β d 2 ( u i )+ i=1 nβ d 2 ( v i )β δ 2 + δ 2 ( 2e+nβ ) 2δ+1 .

Suppose that

Z 1 ( G )=β δ 2 + δ 2 ( 2e+nβ ) 2δ+1 .

In review of all the proofs above, we have i=1 nβ d( v i ) =e which implies that i=1 β d( u i ) =e and G is a bipartite graph with partition sets of I and VI . In addition, d( u )=δ for each uI and d( v )=δ for each vVI . Therefore G is a regular bipartite graph.

If G is a regular bipartite graph, then a simple computation yields that

Z 1 ( G )=β δ 2 + δ 2 ( 2e+nβ ) 2δ+1 .

This completes the proof of (1) in Theorem 1.

(2) Applying Lemma 4 with s=nβ , p i =d( v i ) and q i =1 , where i=1,2,,nβ , we have

( i=1 nβ d( v i )1 ) 2 i=1 nβ ( d 2 ( v i )+ 1 2 ) i=1 nβ d 2 ( v i ) 1 2 d 2 ( v i )+ 1 2 .

Thus

e 2 ( i=1 nβ d 2 ( v i )+nβ ) i=1 nβ Δ 2 Δ 2 +1 .

Therefore

e 2 ( i=1 nβ d 2 ( v i )+nβ )( nβ ) Δ 2 Δ 2 +1 .

Hence

i=1 nβ d 2 ( v i ) e 2 ( Δ 2 +1 ) ( nβ ) Δ 2 ( nβ ).

So

Z 1 ( G )= wV( G ) d 2 ( w )= i=1 β d 2 ( u i )+ i=1 nβ d 2 ( v i )β δ 2 + e 2 ( Δ 2 +1 ) ( nβ ) Δ 2 ( nβ ).

Suppose that

Z 1 ( G )=β δ 2 + e 2 ( Δ 2 +1 ) ( nβ ) Δ 2 ( nβ ).

In review of all the proofs above, we have i=1 nβ d( v i ) =e which implies that i=1 β d( u i ) =e and G is a bipartite graph with partition sets of I and VI . In addition, | I |=β , d( u )=δ for each uI , and d( v )=Δ for each vVI .

If G is a bipartite graph with partition sets of I and VI such that | I |=β , d( u )=δ for each uI , and d( v )=Δ for each vVI , then δβ=e=Δ( nβ ) . A simple computation yields that

Z 1 ( G )=β δ 2 + e 2 ( Δ 2 +1 ) ( nβ ) Δ 2 ( nβ ).

This completes the proof of (2) in Theorem 1.

Proof of Theorem 2. Let G be a k -connected ( k2 ) graph with n3 vertices and e edges satisfying exactly one of two conditions in Theorem 2. Suppose G is not Hamiltonian. Then Lemma 1 implies that βk+1 . Let I 1 :={ u 1 , u 2 ,, u β } be a maximum independent set in G . Then I:={ u 1 , u 2 ,, u k+1 } is an independent set in G . Set VI={ v 1 , v 2 ,, v nk1 } . Thus

uI d( u )=| E( I,VI ) | vVI d( v ).

Since uI d( u ) + vVI d( v ) =2e , we have that

uI d( u )e vVI d( v ).

(1) Applying Lemma 3 with p=2 , s=nk1 , a i =d( v i ) , and b i =1 , where i=1,2,,nk1 , the ideas in the proof of (1) in Theorem 1, and the conditions in (1) in Theorem 2, we have

( k+1 ) δ 2 + δ 2 ( 2e+nk1 ) 2δ+1 Z 1 ( G )( k+1 ) δ 2 + δ 2 ( 2e+nk1 ) 2δ+1 .

Thus

Z 1 ( G )=( k+1 ) δ 2 + δ 2 ( 2e+nk1 ) 2δ+1 .

Therefore G is a regular bipartite graph with partition sets of I and VI which implies that | I |=| VI |=( k+1 ) . Lemma 5 implies that G is Hamiltonian, a contradiction.

This completes the proof of (1) in Theorem 2.

(2) Applying Lemma 4 with s=nk1 , p i =d( v i ) and q i =1 , where i=1,2,,nk1 , the ideas in the proof of (2) in Theorem 1, and the conditions in (2) in Theorem 2, we have

( k+1 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk1 ) Δ 2 ( nk1 ) Z 1 ( G )( k+1 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk1 ) Δ 2 ( nk1 ).

Thus G is a bipartite graph with partition sets of I and VI such that | I |=( k+1 ) , d( u )=δ for each uI , and d( v )=Δ for each vVI . δ| I |=e=Δ| VI | and δΔ , we have that | VI || I |=( k+1 ) . Notice that n2δ+12k+1 otherwise δkn/2 and G is Hamiltonian. Thus | VI |=| V || I |k . Therefore | VI |=k or | VI |=( k+1 ) . If | VI |=k , then G is K k,k+1 . If | VI |=( k+1 ) , Lemma 5 implies that G is Hamiltonian, a contradiction.

This completes the proof of (2) in Theorem 2.

The proof of Theorem 3 is similar to the proof of Theorem 2. For the sake of completeness, we still present a full proof of Theorem 3 below.

Proof of Theorem 3. Let G be a k -connected ( k1 ) graph with n9 vertices and e edges satisfying exactly one of two conditions in Theorem 3. Suppose G is not traceable. Then Lemma 2 implies that βk+2 . Let I 1 :={ u 1 , u 2 ,, u β } be a maximum independent set in G . Then I:={ u 1 , u 2 ,, u k+2 } is an independent set in G . Set VI={ v 1 , v 2 ,, v nk2 } . Thus

uI d( u )=| E( I,VI ) | vVI d( v ).

Since uI d( u ) + vVI d( v ) =2e , we have that

uI d( u )e vVI d( v ).

(1) Applying Lemma 3 with p=2 , s=nk2 , a i =d( v i ) , and b i =1 , where i=1,2,,nk2 , the ideas in the proof of (1) in Theorem 1, and the conditions in (1) in Theorem 3, we have

( k+2 ) δ 2 + δ 2 ( 2e+nk2 ) 2δ+1 Z 1 ( G )( k+2 ) δ 2 + δ 2 ( 2e+nk2 ) 2δ+1 .

Thus

Z 1 ( G )=( k+2 ) δ 2 + δ 2 ( 2e+nk2 ) 2δ+1 .

Therefore G is a regular bipartite graph with partition sets of I and VI which implies that | I |=| VI |=( k+2 ) . Since n=2k+49 , we have that k3 . Thus Lemma 5 implies that G is Hamiltonian and thereby G is traceable, a contradiction.

This completes the proof of (1) in Theorem 3.

(2) Applying Lemma 4 with s=nk2 , p i =d( v i ) and q i =1 , where i=1,2,,nk2 , the ideas in the proof of (2) in Theorem 1, and the conditions in (2) in Theorem 3, we have

( k+2 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk2 ) Δ 2 ( nk2 ) Z 1 ( G )( k+2 ) δ 2 + e 2 ( Δ 2 +1 ) ( nk2 ) Δ 2 ( nk2 ).

Thus G is a bipartite graph with partition sets of I and VI such that | I |=( k+2 ) , d( u )=δ for each uI , and d( v )=Δ for each vVI . Since δ| I |=e=Δ| VI | and δΔ , we have that | VI || I |=( k+2 ) . Notice that n2δ+22k+2 otherwise δk ( n1 )/2 and G is traceable. Thus | VI |=| V || I |k . Therefore | VI |=k or | VI |=( k+1 ) or | VI |=( k+2 ) . If | VI |=k , then G is K k,k+2 . If | VI |=( k+1 ) , Lemma 6 implies that G has a cycle of length at least ( n1 ) and thereby G is traceable, a contradiction. If | VI |=( k+2 ) , since n=2k+49 , we have that k3 . Thus Lemma 5 implies that G is Hamiltonian and thereby G is traceable, a contradiction.

This completes the proof of (2) in Theorem 3.

Acknowledgements

The author would like to thank the referees for their suggestions or comments which improve the initial version of the paper.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Bondy, J.A. and Murty, U.S.R. (1976) Graph Theory with Applications. Elsevier.
[2] Gutman, I. and Trinajstić, N. (1972) Graph Theory and Molecular Orbitals. Total φ-Electron Energy of Alternant Hydrocarbons. Chemical Physics Letters, 17, 535-538.[CrossRef]
[3] Gutman, I., Ruščić, B., Trinajstić, N. and Wilcox, C.F. (1975) Graph Theory and Molecular Orbitals. XII. Acyclic Polyenes. The Journal of Chemical Physics, 62, 3399-3405.[CrossRef]
[4] Borovićanin, B., Das, K., Furtula, B. and Gutman, I. (2017) Bounds for Zagreb In-dices. MATCH Communications in Mathematical and in Computer Chemistry, 78, 17-100.
[5] Li, R. and Taylor, M.M. (2017) The First Zagreb Index and Some Hamiltonian Properties of the Line Graph of a Graph. Journal of Discrete Mathematical Sciences and Cryptography, 20, 445-451.[CrossRef]
[6] Li, R. (2019) The Hyper-Zagreb Index and Some Hamiltonian Properties of Graphs. Discrete Mathematics Letters, 1, 54-58.
[7] An, M. (2022) The First Zagreb Index, Reciprocal Degree Distance and Hamiltonian-Connectedness of Graphs. Information Processing Letters, 176, Article ID: 106247.[CrossRef]
[8] Lu, Y. and Zhou, Q. (2022) On Hyper-Zagreb Index Conditions for Hamiltonicity of Graphs. Czechoslovak Mathematical Journal, 72, 653-662.[CrossRef]
[9] Jahanbani, A. and Sheikholeslam, S. (2023) The Topological Indices and Some Hamiltonian Properties of Graphs. Applied Mathematics E-Notes, 23, 260-264.
[10] Li, R. (2024) The First General Zagreb Index and Some Hamiltonian Properties of Graphs. Mathematical Aspects of Topological Indices, 6, 43-48.
[11] Li, R. (2024) The General First Zagreb Index Conditions for Hamiltonian and Traceable Graphs. Discrete Mathematics Letters, 14, 31-35.
[12] Li, R. (2024) The First Zagreb Index and Some Hamiltonian Properties of Graphs. Mathematics, 12, Article 3902.[CrossRef]
[13] Li, R. (2024) The Harmonic Index and Some Hamiltonian Properties of Graphs. Discrete Mathematics Letters, 14, 103-107.
[14] Li, R. (2025) The First Zagreb Index Conditions for Hamiltonian and Traceable Graphs. Open Journal of Discrete Applied Mathematics, 8, 45-51.[CrossRef]
[15] Li, R. (2025) On General Zagreb Indices and Some Hamiltonian Properties of Graphs. Electronic Journal of Mathematics, 9, 88-92.[CrossRef]
[16] Chvátal, V. and Erdös, P. (1972) A Note on Hamiltonian Circuits. Discrete Mathematics, 2, 111-113.[CrossRef]
[17] Bosch, P., Rodríguez, J.M., Sigarreta, J.M. and Tourís, E. (2024) Some New Milne-Type Inequalities. Journal of Inequalities and Applications, 2024, Article No. 106.[CrossRef]
[18] Dragomir, S.S. (2003) A Survey on Cauchy-Bunyakovsky-Schwarz Type Discrete Inequalities. Journal of Inequalities in Pure and Applied Mathematics, 4, Article 63.
http://jipam.vu.edu.au/
[19] Moon, J. and Moser, L. (1963) On Hamiltonian Bipartite Graphs. Israel Journal of Mathematics, 1, 163-165.[CrossRef]
[20] Jackson, B. (1985) Long Cycles in Bipartite Graphs. Journal of Combinatorial Theory, Series B, 38, 118-131.[CrossRef]

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.