본문 펼치기
## OPEN
# On curve fitting between topological indices and Gibb’s energy for semiconducting carbon nitrides network
Rongbing Huang <sup>1</sup> , Maged Z. Youssef <sup>2</sup> , Ibrahim Al‑Dayel <sup>2</sup> , Muhammad Farhan Hanif <sup>3</sup> ,
Muhammad Kamran Siddiqui <sup>4</sup> & Fikre Bogale Petros <sup>5</sup> <sup>*</sup>
Quantitative structure relationships linked to a chemical structure that shed light on its properties
and chemical reactions are called topological indices. This structure is upset by the addition of silicon
(Si) doping, which changes the electrical and optical characteristics. In this article, we examine the
connection between a chemical structure’s Gibbs energy (GE) and K-Banhatti indices. In this article, we
compute the K-Banhatti indices and then show the correlation between the indices and Gibb’s energy
of the molecule using curve fitting. Through the curve fitting, we see that there is a strong correlation
between indices and Gibb’s energy of a molecule. We use the polynomial curve fitting approach to see
the correlation between indices and Gibb’s energy.
Keywords Topological indices, Graph, Chemical graph, Curve fitting, Gibbs energy (GE)
A graph G=(V, E), is an order pair, where V is the set of vertices and E is the set of edges. A simple graph does not
have any loops or numerous edges <sup>1</sup> . The number of edges incident to a vertex _u_ determines its valence or degree
and is denoted as dG(u) . The degree of the vertex on a graph that has the most edges incident upon it is known
as the maximum degree and is represented by △(G) . The degree of the vertex with the fewest edges incident to it
is known as the minimum degree, and it is represented by δ(G) . We consider _G_ to be a simple, finite-connected
graph. Topological indices are just one of the many helpful tools that graph theory has given chemists <sup>2</sup> .
One area of study that deals with the graphical depiction of chemical structure is called chemical graph
theory <sup>3</sup> . Isomers are chemical compounds with the same molecular formula but a distinct structure in chemistry.
Chemical graphs are often used to generate models of molecules and chemical compounds. The use of graphs
to discuss chemical structure is known as chemical graph theory <sup>4</sup> . A molecular graph is a graph theory
representation of the structural formula of a chemical compound, where the vertices represent the compound’s
atoms and the edges reflect the compound’s chemical bonds <sup>5</sup> . Cheminformatics, is a newly emerged field that
combines mathematics, chemistry, and information science. It makes it possible to investigate ideas related
to graphs and their uses, such as connection, pathways, cycles, optimization, and many more characteristics <sup>6</sup> .
The thermodynamic potential that, in the absence of an applied electrolytic voltage, is minimized when a
system enters chemical equilibrium at constant pressure and temperature is known as the Gibbs energy. At the
equilibrium point, its derivative concerning the system’s reaction coordinate then disappears. Kulli first gave
the idea of K-Banhatti indices <sup>7</sup> . These graph-theoretical descriptors contribute to the understanding of the
reactivity, stability, and physical characteristics of molecules by capturing important topological traits. Using
K-Banhatti indices, numerous studies have looked at molecule architectures and how they relate to various
chemical properties. For example, Kulli et al. <sup>8,9</sup> used K-Banhatti indices to investigate the chemical characteristics
of various molecular graphs. In addition, Banhatti indices on the Glass line graph and molecular graph were
examined by Tousi et al. <sup>11</sup> . Moreover, Majhi et al. <sup>12</sup> used several nanotubes’ K-Banhatti indices. Similarly, Ullah
1School of Computer Science, Chengdu University, Chengdu, China. 2Department of Mathematics and Statistics,
College of Science, Imam Mohammad Ibn Saud Islamic University (IMSIU), P.O. Box 65892, Riyadh 11566, Saudi
Arabia. <sup>3</sup> Department of Mathematics and Statistics, The University of Lahore, Lahore, Pakistan. <sup>4</sup> Department
of Mathematics, COMSATS University Islamabad, Lahore Campus, Islamabad, Pakistan. <sup>5</sup> Department of
Mathematics, Addis Ababa University, Addis Ababa, Ethiopia. <sup>*</sup> email: fikre.bogale@aau.edu.et
et al. <sup>13</sup> analyzed K-Banhatti and Zagreb-type molecular descriptors in the structure-property relationship of
some novel drug molecules. Kumar et al. <sup>14</sup> studied the energy of graphs and their applications.
In another study, Gowtham <sup>15</sup> studied the line graphs of subdivision graphs of some rooted product graphs
via K-Banhatti indices. Moreover, Ghani, et al. <sup>16</sup> discussed the entropy using the K-Banhatti indices of C6H6 in
various molecules. Arockiaraj et al. <sup>17</sup> discussed the scaled entropies and topological characteristics of covalent
organic frameworks and metals based on triphenylene. Additionally, Shanmukha, et al. <sup>18</sup> computed the indices
for benzenoid hydrocarbons and triazine-based covalent organic frameworks. Javame and Ghods <sup>19</sup> analyzed the
K-Banhatti Degree-Based Indices Using (a, b)-Nirmala Index in Molecular Graph and Line Graph of TUC4C8
(S) Nanotube. Ghani, et al. <sup>21</sup> characterized the chemical network entropies by K-Banhatii topological indices.
Arockiaraj et al. <sup>20</sup> computed the hybrid Topological Indices and Entropies of Hydrogen-Bonded Benzo-tris
imidazole Frameworks: A Degree-Based Approach. Hussain et al. <sup>22</sup> discussed the K-Banhatti indices and entropy
measure for rhodium (III) chloride via linear regression models. Sarkar et al. <sup>23</sup>, computed and analyzed the
topological indices and their importance in chemical sciences. Ranjini, et al. <sup>24</sup>, analyzed certain graphs using
the K-Banhatti indices.
A basic statistical technique called curve fitting, or regression analysis, involves identifying the best-fitting
curve or function that characterizes the data to model the connection between variables. A mathematical model <sup>25</sup>
that depicts the fundamental link between the independent and dependent variables is chosen, and its parameters
are then modified to reduce the discrepancy between the values predicted by the model and the observed data
points <sup>26</sup> . There are several techniques for fitting curves: nonlinear regression may be used to fit more complex
functions, polynomial regression can be used to fit curves with higher degrees, and linear regression can be used
to fit straight lines. Huang et al. <sup>27</sup>, analyzed the topological indices via curve fitting for the cellulose network. Liu
et al. <sup>28</sup> discussed the curvilinear regression analysis via newly proposed entropies for some benzene models. The
flow chart of the methodology is shown in Fig. 1.
Different K-Banhatti indices are defined here <sup>7,10</sup> .
- _The first K-Banhatti index_
Figure 1. Flowchart of the methodology.
B1(G) =
- _The second K-Banhatti index_
B2(G) =
- _The first K-hyper Banhatti index_
HB1(G) =
�ue
�ue
dG(u) + dG(e)
dG(u) + dG(e)
dG(u) × dG(e)
�ue
�2
- _The second K-hyper Banhatti index_
�2
HB2(G) =
- _The K-Banhatti harmonic index_
Hb(G) =
- _The first hyper Revan index_
�ue
dG(u) × dG(e)
�ue
ue
- dG(u) +2 dG(e)
ηR1(G) =
- _The second hyper Revan index_
ηR2(G) =
- _The third Revan index_
ηR3(G) =
- _The first Revan vertex index_
d(i) + d(j)
�e=ij� �2
d(i) × d(j)
�e=ij� �2
d(i) − d(j)
�e=ij� �2
�d(i) <sup>2�</sup>
R1(G) =
�e=i
In the world of materials research, semiconducting carbon nitrides have gained a great deal of attention and have
developed into an extremely exciting material category. These materials are made by expertly arranging carbon
and nitrogen atoms in a particular configuration. Since C and N atoms have identical atomic sizes and four
and five valence electrons, respectively, producing consistent covalent topologies, their strong atomic networks
enable 2D-CN nonstructural to exhibit exceptional optical, thermal, mechanical, and electrical capabilities <sup>29,30</sup> .
Here we used △(G) is the maximum degree of the graph _G_, δ(G) is the minimum degree of the graph _G_, dG(e)
is the degree of the edge _e_ and dG(u) is the degree of the vertex _u_ .
dG(e) = dG(u) + dG(v) − 2 (1)
d(i) = △(G) + δ(G) − dG(e) (2)
By carefully adjusting the final material’s structure, morphology, and composition, these bottom-up techniques
enable the production of semiconducting carbon nitrides that are tailored to specific uses. Both copies of the
carbon nitride unit structure and the structure itself are shown in Fig. 2.
Using the above-defined equation or formula, we obtain the following Tables 1 and 2.
Main results
In this section, we compute the K-Banhatti indices using the given tables. These indices are used as quantitative
tools to evaluate the structural characteristics and system complexity under study. Through the application of
proven formulas and algorithms to the data taken from the tables, we can obtain insights into the connectivity
and network characteristics of the networks under study.
- _The first K-Banhatti index_
Figure 2. The structure of carbon nitrides-C3N4 [ _m_, _n_ ].
( dG ( u )) <u>Frequency</u> <u>Set of Vertices</u> d( i )
d1 2m + 2n + 1 <u>1</u> <u>3</u>
d2 6mn + 2m + 2n − 2 <u>2</u> <u>2</u>
d3 (m + n) <sup>2</sup> + (m + n − 1) <sup>2</sup> <u>3</u> <u>1</u>
Table 1. Vertex partition of Carbon Nitrides C3N4.
<u>Set of Edges</u> ( dG ( u ) , dG ( v )) <u>Frequency</u> dG ( e ) d( i ) d( j )
E1 <u>(1, 2)</u> m + n + 1 <u>1</u> <u>3</u> <u>2</u>
E2 <u>(1, 3)</u> m + n <u>2</u> <u>3</u> <u>1</u>
E3 <u>(2, 2)</u> 3m + 3n − 3 <u>2</u> <u>2</u> <u>2</u>
E4 <u>(2, 3)</u> 8mn + 2m <sup>2</sup> + 2n <sup>2</sup> - 3m − 3n + 1 <u>3</u> <u>2</u> <u>1</u>
E5 <u>(3, 3)</u> 2mn + (m + n − 1) <sup>2</sup> <u>4</u> <u>1</u> <u>1</u>
Table 2. Edge partition of Carbon Nitrides C3N4.
B1(G) =
�ue
dG(u) + dG(e)
B1(G) =(m + n + 1)[(1 + 1) + (2 + 1)] + (m + n)[(1 + 2) + (3 + 2)] + (3m + 3n − 3)
[(2 + 2) + (2 + 2)] + (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)[(2 + 3) + (3 + 3)]
+(2mn + (m + n − 1) <sup>2</sup> )[(3 + 4) + (3 + 4)]
B1(G) =36m <sup>2</sup> + 144mn + 36n <sup>2</sup> - 24m − 24n + 6
- _The second K-Banhatti index_
B2(G) =
�ue
dG(u) × dG(e)
B2(G) =(m + n + 1)[(1 × 1) + (2 × 1)] + (m + n)[(1 × 2) + (3 × 2)] + (3m + 3n − 3)
[(2 × 2) + (2 × 2)] + (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)[(2 × 3) + (3 × 3)]
+(2mn + (m + n − 1) <sup>2</sup> )[(3 × 4) + (3 × 4)]
B2(G) =54m <sup>2</sup> + 216mn + 54n <sup>2</sup> - 58m − 58n + 18
- _The first K-Hyper Banhatti index_
�ue
HB1(G) =
dG(u) + dG(e)
- �2
HB1(G) =(m + n + 1)[(1 + 1) <sup>2</sup> + (2 + 1) <sup>2</sup> ] + (m + n)[(1 + 2) <sup>2</sup> + (3 + 2) <sup>2</sup> ] + (3m + 3n − 3)
[(2 + 2) <sup>2</sup> + (2 + 2) <sup>2</sup> ] + (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)[(2 + 3) <sup>2</sup> + (3 + 3) <sup>2</sup> ]
+(2mn + (m + n − 1) <sup>2</sup> )[(3 + 4) <sup>2</sup> + (3 + 4) <sup>2</sup> ]
HB1(G) =220m <sup>2</sup> + 880mn + 220n <sup>2</sup> - 236m − 236n + 76
- _The second K-Hyper Banhatti index_
�ue
HB2(G) =
dG(u) × dG(e)
- �2
HB2(G) =(m + n + 1)[(1 × 1) <sup>2</sup> + (2 × 1) <sup>2</sup> ] + (m + n)[(1 × 2) <sup>2</sup> + (3 × 2) <sup>2</sup> ] + (3m + 3n − 3)
[(2 × 2) <sup>2</sup> + (2 × 2) <sup>2</sup> ] + (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)[(2 × 3) <sup>2</sup> + (3 × 3) <sup>2</sup> ]
+(2mn + (m + n − 1) <sup>2</sup> )[(3 × 4) <sup>2</sup> + (3 × 4) <sup>2</sup> ]
HB2(G) =522m <sup>2</sup> + 2088mn + 522n <sup>2</sup> - 786m − 786n + 314
- _The K-Harmonic Banhatti index_
<u>�</u>
- dG(u) +2 dG(e)
HB1(G) =
�ue
2 2
<u>�</u> (1 + 1) <sup>+</sup> (2 + 1)
+ (m + n)
-
2 2
- (1 + 2) <sup>+</sup> (3 + 2) <sup>)</sup>
2 2 2 2
(m + n + 1)� (1 + 1) <sup>+</sup> (2 + 1) - + (m + n)� (1 + 2) <sup>+</sup> (3 + 2) <sup>)</sup> <u>�</u> + (3m + 3n − 3)
2 2 + (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1) 2 2
- (2 + 2) <sup>+</sup> (2 + 2) - - (2 + 3) <sup>+</sup> (3 + 3))
Hb(G) =(m + n + 1)
+ (2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)
2 2
- (2 + 3) <sup>+</sup> (3 + 3))
2 2
+(2mn + (m + n − 1) <sup>2</sup> )� (3 + 4) <sup>+</sup> (3 + 4)
Hb(G) = <sup>251</sup> 105 <sup>m +</sup> <sup>251</sup> 105 <sup>n −</sup> 35 <sup>1</sup> <sup>+</sup> <sup>214</sup> 105 <sup>m2 +</sup> <sup>856</sup> 105 <sup>mn +</sup> <sup>214</sup> 105 <sup>n2</sup>
- _The First Revan index_
ηR1(G) =
d(i) + d(j)
�e=ij� �2
�(3 + 2) <sup>2�</sup>
�(3 + 1) <sup>2�</sup>
�(2 + 1) <sup>2�</sup>
+ (3m + 3n − 3)
R1(G) =(m + n + 1)
+ (m + n)
�(2 + 2) <sup>2�</sup>
�(1 + 1) <sup>2�</sup>
+(2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)
+ (2mn + (m + n − 1) <sup>2</sup> )
R1(G) =22m <sup>2</sup> + 88mn + 22n <sup>2</sup> + 54m + 54n − 10
- _The second Revan index_
ηR2(G) =
d(i) × d(j)
�e=ij� �2
�(3 × 2) <sup>2�</sup>
�(3 × 1) <sup>2�</sup>
�(2 × 1) <sup>2�</sup>
+ (3m + 3n − 3)
R1(G) =(m + n + 1)
+ (m + n)
�(2 × 2) <sup>2�</sup>
�(1 × 1) <sup>2�</sup>
+(2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)
+ (2mn + (m + n − 1) <sup>2</sup> )
R1(G) =9m <sup>2</sup> + 36mn + 9n <sup>2</sup> + 79m + 79n − 7
- _The third Revan index_
ηR3(G) =
d(i) − d(j)
�e=ij� �2
�(3 − 2) <sup>2�</sup>
�(3 − 1) <sup>2�</sup>
+ (3m + 3n − 3)
R1(G) =(m + n + 1)
+ (m + n)
�(2 − 2) <sup>2�</sup>
�(1 − 1) <sup>2�</sup>
+(2m <sup>2</sup> + 8mn + 2n <sup>2</sup> - 3m − 3n + 1)
+ (2mn + (m + n − 1) <sup>2</sup> )
R1(G) =2m <sup>2</sup> + 8mn + 2n <sup>2</sup> + 2m + 2n + 2
- _The First Revan vertex index_
�(2 − 1) <sup>2�</sup>
�d(i) <sup>2�</sup>
ηR1(G) =
�e=i
ηR1(G) =(2m + 2n + 1)(3 <sup>2</sup> ) + (6mn + 2m + 2n − 2)(2 <sup>2</sup> ) + ((m + n) <sup>2</sup> + (m + n − 1) <sup>2</sup> )(1 <sup>2</sup> )
ηR1(G) =2m <sup>2</sup> + 28mn + 2n <sup>2</sup> + 24m + 24n + 2
Numerical and graphical comparison
In this section, we do a numerical and graphical comparison study of the generated indices and find that their
values rapidly grow with greater values of _m_ and _n_ as shown in Table 3. The comparison in graph form illustrates
the relationship between the input parameters and the output indices, shedding light on the structural intricacies
of the systems being studied as shown in Figs. 3, 4, 5, 6, 7, 8, 9, 10 and, 11.
The color gradient in the provided figures acts as a visual depiction of the different values of the parameters
under analysis. Generally speaking, red signifies large numbers, green suggests average values, and blue shows
relatively small values. It is clear from looking at the pattern throughout the graphs that displayed data points
show a noticeable upward shift when parameters like m and n are increased. This upward movement implies a
relationship between the output indices and the input parameters, suggesting that greater values of m and n are
associated with more structural features or complexity in the systems that are being studied.
Curve fitting models between indices and Gibb’s energy
The process of creating a curve, or mathematical function, that has the best fit to a set of data points, possibly
subject to constraints, is known as a curve fitting. When fitting a curve, one of two methods can be used: either
smoothing, which creates an approximation “smooth” function to suit the data, or interpolation, which fits the
data exactly. A closely related subject is regression analysis, which concentrates primarily on statistical inferencerelated issues like the degree of uncertainty in a curve fitted to data seen with random errors. Fitted curves can be
used to summarise the relationships between two or more variables, infer values for a function in the absence of
data, and assist with data visualization. The use of a fitted curve beyond the range of the observed data is known
as extrapolation, and it carries some degree of risk because the curve may represent the construction process
just as much as the observed data.
_<u>Indices</u>_ <u>[1, 1]</u> <u>[2, 2]</u> <u>[3, 3]</u> <u>[4, 4]</u> <u>[5, 5]</u> <u>[6, 6]</u> <u>[7, 7]</u> <u>[8, 8]</u> <u>[9, 9]</u> 10,10
B1(G) <u>174.0</u> <u>774.0</u> <u>1806.0</u> <u>3270.0</u> <u>5166.0</u> <u>7494.0</u> <u>10254.0</u> <u>13446.0</u> <u>17070.0</u> <u>21126.0</u>
B2(G) <u>226.0</u> <u>1082.0</u> <u>2586.0</u> <u>4738.0</u> <u>7538.0</u> <u>10986.0</u> <u>15082.0</u> <u>19826.0</u> <u>25218.0</u> <u>31258.0</u>
HB1(G) <u>924.0</u> <u>4412.0</u> <u>10540.0</u> <u>19308.0</u> <u>30716.0</u> <u>44764.0</u> <u>61452.0</u> <u>80780.0</u> <u>102750.0</u> <u>127360.0</u>
HB2(G) <u>1874.0</u> <u>9698.0</u> <u>23786.0</u> <u>44138.0</u> <u>70754.0</u> <u>103630.0</u> <u>142780.0</u> <u>188190.0</u> <u>239860.0</u> <u>297790.0</u>
Hb(G) <u>16.981</u> <u>58.448</u> <u>124.37</u> <u>214.75</u> <u>329.59</u> <u>468.89</u> <u>632.64</u> <u>820.85</u> <u>1033.5</u> <u>1270.6</u>
ηR1(G) <u>230.0</u> <u>734.0</u> <u>1502.0</u> <u>2534.0</u> <u>3830.0</u> <u>5390.0</u> <u>7214.0</u> <u>9302.0</u> <u>11654.0</u> <u>14270.0</u>
ηR2(G) <u>205.0</u> <u>525.0</u> <u>953.0</u> <u>1489.0</u> <u>2133.0</u> <u>2885.0</u> <u>3745.0</u> <u>4713.0</u> <u>5789.0</u> <u>6973.0</u>
ηR3(G) <u>18.0</u> <u>58.0</u> <u>122.0</u> <u>210.0</u> <u>322.0</u> <u>458.0</u> <u>618.0</u> <u>802.0</u> <u>1010.0</u> <u>1242.0</u>
R1(G) <u>82.0</u> <u>226.0</u> <u>434.0</u> <u>706.0</u> <u>1042.0</u> <u>1442.0</u> <u>1906.0</u> <u>2434.0</u> <u>3026.0</u> <u>3682.0</u>
Table 3. Numerical comparison of some _(K-Banhatti and Revan index)_ of C3N4.
Figure 3. Graphically representation of B1(G).
Figure 4. Graphically representation of B2(G).
Figure 5. Graphically representation of HB1(G).
Figure 6. Graphically representation of HB2(G).
Gibbs energy is a thermodynamic potential that expresses the greatest work a thermodynamic system may
accomplish at constant temperature and pressure. It is sometimes referred to as the Gibbs function, Gibbs free
energy, or free enthalpy. The standard molar-free Gibb’s energy of carbon nitride is −55.5 KJmol <sup>−1</sup> . The free
Gibbs energy for various formula units can be found using mathematical formulas that combine thermodynamic
principles, theoretical computations, and experimental evidence. The generic versions of these formulas are as
follows:
Figure 7. Graphically representation of Hb(G).
Figure 8. Graphically representation of ηR1(G).
Figure 9. Graphically representation of ηR2(G).
GE = �f G <sup>◦</sup> = <sup><u>Standard Molar�f G◦</u></sup> × Formula Units
Avogadro <sup>′</sup> s Number
Where, Avogadro <sup>′</sup> s Number = 6.022 × 10 <sup>23</sup> mol <sup>−1</sup> . The relationship between structural features and
thermodynamic properties of materials can be better understood through curve fitting between indices and Gibbs
energy using statistical measurements like R-squared (R <sup>2</sup> ), adjusted R-squared (Ra <sup>2dj), and root mean square</sup>
error ( _RMSE_ ). Within this framework, scientists employ mathematical models, most commonly polynomial
regression, to determine relationships between structural indices, like K-Banhatti indices, and the system’s free
Figure 10. Graphically representation of ηR3(G).
Figure 11. Graphically representation of ηR1(G).
Gibbs energy. The percentage of the variance in the Gibbs energy that the regression model explains is expressed
as the coefficient of determination, or R-squared. There is a substantial correlation between the response variable
(Gibbs energy) and the predictors (indices) when the R-squared value is high. Adjusted R-squared, which
penalizes model complexity to account for the number of predictors, is crucial because R-squared alone may not
always provide a clear picture, particularly when dealing with many predictors. Additionally, by quantifying the
average variation between the predicted and observed Gibbs energy values, RMSE and modified RMSE function
as measurements of the accuracy of the model and offer insights into its goodness of fit. Through the examination
of these statistical measures, scientists can evaluate the validity of the curve-fitting model and acquire a more
profound understanding of the structural elements affecting the thermodynamic stability of materials. This
information can then be utilized to direct the creation of new materials with customized characteristics for
particular uses. Goodness values of fit between indices and heat of formation are shown in Table 4 and parametric
values are shown in Tables 5, 6, 7 and 8. The curve fitting between indices and Gibb’s energy is shown in Figs. 1
2, 13, 14, 15, 16, 17, 18, 19 and 20.
The goodness-of-fit values for semiconducting carbon nitride networks between different indices and Gibbs
energy are shown in Table 4. For B2(C3N4) and HB2(C3N4), the SSE values vary from 0.00221 to 3.004. A model
_<u>Indices</u>_ Fit - Type _<u>SSE</u>_ R <sup>2</sup> AdjustedR <sup>2</sup> _<u>RMSE</u>_
B1(C3N4) _<u>rat</u>_ <u>21</u> <u>2.139</u> <u>1</u> <u>1</u> <u>0.5971</u>
B2(C3N4) _<u>rat</u>_ <u>21</u> <u>0.04663</u> <u>1</u> <u>1</u> <u>0.08816</u>
Hb(C3N4) _<u>rat</u>_ <u>21</u> <u>0.03321</u> <u>1</u> <u>1</u> <u>0.0744</u>
HB1(C3N4) _<u>rat</u>_ <u>11</u> <u>1.544</u> <u>1</u> <u>1</u> <u>0.4697</u>
HB2(C3N4) _<u>rat</u>_ <u>11</u> <u>3.204</u> <u>1</u> <u>1</u> <u>0.6766</u>
ηR1(C3N4) _<u>rat</u>_ <u>21</u> <u>0.1055</u> <u>1</u> <u>1</u> <u>0.1326</u>
ηR2(C3N4) _<u>rat</u>_ <u>21</u> <u>0.4071</u> <u>1</u> <u>1</u> <u>0.2605</u>
ηR3(C3N4) _<u>rat</u>_ <u>21</u> <u>0.02425</u> <u>1</u> <u>1</u> <u>0.06358</u>
R1(C3N4) _<u>rat</u>_ <u>42</u> <u>0.8885</u> <u>1</u> <u>1</u> <u>0.5442</u>
Table 4. Goodness values of fit between indices and Gibb’s energy.
Figure 12. Curve fitting of _GE_ and B1 of (C3N4).
Figure 13. Curve fitting of _GE_ and B2 of (C3N4).
Figure 14. Curve fitting of _GE_ and HB1 of (C3N4).
Figure 15. Curve fitting of _GE_ and HB2 of (C3N4).
Figure 16. Curve fitting of _GE_ and _Hb_ of (C3N4).
Figure 17. Curve fitting of _GE_ and ηR1 of (C3N4).
Figure 18. Curve fitting of _GE_ and ηR2 of (C3N4).
Figure 19. Curve fitting of _GE_ and ηR3 of (C3N4).
pi B1 ( C3N4 ) B2 ( C3N4 ) HB1 ( C3N4 )
p1 −0.01739(−0.01747, −0.01731) −0.01159(−0.01162, −0.01156) −0.2959(−0.2966, −0.2952)
p2 17.48(−4.931, 39.89) −60.81(−81.1, −40.53) −58.59(−78.49, −38.68)
p3 <u>1787(435.8, 3137)</u> −3877(−6249, −1504) <u>196.4(85.83, 307.1)</u>
q1 −1111(−2361, 138.9) <u>4612(2945, 6279)</u> <u>227(156.2, 297.8)</u>
Table 5. Parametric fit values between Gibb’s energy and index values.
pi HB2 ( C3N4 ) Hb ( C3N4 )
p1 −1.541e + 04(−2.222e + 04, −8594) −1.092e + 04(−1.582e + 04, −6026)
p2 −9.255e + 06(−1.632e + 07, −2.193e + 06) −2.124e + 07(−3.782e + 07, −4.665e + 06)
q1 5.225e + 06(2.861e + 06, 7.589e + 06) 8.594e + 06(4.615e + 06, 1.257e + 07)
Table 6. Parametric fit values between Gibb’s energy and index values.
pi η R1 ( C3N4 ) η R2 ( C3N4 )
p1 −0.02689(−0.02701, −0.02677) −0.06076(−0.06145, −0.06006)
p2 −56.53(−75.38, −37.68) −49.94(−66.95, −32.93)
p3 <u>3707(1496, 5919)</u> <u>5222(2110, 8334)</u>
q1 <u>2768(1990, 3545)</u> <u>1976(1583, 2369)</u>
Table 7. Parametric fit values between Gibb’s energy and index values.
pi η R3 ( C3N4 ) R1 ( C3N4 )
p1 −0.3023(−0.3029, −0.3017) −3613(−1.456e + 08, 1.456e + 08)
p2 −57(−76.44, −37.55) 3.961e + 04(−1.598e + 09, 1.599e + 09)
p3 <u>279.3(151.2, 407.4)</u> −1.78e + 05(−7.2e + 09, 7.199e + 09)
p4 <u>−</u> 3.363e + 05(−1.365e + 10, 1.365e + 10)
p5 <u>−</u> −2.72e + 05(−1.109e + 10, 1.109e + 10)
q1 <u>214.6(147.4, 281.8)</u> −4606(−1.845e + 08, 1.845e + 08)
q2 <u>−</u> 5.046e + 04(−2.026e + 09, 2.026e + 09)
Table 8. Parametric fit values between Gibb’s energy and index values.
Figure 20. Curve fitting of _GE_ and R1 of (C3N4).
that fits the data better is indicated by lower SSE values. Particularly low SSE values are shown by indicators
like B2(C3N4) and ηR <sup>2</sup> (C3N4), indicating that these models closely match the observed data. A perfect match
is shown by the values of R <sup>2</sup> and adjusted R <sup>2</sup> being consistently equal to 1 across all indices. This implies that
the models account for all of the variation in Gibbs energy, but it may also be a sign of overfitting, especially for
more sophisticated models.
GE(B1) = <sup><u>p1(B1)2</u></sup> <sup>+ p2(B1) + p3</sup>
B1 + q1
The coefficients are p1 = −0.01739 with Cq = (−0.01747, −0.01731) are p2 = 17.48 with Cq = (−4.931, 39.89)
are p3 = 1787 with Cq = (435.8, 3137) are q1 = −1111 with Cq = (−2361, 138.9) and Mean: 8058.0 Standard
Deviation: 7239.935911318553
GE(B2) = <sup><u>p1(B2)2</u></sup> <sup>+ p2(B2) + p3</sup>
B2 + q1
The coefficients are p1 = −0.01159 with Cq = (−0.01162, −0.01156) are p2 = −60.81 with Cq = (−81.1, −40.53)
are p3 = −3877 with Cq = (−6249, −1504) are q1 = 4612 with Cq = (2945, 6279) and Mean: 11854.0 Standard
Deviation: 10730.255293638947.
GE(HB1) = <sup><u>p1(HB1)2</u></sup> <sup>+ p2(HB1) + p3</sup>
(HB1) + q1
The coefficients are p1 = −0.2959 with Cq = (−0.2966, −0.2952) are p2 = −58.59 with Cq = (−78.49, −38.68)
are p3 = 196.4 with Cq = (85.83, 307.1) are q1 = 227 with Cq = (156.2, 297.8) and Mean: 48300.6 Standard
Deviation: 43718.68089958799.
GE(HB2) = <sup><u>p1(HB2) + p2</u></sup>
(HB2) + q1
The coefficients are p1 = −1.541e + 04 with Cq = (−2.222e + 04, −8594) are p2 = −9.255e + 06 with
Cq = (−1.632e + 07, −2.193e + 06) are q1 = 5.225e + 06 with Cq = (2.861e + 06, 7.589e + 06) and Mean:
112250.0 Standard Deviation: 102398.72424118487.
GE(Hb) = <sup><u>p1(Hb) + p2</u></sup>
(Hb) + q1
The coefficients are p1 = −1.092e + 04 with Cq = (−1.582e + 04, −6026) are p2 = −2.124e + 07 with
Cq = (−3.782e + 07, −4.665e + 06) are q1 = 8.594e + 06 with Cq = (4.615e + 06, 1.257e + 07) and Mean:
497.0619 Standard Deviation: 432.00395580093425.
GE(ηR1) = <sup><u>p1(ηR1)2</u></sup> <sup>+ p2(ηR1) + p3</sup>
(ηR1) + q1
The coefficients are p1 = −0.02689 with Cq = (−0.02701, −0.02677) are p2 = −56.53 with Cq = (−75.38, −37.68)
are p3 = 3707 with Cq = (1496, 5919) are q1 = 2768 with Cq = (1990, 3545) and Mean: 5666.0 Standard
Deviation: 4830.135401828814.
GE(ηR2) = <sup><u>p1(ηR2)2</u></sup> <sup>+ p2(ηR2) + p3</sup>
(ηR2) + q1
The coefficients are p1 = −0.06076 with Cq = (−0.06145, −0.06006) are p2 = −49.94 with Cq = (−66.95, −32.93)
are p3 = 5222 with Cq = (2110, 8334) are q1 = 1976 with Cq = (1583, 2369) and Mean: 2941.0 Standard
Deviation: 2314.0567552820885.
GE(ηR3) = <sup><u>p1(ηR3)2</u></sup> <sup>+ p2(ηR3) + p3</sup>
(ηR3) + q1
The coefficients are p1 = −0.3023 with Cq = (−0.3029, −0.3017) are p2 = −57 with Cq = (−76.44, −37.55) are
p3 = 279.3 with Cq = (151.2, 407.4) are q1 = 214.6 with Cq = (147.4, 281.8) and Mean: 486.0 Standard Deviation:
421.89414154105845.
GE(R1) = <sup><u>p1(R1)4</u></sup> <sup>+ p2(R1)3</sup> <sup>+ p3(R1)2</sup> <sup>+ p4(R1) + p5</sup>
(R1) <sup>2</sup> + q1(R1) + q2
The coefficients are p1 = −3613 with Cq = (−1.456e + 08, 1.456e + 08) are p2 = 3.961e + 04 with
Cq = (−1.598e + 09, 1.599e + 09) a r e p3 = −1.78e + 05 w i t h Cq = (−7.2e + 09, 7.199e + 09)
a r e p4 = 3.363e + 05 w i t h Cq = (−1.365e + 10, 1.365e + 10) a r e p5 = −2.72e + 05 w i t h
Cq = (−1.109e + 10, 1.109e + 10) are q1 = −4606 with Cq = (−1.845e + 08, 1.845e + 08) are q2 = 5.046e + 04
with Cq = (−2.026e + 09, 2.026e + 09) and Mean: 6.77414 Standard Deviation: 1.4760628902590838.
Conclusion
In this work, we used curve fitting models to examine the connection between different topological indices and
Gibbs energy for semiconducting carbon nitride networks. Our results show a strong relationship between the
network’s thermodynamic stability and these topological characteristics. By swapping out the atom for a vertex
and the bond for an edge, we transformed the chemical graph of carbon nitride into a molecular graph. To create
tables, we calculate each vertex’s degree and apply the K-Banhtti index definitions. Different K-Banhatti indices
are computed. We can observe the relationship between indices and Gibb’s energy by using the curve-fitting
approach. To investigate the relationship between indices and Gibbs energy, we employed a polynomial curve
fitting technique in MATLAB. We calculated the goodness-of-fit in our analysis to determine the accuracy of
the model. Our findings indicate a strong correlation between the thermodynamic property being examined and
the predictors denoted by the indices. By using polynomial regression and curve fitting, we were able to achieve
a high degree of goodness of fit, indicating a robust relationship between the Gibbs energy and the structural
characteristics of the materials. This shows that there is a close relation between indices and Gibb’s energy.
Data availability
The datasets used and/or analysed during the current study available from the corresponding author on
reasonable request.
Received: 25 March 2024; Accepted: 2 August 2024
References
1. West, D. B. _Introduction to Graph Theory_ Vol. 2 (Prentice Hall, Upper Saddle River, 2001).
2. Bonchev, D. _Chemical Graph Theory: Introduction and Fundamentals_ Vol. 1 (CRC Press, Boca Raton, 1991).
3. Kosar, Z., Zaman, S., Ullah, A., Siddiqui, M. K. & Belay, M. B. Computation of molecular description of supramolecular Fuchsine
model useful in medical data. _Sci. Rep._ 14 (1), 10933 (2024).
4. Yu, G. _et al._ On topological indices and entropy measures of beryllonitrene network via logarithmic regression model. _Sci. Rep._
14 (1), 7187 (2024).
5. Yang, H. _et al._ On topological analysis of two-dimensional covalent organic frameworks via M-polynomial. _Sci. Rep._ 14 (1), 6931
(2024).
6. Balaban, A. T. Applications of graph theory in chemistry. _J. Chem. Inf. Comput. Sci._ 25 (3), 334–343 (1985).
7. Kulli, V. R. On K Banhatti indices of graphs. _J. Comput. Math. Sci._ 7 (4), 213–218 (2016).
8. Kulli, V. R. & On, K. On K hyper-Banhatti indices and coindices of graphs. _Int. Res. J. Pure Algebra_ 6 (5), 300–304 (2016).
9. Kulli, V. R. On K Banhatti indices and K hyper-Banhatti indices of V-Phenylenic nanotubes and nanotorus. _J. Comput. Math. Sci._
7 (6), 302–307 (2016).
10. Mahboob, A., Muhiuddin, G., Siddique, I. & Alam, S. M. A view of Banhatti and Revan indices in chemical graphs. _J. Math._ 2022 (1),
568–580 (2022).
11. Tousi, J. R. & Ghods, M. Investigating Banhatti indices on the molecular graph and the line graph of Glass with M-polynomial
approach. _Proyecciones J. Math._ 43 (1), 199–219 (2024).
12. Majhi, B. K., Kulli, V. R., & Cangul, I. N. Sum connectivity delta Banhatti and product connectivity delta Banhatti indices of certain
nanotubes. 4 (5), 103–117.
13. Ullah, A., Jabeen, S., Zaman, S., Hamraz, A. & Meherban, S. Predictive potential of K-Banhatti and Zagreb type molecular
descriptors in structure-property relationship analysis of some novel drug molecules. _J. Chin. Chem. Soc._ 5 (7), 232–247 (2024).
14. Kumar, S., Sarkar, P., & Pal, A. (2023). A study on the energy of graphs and its applications. Polycycl. Aromat. Compd. pp. 1–10.
15. Gowtham, K. J. & Narahari, N. The study of line graphs of subdivision graphs of some rooted product graphs via K-Banhatti indices.
_Int. J. Math. Ind._ 23 (5), 135–156 (2023).
16. Ghani, M. U. _et al._ Entropy related to K-Banhatti indices via valency based on the presence of C6H6 in various molecules. _Molecules_
28 (1), 452–468 (2023).
17. Arockiaraj, M., Raza, Z., Maaran, A., Abraham, J., & Balasubramanian, K. (2024). Comparative analysis of scaled entropies and
topological properties of triphenylene-based metal and covalent organic frameworks. Chem. Paper pp. 1–24.
18. Shanmukha, M. C. _et al._ Chemical applicability and computation of K-Banhatti indices for benzenoid hydrocarbons and triazine
based covalent organic frameworks. _Sci. Rep._ 13 (1), 177–193 (2023).
19. Javame, S. & Ghods, M. Analysis of K-Banhatti polynomials and calculation of some degree based indices using (a, b)-nirmala
index in molecular graph and line graph of TUC4C8 (S). _Nanotube_ 5 (6), 234–256 (2023).
20. Arockiaraj, M., Fiona, J. C., & Balasubramanian, K. (2024). Degree based hybrid topological indices and entropies of hydrogen
bonded benzo-trisimidazole frameworks. J. Mole. Struct. pp. 138740–138755.
21. Ghani, M. U. _et al._ Characterizations of chemical networks entropies by K-Banhatii topological indices. _Symmetry_ 15 (1), 143–160
(2023).
22. Hussain, M. _et al._ On K-Banhatti indices and entropy measure for rhodium (III) chloride via linear regression models. _Heliyon_
9 (10), 456–472 (2023).
23. Sarkar, P., De, N. & Pal, A. On some topological indices and their importance in chemical sciences: A comparative study. _Eur. Phys._
_J. Plus_ 137 (2), 195–213 (2022).
24. Ranjini, P. S. & Lokesha, V. The K. Banhatti indices of certain graphs. _Southeast Asian Bull. Math._ 46 (4), 56–77 (2022).
25. Chu, Z. Q. _et al._ On rational curve fitting between topological indices and entropy measures for graphite carbon nitride. _Polycyclic_
_Aromat. Compd._ 43 (3), 2553–2570 (2023).
26. Yang, J. _et al._ On physical analysis of topological co-indices for beryllium oxide via curve fitting models. _J. Mol. Struct._ 1278,
134–153 (2023).
27. Huang, R., Siddiqui, M. K., Manzoor, S., Khalid, S. & Almotairi, S. On physical analysis of topological indices via curve fitting for
the natural polymer of cellulose network. _Eur. Phys. J. Plus_ 137 (3), 1–17 (2022).
28. Liu, G., Siddiqui, M. K., Manzoor, S., Naeem, M. & Abalo, D. On curvilinear regression analysis via newly proposed entropies for
some benzene models. _Complexity_ 20 (22), 345–356 (2022).
29. Makaremi, M., Grixti, S., Butler, K. T., Ozin, G. A. & Singh, C. V. Band engineering of carbon nitride monolayers by N-type, P-type,
and isoelectronic doping for photocatalytic applications. _ACS Appl. Mater. Interfaces._ 10 (13), 11143–11151 (2018).
30. Cheng, L., Zhang, H., Li, X., Fan, J. & Xiang, Q. Carbon-graphitic carbon nitride hybrids for heterogeneous photocatalysis. _Small_
17 (1), 200–220 (2021).
Acknowledgements
This work was supported and funded by the Deanship of Scientific Research at Imam Mohammad Ibn Saud
Islamic University (IMSIU) (grant number IMSIU-RPP2023042).
Author contributions
Rongbing Huang contributed to Investigation, analyzing the data curation, and designing the experiments.
Maged Z. Youssef contributed to data analysis, computation, funding resources, calculation verifications. Ibrahim
Al-Dayel contributed for computation, and investigated and approved the final draft of the paper. Muhammad
Farhan Hanif contributes to Matlab calculations, Maple graphs improvement. Muhammad Kamran Siddiqui
contributed to supervision, conceptualization, Methodology, project administration, and resources, and wrote
the initial draft of the paper. Fikre Bogale Petros contributes to formal analyzing experiments, software, validation
and funding. All authors read and approved the final version.
Competing interests
The authors declare no competing interests.
Additional information
Correspondence and requests for materials should be addressed to F.B.P.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives
4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in
any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide
a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have
permission under this licence to share adapted material derived from this article or parts of it. The images or
other third party material in this article are included in the article’s Creative Commons licence, unless indicated
otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and
your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain
[permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/](http://creativecommons.org/licenses/by-nc-nd/4.0/)
[licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/)
© The Author(s) 2024, corrected publication 2024