WorksMathematics
On Entries of Spectral Decompositions and Applications
Abstract
The entries of the spectral idempotents of a graph are its local and crossed local multiplicities. This paper uses these classical quantities in three applications. First, in a graph on vertices without isolated vertices, every local multiplicity is at most , and every diagonal entry of the Cesaro average mixing matrix is at most . In both bounds equality holds only for the complete graph. This proves the connected form of the complete graph trace conjecture of Godsil, Guo and Sobchuk together with its equality case, and component and degree refinements follow. The two upper bounds and their attainment by complete graphs also occur in a recent machine checked proof, without a formal characterization of when equality holds. Second, for the line graph of a connected graph , the average return probability at a bridge with a bipartite component on one side is at least the reciprocal of the rank of the unsigned incidence matrix. Equality holds exactly for and . The proof combines local moments with known inverse-incidence formulas. Finally, the paper gives a short proof of Godsil's entry criterion, which says that vertices and are strongly cospectral exactly when for every eigenvalue . The criterion recovers the known classification in connected noncomplete strongly regular graphs, where the strongly cospectral pairs are precisely the two-vertex parts of cocktail party graphs.
Keywords. continuous-time quantum walk, average mixing matrix, spectral projection, line graph, strongly cospectral vertices, strongly regular graph
2020 Mathematics Subject Classification. Primary 05C50. Secondary 15A18, 05C76, 05E30, 81P45.
Introduction
Let be the spectral decomposition of the adjacency matrix of a finite simple graph. The entries of record walks between individual vertices and determine the Cesàro average mixing matrix. Their diagonal entries are the local multiplicities of Fiol and Garriga [11], whose square roots are the angles of Cvetković [8 Chapter 4]. The off diagonal entries are the crossed local multiplicities of Fiol, Garriga and Yebra [12]. The spectral moments of these entries differ from the cosine moments in [21 Theorem 2.1], where uniform average mixing on strongly regular graphs under a freely chosen law for the time reduces to affine conditions on three cosine moments of that law. We use this classical framework in three directions.
Graph spectral-entry bounds. For a graph on vertices without isolated vertices, Lemma 3.1 bounds every local weight by , with equality only in . An inequality for squared weights then gives the sharp diagonal and trace bounds for the average mixing matrix (Theorem 3.3). This proves the connected form of the complete-graph conjecture of Godsil, Guo and Sobchuk
[16 Conjecture 9.1] together with its equality case. We also derive bounds for all graphs, for individual components, and in terms of local degrees. The degree bound is attained exactly at complete components (Remark 3.6). The vertex and diagonal bounds, the trace bound for connected graphs and their attainment by also occur in the formal development [23], without a formal characterization of when equality holds. The relation of Lemma 3.1 to that development and to earlier eigenvector bounds is described after its proof.
(2) Line-graph return bounds. For the line graph of a connected graph , Theorem 4.1 gives at a bridge with a bipartite component on one side, where is the unsigned incidence matrix. The inequality follows from a bound by the size of the eigenvalue support and the absence of weight at zero for . We characterize equality by . Equality forces uniform local weights and a simple positive spectrum. Local and global moments then force the bridge to be pendant. Known inverse-incidence formulas reduce the remaining cases to stars and the paw. Proposition 4.7 gives an extension to uniform linear hypergraphs.
(3) A strongly regular graph corollary. We give a short proof of the entry criterion stated in Godsil’s working notes [13]. It says that vertices , are strongly cospectral precisely when for every . Applying it to the entries of the three spectral idempotents recovers the known classification in connected noncomplete strongly regular graphs. There the strongly cospectral pairs are exactly the two-vertex parts of cocktail party graphs (Corollary 5.4). The sources of the criterion and of the classification are identified in § 5. The contribution there is the direct proof from the entries.
Section 2 collects the definitions and notation. Sections 3, 4, and 5 develop the three applications. The upper-bound argument uses the neighbor structure of the graph, the bridge argument also uses global traces and inverse Gram diagonals, and the strongly regular case compares diagonal and off diagonal entries. The elementary support-size lower bound is recorded in Theorem 3.8. The inverse-incidence formulas are recalled with their sources in Lemma 4.5. Section 5 also gives the rational form of the entry criterion (Corollary 5.3).
Definitions and notation
All graphs are finite, simple, undirected, and unweighted. For a graph with vertex set , write for its adjacency matrix, for adjacency, for the set of neighbors of , for the degree of , and for the maximum degree. A vertex is isolated when its degree is zero. Write and for the vertex and edge sets of , and and for the graphs obtained by deleting a vertex and an edge . Write , and for the complete graph, the path and the cycle on vertices, for the star with edges, for a disjoint union, and for the edgeless graph on vertices. Write for the standard basis vector at , for the all-ones vector, and , or , for the all-ones matrix of order . A partition of is equitable when, for any two cells and , every vertex of has the same number of neighbors in .
For a graph with edges, the unsigned vertex-edge incidence matrix has, in the column of an edge, a one at each endpoint and zeros elsewhere. The line graph has the edges of as vertices, two of them adjacent when they share an endpoint. With the diagonal degree matrix ,
by [17 Lemmas 8.2.2 and 8.2.3]. The matrix is the signless Laplacian of , and is its Laplacian. A finite -uniform linear hypergraph , with , has hyperedges of vertices, and two distinct hyperedges meet in at most one vertex. Its line graph has the hyperedges as vertices, two of them adjacent when they intersect. Its vertex-hyperedge incidence matrix satisfies . A graph is strongly regular with parameters when it is regular on vertices, adjacent vertices have common neighbors, and distinct nonadjacent vertices have common neighbors. It is primitive when both it and its complement are connected. A connected graph is distance regular when, for vertices and at distance , the numbers of neighbors of at distances , and from depend only on . The cocktail party graph is the complete multipartite graph whose parts have two vertices each. A signed graph carries a sign on each edge, and its signed adjacency matrix has these signs in place of the ones of . Switching at a vertex set negates the signs of the edges between and , and is with all signs negative.
The spectral decomposition of over its distinct eigenvalues is
where the are real orthogonal projections. The multiplicity of is , the eigenvalue support of a vector is , and is the characteristic polynomial, with derivative in . The same notation is used for a Hermitian matrix , called a Hamiltonian, in place of , with complex projections. The identities (2.1) and (2.2) below then hold with in place of and in place of . The continuous-time quantum walk of , its mixing matrix, and its Cesàro average are
where denotes entrywise multiplication. The spectral formula , standard for graphs [14], holds because the time average of vanishes for . Replacing by , where , multiplies by the scalar , so it changes neither the projections nor nor . For a graph we write , or when the graph is clear, and is the average return probability at .
For vertices and every nonnegative integer , the local weights and the entries of the projections satisfy
The diagonal entries are the local multiplicities and the off diagonal entries are the crossed local multiplicities [9 Section 1.2].
Vertices and are cospectral when for every , equivalently [18 Theorem 3.1], and they are strongly cospectral when
where the sign may depend on [18].
For , the spectral projections of are and , so
Graph spectral-entry bounds
Godsil, Guo and Sobchuk [16 Conjecture 9.1] propose that maximizes the trace of the adjacency average mixing matrix. We use the connected formulation, which is also stated in [22 Section 8].
Among connected graphs of order , the maximum is attained by . A restriction is necessary, since has trace . The regular-graph statement [16 Corollary 6.3] likewise fails for when . For a connected -regular graph, however, gives directly
and summing over gives [16 Corollary 6.3] for connected regular graphs. The proof in [16] passes through [16 Lemmas 6.1 and 6.2], which fail for general equitable partitions. For with the equitable partition into two pairs, the eigenspace of for the eigenvalue has dimension three and lies in no eigenspace of , contrary to [16 Lemma 6.1]. For the same partition [16 Lemma 6.2] gives the bound , whereas by (4). The Laplacian analogue is [16 Corollary 5.2]. This section proves the adjacency bound without regularity and treats isolated vertices separately.
The first step controls every local spectral weight without any regularity hypothesis.
Lemma 3.1 (A local spectral-weight bound). Let be a graph on vertices without isolated vertices. For every eigenvalue of and every vertex ,
If equality holds for some and , then .
Proof. Fix and , and write and . For any vertex , set
Since , the Cauchy–Schwarz inequality gives
Here . The absence of loops and the unit edge weights give
Suppose first that . Taking in (5), we obtain
If , choose a neighbor of , which exists because is not isolated. Now , so
This proves the bound.
Assume . The first displayed chain is strict at its last step when , and the second chain is strict when . Therefore . Using in (5) yields
hence . For every neighbor of , the same argument with yields . Since is adjacent to all other vertices, every vertex has degree , and .
For a unit eigenvector with eigenvalue , Cioabă and Gregory [3 Theorem 3.2] proved for the principal eigenvector, and Van Mieghem [24 equation (18)] proved it for every eigenvalue. Taking when gives
This right side is at most precisely when , in particular when . When it exceeds , and at it equals one. The neighbor argument above covers this remaining range. For the Laplacian, Mohan, Tamon, Xu and Zhan [22 Lemma 6.1] bound the diagonal entries of partial sums of spectral idempotents by a related Cauchy–Schwarz argument over the neighbors of a vertex.
The Cauchy–Schwarz inequalities at the vertex and at a neighbor also occur in [23], with the degrees bounded by . That development eliminates to prove the uniform vertex bound, derives the diagonal bound by the squared-weight inequality of Lemma 3.2, and proves the connected trace bound and attainment by . Its local bounds apply at vertices with a neighbor, without a connectivity assumption. Its notes observe the extension to graphs without isolated vertices and give an informal sketch of why equality in the trace bound forces . Neither [23] nor [3, 24] states the equality case of Lemma 3.1, where equality at one vertex and one eigenvalue already forces .
Lemma 3.2 (Squared weights under a cap). Let be nonnegative numbers with sum one, and suppose for every , where . Then
If , equality holds precisely when the positive entries are and . If , equality holds precisely when there are two positive entries, both equal to .
Proof. Let . If , then , because has minimum value at . If , separating an entry equal to gives
because is increasing on . For , the first case cannot be tight, because . Equality then requires and exactly one positive entry among the remaining entries. For , equality in requires each positive entry to equal . □
Theorem 3.3 (Complete-graph diagonal and trace bounds). Let be a graph on vertices without isolated vertices. For every vertex ,
Equality holds at some vertex if and only if . In particular,
with equality if and only if . Thus the connected form of [16 Conjecture 9.1] holds for every , and it holds for because is the only graph of order one.
Proof. Apply Lemma 3.2 to the weights in (2.1), whose squares sum to by (2.2), using Lemma 3.1 and the cap . This gives
which is (3.2).
For , equality implies that some local spectral weight is . Lemma 3.1 then gives . For , the only graph without isolated vertices is . Conversely, (2.4) verifies equality at every vertex of . Summing (3.2) over the vertices proves (3.3). If equality holds in the trace bound, every diagonal bound is an equality, so .
The spectral projections of a disjoint union are block diagonal, so its average mixing matrix is the direct sum of those of its components.
Corollary 3.4 (All graphs of a given order). Let be a graph on vertices. Then , with equality if and only if has no edges. If has at least one edge, then , with equality if and only if .
Proof. By (2.1) and (2.2), , with equality if and only if one weight equals one, that is, if and only if is an eigenvector of . Since , this happens exactly when , that is, when is isolated. Summing over proves the first statement. For the second, let be the graph obtained from by deleting its isolated vertices, so that has vertices and no isolated vertices. The isolated vertices contribute to the trace, and Theorem 3.3 applied to gives
with equality throughout if and only if and .
Corollary 3.5 (Component form). Let be a graph whose components have orders , isolated vertices included as components of order one. Then
with equality if and only if every component of is complete.
Proof. Apply Theorem 3.3 to each component of order at least two. A component contributes , which is the value of at . Equality holds exactly when every component is complete.
This is the adjacency analogue of [16 Corollary 5.2].
Remark 3.6 (A degree dependent refinement). The proof of Lemma 3.1 only uses as an upper bound for and for the degree of one neighbor of . Let be nonisolated and put
The two displayed chains give when and for every neighbor when . For the first of these also follows from the inequality of Van Mieghem discussed after Lemma 3.1. Hence
where the second bound follows from Lemma 3.2 with . This is never weaker than (3.2), because and increases for . It is much stronger when is small compared with , for instance for graphs of bounded maximum degree. Since the entries of the idempotents at only depend on the component of , both bounds and (3.2) also hold with that component in place of whenever is not isolated.
Equality in the first bound for some , or in the second bound, holds precisely when the component of is the complete graph . By the equality case of Lemma 3.2, equality in the second bound forces for some , so it suffices to treat the first bound. Suppose that equals . If , the chain with gives . If , the chain with a neighbor of minimum degree gives . Both contradict , so . The chain with then forces and equality in (3.1). Hence for and a scalar , and applying gives . A vertex at distance two from would have but . So the component of consists of and its neighbors, and Lemma 3.1 applied to this component shows that it is . Conversely, at a vertex of the eigenvalue has weight and the eigenvalue has weight , so both bounds are attained.
Remark 3.7 (Other Hamiltonians). The proof of Lemma 3.1 uses three properties of . The diagonal of vanishes, so that . The squared row norms are at most . Finally for a neighbor of . Let be a Hermitian matrix with zero diagonal, let be an index for which some has , and put and . The same two chains give
for every eigenvalue of . Indeed, if the chain with gives , and if the chain with gives . Since , Lemma 3.2 applies with and bounds the diagonal entry of the average mixing matrix of at by . The matrices and have the same idempotents and the same average mixing matrix, so a constant diagonal may replace the zero diagonal. For a signed graph, or for a graph with equal loop weights at all vertices, this recovers and , and the Laplacian and the signless Laplacian of a regular graph are covered. For a signed graph the equality statement of Lemma 3.1 carries over, but its converse does not. Equality still forces and the underlying graph to be . The equality cases of the Cauchy–Schwarz steps make every column of parallel to , so with , and the signed graph is switching equivalent to or to . Both attain equality. A signed complete graph need not attain it. For with the five edges of a Hamilton cycle negative, the spectrum is and with multiplicity two. Its signed adjacency matrix has and at every vertex , so the moments (2) with give the local weights at and at and at . Hence every diagonal entry of an idempotent is at most .
The weights in (1) also give a lower bound for the diagonal entries of the average mixing matrix. Unlike Theorem 3.3, it needs no hypothesis on isolated vertices, and its Cauchy–Schwarz step reappears in § 4.
Theorem 3.8 (A diagonal lower bound). Let be a graph on vertices, connected or not, let be a vertex, and write . Then
Moreover holds if and only if has distinct eigenvalues and for every , equivalently has distinct roots and .
Proof. Since , the weight is positive exactly when . By the Cauchy–Schwarz inequality on these positive weights,
The number is at most the number of distinct eigenvalues, hence at most . Equality forces , so all eigenvalues are distinct and have positive weight at , and equality in the Cauchy–Schwarz inequality forces all weights to be equal to . Conversely, if has distinct eigenvalues and every weight equals , then by (2). For the polynomial form, Cramer’s rule and the spectral decomposition give
By the uniqueness of partial fraction expansions, holds exactly when for every . When has distinct roots, every equals and this says that every weight equals . The simple spectrum cannot be dropped. Every vertex of has , while .
Summing the final bound in Theorem 3.8 gives . Coutinho and Godsil [4 Lemma 15.3.2] prove this trace bound and show that equality forces . Hence for the value cannot occur at every vertex. The question of attainment at a single vertex is discussed in Remark 4.8.
Line-graph return bounds and bridge equality
Let be a connected graph on vertices with edges and unsigned incidence matrix . Edges are denoted by letters such as and , and denotes the coordinate vector of the edge . By § 2,
where and is the signless Laplacian. Since the two Hamiltonians and differ by , we write
Thus is an average return probability at an edge of . Average mixing matrices of trees, where every edge is a bridge, were studied by Godsil, Guo and Sinkovic [15].
Theorem 4.1 (Bridge bound on line graphs). Let be a connected graph on vertices, with unsigned incidence matrix . Suppose is a bridge and at least one component of is bipartite. Then
Moreover,
Consequently the inequality is strict for every other graph satisfying the hypotheses.
Lemma 4.3 proves the inequality. The proof of the equality classification follows Lemma 4.5.
Lemma 4.2 (Rank of the unsigned incidence matrix). For a connected graph on vertices,
Proof. This is a classical result, see [17 Theorem 8.2.1]. A vector lies in exactly when for every edge . In a connected bipartite graph the solutions are the scalar multiples of the vector taking the values and on the two parts. If the graph has an odd cycle, alternation around that cycle forces to vanish on the cycle, and connectedness then forces . This description of is used below.
Lemma 4.3 (Bridge support and the rank bound). Under the hypotheses of Theorem 4.1, put . Then and . If equality holds, then , all eigenvalues of are positive and simple, and their local weights at are all . In particular, is either a tree or a unicyclic graph whose unique cycle has odd length.
Proof. Let be the vertex set of a bipartite component of . Give its two parts values and , and give all vertices outside value zero. The resulting vector satisfies , because is the only edge leaving . Thus .
Let be the spectral projection of at , and write , with if is not an eigenvalue. Since , we have . If positive eigenvalues have , then and
For , the first inequality is the support-size bound of Theorem 3.8, since and have the same projections. The incidence condition removes the weight at for , equivalently at eigenvalue for .
Equality with requires and on the support. The total multiplicity of positive eigenvalues is , so these are all the positive eigenvalues and each is simple. Using and , the first moment gives
Hence . In particular, is positive definite. By Lemma 4.2, the bipartite case has and hence is a tree. The nonbipartite case has , so it is unicyclic, and its unique cycle must be odd.
The next steps use the second and third local moments at . In any equality case from Lemma 4.3, the uniform spectral weights imply
for every real function on the spectrum of . We use . The inverse is defined because is positive definite.
Lemma 4.4 (A necessary local condition for equality). Under the hypotheses of Theorem 4.1, equality in (4.1) forces to be a pendant edge.
Proof. Assume equality, and write , , and . Let be the number of triangles in and set
The vertex of has degree . Since is a bridge, its endpoints have no common neighbor. Thus the triangles of containing are exactly those formed by three edges incident with or by three edges incident with . Using , we obtain
The matrices and have the same nonzero eigenvalues with multiplicities. Expanding gives
For example, and .
Combining (4.3) with (4.4) to (4.5) yields
Since is connected with at least one edge, all degrees are positive. Cauchy–Schwarz with weights gives
Substituting (13) and therefore gives
Suppose, for a contradiction, that , and put
Then
with equality if and only if .
If is a tree, then and . Equation (14) implies
contradicting .
If is unicyclic, then , and (14) implies
Thus , , and equality must hold in the weighted Cauchy–Schwarz inequality. Equality there forces all degrees strictly larger than one to have the same value. That value is two, since . Hence every degree is at most two. A connected unicyclic graph with maximum degree two is a cycle, which has no bridge. This is another contradiction. Therefore , and is pendant.
The pendant condition leaves trees and odd unicyclic graphs with a pendant bridge. The inverse Gram matrix reduces them to the stars and the paw, a triangle with one pendant edge. The average mixing matrix of and the degree identities (13) then exclude all of these except and . For trees and odd unicyclic graphs has full column rank by Lemma 4.2, so is invertible.
Lemma 4.5 (Inverse Gram diagonals). Suppose has full column rank and .
(i) For each edge , .
(ii) If is a tree on vertices and deleting an edge gives components of orders and , then
(iii) If is unicyclic with an odd cycle, so that , then for a bridge , where is the order of the tree component of , and for an edge on the cycle.
Part (i) is the minimum norm property of the Moore–Penrose inverse [2 Chapter 3]. Part (ii) follows from Bapat’s tree-incidence formula [1]. If is an oriented incidence matrix of the tree, then for diagonal sign matrices and , because a tree is bipartite. Hence has the same diagonal as . Part (iii) follows from the inverse-incidence formula of Hessert and Mallik [19 arXiv version, Theorem 3.1], also recorded in [20 arXiv version, Theorem 1.4]. The values in (ii) and (iii) are also the diagonal cases of their formulas for in [19 arXiv version, Theorems 2.12 and 3.9]. We give direct proofs.
Proof. (i) The vector solves and lies in . Every solution differs from by an element of , so is the unique minimum norm solution, and .
(ii) Let be a bipartition vector of the tree and let be a component of , of order . The vector equal to on and zero elsewhere satisfies , and we fix the sign so that . By Lemma 4.2, is spanned by , so the orthogonal projection of onto is the minimum norm solution in (i), and its squared norm is
(iii) Here is square and invertible by Lemma 4.2, so has a unique solution and (i) gives . If is a bridge, let vanish on the component of containing the cycle and alternate between and on the tree component, with the sign chosen so that the entries at the two ends of sum to one. Then and . If lies on the cycle of length , then is a tree in which the two ends of are joined by a path of even length . The equations on force to alternate between and with equal values at the two ends of , and the equation at gives . Hence every entry of has absolute value and
Proof of Theorem 4.1. The inequality and the displayed values of rank follow from Lemmas 4.2 and 4.3. Suppose equality holds. By Lemmas 4.3 and 4.4, the graph is a tree or an odd unicyclic graph, , and is pendant. Equation (10) gives
First suppose is a tree, so . Since is pendant, Lemma 4.5(ii) gives
For every edge ,
Thus every diagonal entry of is at least , with equality precisely at pendant edges. Equation (15) forces every edge to be pendant. Such a tree has diameter at most two and hence is the star .
Now , and (2.4), which also holds for because , gives
This vanishes exactly for , that is, for and . Conversely, every edge of and of is a pendant bridge with a bipartite side, , and the display gives
Next suppose is odd unicyclic, with cycle length . Here . Since is pendant, Lemma 4.5(iii) gives . Equation (15) would therefore require . On the other hand,
The odd cycle has at least three edges and is not on it, so . If , the last quantity is strictly larger than , a contradiction.
If , the graph is a triangle with a single pendant vertex, the paw. At its unique bridge the endpoint degrees are and , whereas the full degree sequence is . Thus
contradicting (13). No odd unicyclic graph can attain equality. □
Remark 4.6 (Scope of the two hypotheses). The inequality in (8) holds for every edge with , whether or not is a bridge, because the proof of Lemma 4.3 only uses this property, and this is Proposition 4.7 below with . The property cannot be dropped. For the cycle with one pendant vertex attached at a vertex , the alternating vector of the cycle lies in , , and an exact computation gives at either cycle edge at .
For a bridge , the condition is equivalent to the existence of a bipartite component of . Lemma 4.3 proves one direction. Conversely, suppose and both components are nonbipartite. On every edge we have . The odd-cycle argument of Lemma 4.2 forces to vanish on both components, contradicting .
The rank bound is the support bound of Lemma 4.3 made explicit through rank , and the gap can be large. For the star with the support bound gives , the rank bound gives , and the actual value is by (4).
The rank bound has an incidence formulation for the uniform linear hypergraphs of § 2. Let be a -uniform linear hypergraph with hyperedges and incidence matrix , and put
let be the orthogonal projection onto and set for a hyperedge .
Proposition 4.7 (Hypergraph rank bound). With , one has
In particular, if
then . Under (17), equality with holds if and only if , the eigenvalues of are simple, and all their local spectral weights at equal .
Proof. The scalar shift by leaves average mixing unchanged. The weight at the zero eigenvalue of is , and the weights at its positive eigenvalues sum to . There are at most distinct positive eigenvalues. Cauchy–Schwarz on their weights proves (16).
Condition (17) is equivalent to , hence to . If equality with holds, the argument in (9) shows that there are simple positive eigenvalues and each has weight . The first moment then gives
so . Conversely, the stated spectral conditions give . □
The proof uses only , so (4.9) holds for the average mixing matrix of the Gram matrix of any nonzero real matrix , with and for the orthogonal projection onto .
Remark 4.8 (Equality in the hypergraph bound). One -element hyperedge and two -element hyperedges meeting in one vertex have line graphs and and attain equality in (4.9) for every . The classification of Theorem 4.1 therefore concerns ordinary graphs.
By Proposition 4.7, equality under (4.10) with requires in the line graph on vertices. Conversely, every graph on vertices is for such a hypergraph with full column rank. Set , and let the hyperedge indexed by consist of the edges incident with and private vertices. Two distinct hyperedges share only the edge joining their indices, if it exists, so is linear and . A private vertex in each hyperedge supplies a row of , so and (4.10) holds at every hyperedge.
Thus the question is whether a graph on vertices can have at one vertex. An exhaustive exact computation finds no such vertex in a graph with vertices. This computation only delimits the scope of the results, and no proof depends on it. The question remains open for .
An entry criterion and a strongly regular graph corollary
Throughout this section is a graph with vertex set , , and . Strong cospectrality is defined in (3). Fan and Godsil [10 arXiv version, Lemma 3.1] characterize it by for every . Coutinho, Juliano and Spier [7 Section 2] use the condition for every together with cospectrality. Godsil’s working notes [13] state the following criterion without a separate cospectrality condition and without a proof. We include a proof that uses only the projections and their sum.
Theorem 5.1 (Godsil’s entry criterion). Vertices , are strongly cospectral if and only if
Proof. Necessity follows by taking inner products in (3). Conversely, write with . Then
because and . Every summand on the left is nonnegative, so each summand vanishes. This proves (3).
Remark 5.2 (Three entries of the average mixing matrix). Strong cospectrality is also equivalent to . Necessity follows by squaring (3) entrywise and summing. Conversely,
Equality of the three mixing entries forces equality in each term after summation, giving (18). This criterion is implicit in [14 arXiv version, proof of Theorem 9.3]. It also follows from the average-state Gram identity [6 Theorem 5] and [18 Lemma 5.4].
An exact test over avoids the eigenvalues. Let be the minimal polynomial of and its factorization into distinct monic irreducible polynomials over . For each factor put . Since has distinct roots, and are coprime, so by the Chinese remainder theorem there is a polynomial with and , unique modulo . Put
a rational symmetric idempotent that does not depend on the choice of , because .
Corollary 5.3 (Rational form). Vertices and are strongly cospectral if and only if for every irreducible factor of the minimal polynomial of over .
This restates, through the rational idempotents, the rational orthogonal involution of Godsil and Smith [18 Theorem 10.2], see also [4 Lemma 6.8.1], and the proof uses the same Galois argument.
Proof. If for every , the computation in the proof of Theorem 5.1 with in place of gives , so for every , and applying for a root of gives (2.3). Conversely let be strongly cospectral. The entries of lie in , and an automorphism of the splitting field of maps to , because is the Lagrange polynomial in at . Hence maps to , so it maps the eigenvalue support , the set of with , onto itself. For , Theorem 5.1 gives the sign , and maps it to . A rational number is fixed by , so . The Galois group acts transitively on the roots of each irreducible factor . Hence either all roots of lie in and has a common value on them, or no root of lies in . In the first case, summing over the roots of gives . In the second case (5.1) gives for every root of , so .
We close with strongly regular graphs. Let be a connected strongly regular graph with parameters that is not complete, so that . The adjacency matrix has the eigenvalue with idempotent and two restricted eigenvalues with
see [17 Chapter 10]. Godsil and Smith [18 Section 6] prove that a connected strongly regular graph that is not complete multipartite has no strongly cospectral pair. Since is distance regular of diameter two, the full classification below is a consequence of [18 Theorem 10.3] and the involution observation in [5 arXiv version, Section 4, before Theorem 4.3]. If distinct vertices and are strongly cospectral, the former makes the distance-two matrix a permutation matrix of order two with . The latter gives for such a permutation relation . We give a direct proof from the entries.
Corollary 5.4 (Strongly regular graphs). Let be a connected strongly regular graph that is not complete. Distinct vertices and are strongly cospectral if and only if is a cocktail party graph and is one of its parts, that is, and are nonadjacent with . In particular a primitive strongly regular graph has no strongly cospectral pair.
Proof. Since is regular and not complete, every vertex has non-neighbors. If and are strongly cospectral, we show that they are nonadjacent and that . Let have multiplicity . The idempotent is a polynomial in , so it lies in the span of , and , and its diagonal is constant, equal to . The relations and give
For both entries equal . By Theorem 5.1, and are strongly cospectral exactly when the second factor has absolute value one for and for .
If , then . Since , one of them equals , which is impossible because is a simple eigenvalue. The adjacent-vertex argument is also in [13].
If , then , and forces and . Hence and , so . The identity [17 Chapter 10] becomes , that is . Thus . Every vertex has exactly one non-neighbor, so is a cocktail party graph and is one of its parts. Conversely, a cocktail party graph has , and , and then .
Acknowledgments
Acknowledgments. Theorem 4.1 grew out of the author’s poster On a new type of quantum random weighted graphs, presented at the poster session of the 80th Anniversary Meeting of the Korean Mathematical Society in Seoul in June 2026. The poster stated the inequality (4.1) and asked whether equality holds only for once the trivial case is excluded. Theorem 4.1 answers that question.
During the preparation of this paper the author became aware of the machine checked proof [23], posted on 1 October 2026. The results of this paper were obtained independently. The overlap is described after Lemma 3.1.
Disclosure statement
Disclosure statement. The author does not have any conflicts of interest.
Data availability
Data availability. The exhaustive computation reported in Remark 4.8 examined all graphs with three to seven vertices in exact rational arithmetic. The value in Remark 4.6 was also computed exactly. These computations describe the scope of the results, and no proof depends on them.
References
- [1]R. B. Bapat. Moore–Penrose inverse of the incidence matrix of a tree. Linear and Multilinear Algebra, 42:159–167, 1997.DOI
- [2]A. Ben-Israel and T. N. E. Greville. Generalized Inverses: Theory and Applications. Springer, New York, second edition, 2003.
- [3]S. M. Cioabă and D. A. Gregory. Principal eigenvectors of irregular graphs. Electronic Journal of Linear Algebra, 16:366–379, 2007.DOI
- [4]G. Coutinho and C. Godsil. Graph spectra and continuous quantum walks. Unpublished notes dated January 1, 2021, https://www.math.uwaterloo.ca/~cgodsil/qua gmire/QuantumWalks/pdfs/GrfSpc3.pdf.
- [5]G. Coutinho, C. Godsil, K. Guo, and F. Vanhove. Perfect state transfer on distance-regular graphs and association schemes. Linear Algebra and its Applications, 478:108–130, 2015. The locator used here refers to arXiv:1401.1745v1.DOI
- [6]G. Coutinho, C. Godsil, K. Guo, and H. Zhan. A new perspective on the average mixing matrix. Electronic Journal of Combinatorics, 25(4):P4.14, 2018.arxiv.org/abs/1709.03591
- [7]G. Coutinho, E. Juliano, and T. J. Spier. Strong cospectrality in trees. Algebraic Combinatorics, 6(4):955–963, 2023.arxiv.org/abs/2206.02995
- [8]D. Cvetković, P. Rowlinson, and S. Simić. Eigenspaces of Graphs. Encyclopedia of Mathematics and its Applications 66. Cambridge University Press, Cambridge, 1997.DOI
- [9]C. Dalfó and M. A. Fiol. A general method to obtain the spectrum and local spectra of a graph from its regular partitions. Electronic Journal of Linear Algebra, 36:446–460, 2020.arxiv.org/abs/1901.08048
- [10]X. Fan and C. Godsil. Pretty good state transfer on double stars. Linear Algebra and its Applications, 438:2346–2358, 2013. The locator used here refers to arXiv:1206.0082v3.arxiv.org/abs/1206.0082
- [11]M. A. Fiol and E. Garriga. From local adjacency polynomials to locally pseudo-distance-regular graphs. Journal of Combinatorial Theory, Series B, 71:162–183, 1997.DOI
- [12]M. A. Fiol, E. Garriga, and J. L. A. Yebra. Boundary graphs: The limit case of a spectral property. Discrete Mathematics, 226:155–173, 2001.DOI
- [13]C. Godsil. Strongly cospectral vertices. Working notes in the collection State Transfer, 2012, https://www.math.uwaterloo.ca/~cgodsil/html_notes/pst/strong-cosp.html.
- [14]C. Godsil. Average mixing of continuous quantum walks. Journal of Combinatorial Theory, Series A, 120:1649–1662, 2013. The locator used here refers to arXiv:1103.2578v3.arxiv.org/abs/1103.2578
- [15]C. Godsil, K. Guo, and J. Sinkovic. Average mixing matrix of trees. Electronic Journal of Linear Algebra, 34:269–282, 2018.arxiv.org/abs/1709.07907
- [16]C. Godsil, K. Guo, and M. Sobchuk. Diagonal entries of the average mixing matrix. Australasian Journal of Combinatorics, 86(3):373–386, 2023.
- [17]C. Godsil and G. Royle. Algebraic Graph Theory. Graduate Texts in Mathematics 207. Springer, New York, 2001.
- [18]C. Godsil and J. Smith. Strongly cospectral vertices. Australasian Journal of Combinatorics, 88(1):1–21, 2024.
- [19]R. Hessert and S. Mallik. Moore–Penrose inverses of the signless Laplacian and edge-Laplacian of graphs. Discrete Mathematics, 344:112451, 2021. The locators used here refer to arXiv:2005.03702v1.arxiv.org/abs/2005.03702
- [20]R. Hessert and S. Mallik. The inverse of the incidence matrix of a unicyclic graph. Linear and Multilinear Algebra, 71:513–527, 2023. The locator used here refers to arXiv:2201.02580v1.arxiv.org/abs/2201.02580
- [21]M. Kang. Moment methods for uniform average mixing on strongly regular graphs. Preprint, arXiv:2610.10017v1, 2026.arxiv.org/abs/2610.10017
- [22]A. Mohan, C. Tamon, Y. Xu, and H. Zhan. Laziness of quantum walks on graphs. Preprint, arXiv:2608.20739v1, 2026.arxiv.org/abs/2608.20739
- [23]the-omega-institute/trureturing. Prove that K_n maximizes the trace of the adjacency average mixing matrix over connected graphs (Godsil–Guo–Sobchuk Conjecture 9.1). Pull request 11860, head commit 3504f261, merged on 1 October 2026. https://github.com/the-omega-institute/trureturing/pull/11860.
- [24]P. Van Mieghem. Graph eigenvectors, fundamental weights and centrality metrics for nodes in networks. Preprint, arXiv:1401.4580v4, 2016.arxiv.org/abs/1401.4580