Next Article in Journal
A General Framework for Geometrically Uniform Codes and Signal Sets Matched to Groups
Next Article in Special Issue
Forbidden Pairs of Disconnected Graphs for Traceability of Block-Chains
Previous Article in Journal
The Landweber Iterative Regularization Method for Solving the Cauchy Problem of the Modified Helmholtz Equation
Previous Article in Special Issue
A Complete Characterization of Bidegreed Split Graphs with Four Distinct α-Eigenvalues
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Spectral Characterization of Two Classes of Unicycle Graphs

1
School of Computer, Qinghai Normal University, Xining 810016, China
2
The State Key Laboratory of Tibetan Intelligent Information Processing and Application, Xining 810008, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Symmetry 2022, 14(6), 1213; https://doi.org/10.3390/sym14061213
Submission received: 7 May 2022 / Revised: 3 June 2022 / Accepted: 7 June 2022 / Published: 12 June 2022
(This article belongs to the Special Issue Topological Indices and Symmetry in Complex Networks)

Abstract

:
Let G be a graph with n vertices, let A ( G ) be an adjacency matrix of G and let P A ( G , λ ) be the characteristic polynomial of A ( G ) . The adjacency spectrum of G consists of eigenvalues of A ( G ) . A graph G is said to be determined by its adjacency spectrum (DS for short) if other graphs with the same adjacency spectrum as G are isomorphic to G. In this paper, we investigate the spectral characterization of unicycle graphs with only two vertices of degree three. We use G 21 ( s 1 , s 2 ) to denote the graph obtained from Q ( s 1 , s 2 ) by identifying its pendant vertex and the vertex of degree two of P 3 , where Q ( s 1 , s 2 ) is the graph obtained by identifying a vertex of C s 1 and a pendant vertex of P s 2 . We use G 31 ( t 1 , t 2 ) to denote the graph obtained from circle with the vertices v 0 v 1 v t 1 + t 2 + 1 by adding one pendant edge at vertices v 0 and v t 1 + 1 , respectively. It is shown that G 21 ( s 1 , s 2 ) ( s 1 4 , 6 , s 1 3 , s 2 3 ) and G 31 ( t 1 , t 2 ) ( t 1 + t 2 2 , t 2 t 1 1 ) are determined by their adjacency spectrum.

1. Introduction

All graphs considered here are finite and simple. Undefined notations and terminologies will conform to those in [1].
For a graph G with n ( G ) vertices and m ( G ) edges, we denote by V ( G ) the vertex set and by E ( G ) the edge set of G. Let d G ( v ) be the degree of vertex v in G. By G v and G e we denote the graphs obtained from G by deleting the vertex v and the edge e. Let G and H be two graphs, we denote by G H the disjoint union of G and H and by m H the disjoint union of m copies of H. We denote by P n and C n the path and the cycle with n vertices, respectively. For n 2 and t 3 , we write P = { P n | n 2 } and C = { C t | t 3 } . Let T ( l 1 , l 2 , l 3 ) denote a tree with a vertex v of degree three such that T ( l 1 , l 2 , l 3 ) v = P l 1 P l 2 P l 3 , write T 1 = { T ( l 1 , l 2 , l 3 ) | 1 l 1 l 2 l 3 } .
For a graph G with n vertices, using A ( G ) denotes the adjacency matrix of G. The order of A ( G ) is n. The element ( i , j ) of A ( G ) is equal to 1 if vertices i and j are adjacent and equal to 0 otherwise. Denote by P A ( G , λ ) the characteristic polynomial of the adjacency matrix A ( G ) , which is | λ I A ( G ) | a polynomial function of λ with degree n. Since A ( G ) is a real symmetric matrix, its eigenvalues are all real numbers. Therefore, we assume that λ 1 ( G ) λ 2 ( G ) λ n ( G ) are the adjacency eigenvalues. The multiset of eigenvalues of A ( G ) is called the adjacency spectrum of G. The maximum eigenvalue of A ( G ) is called the index of G. Two graphs are said to be cospectral with respect to the adjacency matrix if they have the same adjacency spectrum. A graph is said to be determined by its adjacency spectrum (DS for short) if there is no other non-isomorphic graph with the same spectrum with respect to the adjacency matrix.
The authors in [2,3,4] investigated the cospectrality of graphs up to order 11 and provided a survey on spectral characterizations of graphs. In particular, [5,6] have shown that the unicycle graphs with only one vertex of degree three (lollipop graph) are determined by their adjacency spectrum. The authors in [7,8,9] provided some DS-graphs of nearly regular bicyclic graphs with two vertices of the maximum degree three, that is, θ -graphs and dumbbell graphs, where θ -graph (by θ ( i , j , k ) ) is a graph consisting of two given vertices joined by three paths whose order is i + 2 , j + 2 and k + 2 , respectively, with any two of these paths having only the given vertices in common. The dumbbell graph (by D ( a , b , c ) ) consisted of two vertex-disjoint cycles C a , C b and a path P c + 1 , joining only its end-vertices that were in common with the cycles. Many graphs with special structures have been proved to be determined by their spectrum; see [10,11,12,13,14,15,16].
The structure of a molecule is important for chemists, which can be regarded as a simple graph. For a molecule, the atoms can be replaced by vertices of a graph and the bonds between the atoms and the atoms themselves can be replaced by the edges of a graph. It is convenient to use the adjacency matrices of graphs to denote molecules. Recently, there has been a lot of research on molecular alignment, such as [17,18,19,20]. In [21], the authors introduced two invariants Π 1 ( G ) and Π 2 ( G ) and provided a method to find DS graphs. In this paper, by applying the method, we investigate the spectral characterization of unicycle graphs with only two vertices of the maximum degree three. The necessary and sufficient condition for G 21 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) to be DS shall be given, where G 21 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) are exhibited in Figure 1.

2. Some Lemmas

For a graph G, P A ( G , λ ) = k = 0 n b k ( G ) λ n k is the characteristic polynomial of G. In this section, we provide some basic lemmas.
Lemma 1
([22]). Let G be a graph consisting of components G 1 , G 2 , , G k . Then
P A ( G , λ ) = i = 1 k P A ( G i , λ ) .
Lemma 2
([22]). Let G be a graph with the vertex v and the edge e. Denote by C ( v ) ( C ( e ) ) the set of all cycles in G containing a vertex v (resp. an edge e = u v ). Then, we have
(i) P A ( G , λ ) = λ P A ( G v , λ ) u v P A ( G { u , v } , λ ) 2 C C ( v ) P A ( G V ( C ) , λ ) .
(ii) P A ( G , λ ) = P A ( G u v , λ ) P A ( G { u , v } , λ ) 2 C C ( e ) P A ( G V ( C ) , λ ) .
Lemma 3
([21]). Let G be a graph with n vertices. Then
(i) b 3 ( G ) = 2 N G ( K 3 ) ,
(ii) b 6 ( G ) = m ( m 2 + 3 m + 4 ) 6 m + 2 2 i = 1 n d i 2 + 1 3 i = 1 n d i 3 + i j E ( G ) d i d j N G ( K 3 ) 2 N G ( K 2 C 4 ) 4 N G ( K 3 K 3 ) + 2 N G ( C 6 ) .
Write b 6 ( G ) = b 6 ( G ) + α ( G ) , where b 6 ( G ) = i j E ( G ) d i d j + 2 N G ( C 6 ) and α ( G ) = m ( m 2 + 3 m + 4 ) 6 m + 2 2 i = 1 n d i 2 + 1 3 i = 1 n d i 3 N G ( K 3 ) 2 N G ( K 2 C 4 ) 4 N G ( K 3 K 3 ) .
In [21], we introduced two invariants related to some coefficients of characteristic polynomials of G. One can find the following results from [21].
Definition 1
([21]). Let G be a graph, the parameter Π 1 ( G ) is defined by the following
Π 1 ( G ) = 0 , i f   m ( G ) = 0 , b 4 ( G ) m ( G ) 1 2 + 1 , i f   m ( G ) > 0 .
Definition 2
([21]). Let G be a connected graph. Set Π 2 ( G ) = Π 1 ( G ) + m ( G ) n ( G ) .
Lemma 4
([21]). (i) Let G and H be two graphs such that P A ( G , λ ) = P A ( H , λ ) . Then
Π i ( G ) = Π i ( H ) , i = 1 , 2 .
(ii) Let G be a graph with k components G 1 , G 2 , , G k . Then
Π 2 ( G ) = i = 1 k Π 2 ( G i ) .
Lemma 5
([21]). Let G be a connected graph. Then
(i) Π 2 ( G ) 0 , and the equality holds if and only if G P C { C 4 } .
(ii) All connected graphs with 2 Π 2 ( G ) 0 are given in Table 1.
Lemma 6
([22]). All roots of P A ( C n , λ ) and P A ( P n , λ ) are the following:
P A ( C n , λ ) : 2 c o s 2 i π n , i = 0 , 1 , , n 1 .
P A ( P n , λ ) : 2 c o s i π n + 1 , i = 1 , , n .
Let λ = 2 c o s θ , set t 1 / 2 = e i θ , then it is useful to write the characteristic polynomial of C n and P n in the following form:
(1) P C n ( t 1 / 2 + t 1 / 2 ) = t n / 2 + t n / 2 2 ,
(2) P P n ( t 1 / 2 + t 1 / 2 ) = t n / 2 ( t n + 1 1 ) / ( t 1 ) .
Lemma 7
([22]). Let H be a proper subgraph of a connected graph G, λ 1 ( H ) < λ 1 ( G ) .
Lemma 8
([22]). For a graph G of n vertices with v V ( G ) , let H = G v , then
λ 1 ( G ) λ 1 ( H ) λ 2 ( G ) λ 2 ( H ) λ n 1 ( H ) λ n ( G ) .
Lemma 9
([22]). The list of all connected graphs with an index of less than two includes precisely the following graphs: (1) P n for n 1 ;
(2) T ( a , b , c ) for ( a , b , c ) { ( 1 , 2 , 2 ) , ( 1 , 2 , 3 ) , ( 1 , 2 , 4 ) } { ( 1 , 1 , n ) | n 1 } .

3. Main Results

For convenience, we denote by G i the set { G i } , for 1 i 5 , and by T i the set { T i } , for i = 1 , 2 . In this section, we shall show that G 21 ( s 1 , s 2 ) without C 4 and C 6 as its subgraphs and G 31 ( t 1 , t 2 ) without C 4 as its subgraph are DS with respect to their adjacency spectrum.
Lemma 10.
Let H be a graph with m ( H ) = m ( G 21 ( s 1 , s 2 ) ) = m ( G 31 ) and n = n ( H ) = n ( G 21 ( s 1 , s 2 ) ) = n ( G 31 ) , we have
(i) if H = H 1 H 2 , H i G 1 , then b 6 ( H ) 4 n + 6 , the equality holds if and only if H = Q ( s 1 , 2 ) Q ( s 2 , 2 ) , where s 1 3 , s 2 3 , n = s 1 + s 2 + 2 and s i 6 , i = 1 , 2 .
(ii) if H G 2 G 3 , then b 6 ( H ) 4 n + 6 , the equality holds if and only if H { G 21 ( s 1 , s 2 ) , G 31 ( t 1 , t 2 ) } and H does not contain C 6 as its subgraphs, where s 1 3 , t 2 t 1 1 , s 1 6 and t 1 + t 2 4 .
(iii) if H { G 4 P d , G 5 P d } , then b 6 ( H ) > 4 n + 6 , where d 2 .
Proof. 
For a graph G with u v E ( G ) , d × ( u v ) = d G ( u ) × d G ( v ) is said to be the product degree of the edge u v . We denote by D × ( G ) the product degree sequence of G, that is, D × ( G ) = { d × ( e 1 ) , d × ( e 2 ) , , d × ( e m ) } , where E ( G ) = { e 1 , e 2 , , e m } . Now we prove the lemma by considering the product degree sequence of H.
(i) Let H = H 1 H 2 and H i G 1 . Then D × ( H ) takes the following cases: { 3 2 , 6 4 , 4 n 6 } , { 2 1 , 3 1 , 6 5 , 4 n 7 } and { 2 2 , 6 6 , 4 n 8 } , where a k in the sets means that H has k edges of the product degree a. Clearly, u v E ( H ) d ( u ) × d ( v ) attain the minimum value 4 n + 6 if and only if D × ( H ) = { 3 2 , 6 4 , 4 n 6 } . Therefore, by Lemma 3(ii), b 6 ( H ) 4 n + 6 with the equality holding if and only if D × ( H ) = { 3 2 , 6 4 , 4 n 6 } , which implies H = Q ( s 1 , 2 ) Q ( s 2 , 2 ) and s i 6 , i = 1 , 2 . Thereefore, (i) is true.
(ii) Let H G 2 G 3 . To observe all distinct product degree sequences of a graph in G 2 G 3 , one can find that u v E ( H ) d ( u ) × d ( v ) attains the minimum value 4 n + 6 if and only if D × ( H ) = { 3 2 , 6 4 , 4 n 6 } , which implies H { G 21 ( s 1 , s 2 ) , G 31 ( t 1 , t 2 ) } . By Lemma 3(ii), (ii) holds.
With a complete similar argument with that of (i) and (ii), one can prove that (iii) is true. □
Lemma 11.
Let s 1 3 , s 2 3 and n = s 1 + s 2 + 3 . Then G 31 ( t 1 , t 2 ) , where 1 t 1 t 2 , t 1 + t 2 2 and n = t 1 + t 2 + 4 , is not cospectral with G 21 ( s 1 , s 2 ) .
Proof. 
By Lemmas 1 and 2, the characteristic polynomials of G 21 ( s 1 , s 2 ) can be computed as follows:
P A ( G 21 ( s 1 , s 2 ) ) = λ P A ( C s 1 + 2 ) ( P A ( P s 2 ) P A ( P s 2 2 ) ) λ P A ( P s 1 + 1 ) ( P A ( P s 2 1 ) P A ( P s 2 3 ) ) .
From Lemma 6, we can write P A ( G 21 ( S 1 , S 2 ) ) as follows (using Mathematica5.0):
P A ( G 21 ( s 1 , s 2 ) , t 1 / 2 + t 1 / 2 ) t n / 2 ( t 1 ) 4 = ψ ( t ) + ϕ ( G 21 ( s 1 , s 2 ) ) ,
where ψ ( t ) = 1 4 t + 4 t 2 + 2 t 3 + 2 t n + 1 + 4 t n + 2 4 t n + 3 + t n + 4 and
ϕ ( G 21 ( s 1 , s 2 ) ) = 5 t 4 + 2 t 5 2 t 1 + s 1 2 + 6 t 2 + s 1 2 4 t 3 + s 1 2 4 t 4 + s 1 2 + 6 t 5 + s 1 2 2 t 6 + s 1 2 + t 2 + s 1 2 t 3 + s 1 + 2 t 5 + s 1 t 6 + s 1 t 1 + s 2 + 2 t 2 + s 2 2 t 4 + s 2 + t 5 + s 2 2 t 1 + s 1 2 + s 2 + 6 t 2 + s 1 2 + s 2 4 t 3 + s 1 2 + s 2 4 t 4 + s 1 2 + s 2 + 6 t 5 + s 1 2 + s 2 2 t 6 + s 1 2 + s 2 + 2 t 2 + s 1 + s 2 5 t 3 + s 1 + s 2 .
Using the same method to deal with the characteristic polynomials of G 31 ( t 1 , t 2 ) , we obtain
ϕ ( G 31 ( t 1 , t 2 ) ) = 4 t 4 + t 6 t 3 + t 1 + 2 t 4 + t 1 t 5 + t 1 2 t 1 + t 1 + t 2 2 + 4 t 2 + t 1 + t 2 2 + 2 t 3 + t 1 + t 2 2 8 t 4 + t 1 + t 2 2 + 2 t 5 + t 1 + t 2 2 + 4 t 6 + t 1 + t 2 2 2 t 7 + t 1 + t 2 2 t 3 + t 2 + 2 t 4 + t 2 t 5 + t 2 + t 2 + t 1 + t 2 4 t 4 + t 1 + t 2 .
Suppose that G 21 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) are cospectral, which gives ϕ ( G 21 ( s 1 , s 2 ) ) = ϕ ( G 31 ( t 1 , t 2 ) ) . We consider the possible largest exponents term of ϕ ( G 21 ) ( s 1 , s 2 ) . They are t 6 + s 1 , 2 t 6 + s 1 2 + s 2 , 5 t s 1 + s 2 + 3 and their combinations. All the possible combinations of terms are: { t 6 + s 1 } , { 2 t 6 + s 1 2 + s 2 } ,   { 5 t s 1 + s 2 + 3 } , { t 6 + s 1 , 2 t 6 + s 1 2 + s 2 } , { t 6 + s 1 , 5 t s 1 + s 2 + 3 } ,   { 2 t 6 + s 1 2 + s 2 , 5 t s 1 + s 2 + 3 } , { t 6 + s 1 , 2 t 6 + s 1 2 + s 2 , 5 t s 1 + s 2 + 3 } . The coefficients of the front terms are −1, −2, −5, −3, −6, −7, and −8, respectively.
Case 1: t 1 = t 2 > 2 . Substituting it into ϕ ( G 31 ) , we obtain
ϕ 1 ( G 31 ) : 4 t 4 + t 6 2 t 1 + t 1 + 4 t 2 + t 1 4 t 4 + t 1 + 4 t 6 + t 1 2 t 7 + t 1 + t 2 + 2 t 1 4 t 4 + 2 t 1 .
We consider the possible largest exponents term of ϕ 1 ( G 31 ) . They are 2 t 7 + t 1 , 4 t 4 + 2 t 1 and their combinations. All the possible combinations of terms are: { 2 t 7 + t 1 } ,   { 4 t 4 + 2 t 1 } , { 2 t 7 + t 1 , 4 t 4 + 2 t 1 } . The coefficients of the front terms are −2, −4 and −6, respectively. It is not difficult to see that the largest exponent terms of ϕ ( G 21 ) and ϕ 1 ( G 31 ) are the same.
Suppose the largest exponent term of ϕ 2 ( G 31 ) is { 2 t 7 + t 1 } , which gives 7 + t 1 > 4 + 2 t 1 , so we obtain t 1 < 3 , which is contradicted with t 1 > 2 . Suppose the largest exponent term of ϕ 2 is { 2 t 7 + t 1 , 4 t 4 + 2 t 1 } , which gives t 1 = 3 and n ( G 31 ) = 10 , which is contradicted with n > 10 . Suppose that the largest exponent term of ϕ 2 ( G 31 ) is { 4 t 4 + 2 t 1 } ; there is not a combination in ϕ 1 ( G 21 ) of which the coefficient is −4. It is a contradiction.
Case 2. If 1 t 1 < t 2 , the possible largest exponent terms of ϕ ( G 31 ) are t 5 + t 2 , 2 t t 1 + t 2 2 + 7 , 4 t 4 + t 1 + t 2 and their combinations. All the possible combinations of terms are: { t 5 + t 2 } , { 2 t t 1 + t 2 2 + 7 } ,   { 4 t 4 + t 1 + t 2 } , { t 5 + t 2 , 2 t t 1 + t 2 2 + 7 } ,   { t 5 + t 2 , 4 t 4 + t 1 + t 2 } , { 2 t t 1 + t 2 2 + 7 , 4 t 4 + t 1 + t 2 } , { t 5 + t 2 , 2 t t 1 + t 2 2 + 7 , 4 t 4 + t 1 + t 2 } . The coefficients of the front terms are 1 , 2 , 4 , 3 , 5 , 6 , and 7 , respectively. It is not difficult to see that the largest exponent terms of ϕ ( G 21 ) and ϕ ( G 31 ) are the same. We consider the following possible cases:
Subcase 2.1. Suppose that the largest exponent term of ϕ ( G 31 ) is { t 5 + t 2 } . This gives 5 + t 2 > 4 + t 1 + t 2 , so we obtain t 1 < 1 , which is contradicted with t 1 1 . Suppose that the largest exponent term of ϕ ( G 31 ) is { 2 t t 1 + t 2 2 + 7 } . This gives t 1 + t 2 2 + 7 > 4 + t 1 + t 2 , so we obtain t 1 + t 2 < 6 . Since t 1 + t 2 > 4 , we obtain t 1 + t 2 = 5 and n ( G 31 ) = t 1 + t 2 + 4 = 9 , which is contradicted with n > 10 . Suppose that the largest exponent term of ϕ ( G 31 ) is { t 5 + t 2 , 2 t t 1 + t 2 2 + 7 } . This gives t 1 + t 2 2 + 6 = 5 + t 2 > 4 + t 1 + t 2 , so we obtain t 1 < 1 , which is contradicted with t 1 1 . Suppose that the largest exponent term of ϕ ( G 31 ) is { 4 t 4 + t 1 + t 2 } ; there is not a combination in ϕ ( G 21 ) of which the coefficient is −4. It is a contradiction.
Subcase 2.2. Suppose that the largest exponent term of ϕ ( G 31 ) is { t 5 + t 2 , 4 t 4 + t 1 + t 2 } , which gives 5 + t 2 = 4 + t 1 + t 2 > t 1 + t 2 2 + 7 and the coefficient of it is −5. We obtain t 1 = 1 , t 2 > 5 . At the same time, the largest exponent term of ϕ 1 ( G 21 ) is { 5 t s 1 + s 2 + 3 } . It is obviously s 1 + s 2 + 3 = 5 + t 2 , so s 2 = t 2 + 2 s 1 . Substitute t 2 = 3 into ϕ 2 , subtracting the same terms from ϕ ( G 21 ) and ϕ ( G 31 ) simultaneously. We obtain
ϕ 1 ( G 21 ) : 2 t 1 + s 1 2 + 6 t 2 + s 1 2 4 t 3 + s 1 2 4 t 4 + s 1 2 + 6 t 5 + s 1 2 2 t 6 + s 1 2 + t 2 + s 1 2 t 3 + s 1 + 2 t 5 + s 1 t 6 + s 1 t 1 + s 2 + 2 t 2 + s 2 2 t 4 + s 2 + t 5 + s 2 2 t 1 + s 1 2 + s 2 + 6 t 2 + s 1 2 + s 2 4 t 3 + s 1 2 + s 2 4 t 4 + s 1 2 + s 2 + 6 t 5 + s 1 2 + s 2 2 t 6 + s 1 2 + s 2
ϕ 2 ( G 31 ) : 2 t t 2 + 3 2 + 4 t t 2 + 5 2 + 2 t t 2 + 7 2 8 t t 2 + 9 2 + 2 t t 2 + 11 2 + 4 t t 2 + 13 2 2 t t 2 + 15 2 .
The largest exponent term of ϕ 1 ( G 21 ) is 2 t t 2 + 15 2 . The largest exponent term of ϕ 1 ( G 21 ) may be t 6 + s 1 , 2 t 6 + s 1 2 + s 2 and their combinations. However, the coefficient which equals −2 is only 2 t 6 + s 1 2 + s 2 . Therefore, we obtain t 2 + 15 2 = 6 + s 1 2 + s 2 , then s 1 + 2 s 2 = t 2 + 3 . Since s 1 + s 2 = t 2 + 2 , we obtain s 2 = 1 , which is contradicted with s 2 3 .
Subcase 2.3. Suppose that the largest exponent term of ϕ ( G 31 ) is { 2 t t 1 + t 2 2 + 7 , 4 t 4 + t 1 + t 2 } , which gives t 1 + t 2 2 + 7 = 4 + t 1 + t 2 > 5 + t 2 , and the coefficient of it is −6. We obtain t 1 + t 2 = 6 . At the same time, the largest exponent term of ϕ ( G 21 ) is { t 6 + s 1 , 5 t s 1 + s 2 + 3 } . It is obviously 6 + s 1 = s 1 + s 2 + 3 > 6 + s 1 2 + s 2 , so we obtain s 1 > 6 , s 2 = 3 . We also know that 6 + s 1 = t 1 + t 2 + 4 = 10 , so s 1 = 4 , which is contradicted with s 1 > 6 .
Subcase 2.4. Suppose that the largest exponent term of ϕ ( G 31 ) is { t 5 + t 2 , 2 t t 1 + t 2 2 + 7 , 4 t 4 + t 1 + t 2 } , which gives 5 + t 2 = t 1 + t 2 2 + 7 = 4 + t 1 + t 2 and the coefficient of it is −7. We obtain t 1 = 1 , t 2 = 5 . At the same time, the largest exponent term of ϕ ( G 21 ) is { 2 t 6 + s 1 2 + s 2 , 5 t s 1 + s 2 + 3 } . It is obviously 6 + s 1 2 + s 2 = s 1 + s 2 + 3 > 6 + s 1 , so we obtain s 1 = 6 , s 2 > 3 . We also know that 9 + s 2 = t 1 + t 2 + 4 = 10 , so s 2 = 1 , which is contradicted with s 2 > 3 . Then, we complete the proof of Lemma 11. □
Lemma 12.
(i) Let s 1 3 , s 2 3 and t 1 3 , t 2 3 . If s 1 + s 2 = t 1 + t 2 , then G 21 ( s 1 , s 2 ) and G 21 ( t 1 , t 2 ) are cospectral if and only if s 1 = t 1 and s 2 = t 2 .
(ii) Let s 2 s 1 1 and t 2 t 1 1 . If s 1 + s 2 = t 1 + t 2 , then G 31 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) are cospectral if and only if s 1 = t 1 and s 2 = t 2 .
Proof. 
(i) Suppose that G 21 ( s 1 , s 2 ) and G 21 ( t 1 , t 2 ) are cospectral, which gives ϕ ( G 21 ( s 1 , s 2 ) ) = ϕ ( G 21 ( t 1 , t 2 ) ) . Similarly with ϕ ( G 21 ( s 1 , s 2 ) ) , one can easily obtain
ϕ ( G 21 ( t 1 , t 2 ) ) = 5 t 4 + 2 t 5 2 t 1 + t 1 2 + 6 t 2 + t 1 2 4 t 3 + t 1 2 4 t 4 + t 1 2 + 6 t 5 + t 1 2 2 t 6 + t 1 2 + t 2 + t 1 2 t 3 + t 1 + 2 t 5 + t 1 t 6 + t 1 t 1 + t 2 + 2 t 2 + t 2 2 t 4 + t 2 + t 5 + t 2 2 t 1 + t 1 2 + t 2 + 6 t 2 + t 1 2 + t 2 4 t 3 + t 1 2 + t 2 4 t 4 + t 1 2 + t 2 + 6 t 5 + t 1 2 + t 2 2 t 6 + t 1 2 + t 2 + 2 t 2 + t 1 + t 2 5 t 3 + t 1 + t 2 .
By eliminating the same terms of ϕ ( G 21 ( s 1 , s 2 ) ) and ϕ ( G 21 ( t 1 , t 2 ) ) , we obtain
ϕ 1 ( G 21 ( s 1 , s 2 ) ) : 2 t 1 + s 1 2 + 6 t 2 + s 1 2 4 t 3 + s 1 2 4 t 4 + s 1 2 + 6 t 5 + s 1 2 2 t 6 + s 1 2 + t 2 + s 1 2 t 3 + s 1 + 2 t 5 + s 1 t 6 + s 1 t 1 + s 2 + 2 t 2 + s 2 2 t 4 + s 2 + t 5 + s 2 2 t 1 + s 1 2 + s 2 + 6 t 2 + s 1 2 + s 2 4 t 3 + s 1 2 + s 2 4 t 4 + s 1 2 + s 2 + 6 t 5 + s 1 2 + s 2 2 t 6 + s 1 2 + s 2 ,
ϕ 1 ( G 21 ( t 1 , t 2 ) ) : 2 t 1 + t 1 2 + 6 t 2 + t 1 2 4 t 3 + t 1 2 4 t 4 + t 1 2 + 6 t 5 + t 1 2 2 t 6 + t 1 2 + t 2 + t 1 2 t 3 + t 1 + 2 t 5 + t 1 t 6 + t 1 t 1 + t 2 + 2 t 2 + t 2 2 t 4 + t 2 + t 5 + t 2 2 t 1 + t 1 2 + t 2 + 6 t 2 + t 1 2 + t 2 4 t 3 + t 1 2 + t 2 4 t 4 + t 1 2 + t 2 + 6 t 5 + t 1 2 + t 2 2 t 6 + t 1 2 + t 2 .
The smallest possible terms of ϕ 1 ( G 21 ( s 1 , s 2 ) ) are 2 t 1 + s 1 2 , t 1 + s 2 and their combination { 2 t 1 + s 1 2 , t 1 + s 2 } . The smallest possible terms of ϕ 1 ( G 21 ( t 1 , t 2 ) ) are 2 t 1 + t 1 2 , t 1 + t 2 and their combination { 2 t 1 + t 1 2 , t 1 + t 2 } . The coefficients of the front terms are −2, −1 and −3.
Case 1. Suppose the smallest term of ϕ 1 ( G 21 ( s 1 , s 2 ) ) is 2 t 1 + s 1 2 . Since ϕ 1 ( G 21 ( s 1 , s 2 ) ) = ϕ 1 ( G 21 ( t 1 , t 2 ) ) , we can easily obtain the smallest term of ϕ 1 ( G 21 ( t 1 , t 2 ) ) , which is 2 t 1 + t 1 2 , which gives t 1 = s 1 . Substituting it into ϕ 1 ( G 21 ( t 1 , t 2 ) ) and eliminating the same terms of ϕ 1 ( G 21 ( s 1 , s 2 ) ) and ϕ 1 ( G 21 ( t 1 , t 2 ) ) , we obtain
ϕ 2 ( G 21 ( s 1 , s 2 ) ) : t 1 + s 2 + 2 t 2 + s 2 2 t 4 + s 2 + t 5 + s 2 2 t 1 + s 1 2 + s 2 + 6 t 2 + s 1 2 + s 2 4 t 3 + s 1 2 + s 2 4 t 4 + s 1 2 + s 2 + 6 t 5 + s 1 2 + s 2 2 t 6 + s 1 2 + s 2 ,
ϕ 2 ( G 21 ( t 1 , t 2 ) ) : t 1 + t 2 + 2 t 2 + t 2 2 t 4 + t 2 + t 5 + t 2 2 t 1 + s 1 2 + t 2 + 6 t 2 + s 1 2 + t 2 4 t 3 + s 1 2 + t 2 4 t 4 + s 1 2 + t 2 + 6 t 5 + s 1 2 + t 2 2 t 6 + s 1 2 + t 2 .
Obviously, the smallest term of ϕ 2 ( G 21 ( s 1 , s 2 ) ) is t 1 + s 2 , and so is t 1 + t 2 of ϕ 2 ( G 21 ( t 1 , t 2 ) ) . Since ϕ 2 ( G 21 ( s 1 , s 2 ) ) = ϕ 2 ( G 21 ( t 1 , t 2 ) ) , we obtain t 2 = s 2 .
Case 2. Suppose the smallest term of ϕ 1 ( G 21 ( s 1 , s 2 ) ) is t 1 + s 2 or { 2 t 1 + s 1 2 , t 1 + s 2 } . Similarly to Case 1, we obtain s 1 = t 1 and s 2 = t 2 . We complete the proof of Lemma 12(i).
(ii) Similarly to the proof of (i), we can easily obtain (ii). Then, we complete the proof of Lemma 12. □
Theorem 1.
Let s 1 3 , s 2 2 . Then G 21 ( s 1 , s 2 ) , s 1 4 , 6 , is determined by its adjacency spectrum.
Proof. 
Let H be a graph cospectral with G 21 ( s 1 , s 2 ) . Without loss of generality, we assume that H has k connected components H 1 , H 2 , ⋯, H k . By Lemma 4 and Table 1, it follows that
Π 2 ( H ) = i = 1 k Π 2 ( H i ) = Π 2 ( G 21 ( s 1 , s 2 ) ) = 2 .
By Lemma 5, it is easy to see that 2 Π 2 ( H i ) 0 , for 1 i k . Therefore, H has exactly one component, say H 1 , such that Π 2 ( H 1 ) = 2 and Π 2 ( H i ) = 0 for 2 i k , or H has exactly two components, say H 1 and H 2 , such that Π 2 ( H 1 ) = Π 2 ( H 1 ) = 1 and Π 2 ( H i ) = 0 for 3 i k .
Now we observe the largest eigenvalue and the second eigenvalue of G 21 ( s 1 , s 2 ) . By Lemmas 6 and 7, we obtain λ 1 ( G 21 ( s 1 , s 2 ) ) > λ 1 ( C s 1 + 2 ) = 2 . Choose the middle vertex u of degree three of G 21 ( s 1 , s 2 ) such that G 21 u = P s 1 + 1 T ( 1 , 1 , s 2 2 ) . By Lemmas 8 and 9, we obtain λ 2 ( G 21 ( s 1 , s 2 ) ) < 2 . Hence, we know that 2 is not the eigenvalue of G 21 ( s 1 , s 2 ) , which implies that H does not contain C as its component. Therefore, we distinguish the following cases:
Case 1. Π 2 ( H 1 ) = Π 2 ( H 1 ) = 1 and Π 2 ( H i ) = 0 for 3 i k . By Lemma 5, Table 1 and Figure 2,
H 1 , H 2 { K 1 , G 1 , T 1 } , H i P , i = 3 , , k .
Clearly, m ( H i ) n ( H i ) and n ( G 21 ( s 1 , s 2 ) ) = m ( G 21 ( s 1 , s 2 ) ) , so k = 2 and H 1 , H 2 G 1 . Note that λ 1 ( H 1 ) > 2 and λ 1 ( H 2 ) > 2 , which contradict with λ 2 ( G 21 ( s 1 , s 2 ) ) < 2 .
Case 2. Π 2 ( H 1 ) = 2 and Π 2 ( H i ) = 0 for 2 i k . By Lemma 5 and Table 1,
H 1 { G 2 , G 3 , G 4 , G 5 , T 2 } , H i P , i = 2 , 3 , , k
and H 1 has no subgraphs C 4 .
Figure 2. All connected graphs with 2 Π 2 ( G ) 0 .
Figure 2. All connected graphs with 2 Π 2 ( G ) 0 .
Symmetry 14 01213 g002
Clearly, m ( H 1 ) = n ( H 1 ) for each H 1 { G 2 , G 3 } ; m ( H 1 ) = n ( H 1 ) + 1 for each H 1 { G 4 , G 5 } ; m ( H 1 ) = n ( H 1 ) 1 for H 1 { T 2 } and m ( H i ) = n ( H i ) 1 for each i 2 . Since m ( H ) n ( H ) = m ( G 21 ) n ( G 21 ) = 0 , we arrive at
(i) H { G 2 , G 3 } , or
(ii) H = H 1 H 2 , where H 1 { G 4 , G 5 } and H 2 P .
Suppose that H { G 2 , G 3 } and H have no subgraphs C 4 . Then H and G 21 ( s 1 , s 2 ) have the same degree sequence and number of K 3 ’s. Therefore, by Lemma 3 we obtain that b 6 ( H ) = b 6 ( G 21 ( s 1 , s 2 ) ) = 4 n + 6 for s 1 4 . From Lemma 10(ii), we have that H { G 21 ( t 1 , t 2 ) , G 31 ( a , b ) } and H does not contain C 6 as its subgraphs, where t 1 3 , b a 1 , t 1 4 and a + b 4 . By Lemmas 11 and 12(i), we obtain H = G 21 ( s 1 , s 2 ) .
Suppose that H { G 4 P d , G 5 P d } . By Lemma 10(ii), we have b 6 ( H ) > 4 n + 6 = b 6 ( G 21 ( s 1 , s 2 ) ) , which implies P A ( H ) P A ( G 21 ( s 1 , s 2 ) ) from Lemma 3. Therefore, the theorem holds. □
Lemma 13.
Let s 2 s 1 3 and n = s 1 + s 2 + 2 . Then, we have G 31 ( t 1 , t 2 ) , where 1 t 1 t 2 , t 1 + t 2 2 and n = t 1 + t 2 + 4 is not cospectral with Q ( s 1 , 2 ) Q ( s 2 , 2 ) .
Proof. 
For convenience, we use F instead of Q ( s 1 , 2 ) Q ( s 2 , 2 ) . We deal with the characteristic polynomials of F in the same way as Lemma 11. By eliminating the same terms, we obtain
ϕ ( G 31 ( t 1 , t 2 ) ) : t 3 + t 1 + 2 t 4 + t 1 t 5 + t 1 2 t 1 + t 1 + t 2 2 + 4 t 2 + t 1 + t 2 2 + 2 t 3 + t 1 + t 2 2 8 t 4 + t 1 + t 2 2 + 2 t 5 + t 1 + t 2 2 + 4 t 6 + t 1 + t 2 2 2 t 7 + t 1 + t 2 2 t 3 + t 2 + 2 t 4 + t 2 t 5 + t 2 ,
ϕ ( F ) : 2 t s 1 2 + 6 t 1 + s 1 2 2 t 2 + s 1 2 8 t 3 + s 1 2 + 6 t 4 + s 1 2 + 2 t 5 + s 1 2 2 t 6 + s 1 2 + t s 1 2 t 1 + s 1 2 t 2 + s 1 + 6 t 3 + s 1 2 t 4 + s 1 2 t 5 + s 1 + t 6 + s 1 2 t s 2 2 + 6 t 1 + s 2 2 2 t 2 + s 2 2 8 t 3 + s 2 2 + 6 t 4 + s 2 2 + 2 t 5 + s 2 2 2 t 6 + s 2 2 + t s 2 2 t 1 + s 2 2 t 2 + s 2 + 6 t 3 + s 2 2 t 4 + s 2 2 t 5 + s 2 + t 6 + s 2 + 4 t s 1 + s 2 2 8 t 1 + s 1 + s 2 2 4 t 2 + s 1 + s 2 2 + 16 t 3 + s 1 + s 2 2 4 t 4 + s 1 + s 2 2 8 t 5 + s 1 + s 2 2 + 4 t 6 + s 1 + s 2 2 2 t s 1 2 + s 2 + 2 t 1 + s 1 2 + s 2 + 6 t 2 + s 1 2 + s 2 8 t 3 + s 1 2 + s 2 2 t 4 + s 1 2 + s 2 + 6 t 5 + s 1 2 + s 2 2 t 6 + s 1 2 + s 2 2 t s 2 2 + s 1 + 2 t 1 + s 2 2 + s 1 + 6 t 2 + s 2 2 + s 1 8 t 3 + s 2 2 + s 1 2 t 4 + s 2 2 + s 1 + 6 t 5 + s 2 2 + s 1 2 t 6 + s 2 2 + s 1 .
Case 1. t 1 = t 2 > 2 . Substituting it into ϕ ( G 31 ( t 1 , t 2 ) ) , we obtain
ϕ 1 ( G 31 ( t 1 , t 2 ) ) : 2 t 1 + t 1 + 4 t 2 + t 1 4 t 4 + t 1 + 4 t 6 + t 1 2 t 7 + t 1 .
Obviously, the largest exponent term of ϕ 1 ( G 31 ( t 1 , t 2 ) ) is 2 t 7 + t 1 and the smallest exponent term of ϕ 1 ( G 31 ( t 1 , t 2 ) ) is 2 t 1 + t 1 . The difference of the two exponents is six.
Subcase 1.1. s 1 = s 2 > 2 . Substituting it into ϕ ( F ) , we obtain
ϕ 1 ( F ) : 4 t s 1 2 + 12 t 1 + s 1 2 4 t 2 + s 1 2 16 t 3 + s 1 2 + 12 t 4 + s 1 2 + 4 t 5 + s 1 2 4 t 6 + s 1 2 + 6 t s 1 12 t 1 + s 1 8 t 2 + s 1 + 28 t 3 + s 1 8 t 4 + s 1 12 t 5 + s 1 + 6 t 6 + s 1 4 t 3 s 1 2 + 4 t 1 + 3 s 1 2 + 12 t 2 + 3 s 1 2 16 t 3 + 3 s 1 2 4 t 4 + 3 s 1 2 + 12 t 5 + 3 s 1 2 4 t 6 + 3 s 1 2 .
Obviously, the largest exponent term of ϕ 1 ( F ) is 4 t 6 + 3 s 1 2 . The coefficients of the largest term of ϕ 1 ( G 31 ( t 1 , t 2 ) ) and ϕ 1 ( F ) are different, which is a contradiction.
Subcase 1.2. If s 2 > s 1 , one can see the smallest term of ϕ ( F ) is 2 t s 1 2 , while the largest term of ϕ ( F ) is 2 t 6 + s 1 2 + s 2 . The difference of two exponents is 6 + s 2 , which is not six.
Case 2. If 1 t 1 < t 2 , the possible largest exponent terms of ϕ ( G 31 ( t 1 , t 2 ) ) are t 5 + t 2 , 2 t t 1 + t 2 2 + 7 and their combinations. The coefficients of the front terms are −1, −2 and 3 , respectively. When s 1 = s 2 > 2 , the coefficient of the largest term of ϕ 1 ( F ) is −4, which does not appear in ϕ ( G 31 ( t 1 , t 2 ) ) . If s 2 > s 1 , one can see the smallest term of ϕ ( F ) is 2 t s 1 2 , while the largest term of ϕ ( F ) is 2 t 6 + s 1 2 + s 2 . The difference of two exponents is 6 + s 2 . Therefore, the largest term of ϕ ( G 31 ( t 1 , t 2 ) ) is 2 t t 1 + t 2 2 + 7 , which gives t 1 + t 2 2 + 7 > 5 + t 2 . We obtain t 2 < 4 + t 1 . Thus, the smallest exponent term of ϕ 1 ( G 31 ( t 1 , t 2 ) ) is 2 t 1 + t 1 + t 2 2 . The difference of the two exponents is six. This results in a contradiction. Then, we complete the proof of Lemma 13. □
Lemma 14.
Let ( t 1 , t 2 ) { ( 4 , 19 ) , ( 5 , 11 ) , ( 7 , 7 ) } . Then, we have G 31 ( t 1 , t 2 ) , which are not cospectral with G 21 ( s 1 , s 2 ) C s and G 31 ( a , b ) C s .
Proof. 
( t 1 , t 2 ) = ( 4 , 19 ) . Suppose G 31 ( 4 , 19 ) is cospectral with H, which gives n ( H ) = n ( G 31 ( 4 , 19 ) ) = 27 , where H { G 21 ( s 1 , s 2 ) C s , G 31 ( a , b ) C s } . It is not hard to see that both the length and the number of shortest odd cycles in G 31 ( 4 , 19 ) and H are the same. G 31 ( 4 , 19 ) contains an odd cycle with the length 25, and so does H. Suppose H = G 21 ( s 1 , s 2 ) C s , we can easily obtain s 1 = 23 , s > 25 or s 1 > 23 , s = 25 . Then, we have n ( H ) > 27 , which is contradicted with n ( G 31 ( 4 , 19 ) ) = n ( H ) . Suppose H = G 31 ( a , b ) C s , we can easily obtain a + b = 23 , s > 25 or a + b > 23 , s = 25 . Then, we have n ( H ) > 27 , which is contradicted with n ( G 31 ( 4 , 19 ) ) = n ( H ) .
( t 1 , t 2 ) = ( 5 , 11 ) . Suppose G 31 ( 5 , 11 ) is cospectral with H, which gives n ( H ) = n ( G 31 ( 5 , 11 ) ) = 20 , Π 2 ( H ) = Π 2 ( G 31 ( 5 , 11 ) ) and b 6 ( H ) = b 6 ( G 31 ( 5 , 11 ) ) , where H { G 21 ( s 1 , s 2 ) C s , G 31 ( a , b ) C s } . G 31 ( 5 , 11 ) is a biparticle graph, and so is H. Suppose H = G 21 ( s 1 , s 2 ) C s , we can easily obtain s 1 = 2 i , s = 2 j , where i 3 , j 4 . Since n ( H ) = s 1 + s 2 + s + 3 = 20 , one can see i = 3 , j = 4 and H = G 21 ( 6 , 3 ) C 8 . We calculate the eigenvalues of G 31 ( 5 , 11 ) and C 8 . The eigenvalues of G 31 ( 5 , 11 ) are { 2.083968 , 2 , 1.902113 , 1.618034 , 1.571841 , 1.175571 , 1 , 0.618034 , 0.431733 ,   0 2 , 0.431733 , 0.618034 , 1 , 1.175571 , 1.571841 , 1.618034 , 1.902113 , 2 , 2.083968 } . The eigenvalues of C 8 are { 2 , 1 . 414214 2 , 0 2 , 1 . 414214 2 , 2 } . We can see −1.414214 is a eigenvalue of H; however, it is not a eigenvalue of G 31 ( 5 , 11 ) . This results in a contradiction. Suppose H = G 31 ( a , b ) C s , we can easily obtain a + b = 2 i , s = 2 j , where i 3 , j 4 . Since n ( H ) = a + b + s + 4 = 20 , one can see i = 4 , j = 4 or i = 3 , j = 5 . H = G 31 ( a , b ) C 8 or H = G 31 ( a , b ) C 10 . If H = G 31 ( a , b ) C 8 , we arrive at a contradiction. We calculate the eigenvalues of C 10 , which are { 2 , 1.618034 2 , 0.618034 2 , 0.618034 2 , 1.618034 2 , 2 } . We can see −1.618034 is a eigenvalue of H, with multiplicity at least 2. However, it is a simple eigenvalue of G 31 ( 5 , 11 ) . This results in a contradiction.
( t 1 , t 2 ) = ( 7 , 7 ) . Suppose G 31 ( 7 , 7 ) is cospectral with H, which gives n ( H ) = n ( G 31 ( 7 , 7 ) ) = 18 , Π 2 ( H ) = Π 2 ( G 31 ( 7 , 7 ) ) and b 6 ( H ) = b 6 ( G 31 ( 7 , 7 ) ) , where H { G 21 ( s 1 , s 2 ) C s , G 31 ( a , b ) C s } . G 31 ( 7 , 7 ) is biparticle graph, and so is H. Suppose H = G 21 ( s 1 , s 2 ) C s , we can easily obtain s 1 = 2 i , s = 2 j , where i 3 , j 4 . Since s 2 3 , n ( H ) = s 1 + s 2 + s + 3 20 . n ( H ) = n ( G 31 ( 7 , 7 ) ) n ( H ) , which a contradiction. Suppose H = G 31 ( a , b ) C s , we can easily obtain a + b = 2 i , s = 2 j , where i 3 , j 4 . Since n ( G 31 ( 7 , 7 ) ) = n ( H ) = a + b + s + 4 = 18 , one can see i = 3 , j = 4 . Thus, H = G 31 ( a , b ) C 8 , and we have arrived at a contradiction. Then, we complete the proof of Lemma 14. □
Theorem 2.
Let 1 t 1 t 2 and t 1 + t 2 2 . Then, G 31 ( t 1 , t 2 ) is determined by its adjacency spectrum.
Proof. 
Let H be a graph cospectral with G 31 ( t 1 , t 2 ) . Without loss of generality, we assume that H has k connected components H 1 , H 2 , ⋯, H k . By Lemma 4 and Table 1, it follows that
Π 2 ( H ) = i = 1 k Π 2 ( H i ) = Π 2 ( G 31 ( t 1 , t 2 ) ) = 2 .
By Lemma 5, it is easy to see that 2 Π 2 ( H i ) 0 , for 1 i k . Therefore, H has exactly one component, say H 1 , such that Π 2 ( H 1 ) = 2 and Π 2 ( H i ) = 0 for 2 i k , or H has exactly two components, say H 1 and H 2 , such that Π 2 ( H 1 ) = Π 2 ( H 1 ) = 1 and Π 2 ( H i ) = 0 for 3 i k .
Now, we observe whether two is the root of P A ( G 31 ( t 1 , t 2 ) ) or not. By Lemma 1 and 2, we have P A ( G 31 ( t 1 , t 2 ) , 2 ) = t 1 t 2 3 t 1 3 t 2 7 . If two is the root of P A ( G 31 ( t 1 , t 2 ) ) , we obtain t 1 = 3 + 16 t 2 3 . P A ( G 31 ( t 1 , t 2 ) ) contains two as its root, if and only if ( t 1 , t 2 ) { ( 4 , 19 ) , ( 5 , 11 ) , ( 7 , 7 ) } . We consider the following case.
Case 1. If ( t 1 , t 2 ) { ( 4 , 19 ) , ( 5 , 11 ) , ( 7 , 7 ) } , we know that two is not the eigenvalue of G 31 ( t 1 , t 2 ) , which implies that H does not contain C as its component. Therefore, we distinguish the following cases:
Subcase 1.1. Π 2 ( H 1 ) = Π 2 ( H 1 ) = 1 and Π 2 ( H i ) = 0 for 3 i k . By Lemma 5 and Table 1,
H 1 , H 2 { K 1 , G 1 , T 1 } , H i P , i = 3 , , k .
Clearly, m ( H i ) n ( H i ) and n ( G 21 ( s 1 , s 2 ) ) = m ( G 21 ( s 1 , s 2 ) ) , so k = 2 and H 1 , H 2 G 1 . Suppose that H has no subgraphs C 4 . Then, H and G 31 ( t 1 , t 2 ) have the same degree sequence and number of K 3 ’s. Therefore, by Lemma 3 we obtain that b 6 ( H ) = b 6 ( G 31 ( t 1 , t 2 ) ) = 4 n + 6 . From Lemma 10 (i), we have that H = Q ( s 1 , 2 ) Q ( s 2 , 2 ) . By Lemma 13, G 31 ( t 1 , t 2 ) is not cospectral with Q ( s 1 , 2 ) Q ( s 2 , 2 ) .
Subcase 1.2. Π 2 ( H 1 ) = 2 and Π 2 ( H i ) = 0 for 2 i k . By Lemma 5 and Table 1,
H 1 { G 2 , G 3 , G 4 , G 5 , T 2 } , H i P , i = 2 , 3 , , k
and H 1 has no subgraphs C 4 .
Clearly, m ( H 1 ) = n ( H 1 ) for each H 1 { G 2 , G 3 } ; m ( H 1 ) = n ( H 1 ) + 1 for each H 1 { G 4 , G 5 } ; m ( H 1 ) = n ( H 1 ) 1 for H 1 { T 2 } and m ( H i ) = n ( H i ) 1 for each i 2 . Since m ( H ) n ( H ) = m ( G 31 ( t 1 , t 2 ) ) n ( G 31 ( t 1 , t 2 ) ) = 0 , we arrive at
(i) H { G 2 , G 3 } , or
(ii) H = H 1 H 2 , where H 1 { G 4 , G 5 } and H 2 P .
Suppose that H { G 2 , G 3 } and H have no subgraphs C 4 . Then H and G 31 ( t 1 , t 2 ) have the same degree sequence and number of K 3 ’s. Therefore, by Lemma 3 we obtain that b 6 ( H ) = b 6 ( G 31 ( t 1 , t 2 ) ) = 4 n + 6 for t 1 + t 2 4 . From Lemma 10 (ii), we have that H { G 21 ( t 1 , t 2 ) , G 31 ( a , b ) } and H does not contain C 6 as its subgraphs, where t 1 3 , b a 1 , t 1 4 and a + b 4 . By Lemmas 11 and 12(i), we obtain H = G 31 ( t 1 , t 2 ) .
Suppose that H { G 4 P d , G 5 P d } . By Lemma 10 (ii), we have b 6 ( H ) > 4 n + 6 = b 6 ( G 31 ( t 1 , t 2 ) ) , which implies P A ( H ) P A ( G 31 ( t 1 , t 2 ) ) from Lemma 3. Therefore, in this case, the theorem holds.
Case 2. If ( t 1 , t 2 ) { ( 4 , 19 ) , ( 5 , 11 ) , ( 7 , 7 ) } , we know that 2 is a eigenvalue of G 31 ( t 1 , t 2 ) . H may contain C as its component. Now, we observe the largest eigenvalue, the second and third eigenvalue of G 31 ( t 1 , t 2 ) . By Lemmas 6 and 7, we obtain λ 1 ( G 31 ( t 1 , t 2 ) ) > λ 1 ( C s 1 + 2 ) = 2 . Choose the vertex u of degree three of G 31 ( t 1 , t 2 ) , such that G 31 ( t 1 , t 2 ) u = K 1 T ( 1 , t 1 , t 2 ) . Choose the vertex v of degree three of T ( 1 , t 1 , t 2 ) , such that T ( 1 , t 1 , t 2 ) v = K 1 P t 1 P t 2 . By Lemmas 8 and 9, we obtain λ 3 ( G 31 ( t 1 , t 2 ) ) < 2 . Hence, we know that G 31 ( t 1 , t 2 ) at most has two eigenvalues, which are not smaller than two. Q ( s 1 , 2 ) Q ( s 2 , 2 ) C s has three eigenvalues, which are not larger than two. We have H Q ( s 1 , 2 ) Q ( s 2 , 2 ) C s . By Lemma 10, we can easily obtain b 6 ( G 31 ) < b 6 ( H ) , where H { C G i { G 21 ( s 1 , s 2 1 ) , G 31 ( t 1 , t 2 ) } , C P G j | i = 2 , 3 ; j = 4 , 5 } . Thus, we just consider H { G 21 ( s 1 , s 2 ) C s , G 31 ( a , b ) C s } . By Lemma 14, we have H, which is not cospectral with G 31 ( t 1 , t 2 ) . Then, we complete the proof. □

Author Contributions

J.Y. and H.Z. contributed equally to conceptualization, methodology, validation, formal analysis.; J.Y., H.Z., X.M. and J.L.: writing—review and editing. All authors read and approved the final manuscript.

Funding

This research was funded by NSFC 11801296, 11961055, the Qinghai Province Natural Science Funds 2019-ZJ-7012 and the 111 Project (D20035).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bondy, J.; Murty, U.S.R. Graph Theory; Springer: Berlin, Germany, 2008. [Google Scholar]
  2. Van Dam, E.R.; Haemers, W.H. Which graphs are determined by their spectrum? Linear Algebra Appl. 2003, 373, 241–272. [Google Scholar] [CrossRef] [Green Version]
  3. Van Dam, E.R.; Haemers, W.H. Developments on spectral characterizations of graphs. Discret. Math. 2009, 309, 576–586. [Google Scholar] [CrossRef] [Green Version]
  4. Haemers, W.H.; Spence, E. Enumeration of cospectral graphs. Eur. J. Combin. 2004, 25, 199–211. [Google Scholar] [CrossRef] [Green Version]
  5. Boulet, R.; Jouve, B. The Lollipop Graph is determined by its spectrum. Electron. J. Combin. 2008, 15, R74. [Google Scholar] [CrossRef]
  6. Haemers, W.H.; Liu, X.; Zhang, Y. Spectral characterizations of lollipop graphs. Linear Algebra Appl. 2008, 428, 2415–2423. [Google Scholar] [CrossRef] [Green Version]
  7. Ramezani, F.; Broojerdian, N.; Tayfeh-Rezaie, B. A note on the spectral characterization of θ-graphs. Linear Algebra Appl. 2009, 431, 626–632. [Google Scholar] [CrossRef] [Green Version]
  8. Wang, J.; Huang, Q.; Belardo, F.; Marzic, E.M. On the spectral characterization of theta graphs. Match 2009, 62, 581. [Google Scholar]
  9. Wang, J.; Belardo, F.; Huang, Q.; Marzic, E.M. Spectral characterizations of dumbbell graphs. Electron. J. Comb. 2010, 17, R42. [Google Scholar] [CrossRef]
  10. Doob, M.; Haemers, W.H. The complement of the path is determined by its spectrum. Linear Algebra Appl. 2002, 356, 57–65. [Google Scholar] [CrossRef] [Green Version]
  11. Ghareghani, N.; Omidi, G.R.; Tayfeh-Rezaie, B. Spectral characterization of graphs with index at most 2 + 5 . Linear Algebra Appl. 2007, 420, 483–489. [Google Scholar] [CrossRef] [Green Version]
  12. Lepović, M.; Gutman, I. No starlike trees are cospectral. Discret. Math. 2002, 242, 291–295. [Google Scholar] [CrossRef] [Green Version]
  13. Lu, P.; Liu, X.; Yuan, Z.; Yong, X. Spectral characterizations of sandglass graphs. Appl. Math. Lett. 2009, 22, 1225–1230. [Google Scholar] [CrossRef] [Green Version]
  14. Omidi, G.R. The spectral characterization of graphs of index less than 2 with no path as a component. Linear Algebra Appl. 2008, 428, 1696–1705. [Google Scholar] [CrossRef] [Green Version]
  15. Shen, X.; Hou, Y.; Zhang, Y. Graphs Zn and some graphs related to Zn are determined by their spectrum. Linear Algebra Appl. 2005, 404, 58–68. [Google Scholar] [CrossRef] [Green Version]
  16. Wang, W.; Xu, C.X. On the spectral characterization of T-shape trees. Linear Algebra Appl. 2006, 414, 492–501. [Google Scholar] [CrossRef] [Green Version]
  17. Joiţa, D.; Jäntschi, L. Extending the characteristic polynomial for characterization of C20 fullerene congeners. Mathematics 2017, 5, 84. [Google Scholar] [CrossRef] [Green Version]
  18. Jäntschi, L.; Bolboacă, S.D.; Furdui, C.M. Characteristic and counting polynomials: Modelling nonane isomers properties. Mol. Simul. 2009, 35, 220–227. [Google Scholar] [CrossRef]
  19. Jäntschi, L.; Bolboacă, S.D. Performances of Shannon’s Entropy Statistic in Assessment of Distribution of Data. Ovidius Univ. Ann. Chem. 2017, 28, 30–42. [Google Scholar] [CrossRef] [Green Version]
  20. Bolboacă, S.D.; Jäntschi, L. Distribution Fitting 3. Analysis under Normality Assumptions. Bull. Univ. Agric. Sci. Vet. Med. Cluj-Napoca. Hortic. 2009, 66, 698–705. [Google Scholar]
  21. Yin, J.; Zhao, H.; Xie, S. Spectral Invariants and Their Application on Spectral Characterization of Graphs. Axioms 2022, 11, 260. [Google Scholar] [CrossRef]
  22. Cvetkovic, D.M.; Doob, M.; Sachs, H. Spectra of Graph; Academice Press: New York, NY, USA, 1980. [Google Scholar]
Figure 1. G 21 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) .
Figure 1. G 21 ( s 1 , s 2 ) and G 31 ( t 1 , t 2 ) .
Symmetry 14 01213 g001
Table 1. Graphs with Π 2 ( G ) = 0 , 1 , 2 .
Table 1. Graphs with Π 2 ( G ) = 0 , 1 , 2 .
Π 2 ( G ) Graphs
0 P n , C 3 , C n for n 5
−1 K 1 , G 1 , T 1
−2 G 2 , G 3 , G 4 , G 5 , C 4 , T 2
Notice: G i , for 1 i 5 , does not contain C 4 as a subgrpah. All dotted lines of graphs in Figure 1 denote a path with at least 2 vertices.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yin, J.; Zhao, H.; Ma, X.; Liang, J. On Spectral Characterization of Two Classes of Unicycle Graphs. Symmetry 2022, 14, 1213. https://doi.org/10.3390/sym14061213

AMA Style

Yin J, Zhao H, Ma X, Liang J. On Spectral Characterization of Two Classes of Unicycle Graphs. Symmetry. 2022; 14(6):1213. https://doi.org/10.3390/sym14061213

Chicago/Turabian Style

Yin, Jun, Haixing Zhao, Xiujuan Ma, and Jing Liang. 2022. "On Spectral Characterization of Two Classes of Unicycle Graphs" Symmetry 14, no. 6: 1213. https://doi.org/10.3390/sym14061213

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop