Skip to content
BY 4.0 license Open Access Published by De Gruyter Open Access December 31, 2019

Topological invariants for the line graphs of some classes of graphs

  • Xiaoqing Zhou , Mustafa Habib , Tariq Javeed Zia , Asim Naseem , Anila Hanif and Ansheng Ye EMAIL logo
From the journal Open Chemistry


Graph theory plays important roles in the fields of electronic and electrical engineering. For example, it is critical in signal processing, networking, communication theory, and many other important topics. A topological index (TI) is a real number attached to graph networks and correlates the chemical networks with physical and chemical properties, as well as with chemical reactivity. In this paper, our aim is to compute degree-dependent TIs for the line graph of the Wheel and Ladder graphs. To perform these computations, we first computed M-polynomials and then from the M-polynomials we recovered nine degree-dependent TIs for the line graph of the Wheel and Ladder graphs.

1 Introduction

In mathematical chemistry, we use mathematics to solve problems of chemistry, and a key area of research in mathematical chemistry is Chemical graph theory in which we represent compounds and chemical structures with graphs and apply graph theory to study their topologies. Topological indices (TIs) are real numbers attached to graph networks and graph of compounds.

TIs remain invariant and can be used in predicting the properties of interesting compounds [1].

In the field of heminformatics, quantitative structure-activity relationship (QSAR) and quantitative structure-property relationship (QSPR), together with Tis, are utilized to study properties and chemical bioactivity of compounds [2]. Like TIs, polynomials also support a considerable number of applications in network theory and chemistry; for instance, the Hosoya polynomial, which is also known as Wiener polynomial [3], is helpful in constructing distance-dependent TIs. The M-polynomial was introduced previously [4] for deciding degree-dependent TIs [5,6].

Definition 1. For a simple connected graph G, the M-polynomial is defined in [4] as:


where δ=Min{dv:vV(G)},Δ=Max{dv:vV(G)},and mij (G) is the edge vuE(G) such that {dv , du} = {i, j}.

The Wiener polynomial was the first such function, with the Wiener index being introduced in 1947 [7]. Thus, we can say that Harold Wiener began the theory of TIs [8,9]. After Wiener’s work, Milan Randic [10] introduced the first degree-dependent TI, which is today known as Randic index (RI), in 1975. The mathematical formula of RI is


In 1988, a generalized version of RI was defined by several researchers [11,12]. This version attracted the attention of both mathematicians and chemists [13]. Numerous numerical properties of this simple TI have studied, and results are presented in research reports [14] and a helpful book [15]. In addition, many research papers and books [16, 17, 18] have been published regarding RI. Two reviews of RI were written by Randic [19,20] and three more reviews have been written on this TI by other scientists [21, 22, 23].

After RI, the most interesting TIs are 1st Zagreb index (ZI) and 2nd ZI [24, 25, 26, 27]. The first and second ZIs were proposed by Gutman and Trinajstic’ and are defined as




The modified 2nd ZI was defined in [28] as


Other TIs include symmetric division (SDI) [29]


harmonic index (HI) [30,31]


inverse sum index


and augmented ZI [32]


In the remaining paper, we consider G to be the simple connected graph. A graph G with vertex set V(G) and edge set E(G) is connected if there exists a connection between any pair of vertices in G [33]. The quantity of vertices of G adjoining a given vertex v, is the “degree” of this vertex and will be denoted by dv. Throughout this paper, G will represent a connected graph, V its vertex set, E its edge set, and dv the degree of its vertex v. The line graph of G is denoted by L(G) and is obtained from G by associating a vertex with each edge of the graph and connecting two vertices with an edge if and only if the corresponding edges of G have a vertex in common.

In this paper we study line graph of Wheel and Ladder graphs. We computed several degree-based topological indices of the understudy families of graphs.

2 Methodology

There are three kinds of TIs:

  1. Degree-based TIs

  2. Distance-based TIs

  3. Spectral-based TIs

In this paper, we aim to compute degree-dependent TIs. To compute degree-based TIs of line graph of Wheel, Ladder and Bipartite graphs, we first drew line graphs and then we divided the edge sets of these line graphs into classes based on the degree of the end vertices and computed their cardinality. From this edge partition, we computed our desired results. First, we computed M-polynomials of the understudy families of graphs. Then, by applying calculus and using table 1, we computed several TIs.

Table 1

Derivation of TIs from M-Polynomial.

Topological IndexDerivation from M(G; x, y)
M1(Dx + Dy )(M(G; x, y))x= y=1
M2(DxDy )(M(G; x, y))x= y=1
mM2(SxSy )(M(G; x, y))x= y=1
Ra(DxαDyα)(M(G; x, y))x= y = 1
RRα(SxαSyα)(M(G; x, y))x= y = 1
SSD(DxSy + SxDy )(M(G; x, y))x= y=1
H2Sx J (M(G; x, y))x=1
ISx JDxDy (M(G; x, y))x= 1

The relationship between M-polynomial and indices is presented in table 1 [4] where


2.1 Main Results

This section consists of two subsections. In the first subsection we study the line graph of the Wheel graph, and in the second subsection we study the line graph of the ladder graph.

2.2 M-polynomial of line graph of Wheel Graph

In order to construct a wheel graph, we connected a single vertex to other vertices in a cycle. A wheel graph with n vertices can also be defined as the 1-skeleton of an (n-1)- gonal pyramid. The Wheel graph is given in Figure 1 and its line graph is given in Figure 2.

Figure 1 Wheel graph.
Figure 1

Wheel graph.

Figure 2 Line graph of Wheel graph.
Figure 2

Line graph of Wheel graph.

2.2.1 Theorem 1

Assume G to be the line graph of Wheel graph; then, we have


2.2.2 Proof

The line graph of Wheel graph is shown in Figure 2. From Figure 2, we have


We can divide the vertex set of G into the following two types, depending on the degree


Such that


We can divide the edge set of G into the following three classes depending on each edge at the degree of end vertices:

E1(G)={uvE(G);du=4and dv=4},
E2(G)={uvE(G);du=n+1and dv=n+1},


E3G=uvEG;du=4 and dv=n+1.



From definition


2.2.3 Proposition 2

Let G be the line graph of Wheel graph; then we have


2.2.4 Proof




  1. First Zagreb index


  2. Second Zagreb index


  3. Modified Second Zagreb index


  4. Symmetric Division index


  5. Harmonic index


  6. Inverse Sum index


  7. Augmented Zagreb index


2.3 M-polynomial of the line graph of the Ladder Graph

A Ladder graph is a planar undirected graph with 2n vertices and 3n-2 edges. The ladder graph can be obtained as the Cartesian product of two path graphs, one of which has only one edge. In this section, let G denote the line Graph of Ladder Graph. The line graph of ladder graph is given in Figure 3.

Figure 3 Line graph of ladder graph.
Figure 3

Line graph of ladder graph.

2.3.1 Theorem 3

Let G be the line graph of Ladder graph. Then we have

M(G,x,y)={4x2y3+2x3y3+4x3y4,if              n=24x2y3+8x3y4+(6n14)x4y4,if         n>2.

2.3.2 Proof

Case 1 when n=2

We can divide the edge set of the line graph of ladder graph into following three classes depending on each edge at the end vertices of the degree

E1(G)={e=uvE(G);du=2and  dv=3},
E2G=e=uvEG;du=3and dv=3,
E3G=e=uvEG;du=3and dv=4.



So by definition of M-polynomial, we have


Case 2 when n>2

We can divide the edge set of the line graph of ladder graph into following three classes depending on the degree of end vertices of each edge:






From the definition of M-polynomial, we have


2.3.3 Proposition 2

Let G be the line graph of Ladder graph. Then we have

1.M1(G)={60if   n=252+5(6n14),if   n>2.
2.M2G=90if n=296n128if n>2.
3.mM2(G)={119if     n=26n+5048if     n>2.

2.3.4 Proof


f(x,y)=M(G,x,y)={4x2y3+2x3y3+4x3y4,if    n=24x2y3+8x3y4+(6n14)x4y4,if    n>2.


Dxf(x,y)={8x2y3+6x3y3+12x3y4,if    n=28x2y3+8x3y4+(6n14)x4y4,if    n>2.
  1. First Zagreb index

    M1(G)=Dx+Dy(f(x,y))={60if    n=252+5(6n14),if    n>2.

  2. Second Zagreb index

    M2(G)=Dx+Dy(f(x,y))={90if    n=296n128if    n>2.

  3. Modified Second Zagreb index

    mM2(G)=SxSy(f(x,y))={119if    n=26n+5048if    n>2.

  4. Symmetric Division index

    SSD(G)=(SyDx+SxDy)(f(x,y))|={21if    n=248+5(6n14)4if    n>2.

  5. Harmonic index

    HG=2SxJfx,yx=1=318105if n=254210n140if n>2.

  6. Inverse Sum index

    I(G)=SxJDxDy(f(x,y))x=1={51335if    n=2420n63235if    n>2.

  7. Augmented Zagreb index

    A(G)=Sx3Q2JDx3Dy3(f(x,y))|x=1={8806188000if n=24064512+307200027000if n>2.

3 Conclusions

TIs are numbers associated with the molecular graphs of chemical structures that are useful in predicting properties of chemical compounds of interest [33, 34, 35, 36, 37, 38, 39]. TIs and QSARs together are used in chemistry, and they tell us about the topology of compounds under study. Calculating TIs of molecular graphs of chemical structures is an interesting problem and has attracted many researchers in recent years. In this paper, we computed M-polynomials for the line graph of some interesting families of graphs. We also computed different TIs from the computed M-polynomials by applying fundamental results of Calculus. We computed Zagreb indices, Randic indices, Symmetric division index, inverse sum index, etc. Our results are applicable in predicting properties of compounds. For example, the symmetric division index is a good predictor of the total surface area, Zagreb indices are used to calculate total pi-electronic energy, the inverse sum index is helpful in approximation of total surface area, augmented Zagreb index is a good predictor of the heat of formation, and the harmonic index is used for medication configuration.

  1. Conflict of interest: Authors declare no conflict of interest.


[1] Gao W., Wang W. F., Dimitrov D., Wang Y. Q., Nano properties analysis via fourth multiplicative ABC indicator calculating, Arabian Journal of Chemistry, 2018, 11(6), 793-801.10.1016/j.arabjc.2017.12.024Search in Google Scholar

[2] Naeem M., Siddiqui M. K., Guirao J.L.G., Gao W., New and Modified Eccentric Indices of Octagonal Grid Omn, Applied Mathematics and Nonlinear Sciences, 2018, 3(1), 209-228.10.21042/AMNS.2018.1.00016Search in Google Scholar

[3] Gutman I., Some properties of the Wiener polynomials, Graph Theory Notes New York, 1993, 125, 13–18.Search in Google Scholar

[4] Deutsch E., Klavzar S., M-Polynomial, and degree-based topological indices, Iran. J. Math. Chem., 2015, 6, 93–102.Search in Google Scholar

[5] Riaz M., Gao W., Baig A.Q., M-Polynomials and degree-based Topological Indices of Some Families of Convex Polytopes, Open j. math. sci., 2018, 2(1), 18–28.10.30538/oms2018.0014Search in Google Scholar

[6] Munir M., Nazeer W., Shahzadi S., Kang S.M., Some invariants of circulant graphs, Symmetry, 2016, 8(11), 134, 10.3390/ sym8110134.10.3390/sym8110134Search in Google Scholar

[7] Wiener H., Structural determination of paraffin boiling points, J. Am. Chem. Soc., 1947, 69, 17–20.10.1021/ja01193a005Search in Google Scholar

[8] Dobrynin A.A., Entringer R., Gutman I., Wiener index of trees: theory and applications, Acta Appl. Math., 2001, 66, 211–249.10.1023/A:1010767517079Search in Google Scholar

[9] Anjum M.S., Safdar M.U., K Banhatti and K hyper-Banhatti indices of nanotubes, Eng. Appl. Sci. Lett., 2019, 2(1), 19 – 37.10.30538/psrp-easl2019.0013Search in Google Scholar

[10] Randic M., On the characterization of molecular branching, J. Am. Chem. Soc., 1975, 97, 6609– 6615.10.1021/ja00856a001Search in Google Scholar

[11] Bollobas B., Erdos P., Graphs of extremal weights, Ars. Combin., 1998, 50, 225–233.10.1016/S0012-365X(98)00320-3Search in Google Scholar

[12] Amic D., Beslo D., Lucic B., Nikolic S., Trinajstic´ N., The Vertex-Connectivity Index Revisited, J. Chem. Inf. Comput. Sci., 1998, 38, 819–822.10.1021/ci980039bSearch in Google Scholar

[13] Hu Y., Li X., Shi Y., Xu T., Gutman I., On molecular graphs with smallest and greatest zeroth-Corder general randic index, MATCH Commun. MatAh. Comput. Chem., 2005, 54, 425–434.Search in Google Scholar

[14] Caporossi G., Gutman I., Hansen P., Pavlovic L., Graphs with maximum connectivity index, Comput. Biol. Chem., 2003, 27, 85–90.10.1016/S0097-8485(02)00016-5Search in Google Scholar

[15] Shao Z., Virk A.R., Javed M.S., Rehman M.A., Farahani M. R., Degree based graph invariants for the molecular graph of Bismuth Tri-Iodide, Eng. Appl. Sci. Lett., 2019, 2(1), 01–11.10.30538/psrp-easl2019.0011Search in Google Scholar

[16] Virk A. R., Jhangeer M.N., Rehman M.A., Reverse Zagreb and Reverse Hyper-Zagreb Indices for Silicon Carbide Si2C3-I [r,s] and Si2C3-II [r,s], Eng. Appl. Sci. Lett., 2018, 1(2), 37-50.Kier L. B.,10.30538/psrp-easl2018.0010Search in Google Scholar

[17] De N., Computing Reformulated First Zagreb Index of Some Chemical Graphs as an Application of Generalized Hierarchical Product of Graphs, Open j. math. sci., 2018, 2(1), 338–350.10.30538/oms2018.0039Search in Google Scholar

[18] Yan L., Farahani M.R., Gao W., Distance-based Indices Computation of Symmetry Molecular Structures, Open j. math. sci., 2018, 2(1), 323–337.10.30538/oms2018.0038Search in Google Scholar

[19] Randić M., On History of the Randić Index and Emerging Hostility toward Chemical Graph Theory, MATCH Commun. Math. Comput. Chem., 2008, 59, 5-124.Search in Google Scholar

[20] Randić M., The Connectivity Index 25 Years After, J. Mol. Graphics Modell. 2001, 20, 19–35.10.1016/S1093-3263(01)00098-5Search in Google Scholar

[21] Imran M., Asghar A., Baig A.Q., On Graph Invariants of Oxide Network, Eng. Appl. Sci. Lett., 2018, 1(1), 23–28.10.30538/psrp-easl2018.0004Search in Google Scholar

[22] Li X., Shi Y., A survey on the Randic index, MATCH Commun. Math. Comput. Chem., 2008, 59, 127–156.Search in Google Scholar

[23] Gao W., Asghar A., Nazeer W., Computing Degree-Based Topological Indices of Jahangir Graph, Eng. Appl. Sci. Lett., 2018, 1(1), 16–22.10.30538/psrp-easl2018.0003Search in Google Scholar

[24] Nikolić S., Kovačević G., Miličević A., Trinajstić N., The Zagreb indices 30 years after, Croat. Chem. Acta, 2003, 76, 113-124.Search in Google Scholar

[25] Gutman I., Das K.C., The first Zagreb indices 30 years after, MATCH Commun. Math. Comput. Chem., 2004, 50, 83–92.Search in Google Scholar

[26] Das K., Gutman I., Some Properties of the Second Zagreb Index, MATCH Commun. Math. Comput. Chem., 2004, 52, 103–112.Search in Google Scholar

[27] Vukiˇcevi´c D., Graovac A., Valence connectivities versus Randic, Zagreb and modified Zagreb index: A linear algorithm to check discriminative properties of indices in acyclic molecular graphs, Croat. Chem. Acta., 2004, 77, 501–508.Search in Google Scholar

[28] Milicevic A., Nikolic S., Trinajstic N., On reformulated Zagreb indices, Mol. Divers., 2004, 8, 393–399.10.1023/B:MODI.0000047504.14261.2aSearch in Google Scholar

[29] Gupta C.K., Lokesha V., Shwetha S.B., Ranjini P.S., On the Symmetric Division deg Index of Graph, Southeast Asian Bulletin of Mathematics, 2016, 40(1), 59-80.Search in Google Scholar

[30] Favaron O., Mahéo M., Saclé J.F., Some eigenvalue properties in graphs (conjectures of Graffiti—II), Discrete Math.,1993, 111, 197–220.10.1016/0012-365X(93)90156-NSearch in Google Scholar

[31] Balaban A. T., Highly discriminating distance based numerical descriptor, Chem. Phys. Lett., 1982, 89, 399–404.10.1016/0009-2614(82)80009-2Search in Google Scholar

[32] Furtula B., Graovac A., Vukiˇcevi´c D., Augmented Zagreb index, J. Math. Chem., 2010, 48, 370–380.10.1007/s10910-010-9677-3Search in Google Scholar

[33] Ali A., Nazeer W., Munir M., et al., M-Polynomials And Topological Indices Of Zigzag And Rhombic Benzenoid Systems. Open Chemistry, 2018, 16(1), 73-78, doi:10.1515/chem-2018-0010.10.1515/chem-2018-0010Search in Google Scholar

[34] Kanabur R., Hosamani S.K., Some Numerical Invariants Associated with V-phenylenic Nanotube and Nanotori, Eng. Appl. Sci. Lett., 2018, 1(1), 1-9.10.30538/psrp-easl2018.0001Search in Google Scholar

[35] Gao W., Asif M., Nazeer W., The study of honeycomb derived network via topological indices, Open j. math. anal., 2018, 2(2), 10–26.10.30538/psrp-oma2018.0014Search in Google Scholar

[36] Noreen S., Mahmood A., Zagreb polynomials and redefined Zagreb indices for the line graph of carbon nanocones, Open j. math. anal., 2018, 2(1), 66–73.10.30538/psrp-oma2018.0012Search in Google Scholar

[37] De N., Hyper Zagreb Index of Bridge and Chain Graphs, Open j. math. sci., 2018, 2(1), 1-17.10.30538/oms2018.0013Search in Google Scholar

[38] Siddiqui H., Farahani M.R., Forgotten polynomial and forgotten index of certain interconnection networks, Open j. math. anal., 2017, 1(1), 44–59.10.30538/psrp-oma2017.0005Search in Google Scholar

[39] Ur Rehman H.M., Sardar R., Raza A., Computing topological indices of Hex Board and its line graph, Open j. math. sci., 2017, 1(1), 62–71.10.30538/oms2017.0007Search in Google Scholar

[40] Sardar M.S., Zafar S., Farahani M.R., The Generalized Zagreb Index of Capra-Designed Planar Benzenoid Series Cak (C6 Open j. math. sci., 2017, 1(1), 44–51.10.30538/oms2017.0005Search in Google Scholar

Received: 2019-03-05
Accepted: 2019-07-01
Published Online: 2019-12-31

© 2019 Xiaoqing Zhou et al., published by De Gruyter

This work is licensed under the Creative Commons Attribution 4.0 Public License.

Downloaded on 21.2.2024 from
Scroll to top button