A note on extremal Sombor indices
of trees with a given degree sequence
Abstract
We note here that the problem of determining extremal values of Sombor index for trees with a given degree sequence fits within the framework of results by Hua Wang from [Cent. Eur. J. Math. 12 (2014) 1656–1663], implying that the greedy tree has the minimum Sombor index, while an alternating greedy tree has the maximum Sombor index.
In a recent private communication, Ivan Gutman asked a number of colleagues to characterize tree(s) of order with the given degree sequence whose Sombor indices are minimum and maximum. Recall that Sombor index of a graph is defined in [2] as
where are degrees of the vertices . Observing that switching edges (i.e., delete edges and , and add edges and ) decreases Sombor index under suitable conditions, while keeping degrees intact, we quickly jumped in to show in [1] that a greedy tree necessarily attains the minimum Sombor index among trees with degree sequence . Actually, the greedy tree is the unique tree that minimizes pseudo-Sombor index (see [1] for details), but in principle there may exist other trees with the same minimum value of Sombor index as the greedy tree for given . A more detailed reading of references by one of us during the subsequent attempt to determine trees with the maximum Sombor index, revealed that this problem actually fits within the framework of results by Hua Wang [3], which quickly implies both that the greedy tree has the minimum and that an alternating greedy tree has the maximum value of Sombor index among trees with degree sequence .
For the sake of completeness, let us present here the result of Wang [3]. Assume that the degree sequence is ordered in a non-increasing order, and denote by the degrees of internal vertices (i.e., the elements of that are greater than one). Both the greedy tree and the alternating greedy tree are constructed algorithmically. The greedy tree is constructed as follows:
-
(g1)
Label the root with the largest degree ;
-
(g2)
Label the neighbors of the root as , , …, assigning to each next neighbor the largest available degree;
-
(g3)
For each labelled vertex in the current level, considered in a non-increasing order of labels, label its children in turn with the largest available degree;
-
(g4)
Repeat (g3) as long as there are available internal degrees, then add necessary number of leaves so that the degree of each vertex is equal to its label.
The alternating greedy tree is constructed by a recursive procedure:
-
(a1)
If , the alternating greedy tree is a tree rooted at the vertex with children, among which are leaves, while the remaining children have degrees ;
-
(a2)
If , create a subtree rooted at with children with degrees ;
-
(a3)
Let be the alternating greedy tree corresponding to the sequence of internal degrees, and let be a leaf of with the smallest degree of its neighbor. The alternating greedy tree for the sequence is obtained by identifying the root of with in .

These two constructions are illustrated in Fig. 1 for the internal degree sequence . The greedy tree, shown in Fig. 1(a), is produced uniquely by the steps (g1)–(g4). However, several non-isomorphic alternating greedy trees may be produced by the steps (a1)–(a3), as it can happen that the leaf in the step (a3) can be selected in different non-isomorphic ways. Namely, step (a2) applied to produces the subtree with the root , leaving the subsequence for which one has to produce an alternating greedy tree in step (a3). This calls step (a2) recursively to produce the subtree with the root , and leaves the subsequence . Another recursive call to step (a2) produces the subtree with the root , which leaves the subsequence for which step (a1) produces the alternating greedy tree . All these “constituents” are shown in Fig. 1(b). However, going back from these recursive calls and continuing with step (a3) yields several possible choices for the choice of the leaf . First, the root of may be identified with either of the leaves and of . If is identified with , as done in Fig. 1(c) and 1(d), then the root of may be further identified with either one of the remaining leaves of or one of the leaves of in the newly formed tree. After this is done, there are still several choices left for the choice of the leaf which should be identified with the root of . Fig. 1(c)–(e) shows some of the final resulting alternating greedy trees (where in Fig. 1(e) the root was initially identified with the leaf ).
Generalizing earlier results, Wang [3] considered for a tree the general form of a topological index defined as
where is a symmetric function. He proved the following theorem.
Theorem 1 ([3]).
If the symmetric function satisfies
(1) |
(with strict inequality implied if both and ), then is maximized by the greedy tree and minimized by an alternating greedy tree among trees with given degree sequence.
Let us now specifically define as
so that is actually minus Sombor index of . In this case the condition (1) reads as
whenever and , which is equivalent to
After squaring and rearranging, this is further equivalent to
and further to
which is certainly satisfied whenever and (with strict inequality if both and ). Hence Theorem 1 holds for minus Sombor index, leading to the following corollary for Sombor index itself.
Corollary 2.
Sombor index is minimized by the greedy tree and maximized by an alternating greedy tree among trees with given degree sequence.
References
- [1] I. Damnjanović, D. Stevanović, Greedy trees have minimum Sombor indices, arXiv:2211.05559 (2022).
- [2] I. Gutman, Geometric approach to degree-based topological indices: Sombor indices, MATCH Commun. Math. Comput. Chem. 86 (2021) 11–16.
- [3] H. Wang, Functions on adjacent vertex degrees of trees with given degree sequence, Cent. Eur. J. Math. 12 (2014) 1656–1663.