Next Article in Journal
Fractional Dynamical Systems Solved by a Collocation Method Based on Refinable Spaces
Next Article in Special Issue
On the Normalized Laplacian Spectrum of the Linear Pentagonal Derivation Chain and Its Application
Previous Article in Journal
Gamma-Nabla Hardy–Hilbert-Type Inequalities on Time Scales
Previous Article in Special Issue
Graphs with Strong Proper Connection Numbers and Large Cliques
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Difference of Zagreb Indices of Halin Graphs

1
School of Mathematical Sciences, Zhejiang Normal University, Jinhua 321004, China
2
School of Management, Beijing University of Chinese Medicine, Beijing 100029, China
*
Author to whom correspondence should be addressed.
Axioms 2023, 12(5), 450; https://doi.org/10.3390/axioms12050450
Submission received: 1 January 2023 / Revised: 26 April 2023 / Accepted: 29 April 2023 / Published: 2 May 2023
(This article belongs to the Special Issue Graph Theory and Discrete Applied Mathematics)

Abstract

:
The difference of Zagreb indices of a graph G is defined as Δ M ( G ) = u V ( G ) ( d ( u ) ) 2 u v E ( G ) d ( u ) d ( v ) , where d ( x ) denotes the degree of a vertex x in G. A Halin graph G is a graph that results from a plane tree T without vertices of degree two and with at least one vertex of degree at least three such that all leaves are joined through a cycle C in the embedded order. In this paper, we establish both lower and upper bounds on the difference of Zagreb indices for general Halin graphs and some special Halin graphs with fewer inner vertices. Furthermore, extremal graphs attaining related bounds are found.

1. Introduction

All graphs that we consider in this paper are simple. If G is a graph, then we use V ( G ) , E ( G ) , Δ ( G ) , and δ ( G ) to denote its vertex set, edge set, maximum degree, and minimum degree, respectively. Let n = | V ( G ) | and m = | E ( G ) | . For a vertex y V ( G ) , we denote by d G ( y ) the degree of y in G (in short, d ( y ) ).
A topological index is indeed a quantity associated with chemical composition, which reveals a close connection between chemical structure and many physical properties, chemical reactivity, or biological activity. When we discuss a topological index that results from the vertex degree of a graph, we call it a degree-based index. Given a graph G, we define the first Zagreb index M 1 ( G ) and the second Zagreb index M 2 ( G ) as follows:
M 1 ( G ) = u V ( G ) ( d ( u ) ) 2 , M 2 ( G ) = u v E ( G ) d ( u ) d ( v ) .
The parameter M 1 ( G ) was known to appear in some approximate description regarding the total π -electron energy [1] in 1972, and Gutman et al. introduced the parameter M 2 ( G ) to measure the branching of the carbon atom skeleton [2] in 1975. The first employment of the name Zagreb indices appeared in a survey article [3]. A wealth of results above these two indices in graph theory was already collected in the survey article [4]. Recently, Pei and Pan [5] established some upper bounds for the Zagreb indices of trees in which distance k-domination number were given, and, moreover, they developed a characterization of extremal trees. Das and Ali [6] provided maximum value on the second Zagreb index for all connected graphs according to its order and cyclomatic number. Patil and Yattinahalli [7] obtained explicit formulae for the second Zagreb index of some special graphs such as semitotal-line graphs, semitotal-point graphs, and total transformation graphs. Yang and Deng [8] determined maximal values and maximal graphs for the first Zagreb index of unicyclic digraphs with respect to order and matching number.
Let Δ M ( G ) = M 2 ( G ) M 1 ( G ) , which is said to be the difference of Zagreb indices of a graph G (see [9,10]). Using a quick computation, we may easily deduce the following meaningful expression:
Δ M ( G ) = M 2 ( G ) M 1 ( G ) = u v E ( G ) ( d ( u ) 1 ) ( d ( v ) 1 ) m .
More recently, many interesting results about the difference of Zagreb indices of given graphs were obtained. According to the order and cyclicity of G, Caporossi et al. [11] provided two nice lower bounds on Δ M ( G ) for representation. Milošević et al. [12] researched into the graphs, where Δ M ( G ) became an integer. Furtula et al. [10] gave many fundamental features of Δ M ( G ) . A more thorough characterization of graphs depending on the size of Δ M ( G ) was set up in [13]. Wang and Yuan [14] discussed the difference between M 1 ( G ) and M 2 ( G ) to yield some interesting extremal results and related structural properties. Horoldagva et al. [15] investigated the cyclic graphs by giving the max–min characterization results on Δ M ( G ) with respect to the number of order and cut edges. The extremal cacti with given parameters concerning Δ M ( G ) were obtained in [16]. Much more recently, Wang and Zheng [17] established both sharp lower and upper bounds on Δ M ( G ) for maximal plane graphs with minimum degree four and diameter two, and found extremal graphs satisfying these prescribed bounds.
Let T be a tree, in which it no longer has a vertex of degree two, and there exists at least one vertex of degree three or more. A vertex of degree exactly one is a leaf of the tree T. A tree T is called a plane tree if T is a tree that is embedded in the plane. A Halin graph is a graph G = T C , where T is a plane tree and C is a cycle obtained by connecting all consecutive leaves of T in the cyclic order determined by the embedding of T. Sometimes, T is said to be characteristic tree of G, and C is the outer cycle of G. The vertices in V ( C ) and V ( G ) \ V ( C ) are called outer vertices and inner vertices of G, respectively.
Halin graphs are minimally three-connected plane graphs, that is, they are themselves three-connected, but any of their proper subgraph is not. Bondy and Lovász [18] demonstrated that a Halin graph is almost pancyclic, that is, it has at least one cycle of each length p, 3 p n , except possibly for one even value of p. Particularly, Halin graphs are Hamiltonian. In 2003, Stadler [19] investigated the minimal cycle bases for Halin graphs. Lai et al. [20] established a close relation between the strong chromatic index for a Halin graph and its characteristic tree. Chan et al. [21] showed the edge-face chromatic number of a Halin graph G with Δ ( G ) 5 which is equal to Δ ( G ) . Other related property-preserving results on Halin graphs have emerged in [22,23,24].
The main purpose of this paper is to obtain the sharpness of lower and upper bounds on difference of Zagreb indices concerning Halin graphs by considering two situations: (i) general case; (ii) special case with fewer inner vertices.

2. Preliminaries

Assume that G is a Halin graph. Let V inn ( G ) and V out ( G ) denote the set of inner vertices and outer vertices of G, respectively. When | V inn ( G ) | = 1 , G is referred to as a wheel with n vertices, denoted W n . Let v V ( G ) . We say that v is a k-vertex if d ( v ) = k . An inner vertex is called a handle if exactly one of its neighbors is an inner vertex. In particular, if v is a handle, and d ( v ) = k , then v is said to be k-handle. We define an edge u v of E ( G ) to be an ( i , j ) -edge, where d ( u ) = i and d ( v ) = j . For simplicity, the set of ( i , j ) -edge, and the number of ( i , j ) -edges of G are denoted by E i , j and m i , j , respectively, where δ ( G ) i , j Δ ( G ) .
Lemma 1.
Let G = T C be a Halin graph which is not a wheel. Then G includes at least two handles.
Proof. 
Note that, because G is not a wheel, G includes at least two inner vertices. Let F = G V ( C ) . Then, F is a tree with | V ( F ) | 2 . Let P = z 1 z 2 z k be the longest path in F. According to the longest property of P, the assertion that k 2 and both z 1 and z k are leaves of F holds. Thus, z 1 and z k are handles of G. □
Lemma 2.
Let G = T C be a Halin graph on n vertices. Then | V out ( G ) | n 2 + 1 .
Proof. 
For i 1 , let n i denote the number of i-vertices in T. Then, n = n 1 + n 2 + + n Δ , n 1 = | V out ( G ) | , where Δ = Δ ( T ) = Δ ( G ) . Since T has no 2-vertex and | E ( T ) | = n 1 , we obtain:
2 ( n 1 ) = v V ( T ) d T ( v ) = n 1 + i = 3 Δ i n i .
If Δ 4 , then 2 ( n 1 ) n 1 + 4 + 3 ( n n 1 1 ) , so it follows that n 1 1 2 ( n + 3 ) n 2 + 1 . If Δ = 3 , then 2 ( n 1 ) = n 1 + 3 ( n n 1 ) , that is, 2 n 1 = n + 2 , which implies that n is even, and so n 1 = n 2 + 1 = n 2 + 1 . □
Lemma 2 asserts that each Halin graph G contains at least three outer vertices. Specifically, if | V out ( G ) | = 3 , then G K 4 .
Lemma 3.
Let G = T C be a Halin graph on n vertices which is not a wheel. Assume that v 0 is a k-handle with neighbors u 0 , v 1 , , v k 1 in cyclic order, where u 0 is an inner vertex and v 1 , v 2 , , v k 1 are outer vertices. Assume that C = v 1 v 2 v k 1 v k v t v 1 , where t = | V ( C ) | 4 . Suppose G = T C is a Halin graph obtained from G by carrying out the following operations (OP1) and (OP2), as shown in Figure 1:
(OP1) 
Contracting the edge v 0 u 0 into a vertex v 0 , and adding a leaf u 0 at v 0 to form T ;
(OP2) 
Set C = v 1 v 2 v k 1 u 0 v k v t v 1 .
Then, Δ M ( G ) > Δ M ( G ) .
Proof. 
It is now easily checked that G is a Halin graph with | V ( G ) | = | V ( G ) | = n and | E ( G ) | = | E ( G ) | + 1 . Suppose that d G ( u 0 ) = h and v 0 , u 1 , u 2 , , u h 1 are the neighbors of u 0 in cyclic order. It follows that d G ( v 0 ) = k + h 1 3 + 3 1 = 5 , d G ( u 0 ) = 3 , and for any x V ( G ) \ { v 0 , u 0 } , d G ( x ) = d G ( x ) . In particular, for j = 1 , 2 , , h 1 , d G ( u j ) = d G ( u j ) . Let
S = { e E ( G ) | e is incident with v 0 or u 0 } { v k 1 v k } ;
S = { e E ( G ) | e is incident with v 0 } { v k 1 u 0 , u 0 v k } .
Note that E ( G ) S = E ( G ) S and every edge e ( E ( G ) S ) ( E ( G ) S ) has the same contribution in both Δ M ( G ) and Δ M ( G ) . For an edge e = x y S , let
ϕ ( e ) = ( d G ( x ) 1 ) ( d G ( y ) 1 ) 1 ,
and for an edge e = x y S , let
ϕ ( e ) = ( d G ( x ) 1 ) ( d G ( y ) 1 ) 1 .
To obtain the conclusion, we need to compute the following:
σ : = u v S ϕ ( u v ) = u v S [ ( d G ( u ) 1 ) ( d G ( v ) 1 ) 1 ] = ( k 1 ) [ ( 3 1 ) ( k 1 ) 1 ] + [ ( k 1 ) ( h 1 ) 1 ] + [ ( 3 1 ) ( 3 1 ) 1 ] + [ ( h 1 ) ( d G ( u 1 ) 1 ) 1 ] + [ ( h 1 ) ( d G ( u 2 ) 1 ) 1 ] + + [ ( h 1 ) ( d G ( u h 1 ) 1 ) 1 ] ,
and
σ : = u v S ϕ ( u v ) = u v S [ ( d G ( u ) 1 ) ( d G ( v ) 1 ) 1 ] = k [ ( 3 1 ) ( k + h 1 1 ) 1 ] + 2 [ ( 3 1 ) ( 3 1 ) 1 ] + [ ( k + h 2 ) ( d G ( u 1 ) 1 ) 1 ] + [ ( k + h 2 ) ( d G ( u 2 ) 1 ) 1 ] + + [ ( k + h 2 ) ( d G ( u h 1 ) 1 ) 1 ] .
Since
σ σ = k h + k + h + ( k 1 ) [ d G ( u 1 ) + d G ( u 2 ) + + d G ( u h 1 ) ( h 1 ) ] k h + k + h + 2 ( k 1 ) ( h 1 ) = 3 k h k h + 2 = ( k 1 ) ( h 1 ) + 2 k h + 1 ( 3 1 ) ( 3 1 ) + 2 × 3 × 3 + 1 = 23 ,
we derive
Δ M ( G ) Δ M ( G ) = σ σ 23 > 0 .
A direct consequence of Lemma 3 is the next simple lemma.
Lemma 4.
Let G be a Halin graph on n vertices and | V inn ( G ) | 2 . Then, repeating the above operations | V inn ( G ) | 1 times, we obtain finally a wheel W n .
With an easy computation, we can obtain the next lemma:
Lemma 5.
For n 3 , Δ M ( W n ) = 2 ( n 1 ) 2 .

3. General Halin Graphs

In this section, we present tight lower and upper bounds on difference of Zagreb indices for any Halin graphs, and characterize corresponding extremal graphs.
Theorem 1.
Let G be a Halin graph on n vertices. Then Δ M ( G ) 2 ( n 1 ) 2 , where the equality holds if and only if G W n .
Proof. 
If G is a wheel, the result deduces immediately from Lemma 5. Thus, below, we assume that G is a nonwheel. Let k = | V inn ( G ) | 2 . By Lemma 4, by repeating the above operations k 1 times, we obtain a sequence of graphs G 0 , G 1 , , G k 1 , where G = G 0 , and G k 1 W n . By Lemma 3, for any 0 i k 1 , we know that Δ M ( G i + 1 ) Δ M ( G i ) 23 . Hence,
Δ M ( G 0 ) < Δ M ( G 1 ) < < Δ M ( G k 1 ) = 2 ( n 1 ) 2 .
This shows that Δ M ( G ) < 2 ( n 1 ) 2 if G is a nonwheel. Hence, the result establishes the above. □
A Halin graph with n vertices is special if it contains one 4-vertex and ( n 1 ) 3-vertices.
Lemma 6.
Suppose G is a Halin graph with n vertices and m edges.
(1) 
If n is even, then m 3 2 n , where the equality attains if and only if G is 3-regular.
(2) 
If n is odd, then m 1 2 ( 3 n + 1 ) , where the equality attains if and only if G is special.
Proof. 
Note that δ ( G ) = 3 and Δ ( G ) 3 . If n is even, then since
2 m = v V ( G ) d ( v ) 3 n ,
it follows that m 3 2 n . Obviously, equality of the lower bound is attained if and only if G is a 3-regular Halin graph. Assume that n is odd. Since there is no 3-regular graph of odd order, it yields that Δ ( G ) 4 and the following expressions hold:
2 m = v V ( G ) d ( v ) 4 + 3 ( n 1 ) = 3 n + 1 .
Therefore, m 1 2 ( 3 n + 1 ) . Similarly, equality of the lower bound is attained if and only if G is a special Halin graph. □
It is not hard to check that there exist only one 3-regular Halin graph on four vertices (i.e., K 4 ), one 3-regular Halin graph on six vertices (i.e., the triangular prism), one 3-regular Halin graph on eight vertices, and three 3-regular Halin graphs on ten vertices. These graphs are depicted in Figure 2.
Analogously, there exist only one special Halin graph on five vertices (i.e., W 5 ), one special Halin graph on seven vertices, three special Halin graphs on nine vertices, and eight special Halin graphs on eleven vertices. These graphs are depicted in Figure 3.
Lemma 7.
Let n 4 be an integer.
(1) 
If n is even, then there is a 3-regular Halin graph on n vertices.
(2) 
If n is odd, then there is a special Halin graph on n vertices.
Proof. 
(1) If n = 4 , 6 , 8 , 10 , then the result holds automatically by the foregoing analysis and Figure 2. Assume that n 12 is even. Let P = x 1 x 2 x k be a path on k 5 vertices. Let T be a plane tree constructed from P by adding two leaves at each of x 1 and x k and one leaf at each of x 2 , x 3 , , x k 1 . Let G denote the Halin graph with T as its characteristic tree. Then n = 2 k + 2 12 is even and G is our required graph.
(2) If n = 5 , 7 , 9 , 11 , then the result is true by Figure 3. Assume that n 13 is odd. Let P = x 1 x 2 x k be a path on k 5 vertices. Let T be a plane tree constructed from P by adding three leaves at x 1 , two leaves in x k , and one leaf at each of x 2 , x 3 , , x k 1 . Let G denote the Halin graph with T as its characteristic tree. Then n = 2 k + 3 13 is odd and G is our required graph.
By a simple computation, we immediately derive the next lemma:
Lemma 8.
Let G be a 3-regular Halin graph with n 4 being even. Then Δ M ( G ) = 9 2 n .
Lemma 9.
Let G be a special Halin graph with n 5 being odd. Then Δ M ( G ) = 9 2 n + 19 2 .
Proof. 
By Lemma 6(2), m = 1 2 ( 3 n + 1 ) . Since V ( G ) consists of one 4-vertex and ( n 1 ) 3-vertices, we have that E ( G ) = E 3 , 3 E 3 , 4 , m 3 , 3 = m 4 , and m 3 , 4 = 4 . Thus,
Δ M ( G ) = u v E ( G ) ( d ( u ) 1 ) ( d ( v ) 1 ) m = 4 ( 4 1 ) ( 3 1 ) + ( m 4 ) ( 3 1 ) ( 3 1 ) m = 3 m + 8 = 3 [ 1 2 ( 3 n + 1 ) ] + 8 = 9 2 n + 19 2 .
Now we determine a tight lower bound on Δ M ( G ) for a Halin graph G with n vertices. If n = 4 , then G W 4 , and Δ M ( W 4 ) = 18 by Lemma 8. If n = 5 , then G W 5 , and Δ M ( W 5 ) = 32 by Lemma 9. In general, for n 6 , we have the following:
Theorem 2.
Let G = T C be a Halin graph on n 6 vertices. Then the next results are presented.
(1) 
If n is even, then Δ M ( G ) 9 n 2 , where the equality holds if and only if G is 3-regular.
(2) 
If n is odd, then Δ M ( G ) 9 n 2 + 19 2 , where the equality holds if and only if G is special.
Proof. 
Using Lemmas 6(1), 7(1), and 8, we can infer the result (1). Similarly, by Lemmas 6(2), 7(2), and 9, the result (2) holds automatically. □

4. Halin Graphs with Fewer Inner Vertices

Given an integer k 1 , let H n k denote the class of all Halin graphs with n vertices and k inner vertices. In particular, if k = 1 , then H n 1 = { W n } . This section is dedicated to investigating the difference of Zagreb indices regarding Halin graphs having fewer inner vertices.

4.1. Halin Graphs with Two Inner Vertices

Suppose G = T C H n 2 is a Halin graph. Then | V inn ( G ) | = 2 . Assume that V ( G ) = { u , v ; u 1 , , u p 1 ;   v 1 , , v q 1 } , C = u 1 u 2 u p 1 v 1 v 2 v q 1 u 1 , E ( G ) = E ( C ) { u v ; u u 1 , , u u p 1 ; v v 1 , , v v q 1 } , where d ( u ) = p 3 , d ( v ) = q 3 , and n = p + q , as illustrated in Figure 4.
Theorem 3.
Let G = T C H n 2 be a Halin graph with n = p + q and q p , which is shown in Figure 4. Then the next results can be established:
(1) 
Δ M ( G ) 2 n 2 12 n + 27 , where the equality holds for p = 3 and q = n 3 .
(2) 
If n is even, then Δ M ( G ) 5 4 n 2 3 n , where the equality holds for p = q = n 2 ; If n is odd, then Δ M ( G ) 5 4 n 2 3 n + 3 4 , where the equality holds for p = n 1 2 and q = n + 1 2 .
Proof. 
The definition implies that | V inn ( G ) | = 2 , | V ( C ) | = n 2 , and m = ( n 1 ) + ( n 2 ) = 2 n 3 . Note that G has only ( 3 , 3 ) -edges, ( 3 , p ) -edges, ( 3 , q ) -edges, and ( p , q ) -edge. Furthermore, observe that m 3 , 3 = n 2 , m 3 , p = p 1 , m 3 , q = q 1 , m p , q = 1 . Since q = n p , we have the following:
Δ M ( G ) = u v E ( G ) ( d ( u ) 1 ) ( d ( v ) 1 ) m = ( 3 1 ) ( 3 1 ) ( n 2 ) + ( 3 1 ) ( p 1 ) ( p 1 ) + ( 3 1 ) ( q 1 ) ( q 1 ) + ( p 1 ) ( q 1 ) ( 2 n 3 ) = 2 n 2 3 n + 3 p 2 3 p n .
Let
f ( p ) = 3 p 2 3 p n .
It is actually necessary to view f ( p ) as a continuous function of p to search for the minimum and maximum values of f ( p ) . Evidently, the function f ( p ) decreases strictly monotonically for p [ 3 , n 2 ] . Consequently, its maximum value achieves at p = 3 :
f ( 3 ) = 3 × 3 2 3 × 3 n = 27 9 n .
This implies that Δ M ( G ) achieves its maximum value:
Δ M ( G ) = 2 n 2 3 n + 27 9 n = 2 n 2 12 n + 27 .
On the other hand, it is easy to show that f ( p ) obtains its minimum value if p = n 2 . Precisely, if n is even, then p = n 2 , and hence f ( n 2 ) = 3 ( n 2 ) 2 3 n × n 2 = 3 4 n 2 . Consequently, Δ M ( G ) obtains its minimum value:
Δ M ( G ) = 2 n 2 3 n 3 4 n 2 = 5 4 n 2 3 n .
If n is odd, then p = n 1 2 , and hence f ( n 1 2 ) = 3 ( n 1 2 ) 2 3 n × n 1 2 = 3 4 n 2 + 3 4 . It turns out that Δ M ( G ) attains its minimum value:
Δ M ( G ) = 2 n 2 3 n 3 4 n 2 + 3 4 = 5 4 n 2 3 n + 3 4 .

4.2. Halin Graphs with Three Inner Vertices

Let G = T C H n 3 be a Halin graph with V inn ( G ) = { u , v , w } . Then { u , v , w } forms a path in T, say u v w . Assume that d ( u ) = p , d ( v ) = q , and d ( w ) = r . Then p + q + r = n + 1 , | V ( C ) | = n 3 , and m = ( n 1 ) + ( n 3 ) = 2 n 4 , where p , q , r 3 .
Lemma 10.
Let G H n 3 be a Halin graph defined above. Then
Δ M ( G ) = 2 p 2 + q 2 + 2 r 2 + ( n 2 ) q 3 ( n + 1 ) .
Proof. 
Since n = p + q + r 1 , m = 2 n 4 , E ( G ) = E ( C ) E 3 , p E 3 , q E 3 , r E p , q E q , r , | E ( C ) | = n 3 , m 3 , p = p 1 , m 3 , q = q 2 , m 3 , r = r 1 , m p , q = 1 , and m q , r = 1 , we have the following:
Δ M ( G ) = u v E ( G ) ( d ( u ) 1 ) ( d ( v ) 1 ) m = ( 3 1 ) ( 3 1 ) ( n 3 ) + ( 3 1 ) ( p 1 ) ( p 1 ) + ( 3 1 ) ( q 1 ) ( q 2 ) + ( 3 1 ) ( r 1 ) ( r 1 ) + ( p 1 ) ( q 1 ) + ( q 1 ) ( r 1 ) ( 2 n 4 ) = 2 p 2 + 2 q 2 + 2 r 2 3 q + p q + q r 3 ( n + 1 ) = 2 p 2 + q 2 + 2 r 2 + ( n 2 ) q 3 ( n + 1 ) .
Lemma 11.
Let G = T C H n 3 be a Halin graph with p r 4 defined above. Let T denote a plane tree obtained from T by removing a leaf at w and then adding a leaf at u. Let G = T C be a Halin graph with T as characteristic tree. Then Δ M ( G ) > Δ M ( G ) .
Proof. 
Note that G H n 3 satisfies that | V ( G ) | = | V ( G ) | = n , | E ( G ) | = | E ( G ) | = m , | V ( C ) | = | V ( C ) | , V inn ( G ) = V inn ( G ) = { u , v , w } , d G ( u ) = d G ( u ) + 1 = p + 1 , d G ( v ) = d G ( v ) = q , d G ( w ) = d G ( w ) 1 = r 1 3 . By Lemma 10,
Δ M ( G ) Δ M ( G ) = 2 ( p + 1 ) 2 + q 2 + 2 ( r 1 ) 2 + ( n 2 ) q 3 ( n + 1 ) [ 2 p 2 + q 2 + 2 r 2 + ( n 2 ) q 3 ( n + 1 ) ] = 4 ( p r ) + 4 4 .
Lemma 11 tells us that it is sufficient to consider the case that p r = 3 to maximize the difference of Zagreb indices for the graphs in H n 3 .
Theorem 4.
Let G H n 3 be a Halin graph with r = 3 . Then Δ M ( G ) 2 n 2 20 n + 68 , with equality if and only if the following statements (1) and (2) hold:
(1) 
If q p , then p = 3 and q = n 5 ;
(2) 
If p > q , then q = 3 and p = n 5 .
Proof. 
Since r = 3 , we have p + q = n + 1 3 = n 2 . By Lemma 10, Δ M ( G ) = 2 p 2 + 2 q 2 + p q 3 ( n 5 ) . Let
f ( p , q ) = 2 p 2 + 2 q 2 + p q 3 ( n 5 ) .
(1) Suppose that q p . Our aim is to maximize f ( p , q ) , based on the conditions that q p 3 and p + q = n 2 . In fact, when p 4 , we obtain:
f ( p 1 , q + 1 ) f ( p , q ) = 2 ( p 1 ) 2 + 2 ( q + 1 ) 2 + ( p 1 ) ( q + 1 ) 3 ( n 5 ) [ 2 p 2 + 2 q 2 + p q 3 ( n 5 ) ] = 3 ( q p ) + 3 3 .
The above inequality indicates that the function f ( p , q ) increases strictly monotonically while increasing q and decreasing p simultaneously. Hence, f ( p , q ) achieves its maximum value at ( 3 , n 5 ) :
f ( 3 , n 5 ) = 2 × 3 2 + 2 ( n 5 ) 2 + 3 ( n 5 ) 3 ( n 5 ) = 2 n 2 20 n + 68 .
This implies that Δ M ( G ) attains its maximum value 2 n 2 20 n + 68 at ( 3 , n 5 , 3 ) .
(2) Suppose that p > q . Similarly, our aim is also to maximize f ( p , q ) that satisfies p > q 3 and p + q = n 2 . If q 4 , then
f ( p + 1 , q 1 ) f ( p , q ) = 2 ( p + 1 ) 2 + 2 ( q 1 ) 2 + ( p + 1 ) ( q 1 ) 3 ( n 5 ) [ 2 p 2 + 2 q 2 + p q 3 ( n 5 ) ] = 3 ( p q ) + 3 3 .
This confirms that the function f ( p , q ) increases strictly monotonically as p increases and q decreases simultaneously, therefore it achieves the maximum value at ( n 5 , 3 ) :
f ( n 5 , 3 ) = 2 ( n 5 ) 2 + 2 × 3 2 + 3 ( n 5 ) 3 ( n 5 ) = 2 n 2 20 n + 68 .
It follows that Δ M ( G ) attains its maximum value 2 n 2 20 n + 68 at ( n 5 , 3 , 3 ) . □
When n = 12 , an easy calculation can be used to find exactly four Halin graphs, depicted in Figure 5, which attain the maximum value of the difference of Zagreb indices in H 12 3 .
Lemma 12.
Let G = T C H n 3 be a Halin graph defined above such that p r + 2 5 . Let T denote a plane tree obtained from T by removing a leaf at u and then adding a leaf at w. Let G = T C be a Halin graph with T as characteristic tree. Then Δ M ( G ) < Δ M ( G ) .
Proof. 
Note that G H n 3 satisfies that | V ( G ) | = | V ( G ) | = n , | E ( G ) | = | E ( G ) | = m , | V ( C ) | = | V ( C ) | , V inn ( G ) = V inn ( G ) = { u , v , w } , d G ( u ) = d G ( u ) 1 = p 1 4 , d G ( v ) = d G ( v ) = q , and d G ( w ) = d G ( w ) + 1 = r + 1 . By Lemma 10,
Δ M ( G ) Δ M ( G ) = 2 ( p 1 ) 2 + q 2 + 2 ( r + 1 ) 2 + ( n 2 ) q 3 ( n + 1 ) [ 2 p 2 + q 2 + 2 r 2 + ( n 2 ) q 3 ( n + 1 ) ] = 4 ( p r ) + 4 4 .
Lemma 12 is used to provide the condition that suffices for handling the cases p = r and p = r + 1 to minimize the difference of Zagreb indices for graphs in H n 3 .
Theorem 5.
Let G H n 3 be a Halin graph with p = r or p = r + 1 , and η ( n ) = 7 n 2 8 2 n 3 . Then Δ M ( G ) η ( n ) ϵ , where
(1) 
If n 0 ( mod 8 ) , then ϵ = 1 ;
(2) 
If n 1 , 7 ( mod 8 ) , then ϵ = 1 8 ;
(3) 
If n 2 , 6 ( mod 8 ) , then ϵ = 1 2 ;
(4) 
If n 3 , 5 ( mod 8 ) , then ϵ = 7 8 ;
(5) 
If n 4 ( mod 8 ) , then ϵ = 0 .
Furthermore, we determine extremal graphs with these lower bounds.
Proof. 
Note that p + r = n + 1 q , and p , q , r 3 . If n , q are both odd or even, then p = r + 1 ; Otherwise, p = r .
• Assume that p = r . Then 2 r + q = n + 1 and 3 q = n + 1 2 r n + 1 6 = n 5 . By Lemma 10, Δ M ( G ) = 4 r 2 + q 2 + ( n 2 ) q 3 ( n + 1 ) = 2 q 2 ( n + 4 ) q + n 2 n 2 . Let
f ( q ) = 2 q 2 ( n + 4 ) q = 2 ( q n + 4 4 ) 2 ( n + 4 ) 2 8 .
The objective is to minimize the continuous function f ( q ) , based on the condition that q is a variable. Thanks to 3 q n 5 , f ( q ) achieves the minimum value if q = n + 4 4 .
• Assume that p = r + 1 . Then 2 r + q + 1 = n + 1 and 3 q = n 2 r n 6 . By Lemma 10, Δ M ( G ) = ( 2 r + 1 ) 2 + q 2 + ( n 2 ) q 3 n 2 = 2 q 2 ( n + 4 ) q + n 2 n 1 . Let
f ( q ) = 2 q 2 ( n + 4 ) q = 2 ( q n + 4 4 ) 2 ( n + 4 ) 2 8 .
Since 3 q n 6 , f ( q ) attains its minimum value at q = n + 4 4 .
Now, according to the size of n, we split the proof into eight subcases as follows. Let Δ * denote the minimum value of Δ M ( G ) in every possible case.
(1) n 0 (mod 8). Then n is even, q = n + 4 4 is odd, p = r = 3 n 8 , and
f ( n + 4 4 ) = ( n + 4 ) 2 8 = n 2 8 n 2 .
Δ M ( G ) attains its minimum value:
Δ * = n 2 8 n 2 + n 2 n 2 = 7 n 2 8 2 n 4 .
Consequently, we have Δ M ( G ) Δ * = 7 n 2 8 2 n 4 .
(2) n 1 (mod 8). Then n is odd, q = n + 3 4 or q = n + 7 4 . If q = n + 3 4 , then q is odd, which implies that p = r + 1 , p = 3 n + 5 8 , r = 3 n 3 8 , and Δ M ( G ) obtaining the minimum value:
Δ * = 2 ( n + 3 4 ) 2 ( n + 4 ) ( n + 3 4 ) + n 2 n 1 = 7 n 2 8 2 n 23 8 .
If q = n + 7 4 , then q is even, which implies that p = r = 3 n 3 8 , and the minimum value of Δ M ( G ) is as follows:
Δ * = 2 ( n + 7 4 ) 2 ( n + 4 ) ( n + 7 4 ) + n 2 n 2 = 7 n 2 8 2 n 23 8 .
Consequently, we always have Δ M ( G ) Δ * = 7 n 2 8 2 n 23 8 .
(3) n 2 (mod 8). Then n is even, q = n + 2 4 or q = n + 6 4 . If q = n + 2 4 , then q is odd, which implies that p = r = 3 n + 2 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 2 4 ) 2 ( n + 4 ) ( n + 2 4 ) + n 2 n 2 = 7 n 2 8 2 n 7 2 .
If q = n + 6 4 , then q is even, which implies that p = r + 1 , p = 3 n + 2 8 , r = 3 n 6 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 6 4 ) 2 ( n + 4 ) ( n + 6 4 ) + n 2 n 1 = 7 n 2 8 2 n 5 2 .
Consequently, we always have Δ M ( G ) 7 n 2 8 2 n 7 2 .
(4) n 3 (mod 8). Then n is odd, q = n + 1 4 or q = n + 5 4 . If q = n + 1 4 , then q is odd, which implies that p = r + 1 , p = 3 n + 7 8 , r = 3 n 1 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 1 4 ) 2 ( n + 4 ) ( n + 1 4 ) + n 2 n 1 = 7 n 2 8 2 n 15 8 .
If q = n + 5 4 , then q is even, p = r = 3 n 1 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 5 4 ) 2 ( n + 4 ) ( n + 5 4 ) + n 2 n 2 = 7 n 2 8 2 n 31 8 .
Thus, it always holds that Δ M ( G ) 7 n 2 8 2 n 31 8 .
(5) n 4 (mod 8). Then n is even, q = n + 4 4 , r = 3 n 4 8 , p = 3 n + 4 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 4 4 ) 2 ( n + 4 ) ( n + 4 4 ) + n 2 n 1 = 7 n 2 8 2 n 3 .
Thus, it always holds that Δ M ( G ) 7 n 2 8 2 n 3 .
(6) n 5 (mod 8). Then n is odd, q = n + 3 4 or q = n + 7 4 . If q = n + 3 4 , then q is even, which implies that p = r = 3 n + 1 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 3 4 ) 2 ( n + 4 ) ( n + 3 4 ) + n 2 n 2 = 7 n 2 8 2 n 31 8 .
If q = n + 7 4 , then q is odd, which implies that p = r + 1 , p = 3 n + 1 8 , r = 3 n 7 8 , and Δ M ( G ) obtains the minimum value:
Δ * = 2 ( n + 7 4 ) 2 ( n + 4 ) ( n + 7 4 ) + n 2 n 1 = 7 n 2 8 2 n 15 8 .
Thus, it always holds that Δ M ( G ) 7 n 2 8 2 n 31 8 .
(7) n 6 (mod 8). Then n is even, q = n + 2 4 or q = n + 6 4 . If q = n + 2 4 , then q is even, which implies that p = r + 1 , p = 3 n + 6 8 , r = 3 n 2 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 2 4 ) 2 ( n + 4 ) ( n + 2 4 ) + n 2 n 1 = 7 n 2 8 2 n 5 2 .
If q = n + 6 4 , then q is odd, which implies that p = r = 3 n 2 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 6 4 ) 2 ( n + 4 ) ( n + 6 4 ) + n 2 n 2 = 7 n 2 8 2 n 7 2 .
Consequently, we always have Δ M ( G ) 7 n 2 8 2 n 7 2 .
(8) n 7 (mod 8). Then n is odd, q = n + 1 4 or q = n + 5 4 . If q = n + 1 4 , then q is even, which implies that p = r = 3 n + 3 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 1 4 ) 2 ( n + 4 ) ( n + 1 4 ) + n 2 n 2 = 7 n 2 8 2 n 23 8 .
If q = n + 5 4 , then q is odd, which implies that p = r + 1 , p = 3 n + 3 8 , r = 3 n 5 8 , and Δ M ( G ) attains its minimum value:
Δ * = 2 ( n + 5 4 ) 2 ( n + 4 ) ( n + 5 4 ) + n 2 n 1 = 7 n 2 8 2 n 23 8 .
Thus, it always holds that Δ M ( G ) 7 n 2 8 2 n 23 8 .
Hence, by the foregoing discussion, we summarize that Δ M ( G ) 7 n 2 8 2 n 4 if n 0 ( mod 8 ) ; Δ M ( G ) 7 n 2 8 2 n 23 8 if n 1 , 7 ( mod 8 ) ; Δ M ( G ) 7 n 2 8 2 n 7 2 if n 2 , 6 ( mod 8 ) ; Δ M ( G ) 7 n 2 8 2 n 31 8 if n 3 , 5 ( mod 8 ) ; Δ M ( G ) 7 n 2 8 2 n 3 if n 4 ( mod 8 ) . In addition, we also find corresponding extremal graphs with the sharpness of lower bounds. □

5. Conclusions

In this paper, we determined sharpnessabove these bounds on the difference of Zagreb indices for general Halin graphs. Furthermore, we obtained extremal values on the difference of Zagreb indices for Halin graphs with the number of inner vertices at most three by Theorems 3–5. All corresponding graphs for extremal values were completely found.
In conclusion, it is natural to raise the following question:
Problem 1.
For k = 4 , 5 , establish both lower and upper bounds on the difference of Zagreb indices for Halin graphs in H n k , and find corresponding extremal graphs.

Author Contributions

Writing—original draft preparation, L.Z.; formal analysis, Y.W.; writing—review and editing, W.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the NSFC (No. 12161094), NSFC (No. 12071048, 12161141006), NSFC (No. 12031018, 12226303), Science and Technology Commission of Shanghai Municipality (No. 18dz2271000).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All relevant data are provided within the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gutman, I.; Trinajstić, N. Graph theory and molecular orbitals. Total π-electron energy of alternant hydrocarbons. Chem. Phys. Lett. 1972, 17, 535–538. [Google Scholar] [CrossRef]
  2. Gutman, I.; Rušćixcx, B.; Trinajstixcx, N.; Wilcox, C.F. Graph theory and molecular orbitals. XII. Acyclic polyenes. J. Phys. Chem. 1975, 62, 3399–3405. [Google Scholar] [CrossRef]
  3. Balaban, A.T.; Motoc, I.; Bonchev, D.; Mekenyan, O. Topological indices for structure-activity correlations. Top. Curr. Chem. 1983, 114, 21–55. [Google Scholar]
  4. Borovićanin, B.; Das, K.C.; Furtula, B.; Gutman, I. Bounds for Zagreb indices. MATCH Commun. Math. Comput. Chem. 2017, 78, 17–100. [Google Scholar]
  5. Pei, L.; Pan, X. Extremal values on Zagreb indices of trees with given distance k-domination number. J. Inequal. Appl. 2018, 16, 1–17. [Google Scholar] [CrossRef]
  6. Das, K.C.; Ali, A. On a conjecture about the second Zagreb index. Dsicrete Math. Lett. 2019, 2, 38–43. [Google Scholar]
  7. Patil, P.V.; Yattinahalli, G.G. Second Zagreb indices of transformation graphs and total transformation graphs. Open J. Discret. Appl. Math. 2020, 3, 1–7. [Google Scholar] [CrossRef]
  8. Yang, J.; Deng, H. Maximum first Zagreb index of orientations of unicyclic graphs with given matching number. Appl. Math. Comput. 2022, 427, 127131. [Google Scholar] [CrossRef]
  9. Došlić, T.; Furtula, B.; Graovac, A.; Gutman, I.; Moradi, S.; Yarahmadi, Z. On vertex degree based molecular structure descriptors. MATCH Commun. Math. Comput. Chem. 2011, 66, 613–626. [Google Scholar]
  10. Furtula, B.; Gutman, I.; Ediz, S. On difference of Zagreb indices. Discret. Appl. Math. 2014, 178, 83–88. [Google Scholar] [CrossRef]
  11. Caporossi, G.; Hansen, P.; Vukićevixcx, D. Comparing Zagreb indices of cyclic graphs. MATCH Commun. Math. Comput. Chem. 2010, 63, 441–451. [Google Scholar]
  12. Milošević, M.; Réti, T.; Stevanovixcx, D. On the constant difference of Zagreb indices. MATCH Commun. Math. Comput. Chem. 2012, 68, 157–168. [Google Scholar]
  13. Horoldagva, B.; Das, K.C.; Selenge, T. Complete characterization of graphs for direct comparing Zagreb indices. Discret. Appl. Math. 2016, 215, 146–154. [Google Scholar] [CrossRef]
  14. Wang, H.; Yuan, S. On the sum of squares of degrees and products of adjacent degrees. Discret. Math. 2016, 339, 1212–1220. [Google Scholar] [CrossRef]
  15. Horoldagva, B.; Buyantogtokh, L.; Dorjsembe, S. Difference of Zagreb indices and reduced second zagreb index of cyclic graphs with cut edges. MATCH Commun. Math. Comput. Chem. 2017, 78, 337–350. [Google Scholar]
  16. Li, S.; Zhang, L.; Zhang, M. On the extremal cacti of given parameters with respect to the difference of zagreb indices. J. Comb. Optim. 2019, 38, 421–442. [Google Scholar] [CrossRef]
  17. Wang, Y.; Zheng, L. Computation on the difference of Zagreb indices of maximal planar graphs with diameter two. Appl. Math. Comput. 2020, 377, 125187. [Google Scholar] [CrossRef]
  18. Bondy, J.A.; Lovász, L. Length of cycles in Halin graphs. J. Graph Theory 1985, 8, 397–410. [Google Scholar] [CrossRef]
  19. Stadler, P.F. Minimum cycle bases of Halin graphs. J. Graph Theory 2003, 43, 150–155. [Google Scholar] [CrossRef]
  20. Lai, H.-H.; Lih, K.-W.; Tsai, P.-Y. The strong chromatic index of Halin graphs. Discrete Math. 2012, 312, 1536–1541. [Google Scholar] [CrossRef]
  21. Chan, W.H.; Lam, P.C.B.; Shiu, W.C. Edge-face total chromatic number of Halin graphs. SIAM J. Discret. Math. 2009, 23, 1646–1654. [Google Scholar] [CrossRef]
  22. Chen, M.; Wang, W. The 2-dipath chromatic number of Halin graphs. Inform. Process. Lett. 2006, 99, 47–53. [Google Scholar]
  23. Shiu, W.C.; Tam, W.K. The strong chromatic index of complete cubic Halin graphs. Appl. Math. Lett. 2009, 22, 754–758. [Google Scholar] [CrossRef]
  24. Wang, Y. Distance two labeling of Halin graphs. Ars Combin. 2014, 114, 331–343. [Google Scholar]
Figure 1. Operations of G to G .
Figure 1. Operations of G to G .
Axioms 12 00450 g001
Figure 2. 3-regular Halin graphs with n = 4 , 6 , 8 , 10 .
Figure 2. 3-regular Halin graphs with n = 4 , 6 , 8 , 10 .
Axioms 12 00450 g002
Figure 3. Special Halin graphs with n = 5 , 7 , 9 , 11 .
Figure 3. Special Halin graphs with n = 5 , 7 , 9 , 11 .
Axioms 12 00450 g003
Figure 4. G H n 2 with n = p + q .
Figure 4. G H n 2 with n = p + q .
Axioms 12 00450 g004
Figure 5. Graphs attaining the maximum value of the difference of Zagreb indices in H 12 3 .
Figure 5. Graphs attaining the maximum value of the difference of Zagreb indices in H 12 3 .
Axioms 12 00450 g005
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

Zheng, L.; Wang, Y.; Wang, W. The Difference of Zagreb Indices of Halin Graphs. Axioms 2023, 12, 450. https://doi.org/10.3390/axioms12050450

AMA Style

Zheng L, Wang Y, Wang W. The Difference of Zagreb Indices of Halin Graphs. Axioms. 2023; 12(5):450. https://doi.org/10.3390/axioms12050450

Chicago/Turabian Style

Zheng, Lina, Yiqiao Wang, and Weifan Wang. 2023. "The Difference of Zagreb Indices of Halin Graphs" Axioms 12, no. 5: 450. https://doi.org/10.3390/axioms12050450

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