1. Introduction
Graph invariants are regarded as the properties of a graph that the graph isomorphism preserves [
1]. Real-valued graph invariants are often known as topological indices [
2]. We mention [
2,
3,
4,
5] as sources for terminology and notations related to (chemical) graph theory.
One of the most extensively researched topological indices is the first Zagreb index, which originally appeared in [
6]. For a graph
G, its first Zagreb index is often represented by
and is defined (for example see [
7]) as
where
represents the degree of the vertex
t in
G and
is the set of edges of
G. The forgotten topological index [
8] (which is sometimes referred to as the
F-index, see also [
9]) is another index that first appeared in [
6]. The
F-index of a graph
G is represented by
and is defined [
8] as follows:
Vukičević et al. [
10] studied (chemically as well as mathematically) the following linear combination of the indices
and
for a graph of order
n and referred it to as the Lanzhou index:
The Lanzhou index can be rewritten as
where
is the complement of
G and
represent the degree of
t in
. The refs. [
11,
12,
13,
14,
15] provide some recent extremal results regarding the Lanzhou index.
If
is a topological index of a graph
G, then
is known as its reformulated version [
16,
17]. Here,
means the line graph of
G. Motivated by the concept of reformulated topological indices [
16,
17], we consider ad-hoc topological indices as follows: if
is a topological index of a graph
G, then we call
as the ad-hoc version of
. Thus, applying the idea of ad-hoc topological indices to the Lanzhou index gives the ad-hoc Lanzhou index, represented by
. The ad-hoc Lanzhou index [
10], for a graph
G, is defined as
Here, we mention that the Lanzhou index of the complement of
G was also studied in [
18]. If
, then
and thus
The ad-hoc Lanzhou index was examined in [
10] for predicting the octanol–water partition coefficient of nonane isomers, and it was found that this index performs better than both the well-known first Zagreb index and the
F-index.
A graph with n vertices is called an n-order graph. Molecular graphs are those with a maximum degree of at most 4. A connected -cyclic graph of order n is a connected n-order graph with edges. For , and 3, a connected -cyclic graph is also known as a tree, connected unicyclic graph, connected bicyclic graph, and connected tricyclic graph, respectively.
In this paper, several identities for the ad-hoc Lanzhou index, involving some existing topological indices, are established. The problems of finding graphs with the extremum values of the ad-hoc Lanzhou index from the following sets of graphs are also attacked: (i) the set of all n-order connected -cyclic graphs (with a particular emphasis on unicyclic graphs, trees, and bicyclic as well as tricyclic graphs), (ii) the set of all n-order connected molecular -cyclic graphs, (iii) the set of all n-order graphs, and (iv) the set of all n-order connected molecular graphs.
2. Identities
For a graph
G, its forgotten topological coindex (or simply the
F-coindex) is represented by
and is defined [
19,
20] by
Actually, the
F-coindex is equal to the Lanzhou index for every graph; see, for example, [
21]. Generally, if
is a topological index of a graph
G then the corresponding coindex is defined as
, where
g may be the degree, the eccentricity, or any other (real-valued) parameter defined on the vertices of
G and where
f is a real-valued symmetric function. Note that the Lanzhou index can be rewritten as
where
and
indicate the degrees of the vertex
in
G and
, respectively. When there is no chance of confusion, we drop “
” from the notation
. Applying the definition of a coindex to the Lanzhou index yields the Lanzhou coindex
:
Consequently, we have
The following result is immediate from the above.
Observation 1. For every graph G, its Lanzhou coindex is equal to the Lanzhou index of (which is termed as the ad-hoc Lanzhou index of G), which is equal to the F-coindex of ; that is, Because of (
2), the identity given in the following proposition is already known (see Equation (3.6) in [
20]); however, here we provide its more simple proof.
Proposition 1. For any graph G with size m and order n, the following identity holds: Proof. Note that the formula for
can be rewritten as
Expanding the squared terms in (
3) and then making use of the definitions of
F and
, we obtain the desired identity. □
By Proposition 1, every upper bound on
provides a lower bound on
and every lower bound on
gives an upper bound on
; many bounds on
can be found in [
7]. Also, from the aforementioned proposition, it is concluded that every lower/upper bound on
F provides a(n) lower/upper bound on
, respectively; several bounds on
F-index can be found in [
22].
Proposition 2. For any graph G with size m and order n, the following identity holds: Proof. The identity given in Proposition 1 gives the desired result after utilizing Identity (
1). □
By Proposition 2, every upper bound on
provides a lower bound on
and every lower bound on
gives an upper bound on
; a considerable number of bounds on
can be found in [
22].
3. Extremal Results Concerning -Cyclic Graphs
If and , then let denote the graph formed from G by removing the edge and adding the edge . We begin this section by providing the following simple but useful lemma that will be used frequently in the remaining part of this paper:
Lemma 1. Suppose that G is an n-order graph containing such that and . If , thenwhere and . Proof. Utilizing the definition of
, we obtain
□
Lemma 2. Let G be an n-order graph containing a path such that and the edge does not lie on any cycle of length 3, where and . If ; then, Proof. By Lemma 1, we obtain
where
and
. Since the edge
does not lie on any cycle of length 3, we have
; thus, under the given constraints, Equation (
4) gives
□
Now, we provide the first extremal result involving the minimum possible value of for trees.
Theorem 1. In the set of all n-order trees, with , only the star graph possesses the lowest value of ; the mentioned lowest value is .
Proof. Let
T be a tree possessing the lowest value of
in the set of all
n-order trees. Suppose on the contrary that
. Then,
. Consider a path
of
T such that
. If
is the graph deduced from
T by dropping
and inserting
, then by Lemma 2 we have
a contradiction. Also, by elementary computations, one has
□
Next, we pay attention to deriving extremal results involving the minimum possible value of for connected -cyclic graphs. For this, we require the next two results.
Lemma 3. If G is an n-order connected ξ-cyclic graph, is an edge of G, and γ is the number of common neighbors of s and r, then .
Proof. Let
be the number of those neighbors of
r that are neither adjacent to
s nor equal to
s; see
Figure 1. Let
be the number of those neighbors of
s that are neither adjacent to
r nor equal to
r. Then,
and
. Note that
and
. Thus,
□
Lemma 4. Suppose that G is a connected ξ-cyclic graph of order n containing a path such that , where and . If , then Proof. In the following, we take
and
. By Lemma 3, the inequality
holds, and thus under the given constraints, Lemma 1 yields
□
Corollary 1. Let G be a graph possessing the lowest value of in the set of all n-order connected ξ-cyclic graphs, with . Then, .
Proof. Contrarily, assume that . Take a vertex satisfying . Then, G has a path such that . Take . By Lemma 4, it holds that , which is not possible because of the definition of G. Thus, . □
Next, we provide extremal results involving the minimum possible values of for connected -cyclic graphs when .
Note that there are only two (non-isomorphic) 4-order connected unicyclic graphs, and both of them have the same value of . Thus, in the next theorem, we find the extremal graphs of the order of at least 5.
Theorem 2. The graph generated from the n-order start graph by inserting an edge solely possesses the lowest value of in the set of all n-order connected unicyclic graphs, for every . For , the extremal graphs are depicted in the first row, second row, and third row of Figure 2, respectively. Proof. Since there is only one n-order unicyclic graph of maximum degree for every , the desired conclusion follows from Corollary 1 for . Lemma 2 implies that if G is a graph possessing the least value of in the set of all n-order connected unicyclic graphs, with , then the number of pendent vertices in G becomes . Simple calculations yield the desired conclusion for . □
For
, denote by
the
n-order bicyclic graph shown in
Figure 3, where
with
and
. Also, for
, denote by
the
n-order bicyclic graph shown in
Figure 4, where
with
and
for every
.
Theorem 3. Considering the family of all n-order bicyclic connected graphs having , only the graph possesses the lowest value of .
Proof. Let
be an
n-order connected bicyclic graph, with
. If
, then Corollary 1 implies that
cannot possess the lowest value of
in the set of all
n-order connected bicyclic graphs. If
, then
By elementary calculations, we verify that the inequality
holds for
. Hence, for every
, it holds that
□
Next, we characterize the graphs possessing the lowest value of from the set of graphs mentioned in Theorem 3 for .
Theorem 4. Let be an n-order connected bicyclic graph with such that the cycles of do not share any edge and . Then, does not possess the lowest value of in the set of all n-order connected bicyclic graphs for every .
Proof. Take a vertex
satisfying
. Since
, the graph
has a path
such that
. Form a new graph
from
by dropping
and inserting
. By Lemma 3, the inequality
holds, and thus by bearing in mind the given assumptions and Lemma 1, we obtain
which implies that
cannot possess the lowest value of
in the set of all
n-order connected bicyclic graphs for every
. □
Lemma 2 implies the next corollary.
Corollary 2. If G is a graph possessing the least value of in the set of all n-order connected bicyclic graphs, with , then G is isomorphic to either or (see Figure 3 and Figure 4). Lemma 5. For the n-order bicyclic graph (depicted in Figure 3) with and , the following inequality holds: Proof. Since
with
, it holds that
. Therefore, by bearing in mind the given assumptions and Lemma 1, we obtain
□
Lemma 6. For the n-order bicyclic graph (depicted in Figure 3) with and , it holds that Proof. By Lemma 1, we obtain
If
, then the equation
gives
(and hence
; if
then
) and thus under the given constraints Equation (
5) yields
If
, then
and thus Equation (
5) yields the desired conclusion. □
Lemma 7. For the n-order bicyclic graph with , the following relations hold:and Proof. Since
, we have
and
which yield the desired relations. □
Lemma 8. For the n-order bicyclic graph (depicted in Figure 4) with , the following inequalities hold: Proof. Since
with
for
, it holds that
for every
. Also, we recall that
. Therefore, by using the given constraints, we have
□
Lemma 9. For the n-order bicyclic graph , the following relations hold:and Proof. Since
, we have
and
from which the required relations follow. □
Denote by
the graph deduced from the 4-order complete graph
by dropping an edge. Let
be the
n-order graph formed from
by connecting
pendent vertices with one vertex having degree 3 and the rest
pendent vertices with the other vertex having degree 3 (see the graph placed on the left-hand side in
Figure 5), where
. Let
denote the graph generated from
by attaching
pendent vertices to a vertex of degree 2 (see the graph placed on the right-hand side in
Figure 5). Certainly,
.
Now, we are in the position to characterize the graphs possessing the lowest value of from the set of graphs mentioned in Theorem 3 for .
Theorem 5. Among all n-order connected bicyclic graphs,
- (i)
only the graph has the minimum value of for ,
- (ii)
only the graph has the minimum value of for each ,
- (iii)
only the graph has the minimum value of for each ,
- (iv)
only the graphs have the minimum value of for .
Proof. By Corollary 2, it is enough to investigate the values of
for the graphs:
For
, there are only three such graphs; namely,
,
, and
. Certainly, for
, it holds that
which confirms Part (i) of the theorem.
If
G is a graph possessing the least value of
in the set of all 6-order connected bicyclic graphs, then from Corollary 2 and Lemmas 5–9, it follows that
where the graphs
are depicted in
Figure 6. It holds that
If
G is a graph possessing the least value of
in the set of all 7-order connected bicyclic graphs, then from Corollary 2 and Lemmas 5–9, it follows that
where the graphs
are depicted in
Figure 7. It holds that
and
Since
and
, the proof of Part (ii) is completed.
Theorem 4 states that if
is an
n-order connected bicyclic graph with
such that the cycles of
do not share any edge and
; then,
does not possess the lowest value of
in the family of all
n-order bicyclic connected graphs having
. Thus, if
G is a graph possessing the least value of
in the set of all
n-order connected bicyclic graphs for
, then from Corollary 2 and Lemmas 5–7 it follows that
where
. For
, the following relations hold:
Also, the inequality
holds for each
. Moreover, the equation
holds for every
. Thus, Parts (iii) and (iv) also hold. □
Theorem 6. Considering the family of all n-order tricyclic connected graphs with , only the right-most graph in Figure 8 possesses the lowest value of . Proof. Let
G be an
n-order connected tricyclic graph, with
. If
, then Corollary 1 implies that
G cannot possess the lowest value of
in the set of all
n-order connected tricyclic graphs. If
, then
G is one of the graphs
(from left to right, respectively) shown in
Figure 8. We have
But,
for every
because
. Hence,
with equality if and only if
. □
A non-trivial path
of a graph
G is said to be a pendent path if
provided that
when
. By adjacent pendent paths in a graph
G, we mean the pendent paths of
G having a common vertex.
Lemma 10. For , if G is a connected n-order graph possessing adjacent pendent paths, then there a connected n-order graph exists that has no adjacent pendent paths satisfying and Proof. Let
s be the common vertex of two adjacent pendent paths
and
in
G. Assume that the edge
belongs to the path
. Let
be the vertex of
satisfying
. Take
. Evidently,
. Since
and
, by Lemma 1 we obtain
If
contains no adjacent pendent paths, the lemma holds true. If
does contain such paths, we can again perform the above-mentioned transformation successively until we obtain the desired graph
satisfying
. □
The next result is one of the direct outcomes of Lemma 10.
Theorem 7. In the set of all n-order trees, with , only the path graph possesses the highest value of ; the mentioned highest value is Lemma 11. If G is a graph possessing the highest value of among the family of all n-order connected ξ-cyclic graphs admitting and , then .
Proof. Contrary, let . Because of the constraint , the graph G must contain at least one pendent path, say P. Let r and s be the terminal vertices of the path P; particularly, assume that and . Let , where t does not belong to the path P. Take . After the same calculations as made in the proof of Lemma 10, we arrive at ; this contradicts the definition of G. Thereby, . □
The next result is one of the direct outcomes of Lemma 11.
Theorem 8. Considering the family of all n-order unicyclic connected graphs having , only the cycle graph possesses the highest value of ; the mentioned highest value is
Lemma 12. If G is a graph possessing the highest value of in the family of all n-order connected ξ-cyclic graphs admitting and , then .
Proof. The connectedness of G and the constraint guarantee that . Contrarily, let . By Lemma 11, the inequality holds.
Suppose that
G has
m edges. Represent by
the number of members of
. Since
, the inequality
yields
, which further implies that
which guaranties that
that is,
G possess at least one vertex with degree 2.
Consider a vertex
such that
(then, we certainly have
). Also consider a vertex
having degree 2. The inequality
confirms the existence of no less than two neighbors of
s that are not adjacent to
r. We pick from these neighbors of
s a vertex
t such that the graph
is connected. First, by using Lemma 1 and then by using the inequalities
and
, we obtain
which is at odds with the definition of
G. Therefore, we derive that
, as desired. □
Theorem 9. Consider the set of all n-order connected ξ-cyclic graphs with and .
- (i).
If , then only (the) 3-regular graph(s) possess(es) the highest value of in .
- (ii).
If , then only the graphs with possess the highest value of in .
Proof. Assume that
G is a graph possessing the highest value of
in
. Then, by Lemmas 11 and 12, it holds that
and
. Thus, we have
and
where
is defined in the proof of Lemma 12.
- (i)
If
, then Equations (
6) and (
7) yield
and thus
G is 3-regular.
- (ii)
If
, then Equations (
6) and (
7) imply that
and
, as desired.
□
One of the implications of Theorem 9 is the following result.
Theorem 10. Only the graphs with possess the highest value of in the family of all n-order bicyclic connected graphs admitting . For , such an extremal graph can be constructed from the star graph through inserting two non-adjacent edges.
Proof. If
, then the desired conclusion follows from Theorem 9. If
, then by Lemma 11, the minimum degree of a graph possessing the highest value of
in the set of all
n-order connected bicyclic graphs must be at least 2. If
, then there are only three
n-order connected bicyclic graphs with minimum degree of at least 2;
Figure 9 shows all these three graphs together with the values of
. Now, in the following, assume that
.
Assume that G is a graph possessing the highest value of in the family of all n-order connected bicyclic graphs. Then, by Lemma 11, it holds that . We claim that . We note that there is no bicyclic graph with and (because ). Thus, from the proof of Lemma 12 it follows that . Since , from the proof of Theorem 9(ii) it follows that . □
Another implication of Theorem 9 is the following theorem.
Theorem 11. Only the graphs with possess the highest value of in the family of all n-order tricyclic connected graphs admitting . For , such an extremal graph can be constructed from the star graph through inserting three edges between one fixed pendent vertex and three other pendent vertices (see the right-most graph in Figure 10). For , the set of such extremal graphs consists of the graphs for which . Proof. If
, then the desired conclusion follows from Theorem 9. If
, then by Lemma 11 the minimum degree of a graph possessing the highest value of
in the set of all
n-order connected tricyclic graphs must be at least 2. If
, then there are only three
n-order connected tricyclic graphs with a minimum degree at least 2;
Figure 10 shows all these three graphs, and its caption gives the values of
for the mentioned three graphs. Now, in the following, assume that
.
Assume that
G is a graph possessing the highest value of
in the family of all
n-order tricyclic connected graphs. Then, by Lemma 11, it holds that
. First, let
. Then, from the proof of Lemma 12, it follows that
. Since
, from the proof of Theorem 9(ii) it follows that
. Equations (
6) and (
7) yield
and
. Thus, we have
On the other hand, if
then
, where
is the
n-order connected tricyclic graph with maximum degree
and minimum degree at least 2 (see
Figure 11). Here,
This completes the proof. □
5. Extremal Results for -Order Graphs
To prove the first extremal result involving for n-order graphs, we require the following known result:
Lemma 14 ([
10])
. If G is an n-order graph, thenHere, the left equality is true if and only if , and the right equality is true if and only if and G is a - regular graph. Proposition 3. In the set of all n-order graphs, only the edgeless graph and the complete graph possess the least value of ; the mentioned least value is 0. Also, in the same set with the constraint , only the -regular graph possesses the highest value of ; the mentioned highest value is Proof. Since , by Lemma 14 it is enough to show the existence of at least one -regular graph with n vertices satisfying the congruence . Since , we have for some integer k. Thus, if is even then k must be even, and thereby remains even. Eventually, whether is even or odd, in either case, we conclude that is even. Also, it is a well-known observation that at least one t-regular graph with order n exists whenever is even; this fact implies that at least one -regular graph with order n exists for every n satisfying . □
Next, we pay our attention to the extremum values of for n-order molecular graphs.
Theorem 13. In the set of all n-order molecular graphs, with the constraint , only 4-regular graphs possess the highest value of .
Proof. Consider an
n-order molecular graph
G. For every
and
, it holds that
with equality if and only if
. Consequently, we have
where the equality is true if and only if
G is 4-regular. Since at least one 4-regular graph exists for every
, the desired result follows from (
9). □
For the minimal version of Theorem 13, we require the following:
Lemma 15. If G is an n-order molecular graph, with , and , then Proof. Since the function
, with
, is strictly increasing for
, we obtain
where
and
. □
Theorem 14. For every , in the set of all n-order connected molecular graphs, only the trees having the degree set
- (i)
and admitting exactly one vertex of degree 2 possess the least value of , when ;
- (ii)
and admitting exactly one vertex of degree 3 possess the least value of , when ;
- (iii)
possess the least value of , when .
Proof. Consider an n-order connected molecular graph G containing at least one cycle, where . By Lemma 15, it holds that , where is an edge lying on a cycle of G. Thus, for every , a graph possessing the least value of in the set of all n-order connected molecular graphs must be a tree. Consequently, the desired conclusion follows from Corollary 3. □