Introduction
Degree-based topological indices are fundamental tools in chemical graph theory and combinatorial optimization, serving as quantitative descriptors of molecular structure. A generalized vertex-degree-based (VDB) index is defined as T I ( G ) = ∑ u v ∈ E f ( d u , d v ) TI(G) = \sum_{uv \in E} f(d_u,d_v) T I ( G ) = ∑ uv ∈ E f ( d u , d v ) , where f ( x , y ) f(x,y) f ( x , y ) is a symmetric weight function applied to the degrees of adjacent vertices u u u and v v v . Classical examples of such invariants include the Arithmetic-Geometric (A G AG A G ) index [9 ] and the Albertson irregularity index [2 ] . A related quantitative measure, the σ \sigma σ -irregularity index, serves as a quadratic analogue to Albertson’s index and has been extensively studied for its extremal graph properties [1 , 13 ] .
A geometry-motivated approach to defining VDB indices was introduced by Gutman Gutman [11 ] , who mapped the end-vertex degrees of an edge to a two-dimensional coordinate plane. This paradigm gave rise to the Sombor indices and initiated the development of numerous related structural descriptors [19 , 20 ] . Returning to this geometric construction, Gutman Gutman [12 ] expanded the framework by introducing six Sombor-index-like invariants, denoted as S O 1 SO_1 S O 1 through S O 6 SO_6 S O 6 .
Following this conceptualization, further research diverged into two main directions. The first direction focused on proposing new topological invariants derived from explicit geometric, trigonometric, and calculus-based properties within the coordinate model. By analyzing trigonometric relations, Öz and Gutman [18 ] defined the tangent Sombor index (T a n Tan T an ). Utilizing calculus and solids of revolution, Öz [17 ] further extended this framework to three dimensions, introducing a series of five volume- and surface-area-based indices (S O 7 SO_7 S O 7 through S O 11 SO_{11} S O 11 ), including the Triangle Volume index (S O 11 SO_{11} S O 11 ).
The second direction concentrated on resolving extremal problems for these invariants. Tang et al. [21 ] initiated this study by posing open problems regarding the extremal values of Sombor-index-like invariants over general trees, molecular trees, and connected graphs. Subsequent works by Ali et al. [3 ] and Gao [10 ] addressed these fundamental questions. Building on this foundation, recent research has introduced a prescribed maximum degree Δ \Delta Δ as a critical structural constraint, generalizing the natural restriction of chemical trees (Δ ≤ 4 \Delta\le4 Δ ≤ 4 ). Exact maximum values and explicit structural characterizations were recently derived for the σ \sigma σ -irregularity index [15 , 16 , 6 , 14 ] , as well as for the S O 5 SO_5 S O 5 and S O 6 SO_6 S O 6 invariants [7 , 8 ] on trees with bounded maximum degree.
Despite the success of these approaches, the standard methodologies in the literature generally remain index-specific. Establishing an extremal tree typically involves localized structural manipulations—such as vertex-shifting or edge-lifting—which demand separate combinatorial proofs for each distinct weight function f ( x , y ) f(x,y) f ( x , y ) .
In this paper, we depart from index-specific combinatorial techniques and establish a unified linear programming approach. By formulating the optimization problem over degree-pair multiplicities, the search for an extremal tree reduces to minimizing a discrete dual penalty. By treating vertex degrees as continuous variables, we derive an analytical single-variable test condition that guarantees global optimality.
We apply this methodology to determine the maximal trees across a diverse collection of invariants. We prove that the standard basic feasible solution is optimal for the Tangent, S O 1 SO_1 S O 1 , S O 2 SO_2 S O 2 , Albertson, and σ \sigma σ -irregularity indices for all Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . However, the dual optimality conditions establish exact analytical thresholds at which the standard basis loses optimality, necessitating a transition to alternative edge bases. For the A G AG A G index, the standard basis remains optimal strictly for Δ ≥ 9 \Delta\ge9 Δ ≥ 9 ; for 3 ≤ Δ ≤ 8 3 \le\Delta\le8 3 ≤ Δ ≤ 8 , the optimization shifts to an alternative basis, allowing us to explicitly construct all extremal trees across congruence classes, including chemical trees (Δ ∈ { 3 , 4 } \Delta\in\{3,4\} Δ ∈ { 3 , 4 } ). Conversely, we resolve the extremal configuration for the Triangle Volume index (S O 11 SO_{11} S O 11 ), proving that the standard basis is optimal exclusively for Δ ≤ 8 \Delta\le8 Δ ≤ 8 . For Δ ≥ 9 \Delta\ge9 Δ ≥ 9 , we analytically derive a novel, degree-dependent optimal basis to explicitly construct its extremal trees, demonstrating that the optimal internal structure scales asymptotically as Δ / 3 \Delta/3 Δ/3 .
The paper is organized as follows. Section 2 introduces the geometric representation and definitions of the considered indices. Section 3 formulates the continuous linear programming model over degree-pair multiplicities and derives the discrete dual penalty function alongside the single-variable optimality condition. Section 4 characterizes the corresponding bipartite structural class and proves the optimality of the standard basis for the Tangent, S O 1 SO_1 S O 1 , S O 2 SO_2 S O 2 , A G AG A G , σ \sigma σ -irregularity, and Albertson indices. Section 5 establishes an alternative optimality criterion for small maximum degrees, explicitly resolving the extremal configurations for the A G AG A G index when Δ ∈ { 3 , 4 } \Delta\in\{3,4\} Δ ∈ { 3 , 4 } . Finally, Section 6 derives the degree-dependent optimal basis and exact extremal trees for the S O 11 SO_{11} S O 11 index.
Geometric Representation and Derived Indices
A generalized vertex-degree-based topological index T I ( G ) TI(G) T I ( G ) of a graph G G G can be expressed as the sum of individual edge contributions:
T I ( G ) = ∑ u v ∈ E f ( d u , d v ) , (1) TI(G) = \sum_{uv \in E} f(d_u,d_v), \tag*{(1)} T I ( G ) = uv ∈ E ∑ f ( d u , d v ) , (1)
where f ( x , y ) f(x,y) f ( x , y ) is a symmetric real-valued function known as the topological weight function . In alignment with the optimization framework established in the previous section, we consistently evaluate f ( x , y ) f(x,y) f ( x , y ) under the assumption x ≤ y x \le y x ≤ y .
From now on, let us assume that all graphs are simple graphs and that for any edge u v ∈ E uv \in E uv ∈ E , its end-vertex degrees are given by d u = x d_u=x d u = x and d v = y d_v=y d v = y with x < y x<y x < y . The geometric properties of the representation shown in Figure 1 yield a rich variety of well-known topological indices.
Figure 1. A geometric representation of an edge e = u v e=uv e = uv of a graph G G G , connecting vertices u u u and v v v of degrees d u = x d_u=x d u = x and d v = y d_v=y d v = y ( x < y ) (x<y) ( x < y ) . The point A A A represents the edge e = u v e=uv e = uv , whereas the point B B B is the respective dual. O O O denotes the origin of the coordinate system.
Based on this geometric representation, the side lengths of the triangle △ A O B \triangle AOB △ A O B are given by
l 1 = y 2 + x 2 , l 2 = x 2 + y 2 , and l 3 = ( x − y ) 2 + ( y − x ) 2 = 2 ( y − x ) (since y > x ) . l_1=\sqrt{y^2+x^2},\quad l_2=\sqrt{x^2+y^2},\quad\text{and}\quad l_3=\sqrt{(x-y)^2+(y-x)^2}=\sqrt{2}(y-x)\ \text{(since }y>x\text{)}. l 1 = y 2 + x 2 , l 2 = x 2 + y 2 , and l 3 = ( x − y ) 2 + ( y − x ) 2 = 2 ( y − x ) (since y > x ) .
The semiperimeter is s = 1 2 ( l 1 + l 2 + l 3 ) = x 2 + y 2 + 2 2 ( y − x ) s=\frac{1}{2}(l_1+l_2+l_3)=\sqrt{x^2+y^2}+\frac{\sqrt{2}}{2}(y-x) s = 2 1 ( l 1 + l 2 + l 3 ) = x 2 + y 2 + 2 2 ( y − x ) . The area of the triangle naturally evaluates to a r e a ( A O B ) = 1 2 ( y 2 − x 2 ) area(AOB)=\frac{1}{2}(y^2-x^2) a r e a ( A O B ) = 2 1 ( y 2 − x 2 ) .
We can also express trigonometric invariants based on the angle α \alpha α between vectors O A ⃗ \vec{OA} O A and O B ⃗ \vec{OB} O B :
sin α = y 2 − x 2 x 2 + y 2 , cos α = 2 x y x 2 + y 2 , tan α = y 2 − x 2 2 x y . \sin\alpha=\frac{y^2-x^2}{x^2+y^2},\qquad\cos\alpha=\frac{2xy}{x^2+y^2},\qquad\tan\alpha=\frac{y^2-x^2}{2xy}. sin α = x 2 + y 2 y 2 − x 2 , cos α = x 2 + y 2 2 x y , tan α = 2 x y y 2 − x 2 .
Furthermore, let us establish the radii of the circumscribed circle (R R R ), the inscribed circle (r r r ), and two of the excircles (r 1 , r 2 r_1,r_2 r 1 , r 2 ) corresponding to the sides l 1 l_1 l 1 and l 2 l_2 l 2 of △ A O B \triangle AOB △ A O B :
R = l 1 l 2 l 3 4 ⋅ a r e a ( A O B ) = 2 ( x 2 + y 2 ) 2 ( x + y ) , R=\frac{l_1l_2l_3}{4\cdot area(AOB)}=\frac{\sqrt{2}(x^2+y^2)}{2(x+y)}, R = 4 ⋅ a r e a ( A O B ) l 1 l 2 l 3 = 2 ( x + y ) 2 ( x 2 + y 2 ) ,
r = a r e a ( A O B ) s = y 2 − x 2 2 x 2 + y 2 + 2 ( y − x ) , r=\frac{area(AOB)}{s}=\frac{y^2-x^2}{2\sqrt{x^2+y^2}+\sqrt{2}(y-x)}, r = s a r e a ( A O B ) = 2 x 2 + y 2 + 2 ( y − x ) y 2 − x 2 ,
r 1 = r 2 = a r e a ( A O B ) s − l 1 = 2 2 ( x + y ) . r_1=r_2=\frac{area(AOB)}{s-l_1}=\frac{\sqrt{2}}{2}(x+y). r 1 = r 2 = s − l 1 a r e a ( A O B ) = 2 2 ( x + y ) .
We recall the definitions of S O 1 SO_1 S O 1 through S O 4 SO_4 S O 4 from [18 ] , and additionally introduce the indices S O 5 SO_5 S O 5 and S O 6 SO_6 S O 6 corresponding to the inscribed circle of △ A O B \triangle AOB △ A O B :
S O 1 ( G ) = ∑ u v ∈ E a r e a ( A O B ) , S O 2 ( G ) = ∑ u v ∈ E sin α , SO_1(G)=\sum_{uv\in E} area(AOB), \qquad SO_2(G)=\sum_{uv\in E}\sin\alpha, S O 1 ( G ) = uv ∈ E ∑ a r e a ( A O B ) , S O 2 ( G ) = uv ∈ E ∑ sin α ,
S O 3 ( G ) = ∑ u v ∈ E p e r i m ( Γ c ) , S O 4 ( G ) = ∑ u v ∈ E a r e a ( Γ c ) , (2) SO_3(G)=\sum_{uv\in E} perim(\Gamma_c), \qquad SO_4(G)=\sum_{uv\in E} area(\Gamma_c), \tag*{(2)} S O 3 ( G ) = uv ∈ E ∑ p er im ( Γ c ) , S O 4 ( G ) = uv ∈ E ∑ a r e a ( Γ c ) , (2)
S O 5 ( G ) = ∑ u v ∈ E p e r i m ( Γ I ) , S O 6 ( G ) = ∑ u v ∈ E a r e a ( Γ I ) , SO_5(G)=\sum_{uv\in E} perim(\Gamma_I), \qquad SO_6(G)=\sum_{uv\in E} area(\Gamma_I), S O 5 ( G ) = uv ∈ E ∑ p er im ( Γ I ) , S O 6 ( G ) = uv ∈ E ∑ a r e a ( Γ I ) ,
where Γ c \Gamma_c Γ c and Γ I \Gamma_I Γ I represent the circumscribed circle and the inscribed circle of the triangle A O B AOB A O B , while R R R and r r r denote their corresponding radii. The expressions for the perimeter and area of these circles are p e r i m ( Γ ) = 2 π ρ perim(\Gamma)=2\pi\rho p er im ( Γ ) = 2 π ρ and a r e a ( Γ ) = π ρ 2 area(\Gamma)=\pi\rho^2 a r e a ( Γ ) = π ρ 2 , for any corresponding radius ρ ∈ { R , r } \rho\in\{R,r\} ρ ∈ { R , r } .
Furthermore, we recall the definitions of the Albertson index (A l b Alb A l b ), the Tangent Sombor index (T a n Tan T an ) [18 ] , the sigma irregularity index (σ \sigma σ ), the Arithmetic-Geometric index (A G AG A G ), and the Triangle Volume index (S O 11 SO_{11} S O 11 ):
A l b ( G ) = ∑ u v ∈ E ( y − x ) = 1 2 ∑ u v ∈ E l 3 , T a n ( G ) = ∑ u v ∈ E y 2 − x 2 2 x y , Alb(G)=\sum_{uv\in E}(y-x)=\frac{1}{\sqrt{2}}\sum_{uv\in E}l_3, \qquad Tan(G)=\sum_{uv\in E}\frac{y^2-x^2}{2xy}, A l b ( G ) = uv ∈ E ∑ ( y − x ) = 2 1 uv ∈ E ∑ l 3 , T an ( G ) = uv ∈ E ∑ 2 x y y 2 − x 2 ,
σ ( G ) = ∑ u v ∈ E ( y − x ) 2 , A G ( G ) = ∑ u v ∈ E x + y 2 x y , (3) \sigma(G)=\sum_{uv\in E}(y-x)^2, \qquad AG(G)=\sum_{uv\in E}\frac{x+y}{2\sqrt{xy}}, \tag*{(3)} σ ( G ) = uv ∈ E ∑ ( y − x ) 2 , A G ( G ) = uv ∈ E ∑ 2 x y x + y , (3)
S O 11 ( G ) = ∑ u v ∈ E ( y 2 x − x 2 y + y 3 − x 3 ) . SO_{11}(G)=\sum_{uv\in E}(y^2x-x^2y+y^3-x^3). S O 11 ( G ) = uv ∈ E ∑ ( y 2 x − x 2 y + y 3 − x 3 ) .
Linear Optimization Problem and the Standard Basis
Let n n n be the order of a tree T T T and Δ \Delta Δ be its maximum degree. A tree that maximizes a given topological index T I ( T ) TI(T) T I ( T ) over the class of all such trees is formally defined as an extremal tree. Let n i n_i n i denote the number of vertices of degree i i i , and let m i , j m_{i,j} m i , j denote the number of edges connecting vertices of degrees i i i and j j j . The variables n i n_i n i and m i , j m_{i,j} m i , j are strictly related by the following system of identities, which hold for every tree T T T :
n 1 + n 2 + ⋯ + n Δ = n , (4) n_1+n_2+\cdots+n_\Delta=n, \tag*{(4)} n 1 + n 2 + ⋯ + n Δ = n , (4)
n 1 + 2 n 2 + ⋯ + Δ n Δ = 2 n − 2 , (5) n_1+2n_2+\cdots+\Delta n_\Delta=2n-2, \tag*{(5)} n 1 + 2 n 2 + ⋯ + Δ n Δ = 2 n − 2 , (5)
m 1 , 2 + m 1 , 3 + ⋯ + m 1 , Δ = n 1 , (6) m_{1,2}+m_{1,3}+\cdots+m_{1,\Delta}=n_1, \tag*{(6)} m 1 , 2 + m 1 , 3 + ⋯ + m 1 , Δ = n 1 , (6)
m 1 , 2 + 2 m 2 , 2 + m 2 , 3 + ⋯ + m 2 , Δ = 2 n 2 , (7) m_{1,2}+2m_{2,2}+m_{2,3}+\cdots+m_{2,\Delta}=2n_2, \tag*{(7)} m 1 , 2 + 2 m 2 , 2 + m 2 , 3 + ⋯ + m 2 , Δ = 2 n 2 , (7)
m 1 , 3 + m 2 , 3 + 2 m 3 , 3 + ⋯ + m 3 , Δ = 3 n 3 , (8) m_{1,3}+m_{2,3}+2m_{3,3}+\cdots+m_{3,\Delta}=3n_3, \tag*{(8)} m 1 , 3 + m 2 , 3 + 2 m 3 , 3 + ⋯ + m 3 , Δ = 3 n 3 , (8)
m 1 , i + m 2 , i + ⋯ + m i − 1 , i + 2 m i , i + m i , i + 1 + ⋯ + m i , Δ = i n i , (9) m_{1,i}+m_{2,i}+\cdots+m_{i-1,i}+2m_{i,i}+m_{i,i+1}+\cdots+m_{i,\Delta}=in_i, \tag*{(9)} m 1 , i + m 2 , i + ⋯ + m i − 1 , i + 2 m i , i + m i , i + 1 + ⋯ + m i , Δ = i n i , (9)
m 1 , Δ + m 2 , Δ + m 3 , Δ + ⋯ + 2 m Δ , Δ = Δ n Δ . (10) m_{1,\Delta}+m_{2,\Delta}+m_{3,\Delta}+\cdots+2m_{\Delta,\Delta}=\Delta n_\Delta. \tag*{(10)} m 1 , Δ + m 2 , Δ + m 3 , Δ + ⋯ + 2 m Δ , Δ = Δ n Δ . (10)
From these structural identities, we can strictly derive two foundational constraints for our optimization model. First, summing the degree-pair variables directly recovers the fundamental tree property regarding the total number of edges, ∑ m i , j = n − 1 \sum m_{i,j}=n-1 ∑ m i , j = n − 1 . Second, dividing each degree equation (9) by i i i and subsequently summing the resulting system over all degrees 1 ≤ i ≤ Δ 1\le i\le\Delta 1 ≤ i ≤ Δ perfectly reconstructs the vertex sum (4), yielding the mathematically elegant identity ∑ ( 1 i + 1 j ) m i , j = n \sum\left(\frac{1}{i}+\frac{1}{j}\right)m_{i,j}=n ∑ ( i 1 + j 1 ) m i , j = n .
To systematically calculate any generalized vertex-degree-based topological index T I ( T ) TI(T) T I ( T ) , we formulate the objective function as a linear combination of these degree-pair multiplicities and their corresponding topological weights. We order the indices such that the first index is strictly less than the second, evaluating weight functions for 1 ≤ i ≤ j ≤ Δ 1\le i\le j\le\Delta 1 ≤ i ≤ j ≤ Δ . Thus, the problem of finding the extremal value of a topological index reduces to the following continuous linear program (LP):
Maximize T I ( T ) = ∑ 1 ≤ i ≤ j ≤ Δ f ( i , j ) m i , j subject to ∑ 1 ≤ i ≤ j ≤ Δ m i , j = n − 1 , ∑ 1 ≤ i ≤ j ≤ Δ ( 1 i + 1 j ) m i , j = n , m i , j ≥ 0 for all 1 ≤ i ≤ j ≤ Δ . (11) \begin{aligned}
\text{Maximize}\quad& TI(T)=\sum_{1\le i\le j\le\Delta}f(i,j)m_{i,j}\\
\text{subject to}\quad& \sum_{1\le i\le j\le\Delta}m_{i,j}=n-1,\\
& \sum_{1\le i\le j\le\Delta}\left(\frac{1}{i}+\frac{1}{j}\right)m_{i,j}=n,\\
& m_{i,j}\ge0\quad\text{for all }1\le i\le j\le\Delta. \tag*{(11)}
\end{aligned} Maximize subject to T I ( T ) = 1 ≤ i ≤ j ≤ Δ ∑ f ( i , j ) m i , j 1 ≤ i ≤ j ≤ Δ ∑ m i , j = n − 1 , 1 ≤ i ≤ j ≤ Δ ∑ ( i 1 + j 1 ) m i , j = n , m i , j ≥ 0 for all 1 ≤ i ≤ j ≤ Δ. (11)
Duality and the Gap Function Framework
To establish the uniqueness of an extremal tree structure, we rely on the fundamental principles of Linear Programming (LP) duality. In combinatorial optimization, a specific graph topology corresponds to a basic feasible solution of the primal LP, where the active edges (the “basis”) have strictly positive weights (m i , j > 0 m_{i,j}>0 m i , j > 0 ), while all absent edges are non-basic (m i , j = 0 m_{i,j}=0 m i , j = 0 ).
By associating dual variables y 1 y_1 y 1 and y 2 y_2 y 2 with constraints (12) and (13), we construct the dual problem. The dual constraints dictate that for every possible edge type ( i , j ) (i,j) ( i , j ) , the inequality y 1 + ( 1 i + 1 j ) y 2 ≥ f ( i , j ) y_1+\left(\frac{1}{i}+\frac{1}{j}\right)y_2\ge f(i,j) y 1 + ( i 1 + j 1 ) y 2 ≥ f ( i , j ) must hold.
According to the theorem of strict complementary slackness , an optimal graph structure is absolutely unique if and only if:
For every edge in the optimal basis, the corresponding dual constraint is binding (an exact equality).
For every edge not in the optimal basis, the corresponding dual constraint holds as a strict inequality.
We formalize this strict inequality margin as the dual gap function (or reduced cost), denoted G ( i , j ) G(i,j) G ( i , j ) . If G ( i , j ) > 0 G(i,j)>0 G ( i , j ) > 0 for all non-basic edges, introducing any alternative edge would strictly penalize the objective function, thereby guaranteeing the structural uniqueness of the extremal tree.
A direct and powerful consequence of this duality framework is the analytical decomposition of the topological index into an exact continuous upper bound and a discrete penalty function. From the definition of the dual gap function, the topological weight of any edge ( i , j ) (i,j) ( i , j ) can be algebraically expressed as:
f ( i , j ) = y 1 + ( 1 i + 1 j ) y 2 − G ( i , j ) . (12) f(i,j)=y_1+\left(\frac{1}{i}+\frac{1}{j}\right)y_2-G(i,j). \tag*{(12)} f ( i , j ) = y 1 + ( i 1 + j 1 ) y 2 − G ( i , j ) . (12)
By substituting this identity into the objective function (11), the total topological index expands to:
T I ( T ) = ∑ 1 ≤ i ≤ j ≤ Δ [ y 1 + ( 1 i + 1 j ) y 2 − G ( i , j ) ] m i , j . (13) TI(T)=\sum_{1\le i\le j\le\Delta}\left[y_1+\left(\frac{1}{i}+\frac{1}{j}\right)y_2-G(i,j)\right]m_{i,j}. \tag*{(13)} T I ( T ) = 1 ≤ i ≤ j ≤ Δ ∑ [ y 1 + ( i 1 + j 1 ) y 2 − G ( i , j ) ] m i , j . (13)
Distributing the summation over the terms and factoring out the dual variables yields:
T I ( T ) = y 1 ∑ 1 ≤ i ≤ j ≤ Δ m i , j + y 2 ∑ 1 ≤ i ≤ j ≤ Δ ( 1 i + 1 j ) m i , j − ∑ 1 ≤ i ≤ j ≤ Δ G ( i , j ) m i , j . (14) TI(T) = y_1 \sum_{1 \le i \le j \le\Delta} m_{i,j} + y_2 \sum_{1 \le i \le j \le\Delta} \left(\frac{1}{i} + \frac{1}{j}\right) m_{i,j} - \sum_{1 \le i \le j \le\Delta} G(i,j)m_{i,j}. \tag*{(14)} T I ( T ) = y 1 1 ≤ i ≤ j ≤ Δ ∑ m i , j + y 2 1 ≤ i ≤ j ≤ Δ ∑ ( i 1 + j 1 ) m i , j − 1 ≤ i ≤ j ≤ Δ ∑ G ( i , j ) m i , j . (14)
By substituting the primal equality constraints (12) and (13) directly into the first two summations, the dependence on individual degree-pair multiplicities strictly collapses, leaving only the penalty sum. Grouping the terms by the tree order n n n produces a closed-form universal linear equation:
T I ( T ) = ( y 1 + y 2 ) n − y 1 − ∑ ( i , j ) ∉ B G ( i , j ) m i , j . (15) TI(T) = (y_1 + y_2)n - y_1 - \sum_{(i,j)\notin\mathcal{B}} G(i,j)m_{i,j}. \tag*{(15)} T I ( T ) = ( y 1 + y 2 ) n − y 1 − ( i , j ) ∈ / B ∑ G ( i , j ) m i , j . (15)
Notice that the penalty sum is strictly evaluated over non-basic edges, since strict complementary slackness guarantees G ( i , j ) = 0 G(i,j) = 0 G ( i , j ) = 0 for all ( i , j ) ∈ B (i,j) \in\mathcal{B} ( i , j ) ∈ B .
This rigorous algebraic derivation proves that for any chosen optimal basis B \mathcal{B} B , the continuous LP maximum equates to T I L P ∗ = A ⋅ n + B TI_{\mathrm{LP}}^* = A \cdot n + B T I LP ∗ = A ⋅ n + B , where the precise analytical coefficients are uniquely determined by the dual variables:
A = y 1 + y 2 , B = − y 1 . (16) A = y_1 + y_2,\qquad B = -y_1. \tag*{(16)} A = y 1 + y 2 , B = − y 1 . (16)
Consequently, the problem of maximizing any topological index over a discrete graph is mathematically equivalent to minimizing the discrete dual penalty function P ( T ) = ∑ G ( i , j ) m i , j \mathcal{P}(T) = \sum G(i,j)m_{i,j} P ( T ) = ∑ G ( i , j ) m i , j , establishing the foundational optimization mechanism utilized throughout this paper.
To leverage calculus within this optimization framework, we henceforth treat the discrete vertex degrees x x x and y y y as continuous real variables on the interval [ 1 , Δ ] [1,\Delta] [ 1 , Δ ] . This continuous extension allows us to evaluate the analytical behavior and monotonicity of the topological weight functions using partial derivatives, naturally restricting the final structural optimization back to discrete integer evaluations.
Optimality of the Standard { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} Basis
Through this duality framework, we formulate a general condition for an index function f ( i , j ) f(i,j) f ( i , j ) to attain its unique optimal value on the standard extremal configuration strictly restricted to the edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Lemma 1 (Optimality Criterion). Let Δ ≥ 3 \Delta\ge3 Δ ≥ 3 and n ≥ Δ + 2 n \ge\Delta+ 2 n ≥ Δ + 2 be integers. The linear program consisting of maximizing (11) subject to (12) and (13) admits a unique optimal basic feasible solution strictly comprising the edges m 1 , Δ m_{1,\Delta} m 1 , Δ and m 2 , Δ m_{2,\Delta} m 2 , Δ , where
m 1 , Δ = ( Δ − 2 ) n + ( Δ + 2 ) Δ , m 2 , Δ = 2 ( n − Δ − 1 ) Δ , m_{1,\Delta} = \frac{(\Delta- 2)n + (\Delta+ 2)}{\Delta},\qquad m_{2,\Delta} = \frac{2(n-\Delta-1)}{\Delta}, m 1 , Δ = Δ ( Δ − 2 ) n + ( Δ + 2 ) , m 2 , Δ = Δ 2 ( n − Δ − 1 ) , if and only if for all valid non-basic pairs ( i , j ) ∉ { ( 1 , Δ ) , ( 2 , Δ ) } (i,j) \notin\{(1,\Delta),(2,\Delta)\} ( i , j ) ∈ / {( 1 , Δ ) , ( 2 , Δ )} , the dual gap function satisfies G ( i , j ) > 0 G(i,j) > 0 G ( i , j ) > 0 , where:
G ( i , j ) = f ( 1 , Δ ) − f ( i , j ) − y 2 ( 1 + 1 Δ − 1 i − 1 j ) . (17) G(i,j) = f(1,\Delta) - f(i,j) - y_2\left(1 + \frac{1}{\Delta} - \frac{1}{i} - \frac{1}{j}\right). \tag*{(17)} G ( i , j ) = f ( 1 , Δ ) − f ( i , j ) − y 2 ( 1 + Δ 1 − i 1 − j 1 ) . (17) and the dual penalty coefficient evaluates to y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) y_2 = 2(f(1,\Delta) - f(2,\Delta)) y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ )) .
Proof. For the basic variables m 1 , Δ > 0 m_{1,\Delta} > 0 m 1 , Δ > 0 and m 2 , Δ > 0 m_{2,\Delta} > 0 m 2 , Δ > 0 , strict complementary slackness dictates that their corresponding dual constraints are exact equalities:
y 1 + ( 1 + 1 Δ ) y 2 = f ( 1 , Δ ) , (18) y_1 + \left(1 + \frac{1}{\Delta}\right)y_2 = f(1,\Delta), \tag*{(18)} y 1 + ( 1 + Δ 1 ) y 2 = f ( 1 , Δ ) , (18)
y 1 + ( 1 2 + 1 Δ ) y 2 = f ( 2 , Δ ) . (19) y_1 + \left(\frac{1}{2} + \frac{1}{\Delta}\right)y_2 = f(2,\Delta). \tag*{(19)} y 1 + ( 2 1 + Δ 1 ) y 2 = f ( 2 , Δ ) . (19)
Subtracting (21) from (20) yields 1 2 y 2 = f ( 1 , Δ ) − f ( 2 , Δ ) \frac{1}{2}y_2=f(1,\Delta)-f(2,\Delta) 2 1 y 2 = f ( 1 , Δ ) − f ( 2 , Δ ) , explicitly evaluating the dual penalty coefficient as y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) y_2=2(f(1,\Delta)-f(2,\Delta)) y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ )) .
By isolating y 1 y_1 y 1 from (20), we obtain y 1 = f ( 1 , Δ ) − ( 1 + 1 Δ ) y 2 y_1=f(1,\Delta)-(1+\frac{1}{\Delta})y_2 y 1 = f ( 1 , Δ ) − ( 1 + Δ 1 ) y 2 . For uniqueness, dual feasibility strictly requires the dual gap function to be positive for all non-basic edges:
G ( i , j ) = y 1 + ( 1 i + 1 j ) y 2 − f ( i , j ) > 0. G(i,j)=y_1+\left(\frac{1}{i}+\frac{1}{j}\right)y_2-f(i,j)>0. G ( i , j ) = y 1 + ( i 1 + j 1 ) y 2 − f ( i , j ) > 0.
Substituting the derived expression for y 1 y_1 y 1 directly yields exactly the algebraic formulation of G ( i , j ) G(i,j) G ( i , j ) in (19), thus completing the proof.
To bypass the complex task of analyzing a two-variable discrete optimization problem, we introduce a dimensional reduction technique. This lemma proves that the worst-case behavior of the gap function always occurs at the boundary where the larger degree reaches its maximum possible value, y = Δ y=\Delta y = Δ .
Lemma 2 (Dimensionality Reduction). Let f ( x , y ) f(x,y) f ( x , y ) be a continuous, differentiable extension of a topological weight function evaluated for 1 ≤ x < y ≤ Δ 1\le x<y\le\Delta 1 ≤ x < y ≤ Δ . If f f f is strictly increasing with respect to its second variable, i.e., ∂ f ∂ y > 0 \frac{\partial f}{\partial y}>0 ∂ y ∂ f > 0 , and if f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) , then for any fixed x x x , the gap function G ( x , y ) G(x,y) G ( x , y ) is strictly decreasing with respect to y y y . Consequently, for any valid discrete degrees 3 ≤ i < j ≤ Δ 3\le i<j\le\Delta 3 ≤ i < j ≤ Δ , the inequality G ( i , j ) ≥ G ( i , Δ ) G(i,j)\ge G(i,\Delta) G ( i , j ) ≥ G ( i , Δ ) holds.
Proof. By definition, the gap function extended to continuous variables x x x and y y y is given by:
G ( x , y ) = f ( 1 , Δ ) − f ( x , y ) − y 2 ( 1 + 1 Δ − 1 x − 1 y ) , (20) G(x,y)=f(1,\Delta)-f(x,y)-y_2\left(1+\frac{1}{\Delta}-\frac{1}{x}-\frac{1}{y}\right), \tag*{(20)} G ( x , y ) = f ( 1 , Δ ) − f ( x , y ) − y 2 ( 1 + Δ 1 − x 1 − y 1 ) , (20)
with y 2 > 0 y_2>0 y 2 > 0 since f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) .
Taking the partial derivative of G ( x , y ) G(x,y) G ( x , y ) with respect to the second variable y y y , we obtain:
∂ G ∂ y = − ∂ f ( x , y ) ∂ y − y 2 y 2 . (21) \frac{\partial G}{\partial y}=-\frac{\partial f(x,y)}{\partial y}-\frac{y_2}{y^2}. \tag*{(21)} ∂ y ∂ G = − ∂ y ∂ f ( x , y ) − y 2 y 2 . (21)
Since we assumed that ∂ f ∂ y > 0 \frac{\partial f}{\partial y}>0 ∂ y ∂ f > 0 and knowing that y 2 > 0 y_2>0 y 2 > 0 , both terms on the right side of the equation are strictly negative. Therefore, ∂ G ∂ y < 0 \frac{\partial G}{\partial y}<0 ∂ y ∂ G < 0 for all valid x , y x,y x , y .
This implies that for a fixed x x x , the function G ( x , y ) G(x,y) G ( x , y ) monotonically decreases as y y y increases. Since the maximum possible degree in the graph is bounded by Δ \Delta Δ , the function attains its global minimum with respect to y y y at the upper boundary y = Δ y=\Delta y = Δ . Thus, restricted to discrete vertex degrees, we conclude that G ( i , j ) ≥ G ( i , Δ ) G(i,j)\ge G(i,\Delta) G ( i , j ) ≥ G ( i , Δ ) for all 1 ≤ i < j ≤ Δ 1\le i<j\le\Delta 1 ≤ i < j ≤ Δ .
Theorem 1 (Main Optimality Theorem). Let T T T be a tree of order n n n and maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . Let f f f be a topological weight function possessing a continuous and differentiable extension f ( x , y ) f(x,y) f ( x , y ) for 1 ≤ x < y ≤ Δ 1\le x<y\le\Delta 1 ≤ x < y ≤ Δ . If f ( x , y ) f(x,y) f ( x , y ) is strictly increasing with respect to its second variable (i.e., ∂ f ∂ y > 0 \frac{\partial f}{\partial y}>0 ∂ y ∂ f > 0 ) and satisfies f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) , define the single-variable test function h ( x ) h(x) h ( x ) on the interval [ 3 , Δ ] [3,\Delta] [ 3 , Δ ] as:
h ( x ) = f ( 1 , Δ ) − f ( x , Δ ) − y 2 ( 1 − 1 x ) , (22) h(x)=f(1,\Delta)-f(x,\Delta)-y_2\left(1-\frac{1}{x}\right), \tag*{(22)} h ( x ) = f ( 1 , Δ ) − f ( x , Δ ) − y 2 ( 1 − x 1 ) , (22) where y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) y_2=2(f(1,\Delta)-f(2,\Delta)) y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ )) . If h ( x ) > 0 h(x)>0 h ( x ) > 0 for all x ∈ [ 3 , Δ ] x\in[3,\Delta] x ∈ [ 3 , Δ ] , then the tree configuration maximizing the corresponding topological index is uniquely determined.
Proof. According to Lemma 1, the optimal configuration is uniquely determined if the gap function satisfies G ( i , j ) > 0 G(i,j)>0 G ( i , j ) > 0 for all internal nodes with degrees 3 ≤ i < j ≤ Δ 3\le i<j\le\Delta 3 ≤ i < j ≤ Δ . By applying Lemma 2, we can establish a lower bound for G ( i , j ) G(i,j) G ( i , j ) by projecting it onto the upper boundary j = Δ j = \Delta j = Δ :
G ( i , j ) ≥ G ( i , Δ ) = f ( 1 , Δ ) − f ( i , Δ ) − y 2 ( 1 + 1 Δ − 1 i − 1 Δ ) . (23) G(i,j) \ge G(i,\Delta) = f(1,\Delta) - f(i,\Delta) - y_2\left(1 + \frac{1}{\Delta} - \frac{1}{i} - \frac{1}{\Delta}\right). \tag*{(23)} G ( i , j ) ≥ G ( i , Δ ) = f ( 1 , Δ ) − f ( i , Δ ) − y 2 ( 1 + Δ 1 − i 1 − Δ 1 ) . (23)
Simplifying the expression by cancelling the 1 / Δ 1/\Delta 1/Δ terms yields exactly our test function evaluated at i i i :
G ( i , j ) ≥ h ( i ) . (24) G(i,j) \ge h(i). \tag*{(24)} G ( i , j ) ≥ h ( i ) . (24)
Since, by the premise of the theorem, h ( x ) > 0 h(x) > 0 h ( x ) > 0 for all real values x ∈ [ 3 , Δ ] x \in[3,\Delta] x ∈ [ 3 , Δ ] , it trivially holds for all valid discrete degree values i ∈ { 3 , … , Δ − 1 } i \in\{3,\ldots,\Delta-1\} i ∈ { 3 , … , Δ − 1 } . Consequently, G ( i , j ) > 0 G(i,j) > 0 G ( i , j ) > 0 , fulfilling the necessary condition and concluding the proof.
Structural Realization and Applications
To bridge the continuous linear programming framework from § 2 with discrete graph theory, we must formally characterize the exact parameters under which a tree realizes a basic feasible solution. We establish a universal generative structural class for any bipartite basis parameterized by { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} . By defining this universally, we simultaneously provide the exact topological construction for the standard basis (k = 2 k = 2 k = 2 ) utilized in this section, the alternative basis (k = Δ k = \Delta k = Δ ) evaluated in Section 5, and the degree-dependent basis derived in Section 6.
A tree restricted to this bipartite basis contains exclusively leaves (V 1 V_1 V 1 ), degree-k k k vertices (V k V_k V k ), and maximum degree vertices (V Δ V_\Delta V Δ ). Because every edge must connect to a vertex in V Δ V_\Delta V Δ , the incidence identity (10) simplifies to m 1 , Δ + m k , Δ = Δ n Δ m_{1,\Delta} + m_{k,\Delta} = \Delta n_\Delta m 1 , Δ + m k , Δ = Δ n Δ . Since the total number of edges is n − 1 n-1 n − 1 , this directly isolates n Δ n_\Delta n Δ :
n Δ = n − 1 Δ . (25) n_\Delta= \frac{n-1}{\Delta}. \tag*{(25)} n Δ = Δ n − 1 . (25)
Similarly, the incidence identities for V 1 V_1 V 1 and V k V_k V k evaluate to m 1 , Δ = n 1 m_{1,\Delta} = n_1 m 1 , Δ = n 1 and m k , Δ = k n k m_{k,\Delta} = k n_k m k , Δ = k n k . Summing these equations yields n 1 + k n k = n − 1 n_1 + k n_k = n - 1 n 1 + k n k = n − 1 . Subtracting the vertex sum identity ( n 1 + n k + n Δ = n ) (n_1 + n_k + n_\Delta= n) ( n 1 + n k + n Δ = n ) from this edge sum produces the exact linear relation:
n Δ − ( k − 1 ) n k = 1. (26) n_\Delta- (k - 1)n_k = 1. \tag*{(26)} n Δ − ( k − 1 ) n k = 1. (26)
Substituting Eq. (25) into Eq. (26) isolates n k n_k n k :
n k = n − Δ − 1 Δ ( k − 1 ) . (27) n_k = \frac{n-\Delta-1}{\Delta(k-1)}. \tag*{(27)} n k = Δ ( k − 1 ) n − Δ − 1 . (27)
For this topology to exist, n k n_k n k must be a non-negative integer. This establishes the strict Diophantine congruence:
n ≡ Δ + 1 ( m o d Δ ( k − 1 ) ) . (28) n \equiv\Delta+ 1 \pmod{\Delta(k-1)}. \tag*{(28)} n ≡ Δ + 1 ( mod Δ ( k − 1 )) . (28)
By parameterizing the degree-k k k vertex count as n k = q n_k = q n k = q for some integer q ≥ 0 q \ge0 q ≥ 0 , the exact tree order is defined as n = q Δ ( k − 1 ) + Δ + 1 n = q\Delta(k-1) + \Delta+ 1 n = q Δ ( k − 1 ) + Δ + 1 . Substituting q q q and n n n back into the structural identities yields the complete integer profile:
n Δ = q ( k − 1 ) + 1 , m k , Δ = k q , m 1 , Δ = n 1 = q ( Δ k − Δ − k ) + Δ . \begin{aligned}
n_\Delta&= q(k-1) + 1,\\
m_{k,\Delta} &= kq,\\
m_{1,\Delta} &= n_1 = q(\Delta k-\Delta-k) + \Delta.
\end{aligned} n Δ m k , Δ m 1 , Δ = q ( k − 1 ) + 1 , = k q , = n 1 = q ( Δ k − Δ − k ) + Δ.
To formalize the topological existence of graphs matching these parameters, we define the corresponding universal tree class.
Definition 1. Let 2 ≤ k ≤ Δ 2 \le k \le\Delta 2 ≤ k ≤ Δ and q ≥ 0 q \ge0 q ≥ 0 be integers. We define T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) as the family of all trees constructed by the following procedure: Let H H H be an arbitrary tree with vertex bipartition V k ∪ V Δ V_k \cup V_\Delta V k ∪ V Δ such that ∣ V k ∣ = q |V_k| = q ∣ V k ∣ = q and ∣ V Δ ∣ = q ( k − 1 ) + 1 |V_\Delta| = q(k-1) + 1 ∣ V Δ ∣ = q ( k − 1 ) + 1 . Every vertex in V k V_k V k must have degree exactly k k k in H H H . For each vertex v ∈ V Δ v \in V_\Delta v ∈ V Δ , attach exactly Δ − d H ( v ) \Delta- d_H(v) Δ − d H ( v ) pendant vertices to it, where d H ( v ) d_H(v) d H ( v ) is its degree in the subtree H H H .
By construction, all internal edges of a tree in T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) connect V k V_k V k and V Δ V_\Delta V Δ , yielding exactly m k , Δ = k q m_{k,\Delta}=kq m k , Δ = k q . The total number of attached pendant edges is:
m 1 , Δ = ∑ v ∈ V Δ ( Δ − d H ( v ) ) = Δ ∣ V Δ ∣ − ∑ v ∈ V Δ d H ( v ) . m_{1,\Delta}=\sum_{v\in V_\Delta}(\Delta-d_H(v))=\Delta|V_\Delta|-\sum_{v\in V_\Delta}d_H(v). m 1 , Δ = v ∈ V Δ ∑ ( Δ − d H ( v )) = Δ∣ V Δ ∣ − v ∈ V Δ ∑ d H ( v ) .
Because all edges in the subtree H H H connect V k V_k V k and V Δ V_\Delta V Δ , the sum of degrees in V Δ V_\Delta V Δ equals the total number of edges in H H H , which is k q kq k q . Substituting ∣ V Δ ∣ |V_\Delta| ∣ V Δ ∣ evaluates the exact number of leaves as Δ ( q ( k − 1 ) + 1 ) − k q = q ( Δ k − Δ − k ) + Δ \Delta(q(k-1)+1)-kq=q(\Delta k-\Delta-k)+\Delta Δ ( q ( k − 1 ) + 1 ) − k q = q ( Δ k − Δ − k ) + Δ , identically matching the expression for n 1 n_1 n 1 .
Conversely, any tree restricted to the basis { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} has all internal edges connecting V k V_k V k to V Δ V_\Delta V Δ . Pruning all leaves yields a subtree H H H where the q q q vertices in V k V_k V k retain their exact degree k k k , and the q ( k − 1 ) + 1 q(k-1)+1 q ( k − 1 ) + 1 vertices in V Δ V_\Delta V Δ have some degree d H ( v ) ≤ Δ d_H(v)\le\Delta d H ( v ) ≤ Δ . This confirms the graph was constructed by attaching leaves to H H H , proving that T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) uniquely characterizes all valid tree configurations for n ≡ Δ + 1 ( m o d Δ ( k − 1 ) ) n\equiv\Delta+1\pmod{\Delta(k-1)} n ≡ Δ + 1 ( mod Δ ( k − 1 )) .
For the standard basis evaluated in Theorem 1, we set k = 2 k=2 k = 2 . The Diophantine congruence (28) simplifies to n ≡ Δ + 1 ( m o d Δ ) n\equiv\Delta+1\pmod{\Delta} n ≡ Δ + 1 ( mod Δ ) , which is equivalent to n ≡ 1 ( m o d Δ ) n\equiv1\pmod{\Delta} n ≡ 1 ( mod Δ ) . An illustrative topological realization of this standard basis is provided in Figure 2 .
Figure 2. An extremal tree belonging to the universal class T ( 2 , Δ , q ) \mathcal{T}(2,\Delta,q) T ( 2 , Δ , q ) for the standard basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} . Illustrated is the configuration for Δ = 5 \Delta=5 Δ = 5 and q = 2 q=2 q = 2 , yielding order n = 16 n=16 n = 16 . The two degree-2 vertices (squares) exclusively connect the three maximum degree vertices (solid circles).
Having established the topological existence of these extremal graphs, we now systematically apply Theorem 1 to maximize several prominent topological indices. Consequently, in the following corollaries, whenever the necessary conditions are met and n ≡ 1 ( m o d Δ ) n\equiv1\pmod{\Delta} n ≡ 1 ( mod Δ ) , the optimal tree uniquely maps to the class T ( 2 , Δ , q ) \mathcal{T}(2,\Delta,q) T ( 2 , Δ , q ) .
Corollary 1 (Maximum Tangent Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The maximum value of the Tangent index is uniquely achieved by the extremal tree configuration restricted strictly to the edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. For the Tangent index, the weight function under the convention x < y x<y x < y is defined as f ( x , y ) = y 2 − x 2 2 x y = y 2 x − x 2 y f(x,y)=\frac{y^2-x^2}{2xy}=\frac{y}{2x}-\frac{x}{2y} f ( x , y ) = 2 x y y 2 − x 2 = 2 x y − 2 y x . We first verify the monotonicity condition of Theorem 1:
∂ f ∂ y = 1 2 x + x 2 y 2 > 0. \frac{\partial f}{\partial y}=\frac{1}{2x}+\frac{x}{2y^2}>0. ∂ y ∂ f = 2 x 1 + 2 y 2 x > 0.
Next, we determine the penalty coefficient y 2 y_2 y 2 and simultaneously verify the second requirement f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) :
y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = 2 ( Δ 2 − 1 2 Δ − Δ 2 − 4 4 Δ ) = Δ 2 + 2 2 Δ . y_2=2\bigl(f(1,\Delta)-f(2,\Delta)\bigr)=2\left(\frac{\Delta^2-1}{2\Delta}-\frac{\Delta^2-4}{4\Delta}\right)=\frac{\Delta^2+2}{2\Delta}. y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = 2 ( 2Δ Δ 2 − 1 − 4Δ Δ 2 − 4 ) = 2Δ Δ 2 + 2 .
e n d s m i d = 1 {ends_mid=1} e n d s m i d = 1
Since Δ ≥ 3 \Delta\ge3 Δ ≥ 3 , it strictly follows that y 2 > 0 y_2 > 0 y 2 > 0 , thereby confirming f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta) > f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) . With both conditions of Theorem 1 fulfilled, the optimality reduces to evaluating the single-variable test function defined in (22) .
Substituting f ( x , Δ ) f(x,\Delta) f ( x , Δ ) and y 2 y_2 y 2 back into (22) , we obtain the expression for h ( x ) h(x) h ( x ) :
h ( x ) = Δ 2 − 1 2 Δ − Δ 2 − x 2 2 Δ x − Δ 2 + 2 2 Δ ( x − 1 x ) . (29) h(x) = \frac{\Delta^2-1}{2\Delta}-\frac{\Delta^2-x^2}{2\Delta x}-\frac{\Delta^2+2}{2\Delta}\left(\frac{x-1}{x}\right). \tag*{(29)} h ( x ) = 2Δ Δ 2 − 1 − 2Δ x Δ 2 − x 2 − 2Δ Δ 2 + 2 ( x x − 1 ) . (29)
Simplifying this expression algebraically yields a concise closed-form equation:
h ( x ) = ( x − 1 ) ( x − 2 ) 2 Δ x . (30) h(x) = \frac{(x-1)(x-2)}{2\Delta x}. \tag*{(30)} h ( x ) = 2Δ x ( x − 1 ) ( x − 2 ) . (30)
Taking the first derivative yields h ′ ( x ) = 1 2 Δ ( 1 − 2 x 2 ) h'(x)=\frac{1}{2\Delta}\left(1-\frac{2}{x^2}\right) h ′ ( x ) = 2Δ 1 ( 1 − x 2 2 ) . For all x ≥ 3 x \ge3 x ≥ 3 , it holds that x 2 > 2 x^2 > 2 x 2 > 2 , which implies h ′ ( x ) > 0 h'(x)>0 h ′ ( x ) > 0 . Since h ( 1 ) = 0 h(1)=0 h ( 1 ) = 0 and h ( 2 ) = 0 h(2)=0 h ( 2 ) = 0 , the function is strictly positive for all x ∈ [ 3 , Δ ] x \in[3,\Delta] x ∈ [ 3 , Δ ] . According to Theorem 1, this completes the proof. □ \square □
Corollary 2 (SO1 _1 1 Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The maximum value of the SO1 _1 1 index is uniquely achieved by the extremal tree configuration restricted strictly to the edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. The topological weight function characterizing the SO1 _1 1 index is given by f ( x , y ) = 1 2 ( y 2 − x 2 ) f(x,y)=\frac{1}{2}(y^2-x^2) f ( x , y ) = 2 1 ( y 2 − x 2 ) for x < y x<y x < y . We first establish the monotonicity prerequisite of Theorem 1 by verifying that ∂ f ∂ y = y > 0 \frac{\partial f}{\partial y}=y>0 ∂ y ∂ f = y > 0 .
Next, we evaluate the penalty coefficient y 2 y_2 y 2 to verify the condition f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) :
y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = ( Δ 2 − 1 ) − ( Δ 2 − 4 ) = 3. y_2=2\bigl(f(1,\Delta)-f(2,\Delta)\bigr)=(\Delta^2-1)-(\Delta^2-4)=3. y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = ( Δ 2 − 1 ) − ( Δ 2 − 4 ) = 3. Since y 2 = 3 > 0 y_2=3>0 y 2 = 3 > 0 , the initial conditions of Theorem 1 are fully satisfied. Substituting f ( x , Δ ) f(x,\Delta) f ( x , Δ ) and y 2 y_2 y 2 into the 1D test function (22) , we obtain:
h ( x ) = Δ 2 − 1 2 − Δ 2 − x 2 2 − 3 ( x − 1 x ) = x 2 − 1 2 − 3 ( x − 1 ) x . (31) h(x)=\frac{\Delta^2-1}{2}-\frac{\Delta^2-x^2}{2}-3\left(\frac{x-1}{x}\right)=\frac{x^2-1}{2}-\frac{3(x-1)}{x}. \tag*{(31)} h ( x ) = 2 Δ 2 − 1 − 2 Δ 2 − x 2 − 3 ( x x − 1 ) = 2 x 2 − 1 − x 3 ( x − 1 ) . (31) By factoring out ( x − 1 ) (x-1) ( x − 1 ) , this algebraic expression simplifies directly into a concise closed-form equation:
h ( x ) = ( x − 1 ) ( x − 2 ) ( x + 3 ) 2 x . (32) h(x)=\frac{(x-1)(x-2)(x+3)}{2x}. \tag*{(32)} h ( x ) = 2 x ( x − 1 ) ( x − 2 ) ( x + 3 ) . (32) Since all factors of h ( x ) h(x) h ( x ) are strictly positive for x ≥ 3 x \ge3 x ≥ 3 , we have h ( x ) > 0 h(x)>0 h ( x ) > 0 for all x ∈ [ 3 , Δ ] x \in[3,\Delta] x ∈ [ 3 , Δ ] . By Theorem 1, the extremal tree uniquely maximizes the SO11 _{11} 11 index.
While SO1 _1 1 evaluates geometric area, the SO2 _2 2 index evaluates the angular metric of the geometric representation. We demonstrate that the identical standard basis remains uniquely optimal.
Corollary 3 (SO2 _2 2 Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The maximum value of the SO2 _2 2 index is uniquely achieved by the extremal tree configuration restricted strictly to the edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. The topological weight function characterizing the SO2 _2 2 index is given by f ( x , y ) = y 2 − x 2 x 2 + y 2 f(x,y)=\frac{y^2-x^2}{x^2+y^2} f ( x , y ) = x 2 + y 2 y 2 − x 2 for x < y x<y x < y . We first establish the monotonicity prerequisite of Theorem 1 by evaluating the partial derivative with respect to y y y :
∂ f ∂ y = 2 y ( x 2 + y 2 ) − 2 y ( y 2 − x 2 ) ( x 2 + y 2 ) 2 = 4 x 2 y ( x 2 + y 2 ) 2 . \frac{\partial f}{\partial y}=\frac{2y(x^2+y^2)-2y(y^2-x^2)}{(x^2+y^2)^2}=\frac{4x^2y}{(x^2+y^2)^2}. ∂ y ∂ f = ( x 2 + y 2 ) 2 2 y ( x 2 + y 2 ) − 2 y ( y 2 − x 2 ) = ( x 2 + y 2 ) 2 4 x 2 y . Since x , y ≥ 1 x,y \ge1 x , y ≥ 1 , it strictly follows that $\frac{\partial f}{\partial y}>0.
Next, we evaluate the penalty coefficient y 2 y_2 y 2 to confirm the condition f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta) > f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) :
y 2 = 2 ( Δ 2 − 1 Δ 2 + 1 − Δ 2 − 4 Δ 2 + 4 ) = 2 ( ( Δ 4 + 3 Δ 2 − 4 ) − ( Δ 4 − 3 Δ 2 − 4 ) ( Δ 2 + 1 ) ( Δ 2 + 4 ) ) = 12 Δ 2 ( Δ 2 + 1 ) ( Δ 2 + 4 ) . \begin{aligned}
y_2 &= 2\left(\frac{\Delta^2-1}{\Delta^2+1}-\frac{\Delta^2-4}{\Delta^2+4}\right)\\
&=2\left(\frac{(\Delta^4+3\Delta^2-4)-(\Delta^4-3\Delta^2-4)}{(\Delta^2+1)(\Delta^2+4)}\right)=\frac{12\Delta^2}{(\Delta^2+1)(\Delta^2+4)}.
\end{aligned} y 2 = 2 ( Δ 2 + 1 Δ 2 − 1 − Δ 2 + 4 Δ 2 − 4 ) = 2 ( ( Δ 2 + 1 ) ( Δ 2 + 4 ) ( Δ 4 + 3 Δ 2 − 4 ) − ( Δ 4 − 3 Δ 2 − 4 ) ) = ( Δ 2 + 1 ) ( Δ 2 + 4 ) 12 Δ 2 .
Given Δ ≥ 3 \Delta\ge3 Δ ≥ 3 , y 2 > 0 y_2 > 0 y 2 > 0 , completely satisfying the initial conditions of Theorem 1. Substituting f ( x , Δ ) f(x,\Delta) f ( x , Δ ) and y 2 y_2 y 2 into the 1D test function (24), we obtain:
h ( x ) = ( Δ 2 − 1 Δ 2 + 1 − Δ 2 − x 2 Δ 2 + x 2 ) − 12 Δ 2 ( Δ 2 + 1 ) ( Δ 2 + 4 ) ( x − 1 x ) . (33) h(x)=\left(\frac{\Delta^2-1}{\Delta^2+1}-\frac{\Delta^2-x^2}{\Delta^2+x^2}\right)-\frac{12\Delta^2}{(\Delta^2+1)(\Delta^2+4)}\left(\frac{x-1}{x}\right). \tag*{(33)} h ( x ) = ( Δ 2 + 1 Δ 2 − 1 − Δ 2 + x 2 Δ 2 − x 2 ) − ( Δ 2 + 1 ) ( Δ 2 + 4 ) 12 Δ 2 ( x x − 1 ) . (33)
Algebraically simplifying the first parenthetical term yields 2 Δ 2 ( x 2 − 1 ) ( Δ 2 + 1 ) ( Δ 2 + x 2 ) \frac{2\Delta^2(x^2-1)}{(\Delta^2+1)(\Delta^2+x^2)} ( Δ 2 + 1 ) ( Δ 2 + x 2 ) 2 Δ 2 ( x 2 − 1 ) . By factoring out the common multiplier 2 Δ 2 ( x − 1 ) Δ 2 + 1 \frac{2\Delta^2(x-1)}{\Delta^2+1} Δ 2 + 1 2 Δ 2 ( x − 1 ) , the function can be compactly rewritten as:
h ( x ) = 2 Δ 2 ( x − 1 ) Δ 2 + 1 [ x + 1 Δ 2 + x 2 − 6 x ( Δ 2 + 4 ) ] . (34) h(x)=\frac{2\Delta^2(x-1)}{\Delta^2+1}\left[\frac{x+1}{\Delta^2+x^2}-\frac{6}{x(\Delta^2+4)}\right]. \tag*{(34)} h ( x ) = Δ 2 + 1 2 Δ 2 ( x − 1 ) [ Δ 2 + x 2 x + 1 − x ( Δ 2 + 4 ) 6 ] . (34)
For h ( x ) > 0 h(x)>0 h ( x ) > 0 , we must show that the bracketed expression is positive, which is algebraically equivalent to proving that the cross-multiplied numerator N ( x , Δ ) = x ( x + 1 ) ( Δ 2 + 4 ) − 6 ( Δ 2 + x 2 ) > 0 \mathcal{N}(x,\Delta)=x(x+1)(\Delta^2+4)-6(\Delta^2+x^2)>0 N ( x , Δ ) = x ( x + 1 ) ( Δ 2 + 4 ) − 6 ( Δ 2 + x 2 ) > 0 . Expanding and regrouping this polynomial gives:
N ( x , Δ ) = ( x 2 + x − 6 ) Δ 2 − 2 x 2 + 4 x . (35) \mathcal{N}(x,\Delta)=(x^2+x-6)\Delta^2-2x^2+4x. \tag*{(35)} N ( x , Δ ) = ( x 2 + x − 6 ) Δ 2 − 2 x 2 + 4 x . (35)
For all valid interior degrees x ≥ 3 x\ge3 x ≥ 3 , the quadratic factor ( x 2 + x − 6 ) = ( x − 2 ) ( x + 3 ) (x^2+x-6)=(x-2)(x+3) ( x 2 + x − 6 ) = ( x − 2 ) ( x + 3 ) is strictly positive. Since the maximum degree satisfies Δ ≥ x \Delta\ge x Δ ≥ x , we can establish a strict lower bound by substituting Δ 2 ≥ x 2 \Delta^2\ge x^2 Δ 2 ≥ x 2 :
N ( x , Δ ) ≥ x 2 ( x 2 + x − 6 ) − 2 x 2 + 4 x = x 4 + x 3 − 8 x 2 + 4 x . (36) \mathcal{N}(x,\Delta)\ge x^2(x^2+x-6)-2x^2+4x=x^4+x^3-8x^2+4x. \tag*{(36)} N ( x , Δ ) ≥ x 2 ( x 2 + x − 6 ) − 2 x 2 + 4 x = x 4 + x 3 − 8 x 2 + 4 x . (36)
This lower bound polynomial factors elegantly into x ( x − 2 ) ( x 2 + 3 x − 2 ) x(x-2)(x^2+3x-2) x ( x − 2 ) ( x 2 + 3 x − 2 ) . For x ≥ 3 x\ge3 x ≥ 3 , every individual factor is strictly positive, definitively ensuring N ( x , Δ ) > 0 \mathcal{N}(x,\Delta)>0 N ( x , Δ ) > 0 . Consequently, h ( x ) > 0 h(x)>0 h ( x ) > 0 for all x ∈ [ 3 , Δ ] x\in[3,\Delta] x ∈ [ 3 , Δ ] . By Theorem 1, the extremal tree configuration uniquely maximizes the S O 2 SO_2 S O 2 index.
Corollary 4 (Arithmetic-Geometric Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 9 \Delta\ge9 Δ ≥ 9 . The maximum value of the Arithmetic-Geometric (A G AG A G ) index is uniquely achieved by the extremal tree configuration restricted strictly to the edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. The weight function for the A G AG A G index under the convention x < y x<y x < y is defined as f ( x , y ) = x + y 2 x y f(x,y)=\frac{x+y}{2\sqrt{xy}} f ( x , y ) = 2 x y x + y . We first verify the monotonicity condition of Theorem 1 by taking the partial derivative with respect to y y y :
∂ f ∂ y = y − x 4 x y 3 . \frac{\partial f}{\partial y}=\frac{y-x}{4\sqrt{xy^3}}. ∂ y ∂ f = 4 x y 3 y − x .
Since y > x ≥ 1 y>x\ge1 y > x ≥ 1 , it strictly follows that ∂ f ∂ y > 0 \frac{\partial f}{\partial y}>0 ∂ y ∂ f > 0 .
Next, we evaluate the penalty coefficient y 2 y_2 y 2 to confirm the condition f ( 1 , Δ ) > f ( 2 , Δ ) f(1,\Delta)>f(2,\Delta) f ( 1 , Δ ) > f ( 2 , Δ ) :
y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = 2 ( Δ + 1 2 Δ − Δ + 2 2 2 Δ ) = 2 ( Δ + 1 ) − ( Δ + 2 ) 2 Δ . y_2=2(f(1,\Delta)-f(2,\Delta))=2\left(\frac{\Delta+1}{2\sqrt{\Delta}}-\frac{\Delta+2}{2\sqrt{2\Delta}}\right)=\frac{\sqrt{2}(\Delta+1)-(\Delta+2)}{\sqrt{2\Delta}}. y 2 = 2 ( f ( 1 , Δ ) − f ( 2 , Δ )) = 2 ( 2 Δ Δ + 1 − 2 2Δ Δ + 2 ) = 2Δ 2 ( Δ + 1 ) − ( Δ + 2 ) .
To guarantee y 2 > 0 y_2>0 y 2 > 0 , the linear numerator of this expression must be strictly positive. Rearranging the terms into a linear function of Δ \Delta Δ yields:
( 2 − 1 ) Δ − ( 2 − 2 ) > 0 ⟹ Δ > 2 − 2 2 − 1 = 2 . (\sqrt{2}-1)\Delta-(2-\sqrt{2})>0\Longrightarrow\Delta>\frac{2-\sqrt{2}}{\sqrt{2}-1}=\sqrt{2}. ( 2 − 1 ) Δ − ( 2 − 2 ) > 0 ⟹ Δ > 2 − 1 2 − 2 = 2 .
Since our maximum degree satisfies Δ ≥ 9 > 2 \Delta\ge9 > \sqrt{2} Δ ≥ 9 > 2 , this condition is trivially fulfilled. With the initial conditions of Theorem 1 established, we construct the single-variable test function h ( x ) h(x) h ( x ) from (24):
h ( x ) = Δ + 1 2 Δ − x + Δ 2 x Δ − ( 2 − 1 ) Δ − ( 2 − 2 ) 2 Δ ( x − 1 x ) . (37) h(x) = \frac{\Delta+ 1}{2\sqrt{\Delta}} - \frac{x+\Delta}{2\sqrt{x\Delta}} - \frac{(\sqrt{2}-1)\Delta-(2-\sqrt{2})}{\sqrt{2\Delta}}\left(\frac{x-1}{x}\right). \tag*{(37)} h ( x ) = 2 Δ Δ + 1 − 2 x Δ x + Δ − 2Δ ( 2 − 1 ) Δ − ( 2 − 2 ) ( x x − 1 ) . (37)
By factoring out the common positive denominator 2 x Δ 2x\sqrt{\Delta} 2 x Δ , we can rewrite the test function as h ( x ) = N ( x , Δ ) 2 x Δ h(x)=\frac{\mathcal{N}(x,\Delta)}{2x\sqrt{\Delta}} h ( x ) = 2 x Δ N ( x , Δ ) , where the algebraic numerator is:
N ( x , Δ ) = x ( Δ + 1 ) − x ( x + Δ ) − 2 ( x − 1 ) [ ( 2 − 1 ) Δ − ( 2 − 2 ) ] . (38) \mathcal{N}(x,\Delta)=x(\Delta+1)-\sqrt{x}(x+\Delta)-\sqrt{2}(x-1)\left[(\sqrt{2}-1)\Delta-(2-\sqrt{2})\right]. \tag*{(38)} N ( x , Δ ) = x ( Δ + 1 ) − x ( x + Δ ) − 2 ( x − 1 ) [ ( 2 − 1 ) Δ − ( 2 − 2 ) ] . (38)
To prove h ( x ) > 0 h(x)>0 h ( x ) > 0 , it is sufficient to prove N ( x , Δ ) > 0 \mathcal{N}(x,\Delta)>0 N ( x , Δ ) > 0 . Expanding and grouping the terms into a linear function of the parameter Δ \Delta Δ , we obtain:
N ( x , Δ ) = Δ [ ( 2 − 1 ) x − x + 2 − 2 ] − x x + ( 2 2 − 1 ) x − ( 2 2 − 2 ) . (39) \mathcal{N}(x,\Delta)=\Delta\left[(\sqrt{2}-1)x-\sqrt{x}+2-\sqrt{2}\right]-x\sqrt{x}+(2\sqrt{2}-1)x-(2\sqrt{2}-2). \tag*{(39)} N ( x , Δ ) = Δ [ ( 2 − 1 ) x − x + 2 − 2 ] − x x + ( 2 2 − 1 ) x − ( 2 2 − 2 ) . (39)
Let C 1 ( x ) = ( 2 − 1 ) x − x + 2 − 2 C_1(x)=(\sqrt{2}-1)x-\sqrt{x}+2-\sqrt{2} C 1 ( x ) = ( 2 − 1 ) x − x + 2 − 2 represent the slope of N ( x , Δ ) \mathcal{N}(x,\Delta) N ( x , Δ ) with respect to Δ \Delta Δ . By treating C 1 ( x ) C_1(x) C 1 ( x ) as a quadratic function of the variable t = x t=\sqrt{x} t = x , we calculate its discriminant:
D = ( − 1 ) 2 − 4 ( 2 − 1 ) ( 2 − 2 ) = 17 − 12 2 = ( 3 − 2 2 ) 2 . (40) D=(-1)^2-4(\sqrt{2}-1)(2-\sqrt{2})=17-12\sqrt{2}=(3-2\sqrt{2})^2. \tag*{(40)} D = ( − 1 ) 2 − 4 ( 2 − 1 ) ( 2 − 2 ) = 17 − 12 2 = ( 3 − 2 2 ) 2 . (40)
The roots of this quadratic are exactly t 1 = 1 t_1=1 t 1 = 1 and t 2 = 2 t_2=\sqrt{2} t 2 = 2 . With a positive leading coefficient, the parabola is strictly positive for all t > 2 t>\sqrt{2} t > 2 . Since valid internal degrees require x ≥ 3 x\ge3 x ≥ 3 , we have t = x ≥ 3 > 2 t=\sqrt{x}\ge\sqrt{3}>\sqrt{2} t = x ≥ 3 > 2 , definitively proving C 1 ( x ) > 0 C_1(x)>0 C 1 ( x ) > 0 .
Because the slope is positive, N ( x , Δ ) \mathcal{N}(x,\Delta) N ( x , Δ ) is a strictly increasing function of Δ \Delta Δ . Therefore, for any valid tree with Δ ≥ 9 \Delta\ge9 Δ ≥ 9 , the numerator is bounded below by its evaluation at the minimum boundary Δ = 9 \Delta=9 Δ = 9 :
N ( x , Δ ) ≥ N ( x , 9 ) = − x x + ( 11 2 − 10 ) x − 9 x + ( 20 − 11 2 ) . (41) \mathcal{N}(x,\Delta)\ge\mathcal{N}(x,9)=-x\sqrt{x}+(11\sqrt{2}-10)x-9\sqrt{x}+(20-11\sqrt{2}). \tag*{(41)} N ( x , Δ ) ≥ N ( x , 9 ) = − x x + ( 11 2 − 10 ) x − 9 x + ( 20 − 11 2 ) . (41)
Introducing the substitution t = x t=\sqrt{x} t = x , the minorant becomes a cubic polynomial P ( t ) = − t 3 + ( 11 2 − 10 ) t 2 − 9 t + ( 20 − 11 2 ) P(t)=-t^3+(11\sqrt{2}-10)t^2-9t+(20-11\sqrt{2}) P ( t ) = − t 3 + ( 11 2 − 10 ) t 2 − 9 t + ( 20 − 11 2 ) . Since x ∈ [ 3 , 9 ] x\in[3,9] x ∈ [ 3 , 9 ] , we analyze P ( t ) P(t) P ( t ) over the domain t ∈ [ 3 , 3 ] t\in[\sqrt{3},3] t ∈ [ 3 , 3 ] . Taking the first derivative yields P ′ ( t ) = − 3 t 2 + 2 ( 11 2 − 10 ) t − 9 P'(t)=-3t^2+2(11\sqrt{2}-10)t-9 P ′ ( t ) = − 3 t 2 + 2 ( 11 2 − 10 ) t − 9 . The roots of P ′ ( t ) = 0 P'(t)=0 P ′ ( t ) = 0 dictate the local extrema. Solving this quadratic equation reveals a local minimum at t 1 ≈ 1.196 t_1\approx1.196 t 1 ≈ 1.196 (which lies outside our domain) and a local maximum at t 2 ≈ 2.508 t_2\approx2.508 t 2 ≈ 2.508 (which lies inside our domain).
This implies that on the interval [ 3 , 3 ] [\sqrt{3},3] [ 3 , 3 ] , the function P ( t ) P(t) P ( t ) monotonically increases to its local maximum at t 2 t_2 t 2 and then monotonically decreases. Due to this, the absolute minimum of P ( t ) P(t) P ( t ) on this interval must occur at one of the boundary points. Evaluating P ( t ) P(t) P ( t ) at these endpoints gives exactly:
P ( 3 ) = 22 2 − 12 3 − 10 ≈ 0.328 > 0 , (42) P(\sqrt{3})=22\sqrt{2}-12\sqrt{3}-10\approx0.328>0, \tag*{(42)} P ( 3 ) = 22 2 − 12 3 − 10 ≈ 0.328 > 0 , (42)
P ( 3 ) = 88 2 − 124 ≈ 0.451 > 0. (43) P(3)=88\sqrt{2}-124\approx0.451>0. \tag*{(43)} P ( 3 ) = 88 2 − 124 ≈ 0.451 > 0. (43)
Since the polynomial evaluates to strictly positive values at both bounds, P ( t ) > 0 P(t)>0 P ( t ) > 0 for the entire interior of the interval. Consequently, N ( x , Δ ) > 0 \mathcal{N}(x,\Delta)>0 N ( x , Δ ) > 0 , which ensures h ( x ) > 0 h(x)>0 h ( x ) > 0 for all valid x ∈ [ 3 , Δ ] x\in[3,\Delta] x ∈ [ 3 , Δ ] . According to Theorem 1, the extremal tree configuration uniquely maximizes the Arithmetic-Geometric index. □ \square □
Remark 1. The bound Δ ≥ 9 \Delta\ge9 Δ ≥ 9 in Corollary 4 is sharp. For instance, if Δ = 8 \Delta=8 Δ = 8 , evaluating the numerator N ( x , 8 ) \mathcal{N}(x,8) N ( x , 8 ) at the upper bound x = 8 x=8 x = 8 yields:
N ( 8 , 8 ) = − 16 2 + 8 ( 10 2 − 9 ) − 16 2 + ( 18 − 10 2 ) = 38 2 − 54. \mathcal{N}(8,8)=-16\sqrt{2}+8(10\sqrt{2}-9)-16\sqrt{2}+(18-10\sqrt{2})=38\sqrt{2}-54. N ( 8 , 8 ) = − 16 2 + 8 ( 10 2 − 9 ) − 16 2 + ( 18 − 10 2 ) = 38 2 − 54.
Since ( 38 2 ) 2 = 2888 < 54 2 = 2916 (38\sqrt{2})^2=2888<54^2=2916 ( 38 2 ) 2 = 2888 < 5 4 2 = 2916 , it follows that 38 2 < 54 38\sqrt{2}<54 38 2 < 54 , implying N ( 8 , 8 ) < 0 \mathcal{N}(8,8)<0 N ( 8 , 8 ) < 0 . Consequently, h ( x ) h(x) h ( x ) fails to remain globally positive on [ 3 , 8 ] [3,8] [ 3 , 8 ] , confirming that Theorem 1 is not directly applicable for Δ ≤ 8 \Delta\le8 Δ ≤ 8 .
For the Triangle Volume index (S O 11 SO_{11} S O 11 ), the weight function f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 f(x,y)=y^3+y^2x-x^2y-x^3 f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 fails to satisfy the preconditions of Theorem 1. Specifically, the difference f ( 1 , Δ ) − f ( 2 , Δ ) = − Δ 2 + 3 Δ + 7 f(1,\Delta)-f(2,\Delta)=-\Delta^2+3\Delta+7 f ( 1 , Δ ) − f ( 2 , Δ ) = − Δ 2 + 3Δ + 7 is strictly positive only for Δ ∈ { 3 , 4 } \Delta\in\{3,4\} Δ ∈ { 3 , 4 } . For Δ ≥ 5 \Delta\ge5 Δ ≥ 5 , this difference is strictly negative, invalidating the dimensionality reduction. Therefore, to prove the optimality of the extremal tree configuration for the S O 11 SO_{11} S O 11 index on the interval 3 ≤ Δ ≤ 8 3 \le\Delta\le8 3 ≤ Δ ≤ 8 , we bypass Theorem 1 entirely and directly apply the general optimality criterion formulated in Lemma 1.
Lemma 3 (Positivity of the Gap Function for S O 11 SO_{11} S O 11 ). Let G ( x , y ) G(x,y) G ( x , y ) be the continuous extension of the gap function for the S O 11 SO_{11} S O 11 index:
G ( x , y ) = f ( 1 , Δ ) − f ( x , y ) − y 2 ( Δ ) ( 1 + 1 Δ − 1 x − 1 y ) . G(x,y)=f(1,\Delta)-f(x,y)-y_2(\Delta)\left(1+\frac{1}{\Delta}-\frac{1}{x}-\frac{1}{y}\right). G ( x , y ) = f ( 1 , Δ ) − f ( x , y ) − y 2 ( Δ ) ( 1 + Δ 1 − x 1 − y 1 ) . where f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 f(x,y)=y^3+y^2x-x^2y-x^3 f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 and y 2 ( Δ ) = 2 ( − Δ 2 + 3 Δ + 7 ) y_2(\Delta)=2(-\Delta^2+3\Delta+7) y 2 ( Δ ) = 2 ( − Δ 2 + 3Δ + 7 ) . For any integer maximum degree 3 ≤ Δ ≤ 8 3 \le\Delta\le8 3 ≤ Δ ≤ 8 , the strict inequality G ( x , y ) > 0 G(x,y)>0 G ( x , y ) > 0 holds for all valid integer pairs 1 ≤ x < y ≤ Δ 1 \le x<y \le\Delta 1 ≤ x < y ≤ Δ , excluding the basic variables ( 1 , Δ ) (1,\Delta) ( 1 , Δ ) and ( 2 , Δ ) (2,\Delta) ( 2 , Δ ) .
Proof. To definitively prove global positivity G ( x , y ) > 0 G(x,y)>0 G ( x , y ) > 0 , we first analyze the dual penalty coefficient y 2 ( Δ ) y_2(\Delta) y 2 ( Δ ) . By definition, it evaluates to:
y 2 ( Δ ) = 2 ( f ( 1 , Δ ) − f ( 2 , Δ ) ) = 2 ( − Δ 2 + 3 Δ + 7 ) . y_2(\Delta)=2(f(1,\Delta)-f(2,\Delta))=2(-\Delta^2+3\Delta+7). y 2 ( Δ ) = 2 ( f ( 1 , Δ ) − f ( 2 , Δ )) = 2 ( − Δ 2 + 3Δ + 7 ) .
Taking the derivative y 2 ′ ( Δ ) = − 4 Δ + 6 y_2'(\Delta)=-4\Delta+6 y 2 ′ ( Δ ) = − 4Δ + 6 , we observe that y 2 ( Δ ) y_2(\Delta) y 2 ( Δ ) is strictly decreasing on the interval [ 3 , 8 ] [3,8] [ 3 , 8 ] . Consequently, it attains its maximum at Δ = 3 \Delta=3 Δ = 3 with y 2 ( 3 ) = 14 y_2(3)=14 y 2 ( 3 ) = 14 , and its absolute minimum at Δ = 8 \Delta=8 Δ = 8 with y 2 ( 8 ) = − 66 y_2(8)=-66 y 2 ( 8 ) = − 66 .
With these bounds established, we partition the valid domain into three strictly defined, mutually exclusive cases based on the value of x x x .
Case 1: x = 1 x=1 x = 1 and y ∈ [ 2 , Δ − 1 ] y\in[2,\Delta-1] y ∈ [ 2 , Δ − 1 ] . By the definition of the dual constraints, G ( 1 , Δ ) = 0 G(1,\Delta)=0 G ( 1 , Δ ) = 0 . We express G ( 1 , y ) G(1,y) G ( 1 , y ) directly as:
G ( 1 , y ) = f ( 1 , Δ ) − f ( 1 , y ) + y 2 ( Δ ) ( 1 y − 1 Δ ) . G(1,y)=f(1,\Delta)-f(1,y)+y_2(\Delta)\left(\frac{1}{y}-\frac{1}{\Delta}\right). G ( 1 , y ) = f ( 1 , Δ ) − f ( 1 , y ) + y 2 ( Δ ) ( y 1 − Δ 1 ) .
Substituting f ( 1 , y ) = y 3 + y 2 − y − 1 f(1,y)=y^3+y^2-y-1 f ( 1 , y ) = y 3 + y 2 − y − 1 and factoring the difference of polynomials yields:
f ( 1 , Δ ) − f ( 1 , y ) = ( Δ − y ) ( Δ 2 + Δ y + y 2 + Δ + y − 1 ) . f(1,\Delta)-f(1,y)=(\Delta-y)(\Delta^2+\Delta y+y^2+\Delta+y-1). f ( 1 , Δ ) − f ( 1 , y ) = ( Δ − y ) ( Δ 2 + Δ y + y 2 + Δ + y − 1 ) .
We rewrite the fractional term as y 2 ( Δ ) Δ − y y Δ y_2(\Delta)\frac{\Delta-y}{y\Delta} y 2 ( Δ ) y Δ Δ − y and factor out the common term ( Δ − y ) (\Delta-y) ( Δ − y ) :
G ( 1 , y ) = ( Δ − y ) [ Δ 2 + Δ y + y 2 + Δ + y − 1 + y 2 ( Δ ) y Δ ] . G(1,y)=(\Delta-y)\left[\Delta^2+\Delta y+y^2+\Delta+y-1+\frac{y_2(\Delta)}{y\Delta}\right]. G ( 1 , y ) = ( Δ − y ) [ Δ 2 + Δ y + y 2 + Δ + y − 1 + y Δ y 2 ( Δ ) ] .
Since y ≤ Δ − 1 y\le\Delta-1 y ≤ Δ − 1 , the first factor is strictly positive (Δ − y ≥ 1 \Delta-y\ge1 Δ − y ≥ 1 ). Given Δ ≥ 3 \Delta\ge3 Δ ≥ 3 and y ≥ 2 y\ge2 y ≥ 2 , the polynomial within the bracket is strictly bounded below by its evaluation at the minimal bounds:
Δ 2 + Δ y + y 2 + Δ + y − 1 ≥ 3 2 + 3 ( 2 ) + 2 2 + 3 + 2 − 1 = 23. \Delta^2+\Delta y+y^2+\Delta+y-1\ge3^2+3(2)+2^2+3+2-1=23. Δ 2 + Δ y + y 2 + Δ + y − 1 ≥ 3 2 + 3 ( 2 ) + 2 2 + 3 + 2 − 1 = 23.
Next, we determine the lower bound for the fractional term y 2 ( Δ ) y Δ \frac{y_2(\Delta)}{y\Delta} y Δ y 2 ( Δ ) . Isolating the dependence on Δ \Delta Δ yields:
y 2 ( Δ ) Δ = − 2 Δ 2 + 6 Δ + 14 Δ = − 2 Δ + 6 + 14 Δ . \frac{y_2(\Delta)}{\Delta}=\frac{-2\Delta^2+6\Delta+14}{\Delta}=-2\Delta+6+\frac{14}{\Delta}. Δ y 2 ( Δ ) = Δ − 2 Δ 2 + 6Δ + 14 = − 2Δ + 6 + Δ 14 .
Let H ( Δ ) = − 2 Δ + 6 + 14 Δ H(\Delta)=-2\Delta+6+\frac{14}{\Delta} H ( Δ ) = − 2Δ + 6 + Δ 14 . Taking the derivative H ′ ( Δ ) = − 2 − 14 Δ 2 < 0 H'(\Delta)=-2-\frac{14}{\Delta^2}<0 H ′ ( Δ ) = − 2 − Δ 2 14 < 0 dictates that H ( Δ ) H(\Delta) H ( Δ ) is strictly decreasing on [ 3 , 8 ] [3,8] [ 3 , 8 ] . It attains its absolute minimum at the upper boundary Δ = 8 \Delta=8 Δ = 8 :
H ( Δ ) ≥ H ( 8 ) = − 16 + 6 + 14 8 = − 8.25. H(\Delta)\ge H(8)=-16+6+\frac{14}{8}=-8.25. H ( Δ ) ≥ H ( 8 ) = − 16 + 6 + 8 14 = − 8.25.
Because this minimum is negative, dividing by the positive independent variable y y y yields the most negative possible fraction when y y y is minimized (y = 2 y = 2 y = 2 ). Therefore:
y 2 ( Δ ) y Δ = 1 y H ( Δ ) ≥ 1 2 ( − 8.25 ) = − 4.125. \frac{y_2(\Delta)}{y\Delta} = \frac{1}{y}H(\Delta) \ge\frac{1}{2}(-8.25) = -4.125. y Δ y 2 ( Δ ) = y 1 H ( Δ ) ≥ 2 1 ( − 8.25 ) = − 4.125.
Summing these bounds, the bracketed expression is strictly greater than 23 − 4.125 = 18.875 > 0 23 - 4.125 = 18.875 > 0 23 − 4.125 = 18.875 > 0 . Being the product of two strictly positive terms, G ( 1 , y ) > 0 G(1,y) > 0 G ( 1 , y ) > 0 .
Case 2: x = 2 x = 2 x = 2 and y ∈ [ 3 , Δ − 1 ] y \in[3, \Delta- 1] y ∈ [ 3 , Δ − 1 ] . By exact constraint evaluation, G ( 2 , Δ ) = 0 G(2,\Delta) = 0 G ( 2 , Δ ) = 0 . We analyze the monotonicity of G ( 2 , y ) G(2,y) G ( 2 , y ) by computing its partial derivative with respect to y y y :
∂ G ( 2 , y ) ∂ y = − ∂ f ( 2 , y ) ∂ y − y 2 ( Δ ) y 2 = − ( 3 y 2 + 4 y − 4 ) − y 2 ( Δ ) y 2 . \frac{\partial G(2,y)}{\partial y} = -\frac{\partial f(2,y)}{\partial y} - \frac{y_2(\Delta)}{y^2} = -(3y^2 + 4y - 4) - \frac{y_2(\Delta)}{y^2}. ∂ y ∂ G ( 2 , y ) = − ∂ y ∂ f ( 2 , y ) − y 2 y 2 ( Δ ) = − ( 3 y 2 + 4 y − 4 ) − y 2 y 2 ( Δ ) .
For y ≥ 3 y \ge3 y ≥ 3 , the polynomial component is bounded as 3 y 2 + 4 y − 4 ≥ 27 + 12 − 4 = 35 3y^2 + 4y - 4 \ge27 + 12 - 4 = 35 3 y 2 + 4 y − 4 ≥ 27 + 12 − 4 = 35 . Referencing the extremal values of y 2 ( Δ ) y_2(\Delta) y 2 ( Δ ) established at the beginning of the proof, the maximum magnitude of − y 2 ( Δ ) -y_2(\Delta) − y 2 ( Δ ) is exactly − y 2 ( 8 ) = 66 -y_2(8) = 66 − y 2 ( 8 ) = 66 . Combined with the minimum of y 2 = 9 y^2 = 9 y 2 = 9 , we obtain − y 2 ( Δ ) / y 2 ≤ 66 / 9 ≈ 7.33 -y_2(\Delta)/y^2 \le66/9 \approx7.33 − y 2 ( Δ ) / y 2 ≤ 66/9 ≈ 7.33 .
∂ G ( 2 , y ) ∂ y ≤ − 35 + 7.33 = − 27.67 < 0. \frac{\partial G(2,y)}{\partial y} \le-35 + 7.33 = -27.67 < 0. ∂ y ∂ G ( 2 , y ) ≤ − 35 + 7.33 = − 27.67 < 0.
Since the derivative is strictly negative, G ( 2 , y ) G(2,y) G ( 2 , y ) is strictly decreasing. Because the function evaluates to zero at the upper boundary, it directly implies that for all internal points y < Δ y < \Delta y < Δ , the strict inequality G ( 2 , y ) > G ( 2 , Δ ) = 0 G(2,y) > G(2,\Delta) = 0 G ( 2 , y ) > G ( 2 , Δ ) = 0 holds.
Case 3: x ≥ 3 x \ge3 x ≥ 3 and y ∈ [ 4 , Δ ] y \in[4,\Delta] y ∈ [ 4 , Δ ] . We analyze the general partial derivative with respect to y y y :
∂ G ( x , y ) ∂ y = − ( 3 y 2 + 2 x y − x 2 ) − y 2 ( Δ ) y 2 . \frac{\partial G(x,y)}{\partial y} = -(3y^2 + 2xy - x^2) - \frac{y_2(\Delta)}{y^2}. ∂ y ∂ G ( x , y ) = − ( 3 y 2 + 2 x y − x 2 ) − y 2 y 2 ( Δ ) .
Let P ( x , y ) = 3 y 2 + 2 x y − x 2 P(x,y) = 3y^2 + 2xy - x^2 P ( x , y ) = 3 y 2 + 2 x y − x 2 . Since ∂ P ∂ x = 2 ( y − x ) > 0 \frac{\partial P}{\partial x} = 2(y-x) > 0 ∂ x ∂ P = 2 ( y − x ) > 0 , the function P P P strictly increases with x x x . Bounding x ≥ 3 x \ge3 x ≥ 3 and y > x ⇒ y ≥ 4 y > x \Rightarrow y \ge4 y > x ⇒ y ≥ 4 :
P ( x , y ) ≥ P ( 3 , y ) = 3 y 2 + 6 y − 9 ≥ P ( 3 , 4 ) = 48 + 24 − 9 = 63. P(x,y) \ge P(3,y) = 3y^2 + 6y - 9 \ge P(3,4) = 48 + 24 - 9 = 63. P ( x , y ) ≥ P ( 3 , y ) = 3 y 2 + 6 y − 9 ≥ P ( 3 , 4 ) = 48 + 24 − 9 = 63.
Using the previously established maximum − y 2 ( 8 ) = 66 -y_2(8) = 66 − y 2 ( 8 ) = 66 and minimum y 2 = 16 y^2 = 16 y 2 = 16 , we bound the fractional term as − y 2 ( Δ ) / y 2 ≤ 66 / 16 = 4.125 -y_2(\Delta)/y^2 \le66/16 = 4.125 − y 2 ( Δ ) / y 2 ≤ 66/16 = 4.125 , obtaining a strict upper bound:
∂ G ( x , y ) ∂ y ≤ − 63 + 4.125 = − 58.875 < 0. \frac{\partial G(x,y)}{\partial y} \le-63 + 4.125 = -58.875 < 0. ∂ y ∂ G ( x , y ) ≤ − 63 + 4.125 = − 58.875 < 0.
Thus, for any x ≥ 3 x \ge3 x ≥ 3 , the function strictly decreases with y y y , meaning its minimum must occur at y = Δ y = \Delta y = Δ . We now evaluate the behavior along this upper boundary G ( x , Δ ) G(x,\Delta) G ( x , Δ ) by taking the partial derivative with respect to x x x :
∂ G ( x , Δ ) ∂ x = ( 3 x 2 + 2 x Δ − Δ 2 ) − y 2 ( Δ ) x 2 . \frac{\partial G(x,\Delta)}{\partial x} = (3x^2 + 2x\Delta- \Delta^2) - \frac{y_2(\Delta)}{x^2}. ∂ x ∂ G ( x , Δ ) = ( 3 x 2 + 2 x Δ − Δ 2 ) − x 2 y 2 ( Δ ) .
Let Q ( x , Δ ) = 3 x 2 + 2 x Δ − Δ 2 Q(x,\Delta) = 3x^2 + 2x\Delta- \Delta^2 Q ( x , Δ ) = 3 x 2 + 2 x Δ − Δ 2 . Since ∂ Q ∂ x = 6 x + 2 Δ > 0 \frac{\partial Q}{\partial x} = 6x + 2\Delta> 0 ∂ x ∂ Q = 6 x + 2Δ > 0 , Q Q Q is strictly increasing with x x x . For x ≥ 3 x \ge3 x ≥ 3 :
Q ( x , Δ ) ≥ Q ( 3 , Δ ) = 27 + 6 Δ − Δ 2 . Q(x,\Delta) \ge Q(3,\Delta) = 27 + 6\Delta- \Delta^2. Q ( x , Δ ) ≥ Q ( 3 , Δ ) = 27 + 6Δ − Δ 2 .
The quadratic function 27 + 6 Δ − Δ 2 27 + 6\Delta- \Delta^2 27 + 6Δ − Δ 2 is monotonically decreasing on [ 3 , 8 ] [3,8] [ 3 , 8 ] and achieves its minimum at Δ = 8 \Delta= 8 Δ = 8 , evaluating to 27 + 48 − 64 = 11 27 + 48 - 64 = 11 27 + 48 − 64 = 11 . For the independent fractional term, the minimum of − y 2 ( Δ ) -y_2(\Delta) − y 2 ( Δ ) occurs at its maximum positive value, y 2 ( 3 ) = 14 y_2(3) = 14 y 2 ( 3 ) = 14 , so − y 2 ( Δ ) / x 2 ≥ − 14 / 9 -y_2(\Delta)/x^2 \ge-14/9 − y 2 ( Δ ) / x 2 ≥ − 14/9 . Thus:
∂ G ( x , Δ ) ∂ x ≥ 11 − 14 9 = 85 9 > 0. \frac{\partial G(x,\Delta)}{\partial x} \ge11 - \frac{14}{9} = \frac{85}{9} > 0. ∂ x ∂ G ( x , Δ ) ≥ 11 − 9 14 = 9 85 > 0.
Because ∂ G ( x , Δ ) ∂ x > 0 \frac{\partial G(x,\Delta)}{\partial x}>0 ∂ x ∂ G ( x , Δ ) > 0 , the boundary function G ( x , Δ ) G(x,\Delta) G ( x , Δ ) strictly increases with x x x . Its absolute minimum over x ≥ 3 x \ge3 x ≥ 3 occurs exactly at x = 3 x=3 x = 3 . Evaluating G ( 3 , Δ ) G(3,\Delta) G ( 3 , Δ ) directly yields a downward-opening parabola:
G ( 3 , Δ ) = − 2 3 Δ 2 + 4 Δ + 50 3 . G(3,\Delta)=-\frac{2}{3}\Delta^2+4\Delta+\frac{50}{3}. G ( 3 , Δ ) = − 3 2 Δ 2 + 4Δ + 3 50 .
This parabola takes its absolute minimum on the interval [ 3 , 8 ] [3,8] [ 3 , 8 ] at Δ = 8 \Delta=8 Δ = 8 , evaluating to G ( 3 , 8 ) = 18 3 = 6 > 0 G(3,8)=\frac{18}{3}=6>0 G ( 3 , 8 ) = 3 18 = 6 > 0 .
Since G ( x , y ) > 0 G(x,y)>0 G ( x , y ) > 0 strictly holds across all three mutually exclusive and exhaustive cases, the proof is complete.
With the global positivity of the S O 11 SO_{11} S O 11 gap function analytically verified for Δ ≤ 8 \Delta\le8 Δ ≤ 8 , the integer linear programming conditions are strictly satisfied, leading to the following consequence."
Corollary 5 (S O 11 SO_{11} S O 11 Index). Let T T T be a tree of order n n n with maximum degree 3 ≤ Δ ≤ 8 3 \le\Delta\le8 3 ≤ Δ ≤ 8 . The maximum value of the S O 11 SO_{11} S O 11 index is uniquely achieved by the extremal tree strictly restricted to the optimal edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. According to the general optimality criterion established in Lemma 1, the optimal tree configuration uniquely maximizes a given topological index if the corresponding gap function satisfies G ( x , y ) > 0 G(x,y)>0 G ( x , y ) > 0 for all valid internal pairs ( x , y ) ∉ { ( 1 , Δ ) , ( 2 , Δ ) } (x,y)\notin\{(1,\Delta),(2,\Delta)\} ( x , y ) ∈ / {( 1 , Δ ) , ( 2 , Δ )} . By Lemma 3, this condition is strictly satisfied for the S O 11 SO_{11} S O 11 index across the entire discrete domain 1 ≤ x < y ≤ Δ 1 \le x < y \le\Delta 1 ≤ x < y ≤ Δ for any Δ ≤ 8 \Delta\le8 Δ ≤ 8 .
While the Sigma index was recently investigated [6 , 14 ] , our framework effortlessly yields a highly concise alternative proof.
Corollary 6 (Sigma Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The maximum value of the Sigma index is uniquely achieved by the extremal tree strictly restricted to the optimal edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. The weight function f ( x , y ) = ( y − x ) 2 f(x,y)=(y-x)^2 f ( x , y ) = ( y − x ) 2 trivially satisfies Lemma 2 since ∂ f ∂ y = 2 ( y − x ) > 0 \frac{\partial f}{\partial y}=2(y-x)>0 ∂ y ∂ f = 2 ( y − x ) > 0 for x < y x<y x < y . Evaluating the dual penalty coefficient yields:
y 2 = 2 ( ( Δ − 1 ) 2 − ( Δ − 2 ) 2 ) = 4 Δ − 6. y_2=2\left((\Delta-1)^2-(\Delta-2)^2\right)=4\Delta-6. y 2 = 2 ( ( Δ − 1 ) 2 − ( Δ − 2 ) 2 ) = 4Δ − 6.
Substituting f ( x , Δ ) = ( Δ − x ) 2 f(x,\Delta)=(\Delta-x)^2 f ( x , Δ ) = ( Δ − x ) 2 and y 2 y_2 y 2 into (22) , we obtain:
h ( x ) = ( Δ − 1 ) 2 − ( Δ − x ) 2 − ( 4 Δ − 6 ) x − 1 x . h(x)=(\Delta-1)^2-(\Delta-x)^2-(4\Delta-6)\frac{x-1}{x}. h ( x ) = ( Δ − 1 ) 2 − ( Δ − x ) 2 − ( 4Δ − 6 ) x x − 1 .
Expanding the terms and reducing to a common denominator condenses the expression into a single rational function, which gracefully factors into a closed form:
h ( x ) = − x 3 + 2 Δ x 2 − ( 6 Δ − 7 ) x + 4 Δ − 6 x = ( x − 1 ) ( x − 2 ) ( 2 Δ − 3 − x ) x . (44) h(x)=\frac{-x^3+2\Delta x^2-(6\Delta-7)x+4\Delta-6}{x}
=\frac{(x-1)(x-2)(2\Delta-3-x)}{x}. \tag*{(44)} h ( x ) = x − x 3 + 2Δ x 2 − ( 6Δ − 7 ) x + 4Δ − 6 = x ( x − 1 ) ( x − 2 ) ( 2Δ − 3 − x ) . (44)
For any valid interior degree x ∈ [ 3 , Δ ] x \in[3,\Delta] x ∈ [ 3 , Δ ] , the factors ( x − 1 ) (x-1) ( x − 1 ) , ( x − 2 ) (x-2) ( x − 2 ) , and x x x are strictly positive. The remaining linear factor is bounded as 2 Δ − 3 − x ≥ 2 Δ − 3 − Δ = Δ − 3 ≥ 0 2\Delta-3-x \ge2\Delta-3-\Delta=\Delta-3 \ge0 2Δ − 3 − x ≥ 2Δ − 3 − Δ = Δ − 3 ≥ 0 . Consequently, h ( x ) ≥ 0 h(x)\ge0 h ( x ) ≥ 0 unconditionally holds for all valid x x x , satisfying the conditions of Theorem 1.
Corollary 7 (Albertson Index). Let T T T be a tree of order n n n with maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The maximum value of the Albertson index is uniquely achieved by the extremal tree strictly restricted to the optimal edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} .
Proof. The weight function f ( x , y ) = y − x f(x,y)=y-x f ( x , y ) = y − x trivially satisfies Lemma 2 since ∂ f ∂ y = 1 > 0 \frac{\partial f}{\partial y}=1>0 ∂ y ∂ f = 1 > 0 . Evaluating the dual penalty coefficient yields:
y 2 = 2 ( ( Δ − 1 ) − ( Δ − 2 ) ) = 2. y_2=2\bigl((\Delta-1)-(\Delta-2)\bigr)=2. y 2 = 2 ( ( Δ − 1 ) − ( Δ − 2 ) ) = 2.
Substituting f ( x , Δ ) = Δ − x f(x,\Delta)=\Delta-x f ( x , Δ ) = Δ − x and y 2 = 2 y_2=2 y 2 = 2 into (22) , we obtain:
h ( x ) = ( Δ − 1 ) − ( Δ − x ) − 2 x − 1 x . h(x)=(\Delta-1)-(\Delta-x)-2\frac{x-1}{x}. h ( x ) = ( Δ − 1 ) − ( Δ − x ) − 2 x x − 1 .
By cancelling the Δ \Delta Δ terms and factoring the expression over a common denominator, the function gracefully condenses into a concise closed form:
h ( x ) = x − 1 − 2 ( x − 1 ) x = ( x − 1 ) ( x − 2 ) x . (45) h(x)=x-1-\frac{2(x-1)}{x}=\frac{(x-1)(x-2)}{x}. \tag*{(45)} h ( x ) = x − 1 − x 2 ( x − 1 ) = x ( x − 1 ) ( x − 2 ) . (45)
For any valid interior degree x ∈ [ 3 , Δ ] x\in[3,\Delta] x ∈ [ 3 , Δ ] , the factors ( x − 1 ) (x-1) ( x − 1 ) , ( x − 2 ) (x-2) ( x − 2 ) , and x x x are strictly positive. Consequently, h ( x ) > 0 h(x)>0 h ( x ) > 0 unconditionally holds for all valid x x x , satisfying the conditions of Theorem 5. □ \square □
Alternative Optimality of the Basis { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )}
Theorem 1 successfully dictates the extremal topology for the vast majority of indices, provided Δ \Delta Δ is sufficiently large. However, as demonstrated by the A G AG A G index constraint ( Δ ≥ 9 ) (\Delta\ge9) ( Δ ≥ 9 ) , the standard basis mathematically collapses for small maximum degrees. In this section, we address this boundary behavior by establishing an alternative optimality criterion.
For certain topological indices evaluated at smaller maximum degrees (e.g., chemical trees where Δ = 3 \Delta=3 Δ = 3 ), the maximum is strictly achieved by the alternative basis { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )} . In such trees, every internal vertex necessarily attains the maximum degree Δ \Delta Δ .
One might intuitively attempt to realize this configuration by evaluating the universal bipartite class T ( k , Δ , q ) T(k,\Delta,q) T ( k , Δ , q ) at the limit k = Δ k=\Delta k = Δ . However, this substitution is structurally incomplete. When the partitions V k V_k V k and V Δ V_\Delta V Δ merge, the bipartite cross-edges m k , Δ m_{k,\Delta} m k , Δ collapse into diagonal self-edges m Δ , Δ m_{\Delta,\Delta} m Δ , Δ . In the degree sum incidence identities (9) , diagonal edges carry a coefficient of 2 (connecting two vertices of the same degree), whereas cross-edges carry a coefficient of 1. This discrete structural collapse alters the underlying Diophantine system, allowing internal vertices to connect freely rather than strictly bipartitely. Consequently, the alternative basis generates a much broader internal topology that necessitates an independent optimality criterion.
Lemma 4 (Alternative Optimality Criterion). Let Δ ≥ 3 \Delta\ge3 Δ ≥ 3 and n ≥ Δ + 2 n\ge\Delta+2 n ≥ Δ + 2 . Consider the linear program consisting of maximizing (11) subject to (12) and (13). This problem admits a unique optimal solution mapped to the basis m 1 , Δ m_{1,\Delta} m 1 , Δ and m Δ , Δ m_{\Delta,\Delta} m Δ , Δ , where:
m 1 , Δ = ( Δ − 2 ) n + 2 Δ − 1 , m Δ , Δ = n − Δ − 1 Δ − 1 . (46) m_{1,\Delta}=\frac{(\Delta-2)n+2}{\Delta-1},\qquad m_{\Delta,\Delta}=\frac{n-\Delta-1}{\Delta-1}. \tag*{(46)} m 1 , Δ = Δ − 1 ( Δ − 2 ) n + 2 , m Δ , Δ = Δ − 1 n − Δ − 1 . (46) if and only if for all valid non-basic pairs ( i , j ) ∉ { ( 1 , Δ ) , ( Δ , Δ ) } (i,j)\notin\{(1,\Delta),(\Delta,\Delta)\} ( i , j ) ∈ / {( 1 , Δ ) , ( Δ , Δ )} , the weight function satisfies G ∗ ( i , j ) > 0 G^*(i,j)>0 G ∗ ( i , j ) > 0 , where the alternative gap function is defined as:
G ∗ ( i , j ) = f ( Δ , Δ ) − f ( i , j ) + y 2 ∗ ( 1 i + 1 j − 2 Δ ) , (47) G^*(i,j)=f(\Delta,\Delta)-f(i,j)+y_2^*\left(\frac{1}{i}+\frac{1}{j}-\frac{2}{\Delta}\right), \tag*{(47)} G ∗ ( i , j ) = f ( Δ , Δ ) − f ( i , j ) + y 2 ∗ ( i 1 + j 1 − Δ 2 ) , (47) and the alternative dual penalty coefficient is y 2 ∗ = Δ Δ − 1 ( f ( 1 , Δ ) − f ( Δ , Δ ) ) y_2^*=\frac{\Delta}{\Delta-1}\bigl(f(1,\Delta)-f(\Delta,\Delta)\bigr) y 2 ∗ = Δ − 1 Δ ( f ( 1 , Δ ) − f ( Δ , Δ ) ) .
Proof. We associate dual variables y 1 y_1 y 1 and y 2 ∗ y_2^* y 2 ∗ with the constraints (12) and (13). By strict complementary slackness, for the unique optimal basic feasible solution where m 1 , Δ > 0 m_{1,\Delta} > 0 m 1 , Δ > 0 and m Δ , Δ > 0 m_{\Delta,\Delta} > 0 m Δ , Δ > 0 , the corresponding dual constraints must be exact equalities:
y 1 + ( 1 + 1 Δ ) y 2 ∗ = f ( 1 , Δ ) , (48) y_1 + \left(1 + \frac{1}{\Delta}\right)y_2^* = f(1,\Delta), \tag*{(48)} y 1 + ( 1 + Δ 1 ) y 2 ∗ = f ( 1 , Δ ) , (48)
y 1 + ( 2 Δ ) y 2 ∗ = f ( Δ , Δ ) . (49) y_1 + \left(\frac{2}{\Delta}\right)y_2^* = f(\Delta,\Delta). \tag*{(49)} y 1 + ( Δ 2 ) y 2 ∗ = f ( Δ , Δ ) . (49)
Subtracting (51) from (50) directly yields y 2 ∗ = Δ Δ − 1 ( f ( 1 , Δ ) − f ( Δ , Δ ) ) y_2^* = \frac{\Delta}{\Delta-1}\left(f(1,\Delta)-f(\Delta,\Delta)\right) y 2 ∗ = Δ − 1 Δ ( f ( 1 , Δ ) − f ( Δ , Δ ) ) . For non-basic variables m i , j m_{i,j} m i , j , dual feasibility requires y 1 + ( 1 i + 1 j ) y 2 ∗ > f ( i , j ) y_1 + \left(\frac{1}{i}+\frac{1}{j}\right)y_2^* > f(i,j) y 1 + ( i 1 + j 1 ) y 2 ∗ > f ( i , j ) . Substituting y 1 = f ( Δ , Δ ) − ( 2 Δ ) y 2 ∗ y_1 = f(\Delta,\Delta) - \left(\frac{2}{\Delta}\right)y_2^* y 1 = f ( Δ , Δ ) − ( Δ 2 ) y 2 ∗ into this inequality yields exactly G ∗ ( i , j ) > 0 G^*(i,j) > 0 G ∗ ( i , j ) > 0 .
By explicitly treating non-basic variables as zero, we can solve the equality constraints for the basis:
m 1 , Δ + m Δ , Δ = n − 1 , m_{1,\Delta} + m_{\Delta,\Delta} = n - 1, m 1 , Δ + m Δ , Δ = n − 1 ,
( 1 + 1 Δ ) m 1 , Δ + ( 2 Δ ) m Δ , Δ = n . \left(1 + \frac{1}{\Delta}\right)m_{1,\Delta} + \left(\frac{2}{\Delta}\right)m_{\Delta,\Delta} = n. ( 1 + Δ 1 ) m 1 , Δ + ( Δ 2 ) m Δ , Δ = n .
Substituting m Δ , Δ = n − 1 − m 1 , Δ m_{\Delta,\Delta} = n - 1 - m_{1,\Delta} m Δ , Δ = n − 1 − m 1 , Δ into the second equation algebraically isolates m 1 , Δ = ( Δ − 2 ) n + 2 Δ − 1 m_{1,\Delta} = \frac{(\Delta-2)n+2}{\Delta-1} m 1 , Δ = Δ − 1 ( Δ − 2 ) n + 2 , which immediately determines m Δ , Δ = n − Δ − 1 Δ − 1 m_{\Delta,\Delta} = \frac{n-\Delta-1}{\Delta-1} m Δ , Δ = Δ − 1 n − Δ − 1 .
Before applying this criterion, we characterize the exact parameters under which a tree realizes this collapsed basis without penalty. A tree restricted strictly to { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )} contains exclusively leaves (n 1 n_1 n 1 ) and vertices of maximum degree (n Δ n_\Delta n Δ ). Substituting this into (4) and (5) yields:
n 1 + n Δ = n , n_1 + n_\Delta= n, n 1 + n Δ = n ,
n 1 + Δ n Δ = 2 n − 2. n_1 + \Delta n_\Delta= 2n - 2. n 1 + Δ n Δ = 2 n − 2.
Subtracting these equations directly isolates n Δ n_\Delta n Δ :
n Δ = n − 2 Δ − 1 , n 1 = n ( Δ − 2 ) + 2 Δ − 1 . (50) n_\Delta= \frac{n-2}{\Delta-1}, \qquad n_1 = \frac{n(\Delta-2)+2}{\Delta-1}. \tag*{(50)} n Δ = Δ − 1 n − 2 , n 1 = Δ − 1 n ( Δ − 2 ) + 2 . (50)
For n Δ n_\Delta n Δ to be an integer, the tree order must satisfy n ≡ 2 ( m o d Δ − 1 ) n \equiv2 \pmod{\Delta-1} n ≡ 2 ( mod Δ − 1 ) . Parameterizing the internal vertices as n Δ = p n_\Delta= p n Δ = p for some integer p ≥ 2 p \ge2 p ≥ 2 , the exact order becomes n = p ( Δ − 1 ) + 2 n = p(\Delta-1)+2 n = p ( Δ − 1 ) + 2 . The parameter p p p is strictly bounded below by 2 because the premise of Lemma 4 dictates n ≥ Δ + 2 n \ge\Delta+ 2 n ≥ Δ + 2 , explicitly excluding the star graph K 1 , Δ K_{1,\Delta} K 1 , Δ . The remaining parameters follow immediately:
n 1 = m 1 , Δ = p ( Δ − 2 ) + 2 , m Δ , Δ = p − 1. (51) n_1 = m_{1,\Delta} = p(\Delta-2)+2, \qquad m_{\Delta,\Delta} = p-1. \tag*{(51)} n 1 = m 1 , Δ = p ( Δ − 2 ) + 2 , m Δ , Δ = p − 1. (51)
To formalize the topological existence of such graphs, we define the corresponding unipartite-internal tree class.
Definition 2. Let p ≥ 2 p \ge2 p ≥ 2 . We define T o p t Δ ( p ) \mathcal{T}^{\Delta}_{\mathrm{opt}}(p) T opt Δ ( p ) as the family of all trees constructed by the following procedure: Take an arbitrary underlying tree H H H on p p p vertices. For each vertex v ∈ V ( H ) v \in V(H) v ∈ V ( H ) , attach exactly Δ − d H ( v ) \Delta-d_H(v) Δ − d H ( v ) pendant vertices to it, where d H ( v ) d_H(v) d H ( v ) is the degree of v v v in H H H .
By construction, any tree in T o p t Δ ( p ) \mathcal{T}^{\Delta}_{\mathrm{opt}}(p) T opt Δ ( p ) has exactly p p p internal vertices, all of which attain degree Δ \Delta Δ . Its internal edges correspond directly to the edges of H H H , yielding m Δ , Δ = p − 1 m_{\Delta,\Delta}=p-1 m Δ , Δ = p − 1 , while the total number of attached pendant edges evaluates exactly to:
m 1 , Δ = ∑ v ∈ V ( H ) ( Δ − d H ( v ) ) = p Δ − 2 ( p − 1 ) = p ( Δ − 2 ) + 2. m_{1,\Delta} = \sum_{v \in V(H)} \left(\Delta-d_H(v)\right) = p\Delta- 2(p-1) = p(\Delta-2)+2. m 1 , Δ = v ∈ V ( H ) ∑ ( Δ − d H ( v ) ) = p Δ − 2 ( p − 1 ) = p ( Δ − 2 ) + 2.
Conversely, any tree strictly restricted to the basis { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )} contains only internal vertices of degree Δ \Delta Δ . Because the tree is connected, these p p p maximum degree vertices must induce a connected subtree H H H . Thus, the graph can only be formed by attaching leaves to H H H until all its vertices reach degree Δ \Delta Δ , completely characterizing all valid tree configurations for n ≡ 2 ( m o d Δ − 1 ) n \equiv2 \pmod{\Delta-1} n ≡ 2 ( mod Δ − 1 ) . An illustrative example of this structural collapse is provided in Figure 3 .
Figure 3. An extremal chemical tree belonging to the alternative class T o p t 3 ( 2 ) \mathcal{T}_{\mathrm{opt}}^{3}(2) T opt 3 ( 2 ) for the basis { ( 1 , 3 ) , ( 3 , 3 ) } \{(1,3),(3,3)\} {( 1 , 3 ) , ( 3 , 3 )} . Illustrated is the configuration for Δ = 3 \Delta=3 Δ = 3 and p = 2 p=2 p = 2 , yielding order n = 6 n=6 n = 6 . The internal maximum degree vertices (solid circles) are adjacent via the edge ( 3 , 3 ) (3,3) ( 3 , 3 ) , eliminating the bipartite structure.
Lemma 5 ([Positivity of the AG Gap Function]). For any integer maximum degree 3 ≤ Δ ≤ 8 3 \le\Delta\le8 3 ≤ Δ ≤ 8 , the alternative gap function G ∗ ( x , y ) G^{*}(x,y) G ∗ ( x , y ) for the Arithmetic-Geometric (AG) index is strictly positive for all valid integer pairs 1 ≤ x ≤ y ≤ Δ 1 \le x \le y \le\Delta 1 ≤ x ≤ y ≤ Δ , excluding the basis variables ( 1 , Δ ) (1,\Delta) ( 1 , Δ ) and ( Δ , Δ ) (\Delta,\Delta) ( Δ , Δ ) .
Proof. From Lemma 4, the continuous extension of the alternative gap function and its dual penalty coefficient are analytically defined as:
G ∗ ( x , y ) = 1 − x + y 2 x y + y 2 ∗ ( Δ ) ( 1 x + 1 y − 2 Δ ) , y 2 ∗ ( Δ ) = Δ Δ − 1 ( Δ + 1 2 Δ − 1 ) . G^{*}(x,y)=1-\frac{x+y}{2\sqrt{xy}}+y_{2}^{*}(\Delta)\left(\frac{1}{x}+\frac{1}{y}-\frac{2}{\Delta}\right), \qquad y_{2}^{*}(\Delta)=\frac{\Delta}{\Delta-1}\left(\frac{\Delta+1}{2\sqrt{\Delta}}-1\right). G ∗ ( x , y ) = 1 − 2 x y x + y + y 2 ∗ ( Δ ) ( x 1 + y 1 − Δ 2 ) , y 2 ∗ ( Δ ) = Δ − 1 Δ ( 2 Δ Δ + 1 − 1 ) .
We first establish that the penalty coefficient is strictly positive. Since Δ + 1 2 Δ > 1 \frac{\Delta+1}{2\sqrt{\Delta}}>1 2 Δ Δ + 1 > 1 for all Δ ≥ 2 \Delta\ge2 Δ ≥ 2 , it trivially follows that y 2 ∗ ( Δ ) > 0 y_{2}^{*}(\Delta)>0 y 2 ∗ ( Δ ) > 0 . To prove G ∗ ( x , y ) > 0 G^{*}(x,y)>0 G ∗ ( x , y ) > 0 for all non-basic pairs, we partition the valid domain into two cases.
Case 1: x = y < Δ x=y<\Delta x = y < Δ . The alternative gap function simplifies to:
G ∗ ( x , x ) = 1 − 1 + y 2 ∗ ( Δ ) ( 2 x − 2 Δ ) = 2 y 2 ∗ ( Δ ) Δ − x x Δ . G^{*}(x,x)=1-1+y_{2}^{*}(\Delta)\left(\frac{2}{x}-\frac{2}{\Delta}\right)=2y_{2}^{*}(\Delta)\frac{\Delta-x}{x\Delta}. G ∗ ( x , x ) = 1 − 1 + y 2 ∗ ( Δ ) ( x 2 − Δ 2 ) = 2 y 2 ∗ ( Δ ) x Δ Δ − x .
Given y 2 ∗ ( Δ ) > 0 y_{2}^{*}(\Delta)>0 y 2 ∗ ( Δ ) > 0 and x < Δ x<\Delta x < Δ , the fractional multiplier is strictly positive, guaranteeing G ∗ ( x , x ) > 0 G^{*}(x,x)>0 G ∗ ( x , x ) > 0 .
Case 2: x < y ≤ Δ x<y\le\Delta x < y ≤ Δ . We evaluate the monotonicity of G ∗ ( x , y ) G^{*}(x,y) G ∗ ( x , y ) with respect to its second variable by computing the partial derivative:
∂ G ∗ ( x , y ) ∂ y = − ∂ f ( x , y ) ∂ y − y 2 ∗ ( Δ ) y 2 = − y − x 4 x y 3 / 2 − y 2 ∗ ( Δ ) y 2 . \frac{\partial G^{*}(x,y)}{\partial y}=-\frac{\partial f(x,y)}{\partial y}-\frac{y_{2}^{*}(\Delta)}{y^{2}}=-\frac{y-x}{4\sqrt{x}y^{3/2}}-\frac{y_{2}^{*}(\Delta)}{y^{2}}. ∂ y ∂ G ∗ ( x , y ) = − ∂ y ∂ f ( x , y ) − y 2 y 2 ∗ ( Δ ) = − 4 x y 3/2 y − x − y 2 y 2 ∗ ( Δ ) .
Since y > x y>x y > x and y 2 ∗ ( Δ ) > 0 y_{2}^{*}(\Delta)>0 y 2 ∗ ( Δ ) > 0 , both terms are strictly negative, yielding ∂ G ∗ ∂ y < 0 \frac{\partial G^{*}}{\partial y}<0 ∂ y ∂ G ∗ < 0 . This ensures that for any fixed x x x , the penalty function G ∗ ( x , y ) G^{*}(x,y) G ∗ ( x , y ) is strictly decreasing as y y y increases. Consequently, the absolute minimum over y y y occurs at the upper boundary, establishing the lower bound G ∗ ( x , y ) ≥ G ∗ ( x , Δ ) G^{*}(x,y)\ge G^{*}(x,\Delta) G ∗ ( x , y ) ≥ G ∗ ( x , Δ ) .
To prove global positivity, we formally evaluate G ∗ ( x , Δ ) G^{*}(x,\Delta) G ∗ ( x , Δ ) . By factoring the penalty coefficient to y 2 ∗ ( Δ ) = Δ ( Δ − 1 ) 2 ( Δ + 1 ) y_{2}^{*}(\Delta)=\frac{\sqrt{\Delta}(\sqrt{\Delta}-1)}{2(\sqrt{\Delta}+1)} y 2 ∗ ( Δ ) = 2 ( Δ + 1 ) Δ ( Δ − 1 ) , the continuous boundary evaluates as:
G ∗ ( x , Δ ) = 1 − x + Δ 2 x Δ + Δ ( Δ − 1 ) 2 ( Δ + 1 ) ( Δ − x x Δ ) . G^{*}(x,\Delta)=1-\frac{x+\Delta}{2\sqrt{x\Delta}}+\frac{\sqrt{\Delta}(\sqrt{\Delta}-1)}{2(\sqrt{\Delta}+1)}\left(\frac{\Delta-x}{x\Delta}\right). G ∗ ( x , Δ ) = 1 − 2 x Δ x + Δ + 2 ( Δ + 1 ) Δ ( Δ − 1 ) ( x Δ Δ − x ) .
By establishing a common denominator and factoring out the positive root difference ( Δ − x ) (\sqrt{\Delta}-\sqrt{x}) ( Δ − x ) , this expression is transformed into the closed-form product:
G ∗ ( x , Δ ) = ( Δ − x ) ( x − 1 ) 2 Δ x ( Δ + 1 ) [ ( Δ + 1 ) x − Δ ( Δ − 1 ) ] . G^*(x,\Delta)=\frac{(\sqrt{\Delta}-\sqrt{x})(\sqrt{x}-1)}{2\sqrt{\Delta}x(\sqrt{\Delta}+1)}\left[(\sqrt{\Delta}+1)\sqrt{x}-\sqrt{\Delta}(\sqrt{\Delta}-1)\right]. G ∗ ( x , Δ ) = 2 Δ x ( Δ + 1 ) ( Δ − x ) ( x − 1 ) [ ( Δ + 1 ) x − Δ ( Δ − 1 ) ] .
For any strictly internal degree 1 < x < Δ 1<x<\Delta 1 < x < Δ , the fractional coefficient is strictly positive. Therefore, the sign of the gap function is entirely governed by the bracketed factor. To guarantee G ∗ ( x , Δ ) > 0 G^*(x,\Delta)>0 G ∗ ( x , Δ ) > 0 , the following strict inequality must hold:
( Δ + 1 ) x − Δ ( Δ − 1 ) > 0 ⟹ x > Δ ( Δ − 1 ) Δ + 1 . (\sqrt{\Delta}+1)\sqrt{x}-\sqrt{\Delta}(\sqrt{\Delta}-1)>0\quad\Longrightarrow\quad\sqrt{x}>\frac{\sqrt{\Delta}(\sqrt{\Delta}-1)}{\sqrt{\Delta}+1}. ( Δ + 1 ) x − Δ ( Δ − 1 ) > 0 ⟹ x > Δ + 1 Δ ( Δ − 1 ) .
Let R ( Δ ) = Δ ( Δ − 1 ) Δ + 1 R(\Delta)=\frac{\sqrt{\Delta}(\sqrt{\Delta}-1)}{\sqrt{\Delta}+1} R ( Δ ) = Δ + 1 Δ ( Δ − 1 ) . The derivative of R ( Δ ) R(\Delta) R ( Δ ) , which is R ′ ( Δ ) = ( Δ + 1 ) 2 − 2 Δ 2 Δ ( Δ + 1 ) 2 R'(\Delta)=\frac{(\sqrt{\Delta}+1)^2-2\sqrt{\Delta}}{2\sqrt{\Delta}(\sqrt{\Delta}+1)^2} R ′ ( Δ ) = 2 Δ ( Δ + 1 ) 2 ( Δ + 1 ) 2 − 2 Δ , confirms it is strictly monotonically increasing. Over the specified parameter space 3 ≤ Δ ≤ 8 3\leq\Delta\leq8 3 ≤ Δ ≤ 8 , R ( Δ ) R(\Delta) R ( Δ ) achieves its maximum at Δ = 8 \Delta=8 Δ = 8 , evaluating to R ( 8 ) = 8 − 8 8 + 1 ≈ 1.35 R(8)=\frac{8-\sqrt{8}}{\sqrt{8}+1}\approx1.35 R ( 8 ) = 8 + 1 8 − 8 ≈ 1.35 . Since the minimum possible internal degree is x = 2 x=2 x = 2 , the analytical inequality x ≥ 2 ≈ 1.414 > R ( 8 ) ≥ R ( Δ ) \sqrt{x}\geq\sqrt{2}\approx1.414>R(8)\geq R(\Delta) x ≥ 2 ≈ 1.414 > R ( 8 ) ≥ R ( Δ ) is unequivocally satisfied. Because the boundary condition G ∗ ( x , Δ ) G^*(x,\Delta) G ∗ ( x , Δ ) remains strictly positive, G ∗ ( x , y ) > 0 G^*(x,y)>0 G ∗ ( x , y ) > 0 universally holds across the entire non-basic domain.
With the strict global positivity of the alternative gap function established for 3 ≤ Δ ≤ 8 3\leq\Delta\leq8 3 ≤ Δ ≤ 8 , the integer linear programming framework guarantees that the maximum A G AG A G index is achieved by strictly minimizing the discrete penalty function over the integer domain. In the following corollaries, we apply this optimization constraint to explicitly resolve the exact topological structures of maximal trees for Δ = 3 \Delta=3 Δ = 3 (chemical trees) and Δ = 4 \Delta=4 Δ = 4 . By evaluating the discrete penalty bounds alongside the Diophantine incidence identities, we rigorously characterize the required optimal non-basic edges.
Corollary 8 (AG Index for Chemical Trees). Let T T T be a chemical tree ( Δ = 3 ) (\Delta=3) ( Δ = 3 ) of order n ≥ 5 n\geq5 n ≥ 5 . The maximum value of the Arithmetic-Geometric (AG) index is uniquely determined by the alternative basis { ( 1 , 3 ) , ( 3 , 3 ) } \{(1,3),(3,3)\} {( 1 , 3 ) , ( 3 , 3 )} . Specifically:
If n n n is even, the optimal tree consists strictly of m 1 , 3 m_{1,3} m 1 , 3 and m 3 , 3 m_{3,3} m 3 , 3 edges.
If n n n is odd, the optimal integer configuration includes exactly one degree-2 vertex, strictly introducing m 2 , 3 = 2 m_{2,3}=2 m 2 , 3 = 2 alongside the basis edges.
Proof. By Lemma 4 and Lemma 5, the LP maximization for Δ = 3 \Delta=3 Δ = 3 maps to the alternative basis B = { ( 1 , 3 ) , ( 3 , 3 ) } B=\{(1,3),(3,3)\} B = {( 1 , 3 ) , ( 3 , 3 )} . To construct the continuous upper bound, we evaluate the dual variables. From Lemma 5, the penalty coefficient for Δ = 3 \Delta=3 Δ = 3 is y 2 ∗ ( 3 ) = 3 2 ( 4 2 3 − 1 ) = 3 − 3 2 y_2^*(3)=\frac{3}{2}\left(\frac{4}{2\sqrt{3}}-1\right)=\sqrt{3}-\frac{3}{2} y 2 ∗ ( 3 ) = 2 3 ( 2 3 4 − 1 ) = 3 − 2 3 . The binding dual constraint for the basis edge ( 3 , 3 ) (3,3) ( 3 , 3 ) dictates y 1 ∗ + 2 3 y 2 ∗ = f ( 3 , 3 ) y_1^*+\frac{2}{3}y_2^*=f(3,3) y 1 ∗ + 3 2 y 2 ∗ = f ( 3 , 3 ) . Since f ( 3 , 3 ) = 1 f(3,3)=1 f ( 3 , 3 ) = 1 , isolating the first dual variable yields y 1 ∗ = 1 − 2 3 ( 3 − 3 2 ) = 2 − 2 3 y_1^*=1-\frac{2}{3}\left(\sqrt{3}-\frac{3}{2}\right)=2-\frac{2}{\sqrt{3}} y 1 ∗ = 1 − 3 2 ( 3 − 2 3 ) = 2 − 3 2 .
Applying the decomposition from Eq. (15) , the parameters resolve to A = y 1 ∗ + y 2 ∗ = 1 3 + 1 2 A=y_1^*+y_2^*=\frac{1}{\sqrt{3}}+\frac{1}{2} A = y 1 ∗ + y 2 ∗ = 3 1 + 2 1 and B = − y 1 ∗ − 2 3 − 2 B=-y_1^*-\frac{2}{\sqrt{3}}-2 B = − y 1 ∗ − 3 2 − 2 . Consequently, the objective function reduces to:
A G ( T ) = ( 1 3 + 1 2 ) n + ( 2 3 − 2 ) − ∑ ( i , j ) ∉ { ( 1 , 3 ) , ( 3 , 3 ) } G ∗ ( i , j ) m i , j . (52) AG(T)=\left(\frac{1}{\sqrt{3}}+\frac{1}{2}\right)n+\left(\frac{2}{\sqrt{3}}-2\right)-\sum_{(i,j)\notin\{(1,3),(3,3)\}}G^*(i,j)m_{i,j}. \tag*{(52)} A G ( T ) = ( 3 1 + 2 1 ) n + ( 3 2 − 2 ) − ( i , j ) ∈ / {( 1 , 3 ) , ( 3 , 3 )} ∑ G ∗ ( i , j ) m i , j . (52)
If n n n is even, the LP solutions m 1 , 3 = n + 2 2 m_{1,3}=\frac{n+2}{2} m 1 , 3 = 2 n + 2 and m 3 , 3 = n − 4 2 m_{3,3}=\frac{n-4}{2} m 3 , 3 = 2 n − 4 are integers. Setting all non-basic m i , j = 0 m_{i,j}=0 m i , j = 0 results in a zero penalty, defining the optimal tree.
If n n n is odd, a tree restricted to degrees 1 and 3 cannot exist. The graph must contain at least one vertex of degree 2 (n 2 ≥ 1 n_2 \ge1 n 2 ≥ 1 ). From the incidence relation (7) , the degree-2 edges satisfy m 1 , 2 + 2 m 2 , 2 + m 2 , 3 = 2 n 2 m_{1,2} + 2m_{2,2} + m_{2,3} = 2n_2 m 1 , 2 + 2 m 2 , 2 + m 2 , 3 = 2 n 2 . Multiplying this identity by G ∗ ( 2 , 3 ) ≈ 0.018 G^*(2,3) \approx0.018 G ∗ ( 2 , 3 ) ≈ 0.018 gives:
2 n 2 G ∗ ( 2 , 3 ) = G ∗ ( 2 , 3 ) m 1 , 2 + 2 G ∗ ( 2 , 3 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 . (53) 2n_2G^*(2,3) = G^*(2,3)m_{1,2} + 2G^*(2,3)m_{2,2} + G^*(2,3)m_{2,3}. \tag*{(53)} 2 n 2 G ∗ ( 2 , 3 ) = G ∗ ( 2 , 3 ) m 1 , 2 + 2 G ∗ ( 2 , 3 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 . (53)
Explicit evaluation of the non-basic gap penalties confirms the inequalities G ∗ ( 1 , 2 ) ≈ 0.133 > G ∗ ( 2 , 3 ) G^*(1,2) \approx0.133 > G^*(2,3) G ∗ ( 1 , 2 ) ≈ 0.133 > G ∗ ( 2 , 3 ) and G ∗ ( 2 , 2 ) ≈ 0.077 > 2 G ∗ ( 2 , 3 ) ≈ 0.036 G^*(2,2) \approx0.077 > 2G^*(2,3) \approx0.036 G ∗ ( 2 , 2 ) ≈ 0.077 > 2 G ∗ ( 2 , 3 ) ≈ 0.036 . This establishes a lower bound for the total penalty function:
∑ ( i , j ) ∉ { ( 1 , 3 ) , ( 3 , 3 ) } G ∗ ( i , j ) m i , j = G ∗ ( 1 , 2 ) m 1 , 2 + G ∗ ( 2 , 2 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 ≥ G ∗ ( 2 , 3 ) m 1 , 2 + 2 G ∗ ( 2 , 3 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 = 2 n 2 G ∗ ( 2 , 3 ) . (54) \begin{aligned}
\sum_{(i,j)\notin\{(1,3),(3,3)\}} G^*(i,j)m_{i,j} &= G^*(1,2)m_{1,2} + G^*(2,2)m_{2,2} + G^*(2,3)m_{2,3} \\
&\ge G^*(2,3)m_{1,2} + 2G^*(2,3)m_{2,2} + G^*(2,3)m_{2,3} \\
&= 2n_2G^*(2,3). \tag*{(54)}
\end{aligned} ( i , j ) ∈ / {( 1 , 3 ) , ( 3 , 3 )} ∑ G ∗ ( i , j ) m i , j = G ∗ ( 1 , 2 ) m 1 , 2 + G ∗ ( 2 , 2 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 ≥ G ∗ ( 2 , 3 ) m 1 , 2 + 2 G ∗ ( 2 , 3 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 = 2 n 2 G ∗ ( 2 , 3 ) . (54)
Since n 2 ≥ 1 n_2 \ge1 n 2 ≥ 1 , the minimum penalty is bounded below by 2 G ∗ ( 2 , 3 ) 2G^*(2,3) 2 G ∗ ( 2 , 3 ) . This minimum is attained if and only if n 2 = 1 n_2 = 1 n 2 = 1 , m 2 , 3 = 2 m_{2,3} = 2 m 2 , 3 = 2 , and m 1 , 2 = m 2 , 2 = 0 m_{1,2} = m_{2,2} = 0 m 1 , 2 = m 2 , 2 = 0 . Substituting m 2 , 3 = 2 m_{2,3} = 2 m 2 , 3 = 2 into the LP constraints shifts the basic variables to m 1 , 3 = n + 1 2 m_{1,3} = \frac{n+1}{2} m 1 , 3 = 2 n + 1 and m 3 , 3 = n − 5 2 m_{3,3} = \frac{n-5}{2} m 3 , 3 = 2 n − 5 , generating a valid integer configuration.
Corollary 9 (AG Index for Δ = 4 \Delta= 4 Δ = 4 ). Let T T T be a tree of order n ≥ 6 n \ge6 n ≥ 6 with maximum degree Δ = 4 \Delta= 4 Δ = 4 . The maximum value of the Arithmetic-Geometric (AG) index is uniquely determined by the alternative basis { ( 1 , 4 ) , ( 4 , 4 ) } \{(1,4),(4,4)\} {( 1 , 4 ) , ( 4 , 4 )} . Specifically:
If n ≡ 2 ( m o d 3 ) n \equiv2 \pmod{3} n ≡ 2 ( mod 3 ) , the optimal tree consists solely of m 1 , 4 m_{1,4} m 1 , 4 and m 4 , 4 m_{4,4} m 4 , 4 edges.
If n ≡ 1 ( m o d 3 ) n \equiv1 \pmod{3} n ≡ 1 ( mod 3 ) , the optimal configuration includes exactly one degree-3 vertex, introducing m 3 , 4 = 3 m_{3,4} = 3 m 3 , 4 = 3 alongside the basis edges.
If n ≡ 0 ( m o d 3 ) n \equiv0 \pmod{3} n ≡ 0 ( mod 3 ) , the optimal configuration includes exactly one degree-2 vertex, introducing m 2 , 4 = 2 m_{2,4} = 2 m 2 , 4 = 2 alongside the basis edges.
Proof. By Lemma 4, the LP maximization for Δ = 4 \Delta= 4 Δ = 4 maps to the alternative basis B = { ( 1 , 4 ) , ( 4 , 4 ) } B = \{(1,4),(4,4)\} B = {( 1 , 4 ) , ( 4 , 4 )} . To construct the continuous upper bound, we evaluate the dual variables. The penalty coefficient evaluates to y 2 ∗ ( 4 ) = 4 3 ( 5 4 − 1 ) = 1 3 y_2^*(4) = \frac{4}{3}\left(\frac{5}{4} - 1\right) = \frac{1}{3} y 2 ∗ ( 4 ) = 3 4 ( 4 5 − 1 ) = 3 1 .
The dual constraint for the basis edge ( 4 , 4 ) (4,4) ( 4 , 4 ) dictates y 1 ∗ + 2 4 y 2 ∗ = f ( 4 , 4 ) y_1^* + \frac{2}{4}y_2^* = f(4,4) y 1 ∗ + 4 2 y 2 ∗ = f ( 4 , 4 ) . Since f ( 4 , 4 ) = 1 f(4,4) = 1 f ( 4 , 4 ) = 1 , isolating y 1 ∗ y_1^* y 1 ∗ yields y 1 ∗ = 1 − 1 2 ( 1 3 ) = 5 6 y_1^* = 1 - \frac{1}{2}\left(\frac{1}{3}\right) = \frac{5}{6} y 1 ∗ = 1 − 2 1 ( 3 1 ) = 6 5 .
Applying the decomposition from Eq. (15) , the parameters resolve to A = y 1 ∗ + y 2 ∗ = 5 6 + 1 3 = 7 6 A = y_1^* + y_2^* = \frac{5}{6} + \frac{1}{3} = \frac{7}{6} A = y 1 ∗ + y 2 ∗ = 6 5 + 3 1 = 6 7 and B = − y 1 ∗ = − 5 6 B = -y_1^* = -\frac{5}{6} B = − y 1 ∗ = − 6 5 . The objective function reduces to:
A G ( T ) = 7 6 n − 5 6 − ∑ ( i , j ) ∉ { ( 1 , 4 ) , ( 4 , 4 ) } G ∗ ( i , j ) m i , j . (55) AG(T) = \frac{7}{6}n - \frac{5}{6} - \sum_{(i,j)\notin\{(1,4),(4,4)\}} G^*(i,j)m_{i,j}. \tag*{(55)} A G ( T ) = 6 7 n − 6 5 − ( i , j ) ∈ / {( 1 , 4 ) , ( 4 , 4 )} ∑ G ∗ ( i , j ) m i , j . (55)
The LP solutions are m 1 , 4 = 2 n + 2 3 m_{1,4} = \frac{2n+2}{3} m 1 , 4 = 3 2 n + 2 and m 4 , 4 = n − 5 3 m_{4,4} = \frac{n-5}{3} m 4 , 4 = 3 n − 5 . If n ≡ 2 ( m o d 3 ) n \equiv2 \pmod{3} n ≡ 2 ( mod 3 ) , these solutions are integers. Setting all non-basic m i , j = 0 m_{i,j} = 0 m i , j = 0 results in a zero penalty, defining the optimal tree.
If n ≢ 2 ( m o d 3 ) n \not\equiv2 \pmod{3} n ≡ 2 ( mod 3 ) , a tree restricted to degrees 1 and 4 cannot exist. The graph must contain internal vertices of degree k ∈ { 2 , 3 } k \in\{2,3\} k ∈ { 2 , 3 } . Evaluation of the non-basic gap penalties yields: G ∗ ( 3 , 4 ) ≈ 0.017 G^*(3,4) \approx0.017 G ∗ ( 3 , 4 ) ≈ 0.017 , G ∗ ( 2 , 4 ) ≈ 0.023 G^*(2,4) \approx0.023 G ∗ ( 2 , 4 ) ≈ 0.023 , G ∗ ( 3 , 3 ) ≈ 0.055 G^*(3,3) \approx0.055 G ∗ ( 3 , 3 ) ≈ 0.055 , G ∗ ( 2 , 3 ) ≈ 0.090 G^*(2,3) \approx0.090 G ∗ ( 2 , 3 ) ≈ 0.090 , G ∗ ( 1 , 3 ) ≈ 0.123 G^*(1,3) \approx0.123 G ∗ ( 1 , 3 ) ≈ 0.123 , G ∗ ( 2 , 2 ) ≈ 0.166 G^*(2,2) \approx0.166 G ∗ ( 2 , 2 ) ≈ 0.166 , and G ∗ ( 1 , 2 ) ≈ 0.272 G^*(1,2) \approx0.272 G ∗ ( 1 , 2 ) ≈ 0.272 .
To minimize the penalty, we analyze the lower bound required to introduce these vertices using the incidence identities (9) .
For any degree-3 vertex (n 3 ≥ 1 n_3 \ge1 n 3 ≥ 1 ), the identity m 1 , 3 + m 2 , 3 + 2 m 3 , 3 + m 3 , 4 = 3 n 3 m_{1,3} + m_{2,3} + 2m_{3,3} + m_{3,4} = 3n_3 m 1 , 3 + m 2 , 3 + 2 m 3 , 3 + m 3 , 4 = 3 n 3 holds. Since G ∗ ( 1 , 3 ) > G ∗ ( 3 , 4 ) G^*(1,3) > G^*(3,4) G ∗ ( 1 , 3 ) > G ∗ ( 3 , 4 ) , G ∗ ( 2 , 3 ) > G ∗ ( 3 , 4 ) G^*(2,3) > G^*(3,4) G ∗ ( 2 , 3 ) > G ∗ ( 3 , 4 ) , and G ∗ ( 3 , 3 ) ≈ 0.055 > 2 G ∗ ( 3 , 4 ) ≈ 0.034 G^*(3,3) \approx0.055 > 2G^*(3,4) \approx0.034 G ∗ ( 3 , 3 ) ≈ 0.055 > 2 G ∗ ( 3 , 4 ) ≈ 0.034 , the penalty associated with degree-3 vertices is bounded below:
∑ ( i , 3 ) or ( 3 , j ) G ∗ ( i , j ) m i , j = G ∗ ( 1 , 3 ) m 1 , 3 + G ∗ ( 2 , 3 ) m 2 , 3 + G ∗ ( 3 , 3 ) m 3 , 3 + G ∗ ( 3 , 4 ) m 3 , 4 ≥ G ∗ ( 3 , 4 ) m 1 , 3 + G ∗ ( 3 , 4 ) m 2 , 3 + 2 G ∗ ( 3 , 4 ) m 3 , 3 + G ∗ ( 3 , 4 ) m 3 , 4 = 3 n 3 G ∗ ( 3 , 4 ) . (56) \begin{aligned}
\sum_{\substack{(i,3)\ \text{or}\ (3,j)}} G^*(i,j)m_{i,j} = G^*(1,3)m_{1,3} + G^*(2,3)m_{2,3} + G^*(3,3)m_{3,3} + G^*(3,4)m_{3,4} \\
&\ge G^*(3,4)m_{1,3} + G^*(3,4)m_{2,3} + 2G^*(3,4)m_{3,3} + G^*(3,4)m_{3,4} \\
&= 3n_3G^*(3,4). \tag*{(56)}
\end{aligned} ( i , 3 ) or ( 3 , j ) ∑ G ∗ ( i , j ) m i , j = G ∗ ( 1 , 3 ) m 1 , 3 + G ∗ ( 2 , 3 ) m 2 , 3 + G ∗ ( 3 , 3 ) m 3 , 3 + G ∗ ( 3 , 4 ) m 3 , 4 ≥ G ∗ ( 3 , 4 ) m 1 , 3 + G ∗ ( 3 , 4 ) m 2 , 3 + 2 G ∗ ( 3 , 4 ) m 3 , 3 + G ∗ ( 3 , 4 ) m 3 , 4 = 3 n 3 G ∗ ( 3 , 4 ) . (56)
Similarly, for any degree-2 vertex (n 2 ≥ 1 n_2 \ge1 n 2 ≥ 1 ), the identity m 1 , 2 + 2 m 2 , 2 + m 2 , 3 + m 2 , 4 = 2 n 2 m_{1,2} + 2m_{2,2} + m_{2,3} + m_{2,4} = 2n_2 m 1 , 2 + 2 m 2 , 2 + m 2 , 3 + m 2 , 4 = 2 n 2 holds. Since G ∗ ( 1 , 2 ) > G ∗ ( 2 , 4 ) G^*(1,2) > G^*(2,4) G ∗ ( 1 , 2 ) > G ∗ ( 2 , 4 ) , G ∗ ( 2 , 3 ) > G ∗ ( 2 , 4 ) G^*(2,3) > G^*(2,4) G ∗ ( 2 , 3 ) > G ∗ ( 2 , 4 ) , and G ∗ ( 2 , 2 ) ≈ 0.166 > 2 G ∗ ( 2 , 4 ) ≈ 0.046 G^*(2,2) \approx0.166 > 2G^*(2,4) \approx0.046 G ∗ ( 2 , 2 ) ≈ 0.166 > 2 G ∗ ( 2 , 4 ) ≈ 0.046 , the penalty contribution is bounded below:
∑ ( i , 2 ) or ( 2 , j ) G ∗ ( i , j ) m i , j = G ∗ ( 1 , 2 ) m 1 , 2 + G ∗ ( 2 , 2 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 + G ∗ ( 2 , 4 ) m 2 , 4 ≥ G ∗ ( 2 , 4 ) m 1 , 2 + 2 G ∗ ( 2 , 4 ) m 2 , 2 + G ∗ ( 2 , 4 ) m 2 , 3 + G ∗ ( 2 , 4 ) m 2 , 4 = 2 n 2 G ∗ ( 2 , 4 ) . (57) \begin{aligned}
\sum_{\substack{(i,2)\ \text{or}\ (2,j)}} G^*(i,j)m_{i,j} = G^*(1,2)m_{1,2} + G^*(2,2)m_{2,2} + G^*(2,3)m_{2,3} + G^*(2,4)m_{2,4} \\
&\ge G^*(2,4)m_{1,2} + 2G^*(2,4)m_{2,2} + G^*(2,4)m_{2,3} + G^*(2,4)m_{2,4} \\
&= 2n_2G^*(2,4). \tag*{(57)}
\end{aligned} ( i , 2 ) or ( 2 , j ) ∑ G ∗ ( i , j ) m i , j = G ∗ ( 1 , 2 ) m 1 , 2 + G ∗ ( 2 , 2 ) m 2 , 2 + G ∗ ( 2 , 3 ) m 2 , 3 + G ∗ ( 2 , 4 ) m 2 , 4 ≥ G ∗ ( 2 , 4 ) m 1 , 2 + 2 G ∗ ( 2 , 4 ) m 2 , 2 + G ∗ ( 2 , 4 ) m 2 , 3 + G ∗ ( 2 , 4 ) m 2 , 4 = 2 n 2 G ∗ ( 2 , 4 ) . (57)
To determine which non-basic vertices must be introduced, we subtract the vertex sum identity (n 1 + n 2 + n 3 + n 4 = n n_1 + n_2 + n_3 + n_4 = n n 1 + n 2 + n 3 + n 4 = n ) from the degree sum identity (n 1 + 2 n 2 + 3 n 3 + 4 n 4 = 2 n − 2 n_1 + 2n_2 + 3n_3 + 4n_4 = 2n - 2 n 1 + 2 n 2 + 3 n 3 + 4 n 4 = 2 n − 2 ) to isolate 3 n 4 = n − 2 − n 2 − 2 n 3 3n_4 = n - 2 - n_2 - 2n_3 3 n 4 = n − 2 − n 2 − 2 n 3 . This yields the modular congruence:
n 2 + 2 n 3 ≡ n − 2 ( m o d 3 ) . (58) n_2 + 2n_3 \equiv n - 2 \pmod{3}. \tag*{(58)} n 2 + 2 n 3 ≡ n − 2 ( mod 3 ) . (58)
Case n ≡ 1 ( m o d 3 ) n \equiv1 \pmod{3} n ≡ 1 ( mod 3 ) : Constraint (60) evaluates to n 2 + 2 n 3 ≡ 2 ( m o d 3 ) n_2 + 2n_3 \equiv2 \pmod{3} n 2 + 2 n 3 ≡ 2 ( mod 3 ) . The minimal integer pairs satisfying this congruence are ( 0 , 1 ) (0,1) ( 0 , 1 ) and ( 2 , 0 ) (2,0) ( 2 , 0 ) . If ( n 2 , n 3 ) = ( 2 , 0 ) (n_2,n_3) = (2,0) ( n 2 , n 3 ) = ( 2 , 0 ) , the penalty is bounded below by 2 × ( 2 G ∗ ( 2 , 4 ) ) ≈ 0.092 2 \times(2G^*(2,4)) \approx0.092 2 × ( 2 G ∗ ( 2 , 4 )) ≈ 0.092 . If ( n 2 , n 3 ) = ( 0 , 1 ) (n_2,n_3) = (0,1) ( n 2 , n 3 ) = ( 0 , 1 ) , the penalty is bounded below by 1 × ( 3 G ∗ ( 3 , 4 ) ) ≈ 0.051 1 \times(3G^*(3,4)) \approx0.051 1 × ( 3 G ∗ ( 3 , 4 )) ≈ 0.051 . Since 0.051 < 0.092 0.051 < 0.092 0.051 < 0.092 , the minimum penalty is attained by setting n 3 = 1 n_3 = 1 n 3 = 1 and n 2 = 0 n_2 = 0 n 2 = 0 . Substituting m 3 , 4 = 3 m_{3,4} = 3 m 3 , 4 = 3 into the LP constraints shifts the basic variables to m 1 , 4 = 2 n + 1 3 m_{1,4} = \frac{2n+1}{3} m 1 , 4 = 3 2 n + 1 , generating a valid integer configuration.
Case n ≡ 0 ( m o d 3 ) n \equiv0 \pmod{3} n ≡ 0 ( mod 3 ) : Constraint (60) evaluates to n 2 + 2 n 3 ≡ 1 ( m o d 3 ) n_2 + 2n_3 \equiv1 \pmod{3} n 2 + 2 n 3 ≡ 1 ( mod 3 ) . The minimal integer pairs satisfying this relation are ( 1 , 0 ) (1,0) ( 1 , 0 ) and ( 0 , 2 ) (0,2) ( 0 , 2 ) . If ( n 2 , n 3 ) = ( 0 , 2 ) (n_2,n_3) = (0,2) ( n 2 , n 3 ) = ( 0 , 2 ) , the lower penalty bound is 2 × ( 3 G ∗ ( 3 , 4 ) ) ≈ 0.102 2 \times(3G^*(3,4)) \approx0.102 2 × ( 3 G ∗ ( 3 , 4 )) ≈ 0.102 . If ( n 2 , n 3 ) = ( 1 , 0 ) (n_2,n_3) = (1,0) ( n 2 , n 3 ) = ( 1 , 0 ) , the lower penalty bound is 1 × ( 2 G ∗ ( 2 , 4 ) ) ≈ 0.046 1 \times(2G^*(2,4)) \approx0.046 1 × ( 2 G ∗ ( 2 , 4 )) ≈ 0.046 . Since 0.046 < 0.102 0.046 < 0.102 0.046 < 0.102 , the minimum penalty is attained by setting n 2 = 1 n_2 = 1 n 2 = 1 and n 3 = 0 n_3 = 0 n 3 = 0 . Substituting m 2 , 4 = 2 m_{2,4} = 2 m 2 , 4 = 2 resolves the basic constraints to m 1 , 4 = 2 n 3 m_{1,4} = \frac{2n}{3} m 1 , 4 = 3 2 n , defining the minimal discrete configuration.
The Degree-Dependent Basis { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} for the S O 11 SO_{11} S O 11 Index
As established, neither the standard basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} nor the alternative basis { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )} universally maximizes the S O 11 SO_{11} S O 11 index. Specifically, the standard basis fails for Δ ≥ 9 \Delta\ge9 Δ ≥ 9 . This limitation necessitates a degree-dependent optimal basis parameterized by { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} . In this section, we formally derive the exact integer degree k k k that uniquely maximizes the S O 11 SO_{11} S O 11 index as a function of Δ \Delta Δ .
Theorem 2 (Degree-Dependent Optimal Basis). Let T T T be a tree of order n n n and maximum degree Δ ≥ 3 \Delta\ge3 Δ ≥ 3 . The linear program maximizing the S O 11 SO_{11} S O 11 index admits an optimal basis feasible solution generated by the basis { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} , where the optimal integer degree k k k is uniquely determined by maximizing the characteristic polynomial:
M ( k ) = − k 3 − ( Δ + 1 ) k 2 + ( Δ 2 − Δ − 1 ) k . (59) M(k) = -k^3 - (\Delta+ 1)k^2 + (\Delta^2 - \Delta- 1)k. \tag*{(59)} M ( k ) = − k 3 − ( Δ + 1 ) k 2 + ( Δ 2 − Δ − 1 ) k . (59)
This integer solution is strictly bounded to k ∈ { ⌊ x ∗ ⌋ , ⌈ x ∗ ⌉ } k \in\{\lfloor x^* \rfloor, \lceil x^* \rceil\} k ∈ {⌊ x ∗ ⌋ , ⌈ x ∗ ⌉} , where x ∗ x^* x ∗ is the continuous critical point evaluated as the positive root:
x ∗ = 4 Δ 2 − Δ − 2 − ( Δ + 1 ) 3 . (60) x^* = \frac{\sqrt{4\Delta^2-\Delta-2}-(\Delta+1)}{3}. \tag*{(60)} x ∗ = 3 4 Δ 2 − Δ − 2 − ( Δ + 1 ) . (60)
Proof. To establish the global optimality of the basis { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} , we evaluate the dual variables y 1 y_1 y 1 and y 2 y_2 y 2 . By strict complementary slackness:
y 1 + ( 1 + 1 Δ ) y 2 = f ( 1 , Δ ) , (61) y_1+\left(1+\frac{1}{\Delta}\right)y_2=f(1,\Delta), \tag*{(61)} y 1 + ( 1 + Δ 1 ) y 2 = f ( 1 , Δ ) , (61)
y 1 + ( 1 k + 1 Δ ) y 2 = f ( k , Δ ) . (62) y_1+\left(\frac{1}{k}+\frac{1}{\Delta}\right)y_2=f(k,\Delta). \tag*{(62)} y 1 + ( k 1 + Δ 1 ) y 2 = f ( k , Δ ) . (62)
Subtracting (64) from (63) isolates the dual penalty coefficient:
( 1 − 1 k ) y 2 = f ( 1 , Δ ) − f ( k , Δ ) ⟹ y 2 = k k − 1 ( f ( 1 , Δ ) − f ( k , Δ ) ) . \left(1-\frac{1}{k}\right)y_2=f(1,\Delta)-f(k,\Delta)\Longrightarrow y_2=\frac{k}{k-1}\left(f(1,\Delta)-f(k,\Delta)\right). ( 1 − k 1 ) y 2 = f ( 1 , Δ ) − f ( k , Δ ) ⟹ y 2 = k − 1 k ( f ( 1 , Δ ) − f ( k , Δ ) ) .
We define the characteristic function M ( k ) = − y 2 = k k − 1 ( f ( k , Δ ) − f ( 1 , Δ ) ) M(k)=-y_2=\frac{k}{k-1}\left(f(k,\Delta)-f(1,\Delta)\right) M ( k ) = − y 2 = k − 1 k ( f ( k , Δ ) − f ( 1 , Δ ) ) . For the S O 11 SO_{11} S O 11 index, f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 f(x,y)=y^3+y^2x-x^2y-x^3 f ( x , y ) = y 3 + y 2 x − x 2 y − x 3 . The algebraic difference evaluates to:
f ( k , Δ ) − f ( 1 , Δ ) = ( Δ 3 + k Δ 2 − k 2 Δ − k 3 ) − ( Δ 3 + Δ 2 − Δ − 1 ) = ( k − 1 ) Δ 2 − ( k 2 − 1 ) Δ − ( k 3 − 1 ) . \begin{aligned}
f(k,\Delta)-f(1,\Delta)&=(\Delta^3+k\Delta^2-k^2\Delta-k^3)-(\Delta^3+\Delta^2-\Delta-1)\\
&=(k-1)\Delta^2-(k^2-1)\Delta-(k^3-1).
\end{aligned} f ( k , Δ ) − f ( 1 , Δ ) = ( Δ 3 + k Δ 2 − k 2 Δ − k 3 ) − ( Δ 3 + Δ 2 − Δ − 1 ) = ( k − 1 ) Δ 2 − ( k 2 − 1 ) Δ − ( k 3 − 1 ) .
Factoring out the term ( k − 1 ) (k-1) ( k − 1 ) cleanly cancels the denominator in the definition of M ( k ) M(k) M ( k ) , yielding the cubic polynomial:
M ( k ) = − k 3 − ( Δ + 1 ) k 2 + ( Δ 2 − Δ − 1 ) k . M(k)=-k^3-(\Delta+1)k^2+(\Delta^2-\Delta-1)k. M ( k ) = − k 3 − ( Δ + 1 ) k 2 + ( Δ 2 − Δ − 1 ) k .
The basis is strictly optimal if and only if the dual gap satisfies G k ∗ ( x , Δ ) ≥ 0 G_k^*(x,\Delta)\ge0 G k ∗ ( x , Δ ) ≥ 0 for all valid degrees x x x . The gap function is defined as:
G k ∗ ( x , Δ ) = f ( 1 , Δ ) − f ( x , Δ ) − y 2 ( 1 − 1 x ) . G_k^*(x,\Delta)=f(1,\Delta)-f(x,\Delta)-y_2\left(1-\frac{1}{x}\right). G k ∗ ( x , Δ ) = f ( 1 , Δ ) − f ( x , Δ ) − y 2 ( 1 − x 1 ) .
Substituting y 2 = − M ( k ) y_2=-M(k) y 2 = − M ( k ) and factoring out x − 1 x \frac{x-1}{x} x x − 1 yields:
G k ∗ ( x , Δ ) = f ( 1 , Δ ) − f ( x , Δ ) + M ( k ) ( x − 1 x ) = x − 1 x [ x x − 1 ( f ( 1 , Δ ) − f ( x , Δ ) ) + M ( k ) ] = x − 1 x [ M ( k ) − M ( x ) ] . \begin{aligned}
G_k^*(x,\Delta)&=f(1,\Delta)-f(x,\Delta)+M(k)\left(\frac{x-1}{x}\right)\\
&=\frac{x-1}{x}\left[\frac{x}{x-1}\left(f(1,\Delta)-f(x,\Delta)\right)+M(k)\right]\\
&=\frac{x-1}{x}[M(k)-M(x)].
\end{aligned} G k ∗ ( x , Δ ) = f ( 1 , Δ ) − f ( x , Δ ) + M ( k ) ( x x − 1 ) = x x − 1 [ x − 1 x ( f ( 1 , Δ ) − f ( x , Δ ) ) + M ( k ) ] = x x − 1 [ M ( k ) − M ( x )] .
For any valid degree x > 1 x>1 x > 1 , the fractional prefix x − 1 x \frac{x-1}{x} x x − 1 is strictly positive. Therefore, the condition G k ∗ ( x , Δ ) ≥ 0 G_k^*(x,\Delta)\ge0 G k ∗ ( x , Δ ) ≥ 0 inherently holds if and only if M ( k ) ≥ M ( x ) M(k)\ge M(x) M ( k ) ≥ M ( x ) for all integer alternatives x x x . This is satisfied by selecting the optimal integer k k k as the maximum of the polynomial M M M .
To determine this maximum analytically, we set the derivative of the continuous extension to zero, M ′ ( x ) = − 3 x 2 − 2 ( Δ + 1 ) x + ( Δ 2 − Δ − 1 ) = 0 M'(x)=-3x^2-2(\Delta+1)x+(\Delta^2-\Delta-1)=0 M ′ ( x ) = − 3 x 2 − 2 ( Δ + 1 ) x + ( Δ 2 − Δ − 1 ) = 0 . The global maximum corresponds to the positive root:
x ∗ = 4 Δ 2 − Δ − 2 − ( Δ + 1 ) 3 . x^*=\frac{\sqrt{4\Delta^2-\Delta-2}-(\Delta+1)}{3}. x ∗ = 3 4 Δ 2 − Δ − 2 − ( Δ + 1 ) .
Since the optimal degree k k k must be an integer, it is strictly bounded to the nearest integers k ∈ { ⌊ x ∗ ⌋ , ⌈ x ∗ ⌉ } k\in\{\lfloor x^*\rfloor,\lceil x^*\rceil\} k ∈ {⌊ x ∗ ⌋ , ⌈ x ∗ ⌉} .
Corollary 10 (Asymptotic Scaling and Basis Transition for S O 11 SO_{11} S O 11 ). The optimal basis for the S O 11 SO_{11} S O 11 index strictly transitions from k = 2 k = 2 k = 2 to k = 3 k = 3 k = 3 at Δ = 9 \Delta= 9 Δ = 9 . Asymptotically, as Δ → ∞ \Delta\to\infty Δ → ∞ , the optimal integer degree scales proportionally to Δ / 3 \Delta/3 Δ/3 .
Proof. By Theorem 2, the optimal integer degree k k k is determined by maximizing M ( k ) M(k) M ( k ) near the critical point x ∗ x^* x ∗ . We evaluate the polynomial at the bounding integers to identify the transition threshold:
For Δ = 8 \Delta= 8 Δ = 8 : x ∗ = 246 − 9 3 ≈ 2.23 x^* = \frac{\sqrt{246}-9}{3} \approx2.23 x ∗ = 3 246 − 9 ≈ 2.23 . Evaluating the bounding integers yields M ( 2 ) = 66 M(2) = 66 M ( 2 ) = 66 and M ( 3 ) = 57 M(3) = 57 M ( 3 ) = 57 . Since M ( 2 ) > M ( 3 ) M(2) > M(3) M ( 2 ) > M ( 3 ) , the basis k = 2 k = 2 k = 2 remains optimal.
For Δ = 9 \Delta= 9 Δ = 9 : x ∗ = 313 − 10 3 ≈ 2.56 x^* = \frac{\sqrt{313}-10}{3} \approx2.56 x ∗ = 3 313 − 10 ≈ 2.56 . Evaluating the bounding integers yields M ( 2 ) = 94 M(2) = 94 M ( 2 ) = 94 and M ( 3 ) = 96 M(3) = 96 M ( 3 ) = 96 . Since M ( 3 ) > M ( 2 ) M(3) > M(2) M ( 3 ) > M ( 2 ) , the optimal basis strictly shifts to k = 3 k = 3 k = 3 .
To determine the asymptotic scaling, we evaluate the limit of the continuous critical point as Δ → ∞ \Delta\to\infty Δ → ∞ :
lim Δ → ∞ x ∗ Δ = lim Δ → ∞ 4 Δ 2 − Δ − 2 − ( Δ + 1 ) 3 Δ = 2 − 1 3 = 1 3 . \lim_{\Delta\to\infty} \frac{x^*}{\Delta} = \lim_{\Delta\to\infty} \frac{\sqrt{4\Delta^2-\Delta-2}-(\Delta+1)}{3\Delta} = \frac{2-1}{3} = \frac{1}{3}. Δ → ∞ lim Δ x ∗ = Δ → ∞ lim 3Δ 4 Δ 2 − Δ − 2 − ( Δ + 1 ) = 3 2 − 1 = 3 1 .
Consequently, x ∗ ∼ Δ 3 x^* \sim\frac{\Delta}{3} x ∗ ∼ 3 Δ . This rigorously demonstrates that for sufficiently large maximum degrees, the optimal basis parameter strictly diverges from the boundaries k = 2 k = 2 k = 2 and k = Δ k = \Delta k = Δ , scaling precisely as a one-third fraction of the maximum degree.
An illustrative example of this structural transition is provided in Figure 4 . By utilizing the universal generative class T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) established in § 3 , we visually construct the extremal configuration for Δ = 9 \Delta= 9 Δ = 9 , where the optimal basis shifts to k = 3 k = 3 k = 3 . Setting the parameter q = 1 q = 1 q = 1 generates the minimal non-trivial configuration T ∈ T ( 3 , 9 , 1 ) T \in\mathcal{T}(3,9,1) T ∈ T ( 3 , 9 , 1 ) that maximizes the S O 11 SO_{11} S O 11 index. By directly applying the derived structural formulas, the exact vertex distribution evaluates to:
Figure 4. The minimal non-trivial extremal tree T ∈ T ( 3 , 9 , 1 ) T \in\mathcal{T}(3,9,1) T ∈ T ( 3 , 9 , 1 ) of order n = 28 n=28 n = 28 with maximum degree Δ = 9 \Delta=9 Δ = 9 . The internal structure is a star K 1 , 3 K_{1,3} K 1 , 3 connecting the single degree-3 vertex in V 3 V_3 V 3 (square) to three degree-9 vertices in V 9 V_9 V 9 (solid circles). This exactly satisfies the optimal basis { ( 1 , 9 ) , ( 3 , 9 ) } \{(1,9),(3,9)\} {( 1 , 9 ) , ( 3 , 9 )} , uniquely maximizing the S O 11 SO_{11} S O 11 index. Pendant leaves (V 1 V_1 V 1 ) are represented by hollow circles.
n 3 = q = 1 , n_3 = q = 1, n 3 = q = 1 ,
n 9 = q ( k − 1 ) + 1 = 1 ( 2 ) + 1 = 3 , n_9 = q(k-1)+1 = 1(2)+1 = 3, n 9 = q ( k − 1 ) + 1 = 1 ( 2 ) + 1 = 3 ,
n 1 = q ( Δ k − Δ − k ) + Δ = 1 ( 27 − 9 − 3 ) + 9 = 24. n_1 = q(\Delta k-\Delta-k)+\Delta= 1(27-9-3)+9 = 24. n 1 = q ( Δ k − Δ − k ) + Δ = 1 ( 27 − 9 − 3 ) + 9 = 24.
Summing these vertices confirms the tree order n = 28 n = 28 n = 28 . As depicted, the single internal vertex of degree 3 connects to three maximum degree vertices, which together anchor the twenty-four leaves.
Concluding Remarks
In this paper, we established a unified linear programming approach that replaces index-specific combinatorial proofs with a deterministic algebraic methodology. By formulating the optimization over degree-pair multiplicities and exploiting primal-dual strict complementary slackness, we proved that maximizing a vertex-degree-based index over trees strictly reduces to minimizing a discrete dual penalty function.
We derived a continuous, single-variable test condition that guarantees the global optimality of the standard edge basis { ( 1 , Δ ) , ( 2 , Δ ) } \{(1,\Delta),(2,\Delta)\} {( 1 , Δ ) , ( 2 , Δ )} . This criterion systematically resolved the extremal trees for the Tangent, S O 1 SO_1 S O 1 , S O 2 SO_2 S O 2 , σ \sigma σ -irregularity, Albertson, and A G AG A G indices.
Furthermore, the dual optimality conditions establish exact analytical thresholds dictating necessary basis shifts. By introducing the bipartite generative class T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) , we explicitly characterized the topologies resulting from these transitions. This allowed us to analytically resolve the structural collapse into the alternative basis { ( 1 , Δ ) , ( Δ , Δ ) } \{(1,\Delta),(\Delta,\Delta)\} {( 1 , Δ ) , ( Δ , Δ )} for the A G AG A G index on small maximum degrees (Δ ∈ { 3 , 4 } \Delta\in\{3,4\} Δ ∈ { 3 , 4 } ). For the S O 11 SO_{11} S O 11 index, we proved that while the standard basis remains optimal exclusively for Δ ≤ 8 \Delta\leq8 Δ ≤ 8 , the configuration strictly transitions to a degree-dependent basis { ( 1 , Δ ) , ( k , Δ ) } \{(1,\Delta),(k,\Delta)\} {( 1 , Δ ) , ( k , Δ )} for Δ ≥ 9 \Delta\ge9 Δ ≥ 9 , where the optimal internal degree k k k scales asymptotically as Δ / 3 \Delta/3 Δ/3 based on the maximum of a derived cubic polynomial.
This framework provides an exact analytical pathway for any topological index whose extremal configuration parameterizes within T ( k , Δ , q ) \mathcal{T}(k,\Delta,q) T ( k , Δ , q ) or its unipartite forms. Future research can systematically extend this dual penalty mechanism to graph classes beyond trees, such as unicyclic or bicyclic graphs with bounded maximum degrees.
Acknowledgements
The research has been supported by the research project of the Ministry of Education, Science and Technological Development of the Republic of Serbia (No. 451-03-34/2026-03/200124).