1. Introduction
All graphs considered in this paper are finite, simple, and undirected. For standard graph-theoretic notation and terminology, the reader is referred to [
1].
We use
to denote the set of all
-graphs, in which each of them has
n vertices and
m edges. Let
be a simple graph with order
n and degree sequence
. For a positive real
, the
-th degree power is defined as
The investigation of degree-based topological indices originated in chemical graph theory to characterize molecular structures. The first Zagreb index, introduced by Gutman and Trinajstić in 1972 [
2], is defined as the sum of squared vertex degrees, namely
. Initially applied to approximate the total
-electron energy of alternant hydrocarbons, this index has been established as a fundamental topological invariant. Subsequently, this index was generalized to the general zeroth-order Randić index, also known as the variable first Zagreb index, by allowing an arbitrary real exponent
. The development and applications of degree-based topological indices are surveyed by Ali et al. [
3] and Gutman [
4,
5]; Furtula and Gutman [
6] studied the related forgotten topological index, Li and Zheng [
7] developed a unified approach to extremal trees for several degree-based indices, and Todeschini and Consonni [
8] introduced local vertex invariants based on degree functions. The introduction of an exponent
is tailored for the precise characterization of extreme hub polarization (i.e., super-nodes) and asymmetric branching phenomena within complex networks and chemical macromolecules.
The maximization of the degree power sum
has been extensively studied in extremal graph theory [
9]. For the quadratic case
, Katz [
10] and Ahlswede–Katona [
11] pioneered the maximization problem over the family of
-graphs, whose combinatorial objective algebraically translates to maximizing the number of incident edge pairs. Subsequently, Olpp [
12] constructed two families of extremal threshold graphs, formally establishing that maximizing
is structurally equivalent to maximizing the total number of (not necessarily induced) paths of length two. This structural landscape was further refined independently by Peled, Petreschi, and Sterbini [
13], and by Byer [
14], who constrained the set of all
-optimal graphs to exactly six specific subclasses of threshold graphs. Ultimately, Ábrego et al. [
15] provided a complete resolution to this quadratic extremal problem. The main difficulty in passing from
to
is that the diagonal sequence ceases to be a complete invariant for the objective function.
For
, the minimum value of
was characterized by Linial–Rozenman [
16] and Ismailescu–Stefanica [
17]. When
and
, Ismailescu–Stefanica [
17] described the maximizers among all
-graphs; Zhang–Zhang [
18] recently pushed the range to
. Up to now, the case for
has remained open.
While the general maximization over
-graphs for
remains elusive, significant progress has been made by shifting the focus toward restricted graph families and alternative structural parameters. For instance, in the realm of Turán-type extremal problems, Ai et al. [
19] determined the maximum
for
-free graphs when
, rigorously compressing the critical order lower bound to a linear size of
. From a graph transformation perspective, Cheng and Wu [
20] established strict inequality bounds between a connected graph and its line graph across three distinct parameter intervals:
,
, and
. Furthermore, by incorporating specific invariant constraints, Vetrík et al. [
21] completely characterized the exact upper and lower bounds of
for trees with a given distance
k-domination number across all non-trivial ranges (
,
, and
), identifying all corresponding extremal structures.
A graph
G is defined as a threshold graph if it is
-free. Threshold graphs form a well-studied class; their structural properties and equivalent characterizations are summarized in the monograph of Mahadev and Peled [
22]. They also arise naturally as extremal graphs in several settings, including the maximization of adjacent edge pairs [
11], network reliability problems [
23], extremal homomorphism counts [
24,
25], the minimization of the number of matchings [
26], and problems involving randomly deleted edges [
27]. Within this broader class, our analysis specifically targets two highly structured subclasses: quasi-complete graphs and quasi-star graphs. Let
A and
B be two disjoint graphs. Denote by
the sum of
A and
B, where
and
. Denote by
, the
of
A and
B, the graph obtained from
by adding all the edges
with
and
. The graph
is referred to as
quasi-complete, where
k and
j are integers and are uniquely determined by the expression
The graph
is referred to as
quasi-star, where
,
are integers and are uniquely determined by the expression
Both quasi-star and quasi-complete graphs are often extremal graphs for some graph invariants (see, e.g., [
28]).
For instance, when
, the quasi-complete graph is determined by
so
and
. Hence,
which is
with one edge removed, together with two isolated vertices. On the other hand, the quasi-star graph is determined by
so
and
, and
For convenience, we refer to a graph
G as an
α-optimal -graph if
In this paper, we consider the following problem:
Problem 1. For , can we determine all α-optimal graphs within ?
For
, each
-optimal
-graph is a threshold graph (see, e.g., [
15] (p. 5)), hence it suffices to consider threshold graphs. Using an algebraic method, we refer to each Ferrers matrix of a threshold graph as a weight matrix such that each entry within the matrix is assigned a weight that quantifies its contribution to the global degree power sum
.
Theorem 1. Let and G be an α-optimal -graph. Then G is quasi-star if We briefly outline the proof strategy. After reducing the problem to threshold graphs, we represent an optimal graph by its Ferrers matrix and assign weights to the black dots. Thus, maximizing becomes equivalent to maximizing the total weight of the matrix. For , strict convexity allows us to compare dot weights and use weight-increasing swapping operations. These operations, combined with a counting argument, show that every optimal graph is quasi-star in the range .
The remainder of this paper is organized as follows. In
Section 2, we introduce necessary preliminaries, including the Ferrers matrix representation of threshold graphs and essential analytical properties of strictly convex functions. In
Section 3, we establish a series of lemmas based on the corner-swapping operation on the Ferrers matrix. Utilizing these algebraic tools, we conclude by presenting the proof of Theorem 1.
2. Preliminaries
In this section, we will introduce the notation and terminology that will be utilized in the subsequent discussion.
Let
G be an
n-vertex threshold graph. During its step-by-step construction, a newly added vertex
v is isolated if it connects to no previously existing vertices, and dominating if it connects to all previously existing vertices. Structurally, any threshold graph of order
n can be constructed by successively adjoining either an isolated or a dominating vertex. Consequently, the structure of a threshold graph can be canonically encoded by a binary sequence of length
n. Specifically, we associate a threshold graph with a sequence
, where the entry
indicates the addition of an isolated vertex
, and
indicates the addition of a dominating vertex
. By convention, the initial vertex
is assigned
,
where all exponent runs
and
are strictly positive integers, with the sole exception of
, which is permitted to be zero in the case of a disconnected graph. For simplification, we replace the above binary representation with the vector
and refer to it as the
vertex-sequence of such a threshold graph.
To systematically analyze the structural properties of threshold graphs, we employ the Ferrers matrix representation. Let
G be a threshold graph with a non-increasing degree sequence
. The corresponding Ferrers matrix
is a symbolic matrix whose entries are drawn from the alphabet
. The configuration of these entries is strictly governed by the following rules (see [
22]):
All diagonal elements , , are +;
For each i, the sum of the “•” in the i-th row is equal to ;
Each “•” in each row is to the left.
By construction, the Ferrers matrix of a threshold graph is necessarily symmetric. It therefore suffices to restrict our analysis to the strictly lower triangular region. Specifically, configuring the Ferrers matrix for a threshold graph with
m edges is combinatorially equivalent to determining a valid placement of exactly
m symbols • below the main diagonal. An example of a Ferrers matrix is shown in
Figure 1.
Let denote the Ferrers diagram of a threshold graph G. Within the area below the main diagonal, we identify specific boundary points that determine the valid transformations of the matrix:
- 1.
A coordinate with is defined as an outer corner if it is currently occupied (), yet strictly bounded by non-occupied cells to its right () and below (, or ).
- 2.
A coordinate with is defined as an inner corner if it is currently vacant (), yet immediately shielded by occupied or diagonal cells from above () and from the left (, or ).
Furthermore, let (respectively, ) represent the updated configuration obtained from F by toggling the state of the entry (and, by symmetry, ) from ∘ to • (respectively, from • to ∘). It is a direct structural consequence that remains a valid Ferrers diagram if is an inner corner, and remains valid if is an outer corner.
In addition, we need to introduce some basic facts about the convexity of functions.
Definition 1. Let be a function defined on an interval .
is called convex on I if for all and all ,It is called strictly convex on I if the above inequality is strict whenever and .
Lemma 1 ([
29])
. Let be a function on the interval I. Then is convex on I if and only if for all with and all ,Moreover, is strictly convex on I if and only if the two inequalities are strict for every triple . As a consequence of Lemma 1, we have
Corollary 1. Let and be a function on the interval I. If is strictly convex on I, then for all with and , Proof. For a convex function
, if
, by Lemma 1, we have
Thus,
If
, by Lemma 1, we have
Thus,
which is equivalent to
The result follows. □
Theorem 2 ([
15] (p. 5))
. Let α be an arbitrary real number with . Then each α-optimal graph in is a threshold graph. 3. Main Results
This section characterizes optimal graphs via Ferrers matrices. By symmetry, it strictly suffices to investigate the arrangement of solid dots solely below the main diagonal.
Lemma 2. Let and G be a threshold graph with Ferrers matrix F. If is an inner corner of F, thenwhere denotes the graph whose Ferrers matrix is obtained from F by changing the entry from an empty dot to a black dot. Proof. Let
. Suppose that, for each
i, the vertex
i corresponds to the
i-th row and the
i-th column of
F. Since
is an inner corner, it follows that
and
and
if
. Then, we have
Thus, the proof is complete. □
We know that each threshold graph within
can be obtained by successively adding
m edges to an empty graph with
n vertices. Since the threshold graph
G has a one-to-one correspondence to its Ferrers matrix
F, the problem of characterizing the
-optimal graph within
can be reduced to that of constructing an appropriate Ferrers matrix with
m black dots in its lower triangular part by Lemma 2. Therefore, we define the weight of a Ferrers matrix as follows. Let
F be the Ferrers matrix corresponding to some threshold graph
G, we define
and
As a consequence of Lemma 2, we have
Theorem 3. Let and G be a threshold graph with Ferrers matrix F. Thenwhere is defined as Equation (3). Proof. We proceed by induction on
m. If
, then
G is empty and
. Assume the statement holds for all threshold graphs with
edges. Let
G be a threshold graph with
m edges and Ferrers matrix
F. Deleting one edge (the edge corresponding to one outer corner) yields a threshold graph
with Ferrers matrix
obtained from
F by replacing “•” at position
with “∘”. Only the degrees of
i and
j change:
For a Ferrers matrix of a threshold graph,
hence
Since
is the only “•” of
F missing in
,
Therefore, by the induction hypothesis, it follows that
where the induction hypothesis is used in the second equality. □
Example 1. We give an example to illustrate the weighted Ferrers-matrix method. Consider the threshold graph with vertex-sequenceEquivalently, this graph is obtained by adding three isolated vertices, then two dominating vertices, and finally one isolated vertex. Its non-increasing degree sequence isand its Ferrers matrix isThere are seven black dots below the main diagonal, and hence the corresponding graph has seven edges. The entry is an outer corner dot, sinceThe entry is an inner corner position, sinceand it is in the first column. For a lower-triangular entry , the weight isThus whereas For example, when , and Hence, replacing the outer corner dot by the inner corner position increases the total weight by 18.
After this corner transformation, the Ferrers matrix becomesThe number of black dots below the diagonal is still seven, so the number of edges is preserved. The degree sequence changes from to For , the value of changes fromtoThus, the corner transformation increases by 18
, exactly the increase predicted by the weight differenceThis example illustrates the basic principle used in the proofs below: a Ferrers matrix cannot be optimal if some outer corner dots can be replaced by the same number of inner corner positions with strictly larger total weight. To construct our desired Ferrers matrix, we need to establish a series of lemmas.
Lemma 3. Let and F be a Ferrers matrix. Let also “•” Then
- (1)
if and ;
- (2)
if and ;.
- (3)
for and , .
Proof. Let
. Then we have
Thus, (1) and (2) follow by a direct verification.
(3) If and , then we get . Moreover, one can verify that is strictly convex if Consequently, applying Corollary 1, the result follows. □
Lemma 4. Let and G be an α-optimal graph within . Suppose that the vertex-sequence of G is Then either or for .
Proof. Denote by
the Ferrers matrix of
G. Assume for contradiction that there exists some index
such that
. For simplification, set
and
. Then one can verify that the entry
is an inner corner and the entry
is an outer corner of
F, respectively. Denote by
the matrix obtained from
F by changing
entries
,
, from “
” to “
”, and changing
entries
,
, from “
” to “
”. One can find that the matrix
is also a Ferrers matrix of some threshold graph, denoted by
, within
. Applying Lemma 3 (3),
holds for each
. Consequently,
which is a contradiction to the optimality of the graph
G. Therefore, the result follows. □
Lemma 5. Let and G be an α-optimal graph within . Suppose that the vertex-sequence of G is . Then, for each , either or .
Proof. Denote by
the Ferrers matrix of
G. Assume for contradiction that there exists some index
i,
, such that
, as
if
by Lemma 4. So we get
For simplification, set
and
. Denote by
the matrix obtained from
F by changing
entries
from “
” to “
”, and changing
entries
from “
” to “
”, where
and
. One can find that the matrix
is also a Ferrers matrix of some threshold graph, denoted by
, in
. Applying Lemma 3 (3),
holds for each pair
, where
and
. Consequently,
which is a contradiction to the optimality of the graph
G. Thus, the result follows. □
Before entering the case analyses, we recall the common idea behind the following transformations. In the Ferrers matrix of a threshold graph, an outer corner dot is a removable edge, while an inner corner position is an admissible place where an edge can be added without destroying the Ferrers property. Hence, if a set of outer corner dots can be replaced by the same number of inner corner positions with strictly larger total weight, then the resulting Ferrers matrix corresponds to another graph in with a larger value of . This contradicts optimality. Thus each lemma below rules out a certain local configuration by showing that such a weight-increasing corner-swapping operation would otherwise be possible.
Let G be an -optimal graph within . Below we investigate the occurrences of “1” among the entries of its vertex-sequence .
Lemma 6. Let and G be an α-optimal graph within with vertex-sequence , .
If or then there are at most three ones among the entries of . Moreover,
- (1)
if there are exactly two ones, then either for some index i with , or for some index i with ;
- (2)
if there are exactly three ones, then there exist an index i with such that
If then we can obtain that there are at most three ones among the entries of Moreover,
- (1)
If there are exactly two ones, then either for some index i with , or for some index i with ;
- (2)
If there are exactly three ones, then there exist an index i with such that
Proof. The idea is to show that unit blocks in the vertex-sequence cannot be scattered far apart. If they were, the corresponding corners in the Ferrers matrix would allow a weight-increasing swap, contradicting optimality.
Denote by the Ferrers matrix of G. If or
(1) we divide our discussion into the following three cases:
Case 1. Assume there are exactly two ones and they are
with
Then
for all
For simplification, we set
Then one can verify that both and are outer corners of F, and both and are inner corners of F. By this assumption, G is -optimal and holds for each , then . Applying Lemma 3 (1), and Therefore, , which is a contradiction to the optimality of the graph G. Thus, Case 1 cannot occur.
Case 2. Assume there are exactly two ones and they are
Then
for all
For simplification, we set
Then, one can verify that both and are outer corners of F, and both and are inner corners of F. By this assumption, G is -optimal and holds for each , then . Applying Lemma 3 (2), and Therefore, , which is a contradiction to the optimality of the graph G. Thus, Case 2 cannot occur.
Case 3. There exist two indices
such that
with
and
. To complete (1), we only need to eliminate the case where
subject to
. Assume for contradiction that
. For simplification, we set
Then, one can verify that both and are outer corners of F, and both and are inner corners of F. Since G is the -optimal graph, . Applying Lemma 3 (1), (2) again, we have and Then, we have , which is a contradiction to the optimality of the graph G.
(2) There are exactly three ones among the entries of .
Case 4. If or by an argument analogous to that in Cases 1 and 2, we can rule out this possibility.
Case 5. If or
Assertion 1. First, we consider the case where
with
. For simplification, we set
Then one can verify that both and are outer corners of F, and both and are inner corners of F. Since G is the -optimal graph, . Applying Lemma 3 (1), (2) again, we have and Then, we have , which is a contradiction to the optimality of the graph G. So, we can get that . Similarly, we can also obtain . Combining this with the condition implies that or . The case where is analogous to the previous case; hence, we omit the details.
Assertion 2. Under the condition that , and combining this with the conclusion of Assertion 1, we consider the following four cases:
- (1)
- (2)
- (3)
- (4)
It is evident that configurations (1) and (4) are equivalent by symmetry and (2) and (3) do not satisfy the condition . The case where is analogous to the previous case. Hence, it suffices to consider the following two cases: either or with For , we set and Then, both and are outer corners of F, and is an inner corner of F. Applying Lemma 3 (2), (3), and Therefore, which is a contradiction to the optimality of the graph G.
Case 6. Next, we prove that there are at most three ones among the entries of . Assume that there exist at least four elements equal to 1; then either or must hold.
Assertion 3. First, we consider the case where
. Assume there exist two indices
such that
Then, if
for simplification, we set
Then one can verify that both and are outer corners of F, and both and are inner corners of F. By this assumption, G is -optimal; then, . Applying Lemma 3 (2), and Therefore, , which is a contradiction to the optimality of the graph G.
If
, then it implies that
and
For simplification, we set
Then one can verify that both of and are outer corners of F, and is an inner corner of F. By the assumption, G is -optimal, then . Applying Lemma 3 (2), (3), and Therefore, which is a contradiction to the optimality of the graph G. So, we can obtain that when , the case does not occur.
Assertion 4. Therefore, either
or
must hold with
belonging to the set
and
q belonging to the set
. First, if
, then without loss of generality, we assume that
. For simplification, we set
Then one can verify that both and are outer corners of F, and both and are inner corners of F. Recall that G is -optimal, then . Thus, applying Lemma 3 (1), and Consequently, , which is a contradiction to the optimality of the graph G. The case where is analogous to Case 1; hence, we omit the details.
The case where and is analogous to the previous one; hence we omit the details. Thus, the result follows. □
Lemma 7. Let and G be an α-optimal graph within with vertex-sequence , . If there exists some index such that ,
- (1)
if , then
- (2)
if , then
- (3)
if , then
Proof. The proof shows that a unit block forces its neighboring dominating blocks to be sufficiently large. Otherwise, a strip of dots near an outer corner could be shifted to inner corner positions with larger weights.
(1) When combined with Lemmas 5 and 6,
and
if
holds for
. So, we get
Denote by
the Ferrers matrix of
G. Assume for contradiction that there exists some index
i,
, such that
and
. For simplification, set
and
. Then one can verify that the entry
is an inner corner and the entry
is an outer corner of
F, respectively. Denote by
the matrix obtained from
F by changing
entries
,
, from “
” to “
”, and changing
entries
,
, from “
” to “
”. One can find that the matrix
is also a Ferrers matrix of some threshold graph, denoted by
, in
. Applying Lemma 3 (3), for each fixed
t,
,
holds. Consequently,
which is a contradiction to the optimality of the graph
G. The proof for
, as well as Cases (2) and (3), are analogous to the preceding argument; hence, we omit the repetitive details. Thus, the result follows. □
Lemma 8. Let and G be an α-optimal graph in with vertex-sequence with . Then, G is quasi-star if either , or and
Proof. The result is trivial when , or and . Thus, the result follows. □
Lemma 9. Let and G be an α-optimal graph in with vertex-sequence , . If there exists some index i, , such that , then
- (1)
if , then
- (2)
if , then
- (3)
if , then
Proof. The key point is to compare or with the adjacent three a-blocks. If one of these sums were not large enough, then a block of outer corner dots could be replaced by inner corner positions of strictly larger total weight, contradicting optimality.
Denote by
the Ferrers matrix of
G. (1) Assume for contradiction that there exists some index
i,
, such that
and
. For simplification, set
and
. By Lemma 7, we can get
Denote by
the matrix obtained from
F by changing
entries
,
, from “
” to “
”, and changing
entries
,
from “
” to “
”, where
. One can find that the matrix
is also a Ferrers matrix of some threshold graph, denoted by
, in
. Applying Lemma 3 (3),
holds for each pair
, where
and each
. Consequently,
which is a contradiction to the optimality of the graph
G. In the case where
Cases (2) and (3) are analogous to the previous case; hence, we omit the details. Therefore, the result follows. □
Lemma 10. Let G be an α-optimal graph in and . Suppose that the vertex-sequence of G is . If , then if , then for some , and .
Proof. The proof is a grouped summation argument based on the number and positions of unit blocks among . Each non-unit internal block is estimated by Lemma 5, while a unit block is grouped with a neighboring b-block and treated by Lemma 9. Lemma 6 ensures that only the configurations listed below need to be considered.
For and , we can get by Lemma 5.
For , we first prove the existence of an index with . By Lemma 6, the subsequence cannot contain more than one element equal to 1. Since , the sequence contains at least two elements. Thus, at least one element in is not 1. Because for all internal indices , this element must be strictly . The first part of the lemma is proven.
Furthermore, this constraint implies that the entire sequence can contain at most two 1s (one internally, and possibly ). Thus, it strictly suffices to classify the global summation into three exhaustive cases based on the number of 1s in .
For we classify the discussion based on the number of elements equal to 1 in the set .
Case 1. If for all , by applying Lemma 5, we obtain that for each . Then we can obtain
Case 2. There is exactly one element equal to 1 in . If , then for all . The proof identically follows the summation expansion in Case 1, with the addition of further strengthening the strict inequality. If , then for exactly one .
Subcase 1. If
, Lemma 9 grants
. So, we can get
. For all other indices
, we apply
. Then we can obtain
Subcase 2. If , Lemma 9 yields , meaning . A completely symmetric forward summation expansion identically produces the doubled internal a-coefficients, confirming the strict inequality.
Case 3. If there are two ones, applying Lemma 6, we obtain that if there exist two distinct indices
such that
with
, then
. The remaining proof is similar to Case 2. We can also obtain that
Applying Lemma 6, we obtain that there are at most two ones among the entries of . Thus, the result follows. □
Lemma 11. Let G be an α-optimal graph in with and . Suppose that the vertex-sequence of G is . If , then we can get
Proof. By Theorem 2, we know that the optimal graph G is a threshold graph with n vertices and m edges. Assume that . Since the total number of vertices is trivially , this strict inequality algebraically translates directly to , which implies , and thus .
Let denote the total number of dominating-type vertices in G. Due to the intrinsic structural properties of threshold graphs, any dominating-type vertex connects to all previously generated vertices. Consequently, these B dominating vertices mutually form an absolute core clique, denoted as , within the graph G.
If
n is odd, the condition
for the integer
B strictly enforces the lower bound
. In the geometric representation of the Ferrers matrix
F, this core clique corresponds to a solid, unbroken upper-left triangular region of “•”s strictly below the main diagonal. The number of edges internally contributed by this core clique alone is given by the combination
. Therefore, the total number of edges
m in graph
G must satisfy the absolute lower bound:
Comparing this lower bound to the specified density threshold of a complete graph, we obtain
Hence, the assumption inevitably forces .
Similarly, if
n is even, the condition
strictly enforces
. By the exact same geometric clique principle, the minimum number of edges contributed by this core clique yields
Comparing this edge density to the complete graph, we obtain
In both parity cases, the initial inequality unconditionally drives the total edge count to exceed the critical threshold . Thus, the result follows. □
With these algebraic tools, we will now provide the complete proof of Theorem 1.
Proof of Theorem 1. Let G be an -optimal graph in with and . By Theorem 2, we know that the optimal graph G is a threshold graph with n vertices and m edges. Suppose that the vertex-sequence of G is By Lemma 11, if , then . By Lemma 10, we can obtain that and if then . The vertex-sequence of the optimal graph G is either or . Consequently, by Lemma 8 the optimal graph G is a quasi-star graph. □