Abstract
The l-generalized quasi tree is a graph G for which we can find with such that is a tree but for an arbitrary with , is not a tree. In this paper, inequalities with respect to zeroth-order Randić and hyper-Zagreb indices are studied in the class of l-generalized quasi trees. The corresponding extremal graphs corresponding to these indices in the class of l-generalized quasi trees are also obtained. In addition, we carry QSPR analysis of COVID-19 drugs with zeroth-order Randić and hyper-Zagreb indices (energy).
MSC:
05C40; 05C90
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.
Figure 1.
A l-Generalized Quasi Tree or a l-Apex Tree.
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.
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 . Then
where 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 have
The 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.
Figure 2.
Chemical structures of lopinavir and its analogs.
Figure 3.
Chemical structures of favipiravir, ritonavir, and their analogs.
Table 1.
The physicochemical properties of potential drugs which can be a treatment of COVID-19 and their corresponding topological indices.
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.
Table 2.
Correlation of , HM and with the physicochemical properties of potential drugs which can be used as treatment of COVID-19.
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.
Table 3.
Coefficient of determination with the physicochemical properties of potential drugs to be used which can be used as treatment of COVID-19 along with , HM and .
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.
4. Conclusions
An l-generalized quasi tree of order n is defined as a graph G for which there exists a subset with such that is a tree but for any and , is not a tree. In this paper, we investigated the bounds on the zeroth-order Randić and the hyper-Zagreb indices. For the zeroth-order Randić index, gives the minimum value while and gives the maximum value for and , respectively. gives the maximum value of the hyper-Zagreb index. The unique graph gives the minimum value for the hyper-Zagerb index for , while for , the graphs are not unique. Finding the minimum value graph with respect to the hyper-Zagreb index for will be an interesting problem to investigate. Besides the regression analysis of physicochemical properties of COVID-19 drugs and the topological indices (), we see that they give better correlation. Based on this observation, these drugs proved that they are very effective for the treatment of this pandemic.
Author Contributions
Conceptualization, A.A. and M.I.; methodology, A.A. and M.I.; validation, A.A. and M.I.; investigation, A.A. and M.I.; resources, A.A. and M.I.; writing—original draft preparation, A.A. and M.I.; writing—review and editing, A.A. and M.I.; supervision, M.I.; project administration, A.A. and M.I.; funding acquisition, A.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research work was funded by Institutional Fund Projects under grant no. (IFPIP: 1277-247-1443). The authors gratefully acknowledge the technical and financial support provided by the Ministry of Education and King Abdulaziz University, DSR, Jeddah, Saudi Arabia.
Data Availability Statement
The data used to support the findings of this study are included within the article.
Conflicts of Interest
The authors declare that there is no conflict of interests regarding the publication of this paper.
References
- Xu, K.; Wang, J.; Liu, H. The Harary index of ordinary and generalized quasi-tree graphs. J. Appl. Math. Comput. 2014, 45, 365–374. [Google Scholar] [CrossRef]
- Randić, M. On Characterization of molecular branching. J. Am. Chem. Soc. 1975, 97, 6609–6615. [Google Scholar] [CrossRef]
- Kier, L.B.; Hall, L.H. The nature of structure-activity relationships and their relation to molecular connectivity. Eur. J. Med. Chem. 1977, 12, 307–312. [Google Scholar]
- Pavlović, L. Maximal value of the zeroth-order Randić index. Discret. Appl. Math. 2003, 127, 615–626. [Google Scholar] [CrossRef]
- Shirdel, G.H.; Rezapour, H.; Sayadi, A.M. The hyper-Zagreb index of graph operations. Iran. J. Math. Chem. 2013, 4, 213–220. [Google Scholar]
- Gutman, I. The energy of a graph, I. Bull. Acad. Serbe Sci. Arts Cl. Sci. Math. Nat. 2017, 150, 1–8. [Google Scholar]
- Gao, W.; Jamil, M.K.; Farahani, M.R. The hyper-Zagreb index and some graph operations. J. Appl. Math. Comput. 2017, 54, 263–275. [Google Scholar] [CrossRef]
- Liu, H.; Tang, Z. The hyper-Zagreb index of cacti with perfect matchings. AKCE Int. J. Graphs Comb. 2020, 17, 422–428. [Google Scholar] [CrossRef]
- Wang, S.; Gao, W.; Jamil, M.K.; Farahani, M.R.; Liu, J.B. Bounds of Zagreb indices and hyper-Zagreb indices. Math. Rep. 2019, 21, 93–102. [Google Scholar]
- Elumalai, S.; Mansour, T.; Rostami, M.A. New bounds on the hyper-Zagreb index for the simple connected graphs. Electron. J. Graph Theory Appl. 2018, 6, 166–177. [Google Scholar] [CrossRef]
- Nezhad, F.F.; Azari, M. Bounds on the hyper-Zagreb index. J. Appl. Math. Inform. 2016, 34, 319–330. [Google Scholar] [CrossRef]
- Akhter, N.; Jamil, M.K.; Tomescu, I. Extremal first and second Zagreb indices of apex trees. UPB Sci. Bull. Ser. A 2016, 78, 221–230. [Google Scholar]
- Xu, K.; Wang, J.; Das, K.C.; Klavžar, S. Weighted Harary indices of apex trees and k-apex trees. Discret. Appl. Math. 2015, 189, 30–40. [Google Scholar] [CrossRef]
- Javaid, F.; Jamil, M.K.; Tomescu, I. Extremal k-generalized quasi unicyclic graphs with respect to first and second Zagreb indices. Discret. Appl. Math. 2019, 270, 153–158. [Google Scholar] [CrossRef]
- Janik, E.; Niemcewicz, M.; Podogrocki, M.; Saluk-Bijak, J.; Bijak, M. Existing drugs considered as promising in COVID-19 therapy. Int. J. Mol. Sci. 2021, 22, 5434. [Google Scholar] [CrossRef] [PubMed]
- Ahmed, H.; Alwardi, A.; Morgan, R.S.; SonerNandappa, D. γ-Domination topological indices and ϕ-Polynomial of some chemical structures applied for the treatment of COVID-19 patients. Biointerface Res. Appl. Chem. 2021, 11, 13290–13302. [Google Scholar]
- Altassan, A.; Rather, B.A.; Imran, M. Inverse Sum Indeg Index (Energy) with Applications to Anticancer Drugs. Mathematics 2022, 10, 4749. [Google Scholar] [CrossRef]
- Çolakoğlu, O. QSPR Modeling with Topological Indices of Some Potential Drug Candidates against COVID-19. J. Math. 2022, 2022, 3785932. [Google Scholar] [CrossRef]
- Liu, J.B.; Arockiaraj, M.; Arulperumjothi, M.; Prabhu, S. Distance based and bond additive topological indices of certain repurposed antiviral drug compounds tested for treating COVID-19. Int. J. Quantum Chem. 2021, 121, e26617. [Google Scholar] [CrossRef]
- Saleh, A.; Shalini, G.B.S.; Dhananjayamurthy, B.V. The reduced neighborhood topological indices and RNM-polynomial for the treatment of COVID-19. Biointerface Res. Appl. Chem. 2021, 11, 11817–11832. [Google Scholar]
- Wei, J.; Cancan, M.; Rehman, A.U.; Siddiqui, M.K.; Nasir, M.; Younas, M.T.; Hanif, M.F. On topologicil indices of remdesivcr compouud used to treatment cf corova virus (COVID-19). Polycycl. Aromat. Compd. 2021, 42, 4300–4316. [Google Scholar] [CrossRef]
- Xu, K.; Zheng, Z.; Das, K.C. Extremal t-apex trees with respect to matching energy. Complexity 2015, 21, 238–247. [Google Scholar] [CrossRef]
- Chemspider. Search asd Shace Chemistry. 2021. Available online: http://www.chemspider.com/AboutUs.aspx (accessed on 1 October 2022).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).