Acessibilidade / Reportar erro

Locating Eigenvalues of a Symmetric Matrix whose Graph is Unicyclic

ABSTRACT

We present a linear-time algorithm that computes in a given real interval the number of eigenvalues of any symmetric matrix whose underlying graph is unicyclic. The algorithm can be applied to vertexand/or edge-weighted or unweighted unicyclic graphs. We apply the algorithm to obtain some general results on the spectrum of a generalized sun graph for certain matrix representations which include the Laplacian, normalized Laplacian and signless Laplacian matrices.

Keywords:
symmetric matrix; eigenvalue location; unicyclic graph

1 TRODUCTION

Given a real symmetric matrix M we consider the underlying graph of M, i.e., the simple graph G(M) whose vertices correspond to rows (or columns) of M with two vertices v i and v j adjacent whenever the (i, j)th entry of M is nonzero. For the purpose of this work each diagonal entry m ii of M is assigned as a weight to the vertex v i of G(M) and each off-diagonal entry m ij is assigned as an edge weight to the edge e ij connecting vertices v i and v j of G(M). Thus the underlying graph of M is seen as a vertexand edge-weighted graph. We also say that a graph is unweighted if no real numbers are assigned to its edges or vertices.

Recall that the adjacency matrixA=(aij) of an unweighted simple graph G is the real symmetric matrix of order n with entries 0 or 1, where aij=1 if and only if vertices v i and v j are adjacent. For an edge-weighted simple graph G, if vertices v i and v j are adjacent then aij=ωij, where ω ij is the weight of edge e ij . Clearly, considering an unweighted graph as a graph where all edges have weight 1, any unweighted or edge-weighted simple graph G is the underlying graph of its adjacency matrix. The same is true for other matrices largely used to represent graphs like Laplacian (L), normalized Laplacian (ℒ) and signless Laplacian (Q).

The goal of this research is to present a linear-time algorithm to determine the number of eigenvalues of M in a given real interval in the case G(M) is a unicyclic graph, that is, a connected graph containing exactly one cycle. In particular M could be any of the matrices mentioned above when they represent a unicyclic graph.

Algorithms for locating eigenvalues of some families of graphs have been developed over the last decade (see 44 R.O. Braga , V.M. Rodrigues & V. Trevisan . Locating eigenvalues of unicyclic graphs. Appl. Anal. Discrete Math., 11(2) (2017), 273-298. doi:10.2298/AADM1702273B. URL https://doi.org/10.2298/AADM1702273B.
https://doi.org/10.2298/AADM1702273B...
and the references therein), starting with the algorithm for trees represented by their adjacency matrices developed by Jacobs and Trevisan in 2011 77 D.P. Jacobs & V. Trevisan . Locating the eigenvalues of trees. Linear Algebra Appl., 434(1) (2011), 81-88. doi:10.1016/j.laa.2010.08.006. URL https://doi.org/10.1016/j.laa.2010.08.006.
https://doi.org/10.1016/j.laa.2010.08.00...
. The applications of these algorithms have shown that they are a very useful tool in Spectral Graph Theory. Particularly, in 2017 Braga, Rodrigues and Trevisan 44 R.O. Braga , V.M. Rodrigues & V. Trevisan . Locating eigenvalues of unicyclic graphs. Appl. Anal. Discrete Math., 11(2) (2017), 273-298. doi:10.2298/AADM1702273B. URL https://doi.org/10.2298/AADM1702273B.
https://doi.org/10.2298/AADM1702273B...
presented an algorithm that computes the number of eigenvalues in a given real interval of an unweighted unicyclic graph represented by its adjacency matrix, called DiagonalizeUnicyclic. Their algorithm was the main tool applied in 22 R.O. Braga, R.R. Del-Vecchio & V.M. Rodrigues. Integral unicyclic graphs. Linear Algebra Appl., 614 (2021), 281-300. doi:10.1016/j.laa.2020.05.002. URL https://doi.org/10.1016/j.laa.2020.05.002.
https://doi.org/10.1016/j.laa.2020.05.00...
to reveal infinite families of integral unicyclic graphs, i.e. unicyclic graphs where all the eigenvalues of their adjacency matrices are integers.

Also in 2017, Braga and Rodrigues 33 R.O. Braga & V.M. Rodrigues . Locating eigenvalues of perturbed Laplacian matrices of trees. TEMA Tend. Mat. Apl. Comput., 18(3) (2017), 479-491. doi:10.5540/tema.2017.018.03.479. URL https://doi.org/10.5540/tema.2017.018.03.479.
https://doi.org/10.5540/tema.2017.018.03...
developed an algorithm to locate eigenvalues of any perturbed Laplacian matrix of an edge-weighted tree, called DiagonalizeW. Given a real diagonal matrix D, the perturbed Laplacian matrix of a simple graph G with respect to D is the matrix LD(G)=D-A, where A=(aij) is the adjacency matrix of G. The adjacency, Laplacian, normalized Laplacian and signless Laplacian matrices, among others, are examples of perturbed Laplacian matrices. Thus the algorithm DiagonalizeW has the advantage of generalizing previous localization algorithms for trees. We note that algorithm DiagonalizeW is in fact designed for any symmetric matrix whose underlying graph is a tree.

Recently, Belardo, Brunnetti and Trevisan 11 F. Belardo, M. Brunetti & V. Trevisan. Locating eigenvalues of unbalanced unicyclic signed graphs. Appl. Math. Comput., 400 (2021), 126082. doi:10.1016/j.amc.2021.126082. URL https://doi.org/10.1016/j.amc.2021.126082.
https://doi.org/10.1016/j.amc.2021.12608...
developed an algorithm for locating eigenvalues of unbalanced unicyclic signed graphs. A sign graph is a graph with edge-weights +1 or 1. Each edge weight is called a signature of the edge. A signed graph G is said to be unbalanced if there exists a cycle in G with an odd number of negatively signed edges.

In this work we extend the algorithm DiagonalizeUnicyclic to any symmetric matrix whose underlying graph is unicyclic. Hence our algorithm, called DiagSMUnicyclic, can be applied to unbalanced unicyclic signed graphs, also extending the work presented in 11 F. Belardo, M. Brunetti & V. Trevisan. Locating eigenvalues of unbalanced unicyclic signed graphs. Appl. Math. Comput., 400 (2021), 126082. doi:10.1016/j.amc.2021.126082. URL https://doi.org/10.1016/j.amc.2021.126082.
https://doi.org/10.1016/j.amc.2021.12608...
. We present algorithm DiagSMUnicyclic in Section 2. Besides preserving the practicality of the previous algorithms for locating eigenvalues of unicyclic graphs represented by their adjacency matrices, our method has the advantage of allowing vertexand/or edge-weighted unicyclic graphs represented by any symmetric matrix whose underlying graph is unicyclic. In Section 3 we apply this method to obtain spectral properties of generalized sun graphs and give explicitly the spectrum of balanced sun graphs with respect to Laplacian, normalized Laplacian and signless Laplacian matrices.

2 ALGORITHM DIAGSMUNICYCLIC

In this section we present the algorithm DiagSMUnicyclic (Algorithm 1) that computes in a given real interval the number of eigenvalues of a symmetric matrix M whose underlying graph G(M) is unicyclic. For a fixed real number α, the algorithm computes the diagonal values of a diagonal matrix D α congruent to M+αI. We recall that two square matrices A and B of order n are congruent if there is an invertible matrix P such that A=PTBP.

Algorithm 1
Algorithm DiagSMUnicyclic(G, α)

Algorithm DiagSMUnicyclic is a linear-time algorithm executed directly on the underlying unicyclic graph G=G(M) so that the matrix M is not needed explicitly. At the end of the execution, the values a(v) assigned to the each vertex v of G are the diagonal entries of the matrix D α .

The general idea of the algorithm is to consider the unicyclic graph G as formed by a cycle C b with pendant trees attached to the nodes of the cycle. Initially, the vertices of the cycle C b are ordered v 1 , v 2 , · · · , v b . The remaining n-b vertices of G are ordered considering vertex v i , for 1ib, the root of the pendant tree T i , which is the largest subgraph of G that is a tree and is connected to the cycle C b at v i . The vertices of T i are ordered so that if v j is a child of v k , then j > k. We first order the vertices of T 1, then the vertices of T 2 and so on, until T b .

We start algorithm DiagSMUnicyclic by assigning all vertices the weights a(vi) :=δi+α, where δ i is the initial weight of vertex v i of G(M) (Step 1, Algorithm 1). Then the algorithm processes the vertices of each tree T k bottom-up, towards the root v k (Step 2, Algorithm 1), applying algorithm DiagonalizeW (Algorithm 2). The set of all children of a vertex v j is denoted by S j . After the diagonalization of T k if its root v k has a child with zero value, then the edges on the cycle adjacent to v k are removed if they haven’t already been removed. Finally, the vertices of the cycle C b , from v b to v 1, are processed (Step 3 and 4, Algorithm 1).

Algorithm 2
DiagonalizeW(T, α) 33 R.O. Braga & V.M. Rodrigues . Locating eigenvalues of perturbed Laplacian matrices of trees. TEMA Tend. Mat. Apl. Comput., 18(3) (2017), 479-491. doi:10.5540/tema.2017.018.03.479. URL https://doi.org/10.5540/tema.2017.018.03.479.
https://doi.org/10.5540/tema.2017.018.03...

Theorem 2.1.For the vertex-and edge-weighted unicyclic graphG=G(M)with vertices v1, · · · , vnand a real number α, the algorithm DiagSMUnicyclic(G, α) computes the diagonal entries of a matrix Dαcongruent toM+αI.

Proof. Step 1 of Algorithm 1 initializes every vertex v i of G with the diagonal value a(vi)=δi+α, which is precisely the entry ii of M+αI. We can arbitrarily order the vertices of G with v 1 , ..., v b being the vertices of the unique cycle C b in G, with v k as the root of the pendant tree T k , for k=1,..., b. We can also order the remaining vertices of G numbering first the vertices of T 1, then the vertices of T 2, and so on. Hence, matrix M+αI can be described as below

B E 1 E 2 E b ( E 1 ) T B 1 0 0 ( E 2 ) T 0 B 2 0 ( E b ) T 0 0 B b ,

where B is b×b block of M+αI corresponding to the vertices of cycle C b , B k is the |Tk-vk|×|Tk-vk| block of M+αI corresponding to the vertices of Tk-vk, for k=1,..., b, and E k is the b×|Tk-vk| rectangular block of M+αI with all entries zero except for the entries of line k corresponding to the adjacencies between vk and its children in S k , for k=1,..., b.

Since each T k is a tree, we can apply algorithm DiagonalizeW(T k , α), for k=1,..., b. By [33 R.O. Braga & V.M. Rodrigues . Locating eigenvalues of perturbed Laplacian matrices of trees. TEMA Tend. Mat. Apl. Comput., 18(3) (2017), 479-491. doi:10.5540/tema.2017.018.03.479. URL https://doi.org/10.5540/tema.2017.018.03.479.
https://doi.org/10.5540/tema.2017.018.03...
, Theorem 2.1], the algorithm produces b diagonal matrices D k congruent to B k , for k=1,..., b. We recall that the second step of the algorithms DiagSMUnicyclic(G, α) and DiagonalizeUnicyclic(G, α) in 44 R.O. Braga , V.M. Rodrigues & V. Trevisan . Locating eigenvalues of unicyclic graphs. Appl. Anal. Discrete Math., 11(2) (2017), 273-298. doi:10.2298/AADM1702273B. URL https://doi.org/10.2298/AADM1702273B.
https://doi.org/10.2298/AADM1702273B...
are exactly the same. Thus, we refer the reader to the proof of Theorem 2.2 in 44 R.O. Braga , V.M. Rodrigues & V. Trevisan . Locating eigenvalues of unicyclic graphs. Appl. Anal. Discrete Math., 11(2) (2017), 273-298. doi:10.2298/AADM1702273B. URL https://doi.org/10.2298/AADM1702273B.
https://doi.org/10.2298/AADM1702273B...
to see that Step 2 transforms the matrix M+αI in the congruent matrix

B ~ 0 0 0 0 D 1 0 0 0 0 D 2 0 0 0 0 D b ,

where the b×b block B~ represent the remaining adjacencies between the vertices of the original cycle C b .

To complete the diagonalization process of M+αI, it remains to perform the diagonalization of the block B~.

If an edge of the cycle C b was removed in Step 2, the original cycle will be now a single path or a union of disjoint paths. In this case, the algorithm for trees is applied to each path that is not an isolated vertex, choosing the endpoint of the path with smaller index as the root of the path (Step 3). By [33 R.O. Braga & V.M. Rodrigues . Locating eigenvalues of perturbed Laplacian matrices of trees. TEMA Tend. Mat. Apl. Comput., 18(3) (2017), 479-491. doi:10.5540/tema.2017.018.03.479. URL https://doi.org/10.5540/tema.2017.018.03.479.
https://doi.org/10.5540/tema.2017.018.03...
, Theorem 2.1], this step completes the diagonalization process of the matrix.

If the cycle C b was not disconnected by the application of algorithm DiagonalizeW (Algorithm 2) to each pendant tree during the execution of Step 2, then, in Step 4, procedure DiagSMCycle (Algorithm 3) is executed to diagonalize the block B~.

Algorithm 3
Procedure DiagSMCycle(a 1 , a 2 , ..., a b )

This procedure denotes by z i , for 1=2,...,b, the entries (i, 1) and (1, i) of the original matrix M+αI, which represent the adjacency between v 1 and v i . Thus, initially, z2=ω12, zb=ω1b and zj=0, for 3jb-1. It also writes ai=a(vi), for all i=1,..., b for simplicity. For fixed j, with 3jb, supposing that the rows and columns of B~ from j + 1 to b were diagonalized, let us diagonalize row j and column j of B~, which has the form:

1 j - 1 j b a 1 z j - 1 z j z b z j - 1 a j - 1 ω j , j - 1 0 z j ω j , j - 1 a j 0 z b 0 0 a b .

If aj0, then the following row and column operations

R j - 1 R j - 1 - ω j , j - 1 a j R j C j - 1 C j - 1 - ω j , j - 1 a j C j R 1 R 1 - z j a j R j C 1 C 1 - z j a j C j

yield the congruent matrix

1 j - 1 j b a ~ 1 z ~ j - 1 0 0 z ~ j - 1 a ~ j - 1 0 0 0 0 a j 0 0 0 0 a b ,

where a~j-1=aj-1-(ωj,j-1)2aj, z~j-1=zj-1-ωj,j-1ajzj and a~1=a1-(zj)2aj. This process is repeated while aj0, according to case 1 of Algorithm 3.

Suppose that aj=0, for some 3jb. If j4, the following operations

R j - 2 R j - 2 - ω j - 2 , j - 1 ω j , j - 1 R j and C j - 2 C j - 2 - ω j - 2 , j - 1 ω j , j - 1 C j .

annihilate the two entries representing the edge between v j−1 and v j−2 . These operations also change the value of z j−2 to z~j-2=zj-2-ωj-2,j-1ωj,j-1zj. Next, the operations

R j - 1 R j - 1 - a j - 1 2 ω j , j - 1 R j C j - 1 C j - 1 - a j - 1 2 ω j , j - 1 C j R j R j + 1 ω j , j - 1 R j - 1 C j C j + 1 ω j , j - 1 C j - 1 R j - 1 R j - 1 - ω j , j - 1 2 R j C j - 1 C j - 1 - ω j , j - 1 2 C j

produce the submatrix

1 j - 2 j - 1 j b a 1 z ~ j - 2 β γ 0 z ~ j - 2 a j - 2 0 0 0 β 0 - ( ω j , j - 1 ) 2 2 0 0 γ 0 0 2 0 0 0 0 0 a b ,

where

β = 1 2 · z j - 1 - z j · a j - 1 2 ω j , j - 1 + ω j , j - 1

and

γ = z j · 1 - a j - 1 2 ( ω j , j - 1 ) 2 + z j - 1 ω j , j - 1 .

Finally, the operations

R 1 R 1 + 2 β 1 ( ω j , j - 1 ) 2 R j - 1 C 1 C 1 + 2 β 1 ( ω j , j - 1 ) 2 C j - 1 R 1 R 1 - γ 2 R j C 1 C 1 - γ 2 C j

change the value of a 1 to a~1=a1+2β21(ωj,j-1)2-γ22, yielding the submatrix

1 j - 2 j - 1 j b a ~ 1 z ~ j - 2 0 0 0 z ~ j - 2 a j - 2 0 0 0 0 0 - ( ω j , j - 1 ) 2 2 0 0 0 0 0 2 0 0 0 0 0 a b .

At this point, both rows (and columns) j and j-1 are diagonalized, according to case 2 of Algorithm 3. We also observe that if j = 3 and a3=0, the procedure changes the value of the boolean variable TriangDiagonalized to true and the procedure ends. In this case, the diagonalization process is completed.

The proof that Algorithm 3 completes the diagonalization of B~ when j = 3 and the boolean variable TriangDiagonalized remains false is identical to the proof of Theorem 2.2 in 44 R.O. Braga , V.M. Rodrigues & V. Trevisan . Locating eigenvalues of unicyclic graphs. Appl. Anal. Discrete Math., 11(2) (2017), 273-298. doi:10.2298/AADM1702273B. URL https://doi.org/10.2298/AADM1702273B.
https://doi.org/10.2298/AADM1702273B...
and it will be omitted. □

Applying Theorem 2.1 and Sylvester’s Law of Inertia, we obtain the following result.

Theorem 2.2. Given a scalar α and a real symmetric n × n matrix M whose underlying graph G is unicyclic, let D α be the diagonal matrix produced by the algorithm DiagSMUnicyclic ( G ( M ) , - α ) . Then the number of positive, negative and zero diagonal entries in D α is equal to the number of eigenvalues of M which are greater, smaller and equal to α, respectively.

Example 2.1.Let be G the unweighted unicyclic graph ofFigure 1. We will applyAlgorithm 1to determine the number of eigenvalues of the Laplacian matrix L of G in the interval (1, 3). Recall that the Laplacian matrix of an unweighted simple graph G is the matrixL=DG-A, where D G is the diagonal matrix whose diagonal entry ii is the degree d i of vertex v i of G and A is the adjacency matrix of G. In this case, the vertex weights of the underlying graph G(L) are the vertex degrees and all edge weights are equal to −1, as shown inFigure 2.

Figure 1:
Unicyclic graph G of Example 2.1.

Figure 2:
Vertex-and edge-weighted graph G(L).

Next we will applyAlgorithm 1for G(L) and scalarα=-3to determine the number of eigenvalues of L that are grater, smaller or equal to 3. The left side ofFigure 3shows the initialization of the vertices with the valuea(v)=δv+α=dv-3(Step 1 ofAlgorithm 1).

Figure 3:
Step 1 and 2 of Algorithm 1 with α=-3.

At Step 2, since v 9 and v 12 have the same values and two children, then their values becomea(v9)=a(v12)=0-1-2+1-2=1. Vertex v 6 has only one child, its value becomesa(v6)=-1-1-2=-12. In the following, both v 3 and v 4 have only one child with diagonal value 1, hence their values are updated toa(v3)=a(v4)=0-11=-1. Since v 2 has two children, its value is updated toa(v2)=1-1-12+1-2=72. The value of vertex v 1 is updated toa(v1)=0-1-2=12. The right side ofFigure 3shows the diagonal values at the end of Step 2.

Since no vertex of the cycle has a child with a zero diagonal value, none of the edges of the cycle are removed in Step 2. ThusAlgorithm 1executesAlgorithm 3in Step 4.Figure 4shows the current values of the vertices of the cycle after Step 2 is executed and the values z j , forj = 2,..., 4. The dashed line inFigure 4represents that there is no edge between v 1 and v 3 but it will be changed during the execution ofAlgorithm 3.

Figure 4:
Initialization of procedure DiagSMCycle (Algorithm 3).

In each iteration i, fromi = 4to 2,Algorithm 3processes the vertices v i−1 and v 1 , removing the edges that connect them to v i . Sincea4=-10, the diagonal value of v 3 becomesa3=-1-1a4=-1-1-1=0, the diagonal value of v 1 is changed toa1=12-(z4)2a4=12-(-1)2-1=32and the value of z 3 becomesz3=0+z4a4=0+-1-1=1. Figure 5shows the results of the computations at this step of the procedure.

Figure 5:
Iteration i = 4 of procedure DiagSMCycle.

Now, since a 3 = 0 , the algorithm computes the values β and γ, obtaining

β = 1 2 z 2 + z 3 1 + a 2 2 = 1 2 - 1 + 1 1 + 7 2 . 1 2 = 7 8 ; γ = z 3 1 - a 2 2 - z 2 = 1 1 - 7 2 . 1 2 - ( - 1 ) = 1 4

and then it assigns: a 3 = 2 , a 2 = - 1 2 and

a 1 = 3 2 + 2 β 2 - γ 2 2 = 3 2 + 2 7 8 2 - 1 2 1 4 2 = 3 .

Figure 6 shows the values obtained up to this point.

Figure 6:
Iteration i = 3 of procedure DiagSMCycle.

Since case 2 ofAlgorithm 3is executed andi = 3, TriangDiagonalized = true. Therefore the procedure ends.Figure 7shows the diagonal values at the end of the algorithm forα=-3. As there are four positive diagonal values and all the other ten are negative, by Theorem 2.1, we conclude that four Laplacian eigenvalues of G are greater than 3 and all the other ones are smaller than 3.

Figure 7:
Final diagonal values for G(L) and α=-3.

To obtain the number of Laplacian eigenvalues in the interval (1, 3), we will apply algorithm DiagSMUnicyclic twice. Applying the algorithm for G(L) with scalarα=-1, we get that seven Laplacian eigenvalues are greater than 1, five Laplacian eigenvalues are smaller than 1 and two Laplacian eigenvalues are equal to 1. Therefore, we have three Laplacian eigenvalues in the interval (1, 3). In fact, the Laplacian spectrum of G is given by, approximately,

{0, 0.199, 0.231, 0.472, 0.74, 1, 1, 1.479,

2.351, 2.785, 3.363, 4.173, 4.445, 5.759}.

3 GENERALIZED SUN GRAPHS

In this section we apply algorithm DiagSMUnicyclic to obtain spectral properties of matrices L, ℒ and Q of an infinite family of unicyclic graphs. Recall that the signless Laplacian matrix of an unweighted simple graph G is the matrix Q=DG+A and the normalized Laplacian matrix of G is the matrix L=(ij), where ij=1 if i = j and di>0,ij=-1di·dj, if vertices v i and v j are adjacent, and ij=0, otherwise.

The generalized sun graphS(k1,k2,...,kb) is the graph obtained by taking a cycle C b and adding ki1 pendants to each node v i of the cycle. If k1==kb=p, we say that S(p,p,...,p) is a balanced sun graph and denote it by 𝒮b,p . Figure 8 illustrates graph 𝒮6,3 .

Figure 8:
Balanced sun graph 𝒮6,3 .

Next we present a general result for certain symmetric matrices whose underlying graph is a generalized sun graph.

Theorem 3.3. Let 𝒮 be a generalized sun graph with n vertices and cycle of length b and let β be a real number. If M is a symmetric matrix whose underlying graph is 𝒮 and all diagonal entries of M corresponding to the pendants of 𝒮 are equal to β, then M has b eigenvalues greater than β, b eigenvalues smaller than β and n - 2 b eigenvalues equal to β.

Proof. Let us apply Algorithm 1 for 𝒮(M) with scalar α=-β. Since every pendant is initialized with β+α=0, all the b nodes of the cycle receive a value -(ωij)22<0, exactly one child of each node receives value 2 and the other n-2b vertices remain with a zero value. Besides, all edges in the cycle are removed and the algorithm ends. Therefore, by Theorem 2.2, M has b eigenvalues greater than β, b eigenvalues smaller than β and and n-2b eigenvalues equal to β. □

It is easy to see that the matrices L, Q and satisfy the hypotheses of the Theorem 3.3 for β=1. Applying this result together with Algorithm 1 we can obtain the spectrum of a balanced sun graph 𝒮b,p in terms of the spectrum of the cycle C b for these three matrices.

Theorem 3.4.The spectra of the balanced sun graph 𝒮b,pfor the matrices L, Q and ℒ are given inTable 1, wherei=1,,bandn = b(p+1)is the order of Sb,p. In particular, ifi=b, the corresponding Laplacian eigenvalues are 0 andp+1, and the normalized Laplacian eigenvalues are 0 and2(p+1)p+2.

Table 1:
The spectra of the 𝒮b,p for matrices L, Q and

Proof. By Theorem 3.3, 1 is a Laplacian eigenvalue of 𝒮 b,p with multiplicity n-2b. To obtain the other 2b Laplacian eigenvalues, let us apply Algorithm 1 for Sb,p(L) with scalar α=-λ, where λ1 is a Laplacian eigenvalue of 𝒮 b,p . Since λ is an eigenvalue, the algorithm will produce at least one zero diagonal value.

Initially all vertices are assigned with diagonal value d(v)-λ. Since each node v i of the cycle is adjacent to exactly p pendants and two other vertices of the cycle, then the algorithm assigns to v i the value

a ( v i ) = p + 2 - λ - p 1 - λ ,

for i=1,,b. At this point, since all a(v i ) are equal, we can consider that we are applying the algorithm with scalar β to the cycle C b , where β=a(v1)==a(vb). Thus, by Theorem 2.2, the algorithm will produce a zero diagonal value if and only if β-2=-μ, where µ is a Laplacian eigenvalue of the cycle C b . It is well-known that the Laplacian eigenvalues of cycle C b are given by 2-2cos(2πin), for i=1,,b. Hence, λ1 is an eigenvalue of 𝒮 b,p if and only if 2+p-λ-p1-λ-2=-μ, where µ is a Laplacian eigenvalue of C b . Besides, note that

2 + p - λ - p 1 - λ - 2 = - μ λ 2 - ( p + μ + 1 ) λ + μ = 0 λ = p + μ + 1 2 ± p + μ + 1 2 2 - μ .

The proof for the signless Laplacian matrix Q is analogous. For the normalized Laplacian matrix , µ is an eigenvalue of the b×b matrix

1 - 1 p + 2 0 0 0 - 1 p + 2 - 1 p + 2 1 - 1 p + 2 0 0 0 0 - 1 p + 2 1 - 1 p + 2 0 0 0 - 1 p + 2 1 - 1 p + 2 0 0 0 0 0 1 - 1 p + 2 - 1 p + 2 0 0 0 - 1 p + 2 1 ,

which is the normalized laplacian matrix of the cycle C b replacing the entries -12 that represent the adjacencies of the vertices in the cycle by the entries -1p+2 that represent the adjacencies of the vertices v1,,vb in the balanced sun graph 𝒮 b,p . The matrix above is a circulant matrix, whose spectrum is given by μi=1-2p+2cos(2πib), i=1,,b (see 66 P.J. Davis. “Circulant matrices”. John Wiley & Sons, New York-Chichester-Brisbane (1979), xv+250 p. A Wiley-Interscience Publication, Pure and Applied Mathematics.). Hence, λ1 is a normalized Laplacian eigenvalue of 𝒮 b,p if and only if 1-λ-p(1-λ)(p+2)-1=-μ. Besides, note that

1 - λ - p ( 1 - λ ) ( p + 2 ) - 1 = - μ λ 2 - ( μ + 1 ) λ + μ - p p + 2 = 0 λ = μ + 1 2 ± 1 2 ( μ - 1 ) 2 + 4 p p + 2 .

Applying Theorem 3.4, we can easily derive an upper bound for the largest Laplacian eigenvalue of a balanced sun graph, which is at the same time the exact value of the largest signless Laplacian eigenvalue for the same graph.

Corollary 3.4.1.If λ1is the largest eigenvalue of the Laplacian matrix of the balanced sun graph 𝒮b,p , then

λ 1 p + 5 + ( p + 1 ) ( p + 9 ) 2 ,

with equality if and only if b is even. Moreover, if θ 1 is the largest eigenvalue of the signless Laplacian matrix of 𝒮 b,p , then

θ 1 = p + 5 + ( p + 1 ) ( p + 9 ) 2 .

Proof. The Laplacian eigenvalues of the cycle C b are given by μi=2-2cos2πib, for i=1,,b. Since cos2πib-1, then μi=2-2cos2πib4. Besides, μb2=μb2 is the largest Laplacian eigenvalue of the cycle C b . Since p1, f(μ,p)=p+μ+12+p+μ+122-μ is an increasing function of μ0. Thus,

λ 1 = p + μ b 2 + 1 2 + p + μ b 2 + 1 2 2 - μ b 2 p + 5 2 + p + 5 2 2 - 4 = p + 5 2 + 1 2 ( p + 1 ) ( p + 9 ) .

Besides, μi=4 if and only if cos(2πib)=-1, for i=1,,b. Since 2πib=πi=b2, the maximum value is achieved if and only if b is even. The result for the signless Laplacian follows directly from the fact that the maximum is achieved when i=b and hence μb=4. □

Remark 1.Analogously, we can also easily derive thatp+3p+2+1+p(p+2)p+2=2is an upper boundfor the largest normalized Laplacian eigenvalue of 𝒮b,p , which is achieved if and only if b is even. In fact, it is actually a more general result that the normalized Laplacian eigenvalues of any simple graph belong to interval [0, 2] and 2 is the largest eigenvalue if and only if a connected component of G is bipartite and nontrivial [55 F.R.K. Chung. “Spectral Graph Theory”. American Mathematical Society (1997)., Lemma 1.7], which is precisely the case when the length of the cycle of a unicyclic graph is even. Besides, it is also known that the spectrum of the signless Laplacian matrix is equal to the Laplacian spectrum if and only if the graph is bipartite (see for example88 R. Merris. Laplacian matrices of graphs: a survey. volume 197/198 (1994), p. 143-176. doi:10.1016/0024-3795(94)90486-3. URL https://doi.org/10.1016/0024-3795(94)90486-3. Second Conference of the International Linear Algebra Society (ILAS) (Lisbon, 1992).
https://doi.org/10.1016/0024-3795(94)904...
).

The Laplacian eigenvalues of any graph are nonnegative. Besides, 0 is always an eigenvalue and it is simple if and only if the graph is connected (see 88 R. Merris. Laplacian matrices of graphs: a survey. volume 197/198 (1994), p. 143-176. doi:10.1016/0024-3795(94)90486-3. URL https://doi.org/10.1016/0024-3795(94)90486-3. Second Conference of the International Linear Algebra Society (ILAS) (Lisbon, 1992).
https://doi.org/10.1016/0024-3795(94)904...
for details). The second smallest Laplacian eigenvalue of a graph G is called the algebraic connectivity of G. Using Theorem 3.4, we can derive the following result.

Corollary 3.4.2.The algebraic connectivity of the balanced sun graph 𝒮b,p , denoted by a b,p , satisfies

a b , p ( p + 4 ) - p 2 + 8 p + 4 2

with equality if and only if b = 3 .

Proof. The algebraic connectivity of the cycle C b is given by μb-1=2-2cos(2πb). Since b3, then 02πb2π3 and hence μb-1=2-2cos2πb3. Therefore,

a b , p = p + μ b - 1 + 1 2 - p + μ b - 1 + 1 2 2 - μ b - 1 p + 4 2 - p + 4 2 2 - 3 = p + 4 2 - 1 2 p 2 + 8 p + 4 .

The equality follows from the fact that μb-1=3 if and only if b=3.

4 CONCLUSION

The algorithm DiagSMUnicyclic presented in this work is an efficient tool to obtain spectral properties of symmetric matrices associated to a unicyclic graph. This procedure is an extension of the algorithms for the adjacency matrix of unweighted unicyclic graphs and unbalanced unicyclic signed graphs. It allows to work with vertexand/or edge-weighted unicyclic graphs. Our method also has the advantage of allowing any symmetric matrix representation of an unicyclic graph provided that the underlying graph of the matrix is unicyclic, as illustrated by the spectral properties of generalized sun graphs obtained in Section 3.

Acknowledgements

This work was presented at X ERMAC 2020, Brazil. R. O. Silva thanks CNPq and FAPERGS for their support.

REFERENCES

Publication Dates

  • Publication in this collection
    08 Nov 2021
  • Date of issue
    Oct-Dec 2021

History

  • Received
    15 Mar 2021
  • Accepted
    30 May 2021
Sociedade Brasileira de Matemática Aplicada e Computacional - SBMAC Rua Maestro João Seppe, nº. 900, 16º. andar - Sala 163, Cep: 13561-120 - SP / São Carlos - Brasil, +55 (16) 3412-9752 - São Carlos - SP - Brazil
E-mail: sbmac@sbmac.org.br