Next Article in Journal
An Overview of Underwater Optical Wireless Communication Channel Simulations with a Focus on the Monte Carlo Method
Previous Article in Journal
Deep Reinforcement Learning-Based Adversarial Attack and Defense in Industrial Control Systems
Previous Article in Special Issue
Reliability and Sensitivity Analysis of Wireless Sensor Network Using a Continuous-Time Markov Process
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The First Zagreb Index and Some Hamiltonian Properties of Graphs

Department of Computer Science, Engineering and Mathematics, University of South Carolina Aiken, Aiken, SC 29801, USA
Mathematics 2024, 12(24), 3902; https://doi.org/10.3390/math12243902
Submission received: 2 September 2024 / Revised: 28 November 2024 / Accepted: 10 December 2024 / Published: 11 December 2024
(This article belongs to the Special Issue Graph Theory and Network Theory)

Abstract

:
Let G = ( V , E ) be a graph. The first Zagreb index of a graph G is defined as u V d G 2 ( u ) , where d G ( u ) is the degree of vertex u in G. A graph G is called Hamiltonian (resp. traceable) if G has a cycle (resp. path) containing all the vertices of G. Using two established inequalities, in this paper, we present sufficient conditions involving the first Zagreb index for Hamiltonian graphs and traceable graphs. We also present upper bounds for the first Zagreb index of a graph and characterize the graphs achieving the upper bounds.

1. Introduction

We consider only finite undirected graphs without loops or multiple edges. Notation and terminology not defined in this paper follow those in [1]. Let G = ( V ( G ) , E ( G ) ) be a graph. We use n and e to denote the number of vertices and the number of edges in G, respectively. The degree of a vertex u is represented by d G ( u ) . The minimum and maximum degrees of a graph G are represented, respectively, by δ ( G ) and Δ ( G ) . A subset of V ( G ) in a graph G is 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 as large as possible. The independence number, denoted β ( G ) , of a graph G is defined as the size of a maximum independent set in G. For two disjoint vertex subsets, A and B, of V ( G ) , we define E ( A , B ) as the set of all the edges in E ( G ) such that one end vertex of each edge is in A and another end vertex of the edge is in B. Namely, E ( A , B ) : = { e : e = a b E , a A , b B } . We use K r , s to denote a complete bipartite graph with two partition sets X and Y such that | X | = r and | Y | = s . A cycle C in a graph G is a Hamiltonian cycle of G if all the vertices of G are on C. A graph G is called Hamiltonian if G contains a Hamiltonian cycle. A path P in a graph G is a Hamiltonian path of G if all the vertices of G are on P. A graph G is called traceable if G contains a Hamiltonian path.
The first Zagreb index of a graph was introduced by Gutman and Trinajstić in [2]. For a graph G, its first Zagreb index, denoted Z 1 ( G ) , is defined as u V ( G ) d G 2 ( u ) . The first Zagreb index is one of the most important topological indices of a graph. It has been intensively investigated since its introduction. Many results on the first Zagreb index of a graph have been obtained. The survey paper [3] and the references therein are good resources for these results. Using the first Zagreb index and its variants, researchers, in recent years, have obtained sufficient conditions for the Hamiltonian properties of graphs. Some of these sufficient conditions appeared in [4,5,6,7,8,9,10]. Using two established inequalities, we, in this paper, present new sufficient conditions involving the first Zagreb index for Hamiltonian and traceable graphs. We also present new upper bounds for the first Zagreb index of a graph and characterize graphs achieving the upper bounds. The main results of this paper are as follows.
Theorem 1.
Let G be a k-connected ( k 2 ) graph with n 3 vertices and e edges.
  • (1) If
    Z 1 ( G ) ( n k 1 ) Δ 2 + e 2 k + 1 + n k 1 δ 2 e ,
  • then G is Hamiltonian or G is K k , k + 1 .
  • (2) If
    Z 1 ( G ) ( n k 1 ) Δ 2 + 1 k + 1 ( k + 1 ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) + e 2 ,
  • then G is Hamiltonian or G is K k , k + 1 .
Theorem 2.
Let G be a k-connected ( k 1 ) graph with n 9 vertices and e edges.
  • (1) If
    Z 1 ( G ) ( n k 2 ) Δ 2 + e 2 k + 2 + n k 2 δ 2 e ,
  • then G is traceable or G is K k , k + 2 .
  • (2) If
    Z 1 ( G ) ( n k 2 ) Δ 2 + 1 k + 2 ( k + 2 ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) + e 2 ,
  • then G is traceable or G is K k , k + 2 .
Theorem 3.
Let G be a graph with n vertices, e edges, and δ 1 . Then,
  • (1)
    Z 1 ( G ) ( n β ) Δ 2 + e 2 β + n β δ 2 e
  • with equality if and only if G is K β , n β or G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β , and d ( v ) = Δ for each vertex v in v I and I = P Q , where P = { x : x I , d ( x ) = n β } , Q = { y : y I , d ( y ) = δ } , and
    β | P | = 1 + n β δ 1 2 ,
  • where | P | is an integer.
  • (2)
    Z 1 ( G ) ( n β ) Δ 2 + 1 β β ( n β δ ) 4 ( δ + n β ) + e 2
    with equality if and only if G is K β , n β or G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β , and d ( v ) = Δ for each vertex v in v I and I = P Q , where P = { x : x I , d ( x ) = n β } , Q = { y : y I , d ( y ) = δ } , P Q = , and
    | P | = n β + 3 δ 4 ( n β + δ )
    is an integer.

2. Preliminaries

We will use the following results as our lemmas. The first two are from [11].
Lemma 1
([11]). Let G be a k-connected graph of order n 3 . If β k , then G is Hamiltonian.
Lemma 2
([11]). Let G be a k-connected graph of order n. If β k + 1 , then G is traceable.
Lemma 3 is an inequality given on Page 303 in [12].
Lemma 3
([12]). Let the real numbers a k and b k ( k = 1 , 2 , , s ) satisfy 0 < m 1 a k M 1 and 0 < m 2 b k M 2 . Then,
k = 1 s a k 2 k = 1 s b k 2 k = 1 s a k b k 2 M 1 m 2 m 1 M 2 2 k = 1 s a k b k k = 1 s b k 2 ,
with equality holding if and only if there exists a subsequence ( k 1 , k 2 , , k t ) of ( 1 , 2 , , s ) such that
n t = 1 + M 1 m 1 1 2 m 2 M 2 3 2 ,
a k μ = M 1 , b k μ = m 2 ( μ = 1 , 2 , , t ) , and a k = m 1 , b k = M 2 for every k distinct from all k μ .
Lemma 4 is Theorem 5.21 on Page 82 and Page 83 in [13].
Lemma 4
([13]). Suppose a k and b k ( k = 1 , 2 , , s ) are positive real numbers satisfying 0 < γ a k b k Γ < for any k { 1 , 2 , , s } . Then,
0 k = 1 s a k 2 k = 1 s b k 2 1 2 k = 1 s a k b k ( Γ γ ) 2 4 ( γ + Γ ) k = 1 s b k 2 .
Equality holds in the above inequality if and only if there exists a subsequence ( k 1 , k 2 , , k t ) of ( 1 , 2 , , s ) such that
m = 1 t b k m 2 = Γ + 3 γ 4 ( Γ + γ ) j = 1 s b j 2 ,
a k m b k m = Γ ( m = 1 , 2 , , t ) , and a k b k = γ for every k distinct from all k m .
Lemma 5
([14]). Let G be a balanced bipartite graph of order 2 n with the bipartition (A, B). If d ( x ) + d ( y ) n + 1 for any x A and any y B with x y E , then G is Hamiltonian.
Lemma 6
([15]). Let G be a two-connected bipartite graph with the bipartition (A, B), where | A | | B | . If each vertex in A has a degree of at least s and each vertex in B has a degree of at least t, then G contains a cycle with a length of at least 2 min ( | B | , s + t 1 , 2 s 2 ) .

3. Proofs of the Main Results

Proof of Theorem 1. 
Let G be a k-connected ( k 2 ) graph with n 3 vertices and e edges satisfying the conditions in Theorem 1. Suppose G is not Hamiltonian. Then, Lemma 1 implies that β k + 1 . Also, we have that n 2 δ + 1 2 k + 1 ; otherwise, δ k n / 2 and G is Hamiltonian. 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. Thus,
u I d ( u ) = | E ( I , V I ) | v V I d ( v ) .
Since u I d ( u ) + v V I d ( v ) = 2 e , we have that
u I d ( u ) e v V I d ( v ) .
Notice that 0 < δ d ( u ) n k 1 for each u I .
(1). 
Applying Lemma 3 with s = k + 1 , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , ( k + 1 ) , m 1 = δ > 0 , M 1 = n k 1 , m 2 = 1 > 0 , and M 2 = 1 , we have
i = 1 k + 1 d 2 ( u i ) i = 1 k + 1 1 2 k = 1 k + 1 d ( u i ) 2 n k 1 δ 2 k = 1 k + 1 d ( u i ) i = 1 k + 1 1 2 .
Thus,
i = 1 k + 1 d 2 ( u i ) k = 1 k + 1 d ( u i ) 2 k + 1 + n k 1 δ 2 k = 1 k + 1 d ( u i )
e 2 k + 1 + n k 1 δ 2 e .
Therefore,
( n k 1 ) Δ 2 + e 2 k + 1 + n k 1 δ 2 e
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n k 1 ) Δ 2 + e 2 k + 1 + n k 1 δ 2 e .
Hence, d ( v ) = Δ for each v V I ,
i = 1 k + 1 d 2 ( u i ) i = 1 k + 1 1 2 k = 1 k + 1 d ( u i ) 2 = n k 1 δ 2 k = 1 k + 1 d ( u i ) i = 1 k + 1 1 2 ,
and i = 1 k + 1 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n k 1 .
In this case, we have d ( u ) = δ for each u in I and thereby δ ( k + 1 ) = | E ( I , V I ) | = Δ ( n k 1 ) δ ( n k 1 ) . Thus, n 2 k + 2 . Since n 2 k + 1 , we have n = 2 k + 2 or n = 2 k + 1 . If n = 2 k + 2 , then Lemma 5 implies that G is Hamiltonian, which is a contradiction. If n = 2 k + 1 , then G is K k , k + 1 .
Case 2.
δ < n k 1 .
In this case, set P = { x : x I , d ( x ) = n k 1 } and Q = { y : y I , d ( y ) = δ } . From Lemma 3, we have
k + 1 | P | = 1 + n k 1 δ 1 2 .
Choose one vertex x in P and one vertex w in V I . Then, n k 1 = d ( x ) Δ = d ( w ) k + 1 . Thus, n 2 k + 2 . Since n 2 k + 1 , we have n = 2 k + 2 or n = 2 k + 1 . If n = 2 k + 2 , then Lemma 5 implies that G is Hamiltonian, which is a contradiction. If n = 2 k + 1 , then G is K k , k + 1 , which implies that n k 1 = δ , which is a contradiction.
(2). 
Applying Lemma 4 with s = k + 1 , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , ( k + 1 ) , γ = δ > 0 , and Γ = n k 1 , we have
i = 1 k + 1 d 2 ( u i ) i = 1 k + 1 1 2 1 2 k = 1 k + 1 d ( u i ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) i = 1 k + 1 1 2 .
Thus,
i = 1 k + 1 d 2 ( u i ) 1 k + 1 ( k + 1 ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) + k = 1 k + 1 d ( u i ) 2
1 k + 1 ( k + 1 ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) + e 2 .
Therefore,
( n k 1 ) Δ 2 + 1 k + 1 ( k + 1 ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) + e 2
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n k 1 ) Δ 2 + 1 k + 1 ( k + 1 ) ( n k 1 δ ) 2 4 ( δ + n k 1 ) + e 2 .
Hence, d ( v ) = Δ for each v V I ,
i = 1 k + 1 d 2 ( u i ) i = 1 k + 1 1 2 1 2 k = 1 k + 1 d ( u i ) = ( n k 1 δ ) 2 4 ( δ + n k 1 ) i = 1 k + 1 1 2 ,
and i = 1 k + 1 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n k 1 .
In this case, we have d ( u ) = δ for each u in I, and thereby δ ( k + 1 ) = | E ( I , V I ) | = Δ ( n k 1 ) δ ( n k 1 ) . Thus, n 2 k + 2 . Since n 2 k + 1 , we have n = 2 k + 2 or n = 2 k + 1 . If n = 2 k + 2 , then Lemma 5 implies that G is Hamiltonian, which is a contradiction. If n = 2 k + 1 , then G is K k , k + 1 .
Case 2.
δ < n k 1 .
In this case, set P = { x : x I , d ( x ) = n k 1 } and Q = { y : y I , d ( y ) = δ } . From Lemma 4, we have
| P | = ( k + 1 ) ( n k 1 + 3 δ ) 4 ( δ + n k 1 ) .
Choose one vertex x in P and one vertex w in V I . Then, n k 1 = d ( x ) Δ = d ( w ) k + 1 . Thus, n 2 k + 2 . Since n 2 k + 1 , we have n = 2 k + 2 or n = 2 k + 1 . If n = 2 k + 2 , then Lemma 5 implies that G is Hamiltonian, which is a contradiction. If n = 2 k + 1 , then G is K k , k + 1 , which implies that n k 1 = δ , which is a contradiction.
This completes the proof of Theorem 1. □
The proof of Theorem 2 is similar to the proof of Theorem 1. For the sake of completeness, we still present a full proof of Theorem 2 below.
Proof of Theorem 2. 
Let G be a k-connected ( k 1 ) graph with n 9 vertices and e edges satisfying the conditions in Theorem 2. Suppose G is not traceable. Then, Lemma 2 implies that β k + 2 . Also, we have that n 2 δ + 2 2 k + 2 ; otherwise, δ k ( n 1 ) / 2 and G is traceable. 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. Thus,
u I d ( u ) = | E ( I , V I ) | v V I d ( v ) .
Since u I d ( u ) + v V I d ( v ) = 2 e , we have that
u I d ( u ) e v V I d ( v ) .
Notice that 0 < δ d ( u ) n k 2 for each u I .
(1). 
Applying Lemma 3 with s = k + 2 , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , ( k + 2 ) , m 1 = δ > 0 , M 1 = n k 2 , m 2 = 1 > 0 , and M 2 = 1 , we have
i = 1 k + 2 d 2 ( u i ) i = 1 k + 2 1 2 k = 1 k + 2 d ( u i ) 2 n k 2 δ 2 k = 1 k + 2 d ( u i ) i = 1 k + 2 1 2 .
Thus,
i = 1 k + 2 d 2 ( u i ) k = 1 k + 2 d ( u i ) 2 k + 2 + n k 2 δ 2 k = 1 k + 2 d ( u i )
e 2 k + 2 + n k 2 δ 2 e .
Therefore,
( n k 2 ) Δ 2 + e 2 k + 2 + ( n k 2 δ ) 2 e
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n k 2 ) Δ 2 + e 2 k + 2 + n k 2 δ 2 e .
Hence, d ( v ) = Δ for each v V I ,
i = 1 k + 2 d 2 ( u i ) i = 1 k + 2 1 2 k = 1 k + 2 d ( u i ) 2 = n k 2 δ 2 k = 1 k + 2 d ( u i ) i = 1 k + 2 1 2 ,
and i = 1 k + 2 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n k 2 .
In this case, we have d ( u ) = δ for each u in I, and thereby δ ( k + 2 ) = | E ( I , V I ) | = Δ ( n k 2 ) δ ( n k 2 ) . Thus, n 2 k + 4 . Since n 2 k + 2 , we have n = 2 k + 4 , n = 2 k + 3 , or n = 2 k + 2 . If n = 2 k + 4 , then Lemma 5 implies that G is Hamiltonian and thereby G is traceable. If n = 2 k + 3 , then k 3 since n 9 . Thus, Lemma 6 implies that G has a cycle with a length of at least ( n 1 ) and thereby G is traceable, which is a contradiction. If n = 2 k + 2 , then G is K k , k + 2 .
Case 2.
δ < n k 2 .
In this case, set P = { x : x I , d ( x ) = n k 2 } and Q = { y : y I , d ( y ) = δ } . From Lemma 3, we have
k + 2 | P | = 1 + n k 2 δ 1 2 .
Choose one vertex x in P and one vertex w in V I . Then, n k 2 = d ( x ) Δ = d ( w ) k + 2 . Thus, n 2 k + 4 . Since n 2 k + 2 , we have n = 2 k + 4 , n = 2 k + 3 , or n = 2 k + 2 . If n = 2 k + 4 , then Lemma 5 implies that G is Hamiltonian and thereby G is traceable, which is a contradiction. If n = 2 k + 3 , then k 3 since n 9 . Then, Lemma 6 implies that G has a cycle with a length of at least ( n 1 ) and thereby G is traceable, which is a contradiction. If n = 2 k + 2 , then G is K k , k + 2 and n k 2 = δ , which is a contradiction.
(2). 
Applying Lemma 4 with s = k + 2 , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , ( k + 2 ) , γ = δ > 0 , and Γ = n k 2 , we have
i = 1 k + 2 d 2 ( u i ) i = 1 k + 2 1 2 1 2 k = 1 k + 2 d ( u i ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) i = 1 k + 2 1 2 .
Thus,
i = 1 k + 2 d 2 ( u i ) 1 k + 2 ( k + 2 ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) + k = 1 k + 2 d ( u i ) 2
1 k + 2 ( k + 2 ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) + e 2 .
Therefore,
( n k 2 ) Δ 2 + 1 k + 2 ( k + 2 ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) + e 2
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n k 2 ) Δ 2 + 1 k + 2 ( k + 2 ) ( n k 2 δ ) 2 4 ( δ + n k 2 ) + e 2 .
Hence, d ( v ) = Δ for each v V I ,
i = 1 k + 2 d 2 ( u i ) i = 1 k + 2 1 2 1 2 k = 1 k + 2 d ( u i ) = ( n k 2 δ ) 2 4 ( δ + n k 2 ) i = 1 k + 2 1 2 ,
and i = 1 k + 2 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n k 2 .
In this case, we have d ( u ) = δ for each u in I, and thereby δ ( k + 2 ) = | E ( I , V I ) | = Δ ( n k 2 ) δ ( n k 2 ) . Thus, n 2 k + 4 . Since n 2 k + 2 , we have n = 2 k + 4 , n = 2 k + 3 , or n = 2 k + 2 . If n = 2 k + 4 , then Lemma 5 implies that G is Hamiltonian and thereby G is traceable. If n = 2 k + 3 , then k 3 since n 9 . Then, Lemma 6 implies that G has a cycle with a length of at least ( n 1 ) and thereby G is traceable, which is a contradiction. If n = 2 k + 2 , then G is K k , k + 2 .
Case 2.
δ < n k 2 .
In this case, set P = { x : x I , d ( x ) = n k 2 } and Q = { y : y I , d ( y ) = δ } . From Lemma 4, we have
| P | = ( k + 2 ) ( n k 2 + 3 δ ) 4 ( δ + n k 2 ) .
Choose one vertex x in P and one vertex w in V I . Then, n k 2 = d ( x ) Δ = d ( w ) k + 2 . Thus, n 2 k + 4 . Since n 2 k + 2 , we have n = 2 k + 4 , n = 2 k + 3 , or n = 2 k + 2 . If n = 2 k + 4 , then Lemma 5 implies that G is Hamiltonian and thereby G is traceable. If n = 2 k + 3 , then k 3 since n 9 . Then, Lemma 6 implies that G has a cycle with a length of at least ( n 1 ) and thereby G is traceable, which is a contradiction. If n = 2 k + 2 , then G is K k , k + 2 and n k 2 = δ , which is a contradiction.
This completes the proof of Theorem 2. □
Proof of Theorem 3. 
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. Then,
u I d ( u ) = | E ( I , V I ) | v V I d ( v ) .
Since u I d ( u ) + v V I d ( v ) = 2 e , we have that
u I d ( u ) e v V I d ( v ) .
Notice that 0 < δ d ( u ) n β for each u I .
(1). 
Applying Lemma 3 with s = β , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , β , m 1 = δ > 0 , M 1 = n β , m 2 = 1 > 0 , and M 2 = 1 , we have
i = 1 β d 2 ( u i ) i = 1 β 1 2 k = 1 β d ( u i ) 2 n β δ 2 k = 1 β d ( u i ) i = 1 β 1 2 .
Thus,
i = 1 β d 2 ( u i ) k = 1 β d ( u i ) 2 β + n β δ 2 k = 1 β d ( u i )
e 2 β + n β δ 2 e .
Therefore,
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n β ) Δ 2 + e 2 β + n β δ 2 e .
If
Z 1 = ( n β ) Δ 2 + e 2 β + n β δ 2 e ,
then d ( v ) = Δ for each v V I , so
i = 1 β d 2 ( u i ) i = 1 β 1 2 k = 1 β d ( u i ) 2 = n β δ 2 k = 1 β d ( u i ) i = 1 β 1 2 ,
and i = 1 k + 1 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n β .
In this case, we have d ( u ) = δ for each u in I, and thereby G is K β , n β .
Case 2.
δ < n β .
In this case, set P = { x : x I , d ( x ) = n β } and Q = { y : y I , d ( y ) = δ } . From Lemma 3, we have that G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β and d ( v ) = Δ for each vertex v in v I and I = P Q :
β | P | = 1 + n β δ 1 2 ,
where | P | is an integer.
Suppose G is K β , n β . Since V I is independent, n β = | V I | β . Thus, δ = n β , Δ = β , and e = β ( n β ) . A simple computation can verify that
Z 1 = ( n β ) Δ 2 + β δ 2 = ( n β ) Δ 2 + e 2 β + ( n β δ ) 2 e .
Suppose G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β , and d ( v ) = Δ for each vertex v in v I , and I = P Q , where P = { x : x I , d ( x ) = n β } , Q = { y : y I , d ( y ) = δ } , and
β | P | = 1 + n β δ 1 2 ,
where | P | is an integer.
Then, | P | = β δ n β + δ , | Q | = β | P | = β n β n β + δ , and
e = | P | ( n β ) + | Q | δ = β ( n β ) δ n β + δ + β δ n β n β + δ
= β δ ( n β ) ( n β + δ ) n β + δ = β δ ( n β ) .
Thus,
| P | ( n β ) 2 + | Q | δ 2 = β ( n β ) 2 δ n β + δ + β δ 2 n β n β + δ
= β δ ( n β ) ( n β ) 3 2 + δ 3 2 ( n β ) 1 2 + δ 1 2
= β δ ( n β ) n β δ ( n β ) + δ .
Note that
e 2 β + n β δ 2 e = e e β + n β δ 2
= β δ ( n β ) δ ( n β ) + ( n β 2 δ ( n β ) + δ
= β δ ( n β ) n β δ ( n β ) + δ .
Therefore,
Z 1 = v i n V I d 2 ( v ) + u I d 2 ( u ) = ( n β ) Δ 2 + | P | ( n β ) 2 + | Q | δ 2
= ( n β ) Δ 2 + β δ ( n β ) n β δ ( n β ) + δ
= ( n β ) Δ 2 + e 2 β + n β δ 2 e .
(2). 
Applying Lemma 4 with s = β , a i = d ( u i ) , and b i = 1 , with i = 1 , 2 , , β , γ = δ > 0 , and Γ = n β , we have
i = 1 β d 2 ( u i ) i = 1 β 1 2 1 2 k = 1 β d ( u i ) ( n β δ ) 2 4 ( δ + n β ) i = 1 β 1 2 .
Thus,
i = 1 β d 2 ( u i ) 1 β β ( n β δ ) 2 4 ( δ + n β ) + k = 1 β d ( u i ) 2
1 β β ( n β δ ) 2 4 ( δ + n β ) + e 2 .
Therefore,
Z 1 = v V I d 2 ( v ) + u I d 2 ( u )
( n β ) Δ 2 + 1 β β ( n β δ ) 2 4 ( δ + n β ) + e 2 .
If
Z 1 = ( n β ) Δ 2 + 1 β β ( n β δ ) 2 4 ( δ + n β ) + e 2 ,
then d ( v ) = Δ for each v V I , so
i = 1 β d 2 ( u i ) i = 1 β 1 2 1 2 k = 1 β d ( u i ) = ( n β δ ) 2 4 ( δ + n β ) i = 1 β 1 2 ,
and i = 1 k + 1 d ( u i ) = e , which implies that v V I d ( v ) = e and G is a bipartite graph with partition sets of I and V I .
For the characterization of the extremal graphs, we divide the remaining proofs into two cases.
Case 1.
δ = n β .
In this case, we have d ( u ) = δ for each u in I, and thereby G is K β , n β .
Case 2.
δ < n β .
In this case, set P = { x : x I , d ( x ) = n β } and Q = { y : y I , d ( y ) = δ } . From Lemma 4, G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β , and d ( v ) = Δ for each vertex v in v I and I = P Q , where P = { x : x I , d ( x ) = n β } , Q = { y : y I , d ( y ) = δ } , P Q = , and
| P | = n β + 3 δ 4 ( n β + δ )
is an integer.
Suppose G is K β , n β . Since V I is independent, n β = | V I | β . Thus, δ = n β , Δ = β , and e = β ( n β ) . A simple computation can verify that
Z 1 = ( n β ) Δ 2 + β δ 2 = ( n β ) Δ 2 + 1 β β ( n β δ ) 2 4 ( δ + n β ) + e 2 .
Suppose G is a bipartite graph with partition sets of I and V I such that | I | = β , δ < n β , and d ( v ) = Δ for each vertex v in v I and I = P Q , where P = { x : x I , d ( x ) = n β } , Q = { y : y I , d ( y ) = δ } , and
| P | = β ( n β + 3 δ ) 4 ( n β + δ )
is an integer.
Then,
| Q | = β | P | = β ( 3 ( n β ) + δ ) 4 ( n β + δ )
is also an integer and
e = | P | ( n β ) + | Q | δ = β ( ( n β ) 2 + 6 δ ( n β ) + δ 2 ) 4 ( n β + δ ) .
Thus,
1 β β ( n β δ ) 2 4 ( n β + δ ) + e 2
= 1 β β ( n β δ ) 2 4 ( n β + δ ) + β ( ( n β ) 2 + 6 δ ( n β ) + δ 2 ) 4 ( n β + δ ) 2
= 1 β β ( ( n β ) 2 2 δ ( n β ) + δ 2 ) ) 4 ( n β + δ ) + β ( ( n β ) 2 + 6 δ ( n β ) + δ 2 ) 4 ( n β + δ ) 2
= 1 β β ( n β + δ ) 2 2 = β ( n β + δ ) 2 4 .
We also have
u I d 2 ( u ) = | P | ( n β ) 2 + | Q | δ 2
= β ( n β ) 2 ( n β + 3 δ ) 4 ( n β + δ ) + β δ 2 ( 3 ( n β ) + δ ) 4 ( n β + δ )
= β ( ( n β ) 3 + 3 ( n β ) 2 δ + 3 ( n β ) δ 2 + δ 3 ) 4 ( n β + δ )
= β ( n β + δ ) 3 4 ( n β + δ ) = β ( n β + δ ) 2 4 .
Therefore,
Z 1 = v V I d 2 ( v ) + u V d 2 ( u )
= ( n β ) Δ 2 + β ( n β + δ ) 2 4
= ( n β ) Δ 2 + 1 β β ( n β δ ) 2 ) 4 ( n β + δ ) + e 2 .
This completes the proof of Theorem 3. □

4. Conclusions

In this paper, we, utilizing the two established inequalities, obtain new sufficient conditions based on the Zagreb index for the Hamiltonian graphs and traceable graphs and new upper bounds for the Zagreb index of a graph. In the future, we will adopt the methodology exhibited in this paper to investigate sufficient conditions based on other topological indices for the Hamiltonian graphs and traceable graphs and upper bounds for the corresponding topological indices of a graph.

Funding

This research received no external funding.

Data Availability Statement

This research does not use any data.

Acknowledgments

The author would like to thank all the referees for their suggestions or comments, which greatly improved the initial version of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bondy, J.A.; Murty, U.S.R. Graph Theory with Applications; Macmillan: London, UK; Elsevier: New York, NY, USA, 1976. [Google Scholar]
  2. Gutman, I.; Trinajstić, N. Graph theory and molecular orbitals, total π-electron energy of alternant hydroncarbons. Chem. Phys. Lett. 1972, 17, 535–538. [Google Scholar] [CrossRef]
  3. Borovićanin, B.; Das, K.; Furtula, B.; Gutman, I. Bounds for Zagreb indices. MATCH Commun. Math. Comput. Chem. 2017, 78, 17–100. [Google Scholar]
  4. Li, R.; Taylor, M. The first Zagreb index and some Hamiltonian properties of the line graph of a graph. J. Discret. Math. Sci. Cryptogr. 2017, 20, 445–451. [Google Scholar] [CrossRef]
  5. Li, R. The hyper-Zagreb index and some Hamiltonian properties of graphs. Discret. Math. Lett. 2019, 1, 54–58. [Google Scholar]
  6. Lu, Y.; Zhou, Q. On hyper-Zagreb index conditions for Hamiltonicity of graphs. Czechoslov. Math. J. 2022, 72, 653–662. [Google Scholar] [CrossRef]
  7. Jahanbani, A.; Sheikholeslam, S. The topological indices and some Hamiltonian properties of graphs. Appl. Math. E-Notes 2023, 23, 260–264. [Google Scholar]
  8. Li, R. The first general Zagreb index and some Hamiltonian properties of graphs. Math. Asp. Topol. Indices 2024, 6, 43–48. [Google Scholar]
  9. An, M. The first Zagreb index, reciprocal degree distance and Hamiltonian-connectedness of graphs. Inf. Process. Lett. 2022, 176, 106247. [Google Scholar] [CrossRef]
  10. Li, R. The general first Zagreb index conditions for Hamiltonian and traceable graphs. Discrete Math. Lett. 2024, 14, 31–35. [Google Scholar]
  11. Chvátal, C.; Erdös, P. A note on Hamiltonian circuits. Discret. Math. 1972, 2, 111–113. [Google Scholar] [CrossRef]
  12. Shisha, O.; Mond, B. Bounds on Differences of Means, Inequalities; Academic Press Inc.: New York, NY, USA, 1967; pp. 293–308. [Google Scholar]
  13. Dragomir, S.S. A survey on Cauchy-Bunyakovsky-Schwarz type discrete inequalities. J. Inequalities Pure Appl. Math. 2003, 4, 63. [Google Scholar]
  14. Moon, J.; Moser, L. On Hamiltonian bipartite graphs. Israel J. Math. 1963, 1, 163–165. [Google Scholar] [CrossRef]
  15. Jackson, B. Long cycles in bipartite graphs. J. Comb. Theory Ser. B 1985, 38, 118–131. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, R. The First Zagreb Index and Some Hamiltonian Properties of Graphs. Mathematics 2024, 12, 3902. https://doi.org/10.3390/math12243902

AMA Style

Li R. The First Zagreb Index and Some Hamiltonian Properties of Graphs. Mathematics. 2024; 12(24):3902. https://doi.org/10.3390/math12243902

Chicago/Turabian Style

Li, Rao. 2024. "The First Zagreb Index and Some Hamiltonian Properties of Graphs" Mathematics 12, no. 24: 3902. https://doi.org/10.3390/math12243902

APA Style

Li, R. (2024). The First Zagreb Index and Some Hamiltonian Properties of Graphs. Mathematics, 12(24), 3902. https://doi.org/10.3390/math12243902

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop