On the Estrada index of unicyclic and bicyclic signed graphs
Abstract. Let be a signed graph of order with eigenvalues We define the Estrada index of a signed graph as . We characterize the signed unicyclic graphs with the maximum Estrada index. The signed graph is said to have the pairing property if is an eigenvalue whenever is an eigenvalue of and both and have the same multiplicities. If denotes the set of all unbalanced graphs on vertices and edges with the pairing property, we determine the signed graphs having the maximum Estrada index in , when and . Finally, we find the signed graphs among all unbalanced complete bipartite signed graphs having the maximum Estrada index.
Keywords: Signed graph, Estrada index, pairing property, largest eigenvalue, spectral moment.
AMS subject classification: 05C22, 05C50.
1 Introduction
A signed graph is an ordered pair in which is an underlying graph and is a function from the edge set ) to , which is called
a signing. For a signed graph and its subgraph , we use the notation for writing the signed subgraph of , where is the restriction of the mapping to the edge set . The adjacency matrix of a signed graph naturally arose from the unsigned graph by putting or , whenever the corresponding edge is either negative or positive, respectively. The characteristic polynomial, denoted by , is called the characteristic polynomial of the signed graph . For brevity, the spectrum of the adjacency matrix is called the spectrum of the signed graph . Let the signed graph of order has distinct eigenvalues (we drop where the signed graph is understood) and let their respective multiplicities be . The adjacency spectrum of is written as . From the definition, it follows that the matrix is a real symmetric and hence the eigenvalues of the signed graph are all real numbers. The largest eigenvalue is also known as the index of the signed graph .
The concept of signature switching is necessary when dealing with signed graphs. Let be a subset of the vertex set . The switched signed graph is obtained from by reversing the signs of the edges in the cut . Clearly, we see that the signed graphs and are switching equivalent. The switching equivalence is an equivalence relation that preserves the eigenvalues. The switching class of is denoted by . The sign of a cycle is the product of the signs of its edges. A signed cycle on vertices is positive (or negative) if it contains an even (or odd) number of negative edges, respectively. A signed graph is said to be balanced if all of its signed cycles are positive, otherwise, it is unbalanced. That is, a signed graph is said to be balanced if it switches to the signed graph with all positive signature. Otherwise, it is said to be unbalanced. By we say that the signature is equivalent to the all-positive signature, and the corresponding signed graph is equivalent to its underlying graph. In general, the signature is determined by the set of positive cycles. Hence, all trees are switching equivalent to the all-positive signature. Equivalently, we can say that the edge signs of bridges are irrelevant. Finally, the signature of the balanced signed graphs is switching equivalent to the all-positive one. In our drawings of signed graphs, we represent the negative edges with dashed lines and the positive edges with solid lines. A connected signed graph is said to be unicyclic if it has the same number of vertices and edges. If the number of edges is one more than the number of vertices, then it is said to be bicyclic. For definitions and notations of graphs, we refer to [21].
The signed graph is said to have the pairing property if is an eigenvalue whenever is an eigenvalue of and both and have the same multiplicities. The signed graph with all positive signature has the pairing property if and only if its underlying graph is bipartite. For any signature it is not true.
The rest of the paper is organized as follows. In Section , we extend the Estrada index to signed graphs. Furthermore, we characterize the signed unicyclic graphs with the maximum Estrada index. In Section , we find the signed graphs in the set of all unbalanced unicyclic and bicyclic graphs having the pairing property with the maximal Estrada index respectively.
2 Estrada index in signed graphs
The Estrada index, a graph-spectrum-based structural descriptor, of a graph is defined as the trace of the adjacency matrix exponential and was first proposed by Estrada in . Pena et al. [19] recommended calling it the Estrada index, which has since become widely adopted. This index can be used to measure a range of things, including the degree of protein folding [6, 7, 8], the subgraph centrality and bipartivity of complex networks [9, 10]. Because of the graph Estrada index’s exceptional use, various Estrada indices based on the eigenvalues of other graph matrices were investigated. Estrada index-based invariant concerning the Laplacian matrix, signless Laplacian matrix, distance matrix, distance Laplacian matrix and distance signless Laplacian matrix have been studied, see [11].
In social networks, the balance (stability) [12, 13] of a signed network
can be quantified by
(2.1) |
where denotes the trace of the matrix . Motivated by Equation , we define the Estrada index for the signed graph in full analogy with the Estrada index for a graph, as
(2.2) |
where , , , are the eigenvalues of the signed graph . The Seidel matrix of a simple graph with vertices and having the adjacency matrix is defined as
. Obviously, the Seidel matrix is the adjacency matrix of some signed graph , where is the complete graph on vertices. Therefore, Eq. is the extension of the Siedel Estrada index [1].
For non-negative integer , let denote the -th spectral moment of . From the Taylor expansion of , in can be rewritten as
(2.3) |
It is well-known that is equal to the difference of the number of positive and negative closed walks of length in . Mathematically, we have
(2.4) |
where and are, respectively, the number of positive and negative closed walks of length in . In particular, we have
, , and ,
where is the number of vertices, is the number of edges, is the number of positive triangles and is the number of negative triangles in the signed graph .
Let and be two signed graphs. If holds for any positive integer , then, by Eq. we get . Further, if the strict inequality holds for at least one integer , then . It is easy to see that if has connected components , then So, we shall investigate the Estrada index of connected signed graph from now on. One classical problem of graph spectra is to identify the extremal graphs with respect to the Estrada index in some given class of graphs, for example, see [4, 5, 25]. For a signed tree, all signatures are equivalent. The following result shows that among all signed trees on vertices, the signed path has a minimum and the signed star has the maximum Estrada index.

Theorem 2.1
[4] If is an -vertex tree different from and , then
Remark 1.1 Let be a connected signed graph of order with all positive signature and a positive edge. The signed graph is obtained from by adding the edge . It is easy to see that any self-returning walk of length of is also a self-returning walk of length of . Thus, and But in general adding any signed edge between two non-adjacent vertices of the signed graph may not increase the Estrada index. Consider the signed graphs , as shown in Figure . Their spectrum is given by , , , , and respectively. The signed graph is obtained from by adding negative edge between two non-adjacent vertices and clearly The signed graph is obtained from by adding negative edge between two non-adjacent vertices and Furthermore, The signed graph is obtained from by adding positive edge and Therefore, edge addition (deletion) technique cannot be used to compare the Estrada index in signed graphs.
Theorem 2.2
Let be a graph on vertices. Then , with strict inequality if and only if contains at least one odd cycle.
Proof. Let be a graph on vertices. Put and . Then, by Eq. , we have
(2.5) | ||||
The signed graph can be obtained from the signed graph by negating each edge. Therefore . Thus, by rearrangement of Eq. and using Taylor’s expansion, we have
(2.6) | ||||
The signed graph has all positive signature and therefore by Eq. , . If has an odd cycle of size , then . Hence the result follows.
There exist exactly two switching classes on the signings of an odd unicyclic graph (whose unique cycle has odd girth). The cycle with all positive signature and the cycle with all negative signature. The following result is an immediate consequence of Theorem 2.2.
Corollary 2.3
Let be an odd unicyclic graph of order and let be any balanced signed graph on and be any unbalanced one. Then .
Let be a bipartite unicyclic graph of girth and order and let be any balanced signed graph on and be any unbalanced one. It is easy to see that for each , for and for . In particular, Thus, by Eq.s and , we have the following lemma.
Lemma 2.4
Let be a bipartite unicyclic graph of order and let be any balanced signed graph on and be any unbalanced one. Then .
Let and denote the set of balanced and unbalanced unicyclic graphs with vertices and containing a cycle of length respectively. Also, we denote by (respt. ), the signed graph obtained by identifying the center of the signed star with a vertex of positive cycle (respt. negative cycle ). Du et al. [5] characterized the unique signed unicyclic graph having all positive signature with the maximum Estrada index and showed the following.
Lemma 2.5
Let be a unicyclic graph on vertices. Then with equality if and only if is isomorphic to .
Theorem 2.6
Let be a signed unicyclic graph on vertices. Then with equality if and only if is switching equivalent to .
Next, we show that the Estrada index of the balanced cycle is almost equal to the Estrada index of the unbalanced cycle .
Theorem 2.7
Let and be the balanced and unbalanced cycles on vertices respectively. Then where Also, , where as .
Proof. The Estrada index of the -vertex signed cycle can be approximated [15] as
(2.7) |
where
The eigenvalues of the unbalanced cycle are given by .
Therefore
The angles , for uniformly cover the semi-closed interval . Now, using the property of definite integrals as a sum, we have
As is an even function, therefore
where is a special value of the function encountered in the theory of Bessel function and can be seen in [14] as
In view of this,
(2.8) |
Eqs. and give
(2.9) |
Note that for and for . In particular, Thus, by Eq.s and , we get
(2.10) |
The eigenvalues of and are, respectively, given by and Therefore
(2.11) |
The maximum value of the function is . Thus, by Eq. , we have
(2.12) | ||||
The series is an infinite geometric progression with common ratio . By inequality , we obtain
(2.13) |
Eq.s and imply that
(2.14) |
where the term tends to zero as the girth becomes large enough. Moreover, the accuracy of the Eq. can be seen from the data given in Table 1. As seen from this data, except for the first few values of , the accuracy is more
than sufficient.
Table 1. Approximate and exact values of the Estrada index of the -vertex signed cycles and
3 | |||
---|---|---|---|
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 |
Hence the result follows.
The main tool used to prove Lemma 2.5 is the construction of mappings which increases the -th spectral moment for each and using Eq.. For example consider the following result.
Theorem 2.8
[5] For all positive signature and , we have .
But in signed unicyclic graphs, in general, we cannot construct the mapping which increases the -th spectral moment for each . To defend this statement, consider the signed unicyclic graphs and . Their spectra is given by and , respectively. It is easy to see that not only but also and . Thus the problem of finding the unbalanced unicyclic graphs with extremal Estrada index is interesting.
3 Unbalanced unicyclic and bicyclic graphs with the pairing property and with maximal Estrada index
In this section, we first characterize the unbalanced bipartite unicyclic graphs with the maximal Estrada index. Given two non-increasing real number sequences and , we say that majorizes , denoted by , if for each , with equality for Also, if then .
Lemma 3.1
[16] Let be a strictly convex function. If , then Also, if , then .
Let denote the set of all signed graphs on vertices and edges with the pairing property. The following result will be useful in the sequel.
Theorem 3.2
Let , be two signed graphs on vertices and edges with the pairing property. If has exactly four non-zero eigenvalues and has at least four non-zero eigenvalues with , then .
Proof. Let , . Therefore, we have . The signed graphs and have the pairing property, so we get for each . Let , , be the non-zero eigenvalues of . Thus, by Eq. and using the pairing property, we have
(3.15) |
and
(3.16) |
where , is a positive integer and . Now, Eq.s and imply that
(3.17) |
We know that the function is strictly convex for every positive integer
As and , therefore the vector
majorizes that is . Thus, by Lemma 3.1, we have
for Hence, by Eq. , we get and the result follows.
Lemma 3.3
[22]
Let be the set of unbalanced unicyclic graphs with vertices and containing a cycle of length . Then
for any , we have with equality if and only if is switching equivalent to ;
The following result [18] shows that the eigenvalues of an induced signed subgraph of the signed graph interlaces the eigenvalues of .
Lemma 3.4
Let be an -vertex signed graph with eigenvalues , and let be an induced signed subgraph of with vertices. If the eigenvalues of are , then where
We now recall Schwenk’s formula and can be seen in [2].
Lemma 3.5
Let be any fixed vertex of a signed graph . Then
where is the set of all signed cycles passing through , and is the graph obtained from by deleting .
A signed unicyclic graph has the pairing property if and only if its underlying graph is bipartite because it has a unique cycle. Next, we characterize the unique unbalanced bipartite unicyclic graphs with the maximum Estrada index among all unbalanced bipartite unicyclic graphs.

Theorem 3.6
Let be the set of all unbalanced bipartite unicyclic graphs on vertices. If , then with equality if and only if is switching equivalent to .
Proof. Let be an unbalanced bipartite unicyclic graph on vertices. By applying Lemma 3.3, we get with equality if and only if is switching equivalent to . Now, by Lemma 3.5, the characteristic polynomial of is given by
Clearly, the signed graph has four non-zero eigenvalues. Let the signed graph , where , contains a cycle of length . Therefore, the unbalanced cycle is an induced signed subgraph of . The eigenvalues of are given by . Since is a positive even integer and thus all the eigenvalues of are non-zero. Hence the result follows by Theorem 3.2 and Lemma 3.4.
Theorem 3.7
Let be the set of all unbalanced bicyclic graphs on vertices with the pairing property. If , is not switching equivalent to and , then where and are the signed graphs on vertices as shown in Fig.2.
Proof. By Lemma 3.5, the characteristic polynomials of and are, respectively, given by
and
It is easy to see that and
respectively. Therefore
(3.18) |
Also,
(3.19) |
Note that for . We can check that the right-hand side of is greater than of for , which proves that .
Let be an unbalanced bicyclic graph with the pairing property. To prove the result it is enough to show that , where is not switching equivalent to and . Since , for , therefore, by [[17], Theorem 3.1], we get , where is not switching equivalent to and . The signed graph has four non-zero eigenvalues. Clearly, the signed graph contains a 4-vertex signed path as an induced subgraph for . The characteristic polynomial of is given by
Thus the signed path has four non-zero eigenvalues. By interlacing Lemma 3.4, the signed graph has at least four non-zero eigenvalues. Hence the result follows by Theorem 3.2.
Lemma 3.8
[24] Let be a connected signed graph. Then, we have with equality if and only if switches to .
Lemma 3.9
[23] For an eigenvalue of a connected signed graph , there exists a switching equivalent signed graph , for which the -eigenspace contains an eigenvector whose non-zero coordinates are of the same sign.
Let be a signed complete bipartite graph, where is the complete bipartite graph on vertices. We denote, , the set of all unbalanced complete bipartite graphs on vertices. Also, let be an unbalanced complete bipartite graph that contains exactly one negative edge. Finally, we characterize the unbalanced complete bipartite graphs with the maximum Estrada index.
Theorem 3.10
Let be the set of all unbalanced complete bipartite graphs on vertices. If , then with equality if and only if is switching equivalent to , where is an unbalanced complete bipartite signed graph that contains exactly one negative edge.
Proof. Let be a sequence consisting of the representatives of all switching equivalence classes of unbalanced complete bipartite graphs with vertices such that the representatives are ordered non-increasingly by the largest eigenvalue (index) and chosen in such a way that, for , the -eigenspace contains an eigenvector whose non-zero coordinates are positive (This existence of is provided by Lemma 3.9). By Lemma 3.8, the signed complete bipartite with all positive signature has the maximum index. Therefore, by [[3],Theorem ], the signed graph with maximum index among all unbalanced complete bipartite graphs on vertices is (upto switching), where is an unbalanced complete bipartite signed graph that contains exactly one negative edge. That is, for each , we have with equality if and only if is switching equivalent to . Now, by [[20], Theorem 4.1], the spectrum of the signed graph is given by
Clearly, the signed graph has four non-zero eigenvalues. Also, with a suitable labelling of the vertices of , its adjacency matrix is given by
where is a matrix whose entries are either or . We know that . It is easy to see that because if , then is a switching equivalent to a signed complete bipartite graph with all positive signature which is a contradiction. Thus the signed graph has at least four non-zero eigenvalues. Hence the result follows by Theorem 3.2.
Acknowledgements. This research is supported by SERB-DST research project number CRG/2020/000109. The research of Tahir Shamsher is supported by SRF financial assistance by Council of Scientific and Industrial Research (CSIR), New Delhi, India.
Data availibility Data sharing is not applicable to this article as no datasets were generated or analyzed
during the current study.
Declaration The authors declare that there is no conflict of interest amongst them.
References
- [1] J. Askari, A. Iranmanesh and K. C. Das, Seidel-Estrada index, J. Inequal. Appl. 120 (2016) 9 pp.
- [2] F. Belardo , E. M. Li Marzi and S. K. Simic, Combinatorial approach for computing the characteristic polynomial of a matrix, Linear Algebra Appl. 433 (2010) 1513–1523.
- [3] M. Brunetti and Z. Stanic, Ordering signed graphs with large index, Ars Math. Contemporanea 22(4) (2022) P4.05, 14 pp
- [4] H. Deng, A proof of a conjecture on the Estrada index, MATCH Commun. Math. Comput. Chem. 62 (2009) 599–606.
- [5] Z. Du and B. Zhou, The Estrada index of unicyclic graphs, Linear Algebra Appl. 436 (2012) 3149–3159.
- [6] E. Estrada, Characterization of 3D molecular structure, Chem. Phys. Lett. 319 (2000) 713–718.
- [7] E. Estrada, Characterization of the folding degree of proteins, Bioinformatics 18 (2002) 697–704.
- [8] E. Estrada, Characterization of the amino acid contribution to the folding degree of proteins, Proteins 54 (2004) 727–737.
- [9] E. Estrada and J. A. Rodrguez-Valzquez, Subgraph centrality in complex networks, Phys. Rev. E 71 (2005) 056103–1–9.
- [10] E. Estrada and J. A. Rodráguez-Valázquez, Spectral measures of bipartivity in complex networks, Phys. Rev. E 72 (2005) 046105-1–6.
- [11] E. Estrada, The many facets of the Estrada indices of graphs and networks, SeMA Journal 79 (2022) 57–125.
- [12] E. Estrada, Rethinking structural balance in signed social networks, Discrete Appl. Math. 268 (2019) 70–90.
- [13] E. Estrada and M. Benzi, Walk-based measure of balance in signed networks: detecting lack of balance insocial networks, Phys. Rev. E 90(4) (2014) 042802.
- [14] I. S. Gradshteyn and I. M. Ryzhik, Tables of Integrals, Series, and Products, Academic Press, New York, 1965.
- [15] I. Gutman and A. Graovac, Estrada index of cycles and paths, Chemical Physics Letters 436 (2007) 294–296.
- [16] G. H. Hardy, J. E. Littlewood and G. Polya, Inequalities, Cambridge: Cambridge University Press; 1952.
- [17] C. He, Y. Li, H. Shan and W. Wang, On the index of unbalanced signed bicyclic graphs, Comp. Appl. Math. 40(124) (2021) Art. No. 124.
- [18] R. A. Horn and C. R. Johnson, Matrix Analysis, Cambridge University Press, 1990.
- [19] J. A. de la Pena, I. Gutman and J. Rada, Estimating the Estrada index, Linear Algebra Appl. 427 (2007) 70–76.
- [20] S. Pirzada, T. Shamsher and M.A. Bhat, On the eigenvalues of signed complete bipartite graphs, https://doi.org/10.48550/arXiv.2111.07262.
- [21] S. Pirzada, An Introduction to Graph Theory, Universities Press, Orient Blackswan, Hyderabad .
- [22] M. Souri, F. Heydari and M. Maghasedi, Maximizing the largest eigenvalues of signed unicyclic graphs, Discrete Math. Algorithms Appl. 12 (2020) 2050016.
- [23] Z. Stanic, Perturbations in a signed graph and its index, Discuss. Math. Graph Theory 38 (2018) 841–852.
- [24] Z. Stanic, Integral regular net-balanced signed graphs with vertex degree at most four, Ars Math. Contemp. 17 (2019) 103–114.
- [25] H. Zhao and Y. Jia, On the Estrada index of bipartite graph, MATCH Commun. Math. Comput. Chem. 61 (2009) 495–501.