Cospectral graphs, also called isospectral graphs, are graphs whose adjacency
matrices have the same eigenvalues, counted with
multiplicity, and hence the same graph
spectrum. The smallest pair of nonisomorphic
cospectral simple graphs consists of the graph
union
and star graph
, illustrated at left above,
both of which have graph spectrum
(Skiena 1990, p. 85). Regular
cospectral graphs are of particular interest. The smallest
nonisomorphic regular
cospectral simple graphs have 10 vertices.
Two pairs of quartic graphs of this order are illustrated
above center and right (Cvetković et al. 1998, p. 398; van Dam and
Haemers 2003, p. 245).
The smallest triple of pairwise nonisomorphic, cospectral connected simple graphs has seven vertices. Up to graph isomorphism, this triple is unique. Each graph has 11 edges, and their common characteristic polynomial is
where
is the adjacency matrix (Brouwer; Brouwer and
Spence 2009, p. 2).
The first example of cospectral graphs was found by Collatz and Sinogowitz (1957) (Biggs 1993, p. 12). Many examples are given in Cvetković et al. (1998, pp. 156-161) and Rücker et al. (2002).
The following table summarizes some prominent named cospectral graphs.
| cospectral graphs | |
| 12 | 6-antiprism graph, quartic vertex-transitive graph Qt19 |
| 16 | Hoffman graph, tesseract
graph |
| 16 | (4,4)-rook graph, Shrikhande graph |
| 25 | 25-Paulus graphs |
| 26 | 26-Paulus graphs |
| 28 | Chang graphs, 8-triangular graph |
| 70 | Harries graph, Harries-Wong graph |
Determining which graphs are uniquely determined by their spectra is in general a very hard problem. The Haemers
conjecture asserts that the proportion of simple
graphs on vertices, counted up to graph
isomorphism, that are determined by spectrum
tends to 1 as
(van Dam and Haemers 2003, pp. 241-242; Haemers 2016).
Brouwer and Spence (2009) determined the numbers of unlabeled graphs with a nonisomorphic cospectral mate
among simple graphs on vertices for
. For
, 2, ..., these numbers are
0, 0, 0, 0, 2, 10, 110, 1722, 51039, 2560606, 215331676, 31067572481, ... (OEIS A006608). The numbers of complete cospectral classes
of exactly two unlabeled graphs are 0, 0, 0, 0,
1, 5, 52, 771, 21025, ... (OEIS A099881). Similarly,
the numbers of complete cospectral classes of exactly three unlabeled
graphs are 0, 0, 0, 0, 0, 0, 2, 52, 2015, ... (OEIS A099882).