1. Introduction
Let
G be a simple graph with vertex set
and edge set
. For a vertex
, we denote its degree by
and we represent by
the edge connecting the vertices
u and
v. For additional background on graph theoretic notions, see [
1].
We consider a finite multiplicative monogenic semigroup with zero of the form
as introduced in [
2]. The graph
is defined by retaining the vertex set and imposing a specific adjacency rule. The vertex set of
consists of all nonzero elements of
.
Two distinct vertices
and
in
, where
, are adjacent precisely when
. Further background on monogenic semigroup graphs can be found in [
2,
3,
4].
Monogenic semigroup graphs arise as a natural extension of the theory of zero-divisor graphs [
2]. The study of zero-divisor graphs in commutative rings was initiated by Beck [
5] and subsequently developed in its modern form by Anderson and Livingston [
6], with further developments appearing in [
7]. Similar ideas were later extended to commutative and non-commutative semigroups [
8,
9].
Topological indices have been studied extensively in chemical graph theory and provide numerical descriptions of molecular and graph structures [
10,
11]. Among the degree-based topological indices, the Sombor index, introduced by Furtula and Gutman [
12], has attracted considerable attention in both chemical graph theory and purely mathematical research [
13,
14]. For a graph
G, the Sombor index is defined by
where the summation extends over all edges of
G, and
and
denote the degrees of the corresponding adjacent vertices. The Sombor index has also been investigated in algebraic settings, including graphs associated with monogenic semigroups [
3,
4].
The Sombor index measures the magnitude of the degrees at the endpoints of an edge. However, it does not explicitly isolate the degree difference between adjacent vertices. A classical measure of local degree imbalance is the total edgewise irregularity
which records the absolute degree differences along the edges [
15]. Although this quantity captures degree imbalance, it does not account for the scale of the endpoint degrees.
Motivated by these complementary features, we introduce the Contrastive Sombor Index (CSO). For a finite simple graph
, it is defined by
The subtraction of the minimum-degree term makes an edge contribution vanish when its endpoints have equal degrees, while the square-root term retains information about the magnitude of the endpoint degrees. Thus, the CSO index combines local degree imbalance with degree-scale information.
The CSO index is closely related to existing degree-based invariants. Indeed, as proved in Theorem 3, it satisfies
where
is the first Zagreb index. Equivalently, using
the decomposition may be written as
Therefore, CSO is not independent of the Sombor index, the first Zagreb index, and the total edgewise degree irregularity. Its contribution lies in combining degree magnitude, degree intensity, and local degree imbalance within a single edge-based expression.
The following example shows that two graphs may have the same total edgewise irregularity but different CSO values, because CSO also retains information about the scale and distribution of the endpoint degrees.
Example 1. Consider the star graph . Each of its three edges has degree pair , and thereforeIts Contrastive Sombor Index is Now consider the complete bipartite graph . Each of its six edges has degree pair , and henceOn the other hand, Consequently,Thus, the CSO index can distinguish graphs having the same total edgewise degree difference because it also incorporates the scale of the endpoint degrees.
This comparison does not imply that the CSO index is universally superior to existing irregularity indices. Rather, it shows that CSO retains degree-scale information that is not captured by the total edgewise degree difference alone.
The main components of the paper are organized as follows. In
Section 2, we introduce the Contrastive Sombor Index and investigate its fundamental structural properties, including its connection with graph regularity and classical degree-based invariants. In
Section 3, we establish general lower and upper bounds.
Section 4 is devoted to monogenic semigroup graphs, where we develop a neighborhood–block decomposition, derive explicit summation formulas, and determine the asymptotic growth of the index.
Section 5 illustrates the explicit formulas through the cases
and
. In
Section 6, we analyze individual edge contributions and clarify the dependence of CSO on degree imbalance and endpoint-degree scale. Finally,
Section 7 provides a numerical illustration based on the octane-isomer dataset.
2. Definition and Structural Properties of the Contrastive Sombor Index
In this section, we present the definition of the Contrastive Sombor Index (CSO) and investigate its fundamental structural properties; we establish the mathematical framework of the index by examining its relationship with graph regularity and by deriving basic inequalities. We also obtain a decomposition formula connecting CSO with the Sombor and Zagreb indices and determine its explicit value for star graphs.
Definition 1. Let be a finite simple graph, not necessarily connected and possibly containing isolated vertices, with degree function . The Contrastive Sombor Index of G is defined by Proposition 1. For every simple graph G, one has .
Proof. For each edge
, assume without loss of generality that
. Then,
Hence, each summand is nonnegative, and summing over all edges gives
. □
We now characterize the case when the index attains its minimum value.
Theorem 1 (Rigidity of CSO)
. For a simple graph G, the following are equivalent:
- 1.
;
- 2.
every edge satisfies .
In particular, if and only if every connected component of G is regular. Consequently, if G is connected, then if and only if G is regular.
Proof. Suppose first that every edge
satisfies
. Then, for each edge,
Hence, each summand vanishes and
.
Conversely, assume
. Since each summand is nonnegative, every term must be zero. Thus, for every edge
,
which holds if and only if
. Hence, adjacent vertices have equal degrees.
Degree equality propagates along every path. Therefore, all vertices belonging to the same connected component have the same degree, so each connected component containing at least one edge is regular. An isolated vertex forms a 0-regular component. Consequently, if and only if every connected component of G is regular. In particular, if G is connected, then if and only if G is regular. □
As a direct consequence of Theorem 1, we obtain the following result for complete graphs.
Corollary 1. Let G be the complete graph . Then, Proof. Every vertex of has degree , so all adjacent vertices have equal degrees. Therefore, . □
Corollary 2. Let be the star graph on vertices. Then, Proof. In
, the central vertex has degree
and each leaf has degree 1. Each edge therefore contributes
Since there are
edges, the result follows. □
The star graph not only provides an explicit example, but also represents an extremal structure for the Contrastive Sombor index among trees.
Theorem 2. Let T be a tree on vertices. Then,Equality holds if and only ifConsequently, the star graph uniquely maximizes the Contrastive Sombor Index among all trees on n vertices.
Proof. Let
, and set
Since
T is a tree on
n vertices,
The contribution of the edge
to
is
For fixed
x, we have
so
is strictly increasing in
y. For fixed
y,
because
Thus,
is strictly decreasing in
x. It follows that
Every tree on
n vertices has exactly
edges. Therefore, summing the preceding pointwise inequality over all edges gives
We emphasize that this argument does not assume that the endpoint degrees of different edges can be maximized independently. It establishes a universal upper bound for each edge contribution and then determines when equality can hold simultaneously on all edges.
Suppose that equality holds in the global bound. Since the inequality for each edge is strict unless
and
, every edge of
T must have endpoint-degree pair
In particular,
T contains a vertex
c satisfying
By the Handshaking Lemma,
After subtracting the degree of
c, the sum of the degrees of the remaining
vertices is
Because
T is connected, each of the remaining
vertices has degree at least one. Hence,
Conversely, every edge of
has endpoint-degree pair
. Since
has
edges,
Therefore, equality holds if and only if
, completing the proof. □
2.1. Extremal Behavior Beyond Trees
Theorem 2 shows that the star graph uniquely maximizes the Contrastive Sombor Index among all trees on n vertices. It is natural to ask whether this extremal property extends to larger classes of graphs.
However, this is not the case for general graphs. One can construct graphs on n vertices with larger CSO values than the star graph. To provide an explicit example, consider the graph on vertices obtained by joining every vertex of the complete graph to every vertex of the edgeless graph . The two vertices of have degree 5, while the four vertices of have degree 2.
The edge set of
consists of one edge with endpoint-degree pair
, which contributes zero to the index, and eight edges with endpoint-degree pair
. Consequently,
On the other hand, for the star graph
on six vertices, Corollary 2 gives
Since
this example demonstrates that the restriction to trees is essential. Characterizing the extremal graphs among all graphs of a fixed order remains an open problem.
Proposition 2. For every simple graph G, the following identity holds: Proof. By definition,
and
Subtracting the second expression from the first gives
which proves the claim. □
Theorem 3. For every simple graph G, the Contrastive Sombor Index satisfies the decomposition formulawhereis the first Zagreb index.
Proof. By Proposition 2, we have
Using the identity
we obtain
By double counting the contribution of each vertex degree over the edge set, each vertex
v contributes
once for every incident edge, and hence
Therefore,
Substituting this expression into the initial identity gives
Rearranging the terms yields
which completes the proof. □
This decomposition consists of three components: the Sombor term, the Zagreb term, and the total degree difference along the edges. The last component corresponds to the total degree imbalance along the edges.
2.2. A Comparative Illustration
The Sombor index reflects the magnitude of the degrees at the endpoints of edges, but it does not explicitly capture how different these degrees are. To highlight the structural sensitivity of the Contrastive Sombor Index, we consider graphs with different degree distributions.
(1) Cycle
. The degree sequence is
, so the graph is regular. We obtain
Since all adjacent vertices have equal degrees, no local imbalance occurs.
(2) Path
. The degree sequence is
. Direct computation yields
Here, the graph exhibits moderate degree imbalance along its edges.
(3) Star
. The degree sequence is
. We obtain
Each edge connects vertices with highly unequal degrees, producing strong local imbalance.
These examples illustrate that the Sombor and Contrastive Sombor indices respond differently to variations in the endpoint degrees. The CSO index vanishes on regular graphs, whereas edges joining vertices of unequal degrees may make positive contributions. As will be established more precisely in Lemma 2, when the smaller endpoint degree is fixed, the edge contribution increases strictly with the larger endpoint degree. Thus, CSO reflects both local degree imbalance and the scale of the endpoint degrees.
3. Bounds for the Contrastive Sombor Index
In this section, we derive general lower and upper bounds for the Contrastive Sombor Index. Throughout, let
denote the number of edges of
G, and let
be the minimum vertex degree.
Theorem 4. For every simple graph G with m edges and minimum degree δ, Proof. By Proposition 2,
Since
and
for all vertices,
for every edge
. Hence,
which yields the desired inequality. □
We now relate the Contrastive Sombor index to the total degree difference along edges.
Theorem 5. For every simple graph G, the Contrastive Sombor index satisfies Proof. For any
, we use the inequality
which follows from
.
We may assume, without loss of generality, that
. Then,
, and thus
Summing over all edges gives the result. □
Corollary 3. Equality in Theorem 4 holds if and only if In particular, equality holds when every edge is incident to a vertex of minimum degree.
Proof. Equality in Theorem 4 requires
for every edge
. The stated condition is therefore both necessary and sufficient. □
Theorem 6. For every simple graph G,Equality holds if and only if G is regular on each connected component.
Proof. Since
by Proposition 1,
Equality holds if and only if
, which by Theorem 1 occurs precisely when
G is regular on each connected component. □
For a regular graph
G with at least one edge, we have
, and hence
These bounds further demonstrate that the Contrastive Sombor Index is governed by the endpoint-degree distribution of the graph. However, they do not imply that graphs with larger maximum degree necessarily have larger CSO values, since the contributions also depend on how the endpoint degrees are distributed across the edge set.
4. Monogenic Semigroup Graphs and a Block Decomposition
We write
for a finite simple graph. For a real
r,
(resp.
) is the greatest integer
(resp. the least integer
). We recall the ordered degree sequence of
; see, e.g., [
3].
Lemma 1. Let be the nondecreasing degree sequence of . Then,In particular, the middle value is repeated.
Remark 1. We use the neighborhood–block decomposition of the edge set , which organizes edges according to their larger endpoint and reflects the adjacency rule . The blocks and their corresponding index ranges are derived explicitly in Theorem 7 and will underlie all of our summation formulas.
Theorem 7 (Block Summation Formula for
)
. Let and be the graph with vertices and edges . For define the degreeFix t with and setThen, the edge block with larger endpoint t is Moreover, satisfiesConsequently, the Contrastive Sombor Index of admits the block form Proof. For fixed , the edge condition with gives , i.e., where comes from . By the degree formula, . If then and , so . If , then , hence . Summing over all blocks yields the claim. □
Remark 2. The structure of the edge blocks depends on the parity of n.
- (i)
n even, : For , we have Thus, the block contains only the lower-degree term corresponding to . For every , one hasand hence both the lower-degree range and the upper-degree range contribute to the block sum.
- (ii)
n
odd, : For , the corresponding block is empty, since For every , one has so both the lower-degree range and the upper-degree range contribute to the block sum.
Corollary 4 (Explicit Formula of
in the Even and Odd Cases)
. Let and let and be as in Theorem 7. Put .
Then, may be computed explicitly in two parity cases:
- (a)
- (b)
For clarity, the index ranges in the odd case are written explicitly without using min/max notation.
Proof. The formulas follow directly from Theorem 7 by separating the index sets according to
(the lower-degree range) and
(the upper-degree range), together with
In the even case, where
, the bounds
become
For
, one has
so only the lower-degree range contributes. For every
, both degree ranges contribute.
In the odd case, where
, the bounds become
For
, one has
so the corresponding block is empty. Therefore, the first nonempty block occurs at
. For every
, both the lower-degree range
and the upper-degree range
contribute.
Substituting the corresponding expressions for into the block summation formula in Theorem 7 gives the stated even- and odd-order formulas. □
To verify the summation limits and the parity-dependent formulas, we compare the values obtained by direct edge enumeration with those obtained from Corollary 4 for the first four nontrivial cases.
As shown in
Table 1, the values obtained from the block summation formula agree with those obtained by direct enumeration for
and 7. This provides a direct verification of both the even- and odd-order formulas.
Theorem 8 (Asymptotic leading constant)
. Let be the monogenic semigroup graph of order n. Then,where Proof. Using the block decomposition of the edge set established in Theorem 7, the CSO index can be written as a double sum over admissible index pairs satisfying and .
After normalization by setting
and
, the summation domain converges to the region
Moreover, the summand
scales as
n times the function
Therefore, the sum can be interpreted as a Riemann sum, and we obtain
This proves the claim. □
The integration region can be written explicitly as
Therefore,
A numerical evaluation of this integral by adaptive quadrature, using absolute and relative tolerances of
, gives
Proposition 3 (Edgewise CSO summands on
)
. Let with , and let . Write and , given by Lemma 1. The CSO contribution of the edge equalsHence, Proof. Immediate from Definition 1 after organizing edges by the block partition. □
The degree profile in Lemma 1 has a unique flat spot at . This dichotomy induces two regimes in the inner sum: and , which we exploit for estimates and parity-sensitive expressions.
5. Examples (Using the Explicit Summation Formula)
In both examples below we apply Corollary 4 directly, avoiding per-edge computations.
5.1. Example A: 5 (Odd Case)
Here
with
. By Corollary 4 (b), for
we have
Here,
The index ranges in each nonempty block are given below.
| t | | | active i-ranges |
| 4 | 2 | 3 | lower: ; upper: |
| 5 | 1 | 4 | lower: ; upper: |
Numerically, this evaluates to
This agrees with the value obtained by direct edge enumeration. Moreover, since the graph is not regular, the positivity of this value is consistent with Theorem 1.
The graph
for
is shown in
Figure 1.
5.2. Example B: 6 (Even Case)
Here,
with
. By Corollary 4 (a), for
we have
Here,
The index ranges in each nonempty block are given below.
| t | | | active i-ranges |
| 4 | 3 | 3 | lower: ; upper: none |
| 5 | 2 | 4 | lower: ; upper: |
| 6 | 1 | 5 | lower: ; upper: |
Numerically, this evaluates to
This agrees with the value obtained by direct edge enumeration and follows directly from Corollary 4.
The graph
for
is shown in
Figure 2.
6. Extremal and Structural Properties of the CSO Index
In this section, we investigate the structural behavior of the Contrastive Sombor Index and demonstrate that it reflects the degree imbalance between adjacent vertices. In contrast to magnitude-based indices, the CSO index captures local irregularity across edges. We first analyze the contribution of a single edge and then derive global consequences for the graph structure.
Lemma 2. Let G be a simple graph. For an edge , defineFix the smaller endpoint degreeThen, is strictly increasing with respect to the larger endpoint degree. In particular, among edges having the same smaller endpoint degree, an edge with a larger degree difference contributes more to the Contrastive Sombor Index.
Proof. Let
and assume, without loss of generality, that
Fix the smaller endpoint degree
and write
Then, the contribution of the edge
to
is given by
Differentiating with respect to
x, we obtain
Since the endpoints of an edge have positive degrees,
. Therefore,
and hence
is strictly increasing in
x.
Consequently, among edges having the same smaller endpoint degree, the edge with the larger endpoint degree contributes more to the Contrastive Sombor Index. Equivalently, within a fixed smaller-degree class, increasing the degree difference increases the corresponding edge contribution.
If
, then
Thus, edges joining vertices of equal degree make no contribution to the Contrastive Sombor Index. □
Remark 3. Lemma 2 shows that, when the smaller endpoint degree is fixed, the CSO contribution increases strictly with the larger endpoint degree. Thus, within each fixed smaller-degree class, edges with greater degree imbalance make larger contributions.
More generally, the CSO contribution depends on both the degree difference and the scale of the endpoint degrees. Therefore, it should not be regarded as a function of alone. This combined dependence allows the CSO index to reflect both local degree imbalance and endpoint-degree magnitude.
We now recall the decomposition established in Theorem 3 and briefly interpret its structural components.
Remark 4. By Theorem 3, the CSO index is expressed in terms of the Sombor index , the first Zagreb index , and the total edgewise degree irregularityThus, CSO may be interpreted as a hybrid degree-based invariant combining information on endpoint-degree magnitude, degree intensity, and local degree imbalance.
7. Discrimination Power and Numerical Illustration of the CSO Index
To illustrate the descriptive behavior and structural sensitivity of the proposed Contrastive Sombor Index (CSO), we compute its values for the 18 structural isomers of octane (). This standard dataset provides a convenient numerical example for examining the behavior of degree-based indices under different branching patterns.
In accordance with the classical framework of Gutman and Tošović [
16], each molecular graph is represented through its edge-degree distribution. For each pair
, we denote by
the number of edges connecting vertices of degrees
i and
j. This representation allows for efficient computation of degree-based indices without explicit graph reconstruction.
Using this approach, the Sombor index and the Contrastive Sombor Index can be computed as
and
The computed values for all isomers are presented in
Table 2.
The values in
Table 2 provide a numerical illustration of the response of CSO to different edge-degree distributions. For n-octane, the molecular graph is the path
. Its edge-degree distribution consists of two edges of type
and five edges of type
. Since edges of type
make no contribution to CSO, we obtain
This is the smallest CSO value among the octane isomers listed in
Table 2.
At the other end of the table, the molecular graph of 2,2,3,3-tetramethylbutane has six edges of type
and one edge of type
. Consequently,
This is the largest CSO value in the table. These two examples illustrate how different edge-degree distributions produce different CSO values.
It is important to note that CSO is completely determined by the edge-degree frequencies
. Therefore, non-isomorphic molecular graphs having the same edge-degree distribution also have the same CSO value. For example, the following pairs are not distinguished by CSO:
Thus, the octane data should be interpreted as a numerical illustration of the discrimination behavior of CSO, rather than as evidence of a relationship with a physicochemical property. Establishing such a relationship would require an independent QSPR analysis involving experimental property data, statistical validation, and comparison with existing molecular descriptors.
8. Conclusions
In this study, we introduced the Contrastive Sombor Index and showed that if and only if every connected component of G is regular. We established general lower and upper bounds for the index and derived a decomposition formula expressing CSO in terms of the Sombor index, the first Zagreb index, and the total edgewise degree irregularity.
For monogenic semigroup graphs, we developed a block summation formula and verified it by direct edge enumeration for
and 7. We also established the asymptotic relation
In addition, we investigated the extremal behavior of CSO and proved that the star graph uniquely maximizes the index among all trees of a fixed order. The octane-isomer data were used as a numerical illustration of the discrimination behavior of the index, while the investigation of possible relationships with physicochemical properties is left for future QSPR studies.
Overall, the CSO index provides a complementary measure of structural irregularity alongside the Sombor index by explicitly capturing edgewise deviations from local regularity. From a broader perspective, the Contrastive Sombor Index may be useful for analyzing graphs with different patterns of local irregularity, suggesting potential applications in the study of structural heterogeneity in graph-based models.
Future work may address graph operations, product structures, and extremal problems for CSO. In particular, characterizing the graphs that maximize or minimize CSO under fixed order, degree constraints, or prescribed degree sequences remains an open problem.