The spectrum of a graph is the collection of eigenvalues of a matrix associated with the graph. Most often, the matrix is the adjacency matrix or the Laplacian matrix. In this chapter, we focus first on the adjacency spectrum, then compare it with the Laplacian spectrum.
Let
be a finite simple undirected graph with vertex set
Let be the adjacency matrix of . Since is undirected, is real and symmetric. Therefore all eigenvalues of are real, and has an orthonormal basis of eigenvectors. The study of graph properties through eigenvalues and eigenvectors of graph matrices is called spectral graph theory.
79.1 Eigenvalues of the Adjacency Matrix
A number is an eigenvalue of if there is a nonzero vector such that
The vector is called an eigenvector corresponding to .
The adjacency spectrum of is the multiset of eigenvalues of . Multiplicity matters. If an eigenvalue occurs as a root of the characteristic polynomial times, then it appears in the spectrum with multiplicity .
The characteristic polynomial is
The eigenvalues are precisely the roots of this polynomial.
79.2 Spectrum as a Multiset
The spectrum is written as
where eigenvalues are repeated according to multiplicity.
For a simple undirected graph, it is common to order the eigenvalues as
The largest eigenvalue
is called the spectral radius when all eigenvalues are real and the largest absolute value is equal to . More generally, the spectral radius of is
For adjacency matrices of many connected graphs, the largest eigenvalue plays a central structural role.
79.3 Example: A Path on Three Vertices
Consider the path graph
Its adjacency matrix is
The characteristic polynomial is
Expanding gives
Thus the eigenvalues are
So
This example already shows a common feature of bipartite graphs: eigenvalues occur symmetrically around zero.
79.4 Spectrum and Relabeling
The adjacency matrix depends on the chosen ordering of vertices. The spectrum does not.
If the vertices are relabeled, the adjacency matrix changes by a permutation similarity:
where is a permutation matrix.
Since
the matrices and are similar. Similar matrices have the same characteristic polynomial and the same eigenvalues.
Therefore the spectrum is a graph invariant. Isomorphic graphs have the same spectrum. The converse can fail: non-isomorphic graphs may have the same spectrum. Such graphs are called cospectral graphs.
79.5 Trace and Eigenvalues
The trace of a matrix is the sum of its diagonal entries. It is also the sum of its eigenvalues, counted with multiplicity.
For a simple graph, the diagonal entries of are zero. Hence
Therefore
This gives a simple constraint on the adjacency spectrum of a loopless graph.
79.6 Edges and the Sum of Squares
The trace of equals the sum of the squares of the eigenvalues:
For a simple undirected graph, the diagonal entry equals . Therefore
Thus
The spectrum determines the number of edges.
79.7 Triangles and the Third Power
The trace of equals the sum of the cubes of the eigenvalues:
The diagonal entry counts closed walks of length starting and ending at . In a simple undirected graph, each triangle contributes six closed walks of length : three choices of starting vertex and two directions.
Therefore the number of triangles in is
So the adjacency spectrum determines the number of triangles.
79.8 Walk Counts
More generally, the trace of counts closed walks of length :
The entry counts walks of length from to . Hence the diagonal entries count closed walks, and their sum counts all closed walks of length .
Thus the spectrum determines the number of closed walks of every length. This is one reason eigenvalues contain substantial information about graph structure. Spectral graph theory uses eigenvalues and eigenvectors of graph-associated matrices to study combinatorial properties.
79.9 Regular Graphs
A graph is -regular if every vertex has degree .
Let
If is -regular, then every row of has sum . Therefore
Thus is an eigenvalue of .
For a connected -regular graph, is the largest adjacency eigenvalue, and its eigenspace is spanned by . The remaining eigenvalues measure deviations from complete uniformity.
79.10 Complete Graphs
The complete graph has adjacency matrix
where is the all-ones matrix.
Since
we have
Thus is an eigenvalue.
If is orthogonal to , then
Therefore
So is an eigenvalue with multiplicity . Hence
79.11 Empty Graphs
The empty graph on vertices has adjacency matrix
Therefore every eigenvalue is zero:
This spectrum reflects the absence of edges. There are no walks of positive length, no nonzero row sums, and no adjacency structure.
79.12 Cycle Graphs
The cycle graph has vertices arranged in a ring. Its adjacency matrix is circulant. The eigenvalues are
For example, for ,
Thus
Cycle spectra are important examples because they connect graph theory with Fourier analysis.
79.13 Bipartite Graphs
A graph is bipartite if its vertex set can be split into two parts and , with every edge going between the two parts.
If the vertices are ordered with all vertices in first and all vertices in second, then the adjacency matrix has block form
This block form implies spectral symmetry. If is an eigenvalue, then is also an eigenvalue with the same multiplicity.
Thus the adjacency spectrum of a bipartite graph is symmetric about zero.
79.14 Spectral Radius
The spectral radius of the adjacency matrix is
For a simple graph, is bounded by the maximum degree:
If is -regular, then
The spectral radius is influenced by high-degree vertices and dense substructures. In connected graphs, it is also governed by the Perron-Frobenius theorem, because the adjacency matrix is nonnegative and irreducible precisely when the graph is connected.
79.15 Perron-Frobenius Phenomenon
If is connected, then is an irreducible nonnegative matrix. The Perron-Frobenius theorem implies that the largest eigenvalue has an eigenvector with strictly positive entries.
This positive eigenvector is called the Perron vector.
It gives a measure of vertex importance. A vertex receives a large coordinate when it is connected to other vertices with large coordinates. This principle underlies eigenvector centrality and related network measures.
79.16 Laplacian Spectrum
The Laplacian matrix is
Its eigenvalues are usually written
Unlike adjacency eigenvalues, Laplacian eigenvalues are always nonnegative because
The Laplacian spectrum gives information about connectivity, cuts, expansion, and spanning trees. The multiplicity of the eigenvalue equals the number of connected components of the graph.
79.17 Comparing Adjacency and Laplacian Spectra
The adjacency spectrum and Laplacian spectrum emphasize different aspects of the graph.
| Spectrum | Matrix | Main information |
|---|---|---|
| Adjacency spectrum | Walks, regularity, triangles, bipartiteness | |
| Laplacian spectrum | Connectivity, cuts, smoothness, spanning trees | |
| Normalized Laplacian spectrum | Random walks, clustering, degree-normalized structure |
For regular graphs, the adjacency and Laplacian spectra are closely related. If is -regular, then
Therefore if is an adjacency eigenvalue, then
is a Laplacian eigenvalue.
For irregular graphs, the relationship is less direct because is not a scalar multiple of the identity.
79.18 Cospectral Graphs
Two graphs are cospectral if they have the same spectrum.
If two graphs are isomorphic, then they are cospectral. This follows from permutation similarity of their adjacency matrices.
The converse is false. There exist non-isomorphic graphs with the same adjacency spectrum. Therefore the spectrum is a graph invariant, but it is not a complete invariant. Cospectral graphs show that eigenvalues capture much structure, but not all structure.
Cospectrality can also be defined using the Laplacian matrix or normalized Laplacian matrix. Two graphs may be cospectral for one matrix and not for another.
79.19 Graphs Determined by Spectrum
A graph is determined by its spectrum if every graph with the same spectrum is isomorphic to it.
Some graph families have this property. Others do not. Determining which graphs are characterized by their spectra is a major theme in spectral graph theory.
This question matters because it measures how much information eigenvalues retain about a graph. If a graph is determined by its spectrum, then its eigenvalues are enough to recover its isomorphism class. If it has cospectral mates, then eigenvalues alone are insufficient.
79.20 Spectral Invariants
The spectrum determines several quantities.
| Quantity | Determined by adjacency spectrum? | Reason |
|---|---|---|
| Number of vertices | Yes | Number of eigenvalues |
| Number of edges | Yes | (\sum_i \lambda_i^2=2 |
| Number of triangles | Yes | |
| Number of closed walks of length | Yes | |
| Bipartiteness, for connected graphs | Yes | Spectrum symmetric about zero |
| Isomorphism class | Not always | Cospectral non-isomorphic graphs exist |
This table should be read carefully. The spectrum determines closed walk counts, but it does not determine all subgraph counts or the full adjacency relation.
79.21 Why the Spectrum Matters
The spectrum matters because eigenvalues compress global graph information into numerical data.
A graph may have thousands or millions of vertices. Its adjacency matrix may be too large to inspect directly. Eigenvalues give a smaller summary that reflects connectivity, expansion, regularity, symmetry, and walk structure.
Spectral methods are used in graph partitioning, clustering, network analysis, chemistry, coding theory, random walks, and machine learning. They are useful because they convert combinatorial questions into linear algebraic questions.
The translation is not perfect. Eigenvalues lose information. But the information they keep is often the part most relevant to global structure.
79.22 Summary
The spectrum of a graph is the multiset of eigenvalues of a graph matrix, usually the adjacency matrix or the Laplacian matrix.
For the adjacency matrix , the spectrum is determined by
For a simple undirected graph, is real and symmetric, so its eigenvalues are real. The adjacency spectrum is invariant under relabeling and therefore invariant under graph isomorphism.
The spectrum records important information.
| Spectral fact | Graph meaning |
|---|---|
| The graph has no loops | |
| (\sum_i \lambda_i^2=2 | E |
| The spectrum determines the number of triangles | |
| The spectrum determines closed walk counts | |
| Symmetry about zero | Characteristic of bipartite structure |
| Largest eigenvalue | Measures dense and highly connected structure |
| Cospectrality | Spectrum does not fully determine graph isomorphism |
The spectrum gives a linear algebraic shadow of the graph. It is compact, computable, and structurally meaningful, but it remains a shadow: different graphs can cast the same one.