1. Introduction
Let
G denote a finite simple and connected graph of order
n. Let
and
denote the set of vertices and edges of
G, respectively. The
degree of a vertex
is the number of edges incident on it. For simplicity, we write
instead of
when there is no ambiguity of notations. We denote path, cycle, star and compete graphs on
n vertices by
,
,
and
, respectively. An isolated vertex is represented by
. A tree with an edge
such that there are
pendent vertices adjacent to
u and
pendant vertices adjacent to
v, is called
bistar (double star tree) of order and it is denoted by
. The minimum and maximum vertex degrees in a graph are respectively denoted by
and
. A vertex deleted subgraph
of a graph
G is obtained by deleting the vertex
from
G along with the edges incident on it. Similarly, for an edge
the graph
is the graph obtained by deleting the edge
from
G. Let
Then the graph
is obtained by deleting all vertices of
X from
G together with their incident edges. A
tree is a connected graph that does not contain any cycles. Xu et al. [
1] defined the notion of a
quasi tree to be a graph
G such that
is a tree for some
. They also generalized this notion for any positive integer
l and called it
l-generalized quasi tree which is defined as a graph
G for which there exists
, with
such that
is a tree, while for any
with
,
is other than a tree. Here, the vertex
and all
are the vertices deletion of whom from
G result in a tree, thus theses vertices are called quasi vertices of
G. We denote the set of
l-quasi generalized trees with
n vertices by
and the set of all
l quasi vertices by
. The notion of an
apex tree and
l-
apex tree respectively refers to a quasi tree graph and
l-generalized quasi tree.
Figure 1 represents a quasi tree graph or specifically a
l-generalized quasi tree graph.
Now, we give a brief introduction to some important topological indices of our interest. Randić [
2] defined the
Randić index in 1975 as follows.
Kier and Hall [
3] defined the
zeroth order Randić index as follows.
In [
4], Pavlović found a graph with maximal value of
. The
hyper-Zagreb index [
5] of a graph
G is defined as
The hyper-Zagreb matrix of
G of order
is defined by
Let
be the eigenvalues of
. Then, the hyper-Zagreb energy is defined as
. The basic results, comparing the hyper-Zagreb index of a graph with its older congeners were presented by Gutman [
6]. The hyper-Zagreb indices of graph operations such as join, corona, Cartesian product and more were studied in [
5,
7]. Liu and Tang [
8] determined sharp upper bounds of cacti and determined the corresponding extremal graphs. In [
9], Wang et al. studied upper and lower bounds of the hyper-Zagreb index and provided relation between Zagreb and hyper-Zagreb indices. Elumalai et al. [
10] investigated some upper bounds on hyper-Zagreb index in terms of order, size, maximum degree, Zagreb indices and harmonic index. They also established some identities between the hyper-Zagreb index and its coindices. Nezhad and Azari [
11] also studied some bounds on hyper-Zagreb index in terms of several graph parameters.
Akhter et al. [
12] investigated the class of
l-apex trees and determined the bounds on Zagreb index of the first kind and an upper bound on the Zagreb index of the second kind. Moreover, they characterized the corresponding graphs in this family. Recently, Wang et al. [
13] obtained bounds for the class of apex trees and
l-apex trees with respect to weighted Harary indices. Javaid et al. [
14] studied bounds of Zagreb indices for the class of
k-generalized quasi unicyclic graphs and obtained extremal graphs corresponding to the extremal values. In this paper, we study the extremal properties of the zeroth-order Randić index and the hyper-Zagreb index in the class of
l-generalized quasi trees or the class of
l-apex trees in short.
In
Section 2, we discuss the main results related to zeroth-order Randić and hyper-Zagreb indices. In
Section 3, we carry the QSPR analysis of COVID-19 drugs with zeroth-order Randić and hyper-Zagreb indices (energy) and end up the article with the conclusion.
2. Discussion and Main Results
We start this section with some auxiliary lemmas [
3].
Lemma 1. Let and . Then
- (i)
- (ii)
Lemma 2. Let . The the following statements are satisfied.
- (i)
If G has minimum zeroth-order Randić index and w is a quasi vertex of then w has maximum degree, i.e., d(w) = n − 1.
- (ii)
If G has maximum hyper-Zagreb index and w is a quasi vertex of G, then w has maximum degree, i.e.,
- (iii)
If G has minimum hyper-Zagreb index and w is a quasi vertex of G, then d(w) = 2.
Proof. Let with minimum zeroth-order Randić index and let w be its quasi vertex. Assume a contrary that . Then, there is at least one vertex u such that . Clearly, and which is a contradiction against the minimality of . Hence, we have .
On similar lines we can obtain the result for the hyper-Zagreb index.
Now, for (iii), consider with minimum value of the hyper-Zagreb index. Since, w is a quasi vertex, . Suppose that . Then, for any edge , we have and , which is a contradiction. Thus, . Moreover, w is adjacent to two vertices of . □
Lemma 3. Let n, , a, be integers with . Then, the function gives the minimum value if and only if for every . For , gives maximum only for , , , where and the second maximum is obtained only for , , , where .
Proof. Since , for , the function is strictly decreasing for . If , then and . In other words . This shows that the function is minimum if and only if for every .
Now for the maximum value, if then and In other words . This shows that the maximum is obtained only for , , where , and the second maximum is obtained only for , , where . □
Lemma 4. Let n, be integers with . For , the function gives the maximum value only for , where .
Proof. The function is strictly decreasing for . If then and In other words . This shows that the maximum is obtained only for , where . □
Lemma 5. Let G with satisfying that , and . Then, for a new graph H such that , we have Proof. Let and . Then, for the graphs G and H, we have, , since the function is strictly decreasing function for . □
Lemma 6. Let . If is maximum, then there is a spanning subgraph H of G such that . Further, any quasi vertex w is adjacent to two vertices in H which are not quasi vertices, and .
Proof. Since G is an l-generalized quasi graph, there exists a subset such that is tree and A is a minimal set with this property. It is clear that for any . If , then and equality holds iff for every and no two vertices in A are adjacent. From Lemma 1, deleting some edges it implies that the existence of H, which is may not in . □
Let
G be a graph such that each vertex of
G has a fixed weight
. Then
Lemma 7. Let T be a tree of order n such that every vertex of T has a constant weight . Thenwhere is the unique tree with the maximum value of . Proof. Let
T be a tree such that
,
and
is maximum. We have
. It follows that there exist three vertices
such that
with
, where
. Without loss of generality, suppose that
. Let
and
. Now, we construct a new tree
such that
. By comparing the values of
for
T and
, we have
which contradicts the maximality of
. To obtain the required result, we show that for
and
, we have
. For this, we have
since
, which implies that
. Similarly
. □
In the following theorem, we characterized the minimal graph with the minimum zeroth-order Randić index.
Theorem 1. Let , where and . Then, we haveThe equality holds if and only if . Proof. Let
such that
G has minimum
. As
, there exists an
l-quasi vertices subset
. Lemma 1 implies that
forms a complete subgraph in
Then, by Lemma 2, we have
. Now, we have the following:
By applying Lemma 3 with the fact that every tree has at least two vertices of degree one, the term
reached its minimum value when
. Hence, the identity (
1) becomes
and the equality holds if and only if
. □
The following result gives a maximal value of the zeroth-order Randić index and the corresponding maximal graph in the class of l-generalized quasi trees.
Theorem 2. Let with and .
- (i)
If and l = 1, then . The equality holds if and only if , where a is the center and b is a pendant vertex of .
- (ii)
If and , then The equality holds if and only if , where a and b are vertices with degrees and 2, respectively.
Proof. Let
such that
G has maximum zeroth-order Randić index. As
G is an
l-generalized quasi tree, there exists an
l-quasi vertices subset, say,
. Lemmas 1, 5 and 6, we deduced the presence of a graph
K with vertex set
,
and in
K, we have:
forms an empty graph, i.e.,
,
whenever
w is a quasi vertex and quasi vertices have common neighbors
in
G. So, the graph
K can be expressed as
and we have
From Lemma 3, we found that the term is maximum only if , is the center and is a pendant vertices of , respectively. For , we obtain an l-generalized quasi-tree and for this property is no longer valid. We must take the second maximum of the term . Now, , and . Hence, the result follows. □
The following two results are on the minimality and the maximality of the hyper-Zagreb index for the class of l-generalized quasi trees.
Theorem 3. Let , where and . Then, for the hyper-Zagreb index, we have The equality holds if and only if .
Proof. Suppose
with maximum hyper-Zagreb index. From Lemmas 1 and 2, we deduced that, the set of quasi vertices
, form a complete subgraph and
. Now, we need to prove that
. Here, we have
From Lemma 4, the maximum value of the function is obtained if and only if has a vertex of degree , i.e., . Moreover, by Lemma 7, we find that is maximum only for . Hence, . □
Theorem 4. Let . Then
- (i)
For and , we haveand the equality is achieved if and only if . - (ii)
For and , we have
and the equality is achieved if and only if where
- (i)
A is a graph of 2 cycles of length 3 with a common edge for , or
- (ii)
A is a graph of 2 cycles having a common path of length at least two for , or
- (iii)
A is a graph of 2 cycles joined by a path of length at least two for .
Proof. Let be such that G has the smallest value of hyper-Zagreb index. Let be a subset of quasi vertices of . Then, by Lemma 2 (iii), for every . Moreover, w is adjacent to two vertices of . This implies that G is connected graph with edges, and thus G has l cycles.
First we show that
G has no pendant vertices. On contrary suppose that there is a pendant vertex, say,
v. Then, there exist a path
, which joins the vertex
v to the vertex
u which belongs to a cycle denoted by
C in
G. Suppose
and
for
. We have
. It follows that
and
for at least one
i. Now, we construct a new
l-cyclic graph
, with
n vertices such that
, where
and
are two consecutive vertices of
C. Let
and
, where
. We obtain
and
for every
. In addition, we have the following
for
and the equality holds only for
or
. This is a contradiction against the minimality of
. Hence,
and
x is a pendant vertex of
. Now, we will repeat the same procedure on the pendant vertex
x. In this way, we will find an
l-cyclic graph of order
n with a pendant vertex adjacent to a vertex
u on
C. For
, we have
and
, a contradiction. Assume that all vertices of
G have degree greater than or equal to two.
(i) If , then G is a connected unicyclic graph with no pendant vertices, hence .
(ii) If , then G is a connected bicyclic graph with no pendant vertices. From handshaking theorem, we have . This implies that the degree sequence of G is or .
If the degree sequence is then
(a) G consists of two cycles with a common path of length greater than or equal to one , or
(b) G consists of two cycles joined by a path of length greater than or equal to one, .
If the degree sequence is , then
(c) G consists of two cycles with a common vertex.
In cases of (a) and (b), if , then . If , then . For case (c), we have . Clearly, we have . Hence, the minimum of can be achieved only for the graphs lie in (b), but for , we have unique graphs which lie in (a). For , we have two extremal graphs: a graph with and with a common path and a graph with and with a common path . □
3. An Application of Zeroth-Order Randić and Hyper-Zagreb Indices for the COVID-19 Drugs
COVID-19 is a pandemic which is caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), a new coronavirus. SARS-CoV-2 is a positive single-stranded RNA virus containing proteins. There are several drugs which have been used as the treatment of this pandemic, such as chloroquine, hydroxychloroquine, azithromycin, remdesivir, lopinavir, ritonavir, arbidol, favipiravir, theaflavin, thalidomide, and ribavirin (see [
15]). Various topological indices were calculated to be used in QSPR and QSAR models of drugs used for the treatment of COVID-19 [
16,
17,
18,
19,
20,
21,
22]. Some of these drugs showed good effects, while others have no effect for this disease. In the present study, we consider lopinavir, favipiravir, and ritonavir, along with their analogs. CID10009410, CID44271905, CID3010243, and CID271958 structures which are structural analogs of lopinavir, CID89869520 structure which is favipiravir analog, and lopinavir-d8 (CID71749833) which is ritonavir analog are considered. The values of enthalpy of vaporization (E), flash point (FP), molar refractivity (MR), polarizability (P), and molar volume (MV) of these potential drugs against COVID-19 are taken from ChemSpider [
23]. The structures of the drugs used in the regression analysis are show in
Figure 2 and
Figure 3.
Table 1 shows the physicochemical properties of potential drugs that can be used as treatment of COVID-19 and the values of the zeroth-order Randić index, the hyper-Zagreb index and the hyper-Zagreb energy.
From
Table 2, we see that the zeroth-order Randić index is better correlated with the physicochemical properties of COVID-19 drugs as compared to the hyper-Zagreb index and hyper-Zagreb energy. The hyper-Zagreb index is the least related among these three graph invariants.
From
Table 3, the signifiant observation is that
is high (average
) for the zeroth-order Randić index and the physicochemical properties of COVID-19 drugs. The second highest is for the hyper-Zagreb energy (average
) and the least is for the hyper-Zagreb index.
The following linear regression models give the best estimate for the physicochemical properties of potential drugs which can be used as treatment of COVID-19 along with the zeroth order Randić index, the hyper-Zagreb index and the hyper-Zagreb energy.