From a Product Graph to a Sum of Matrices
The \(d\)-dimensional hypercube has \(2^d\) vertices, so its adjacency matrix grows quickly even for moderate \(d\). Its recursive structure gives a more efficient route to its spectrum: build the graph one coordinate at a time, and express its adjacency matrix using Kronecker products. The resulting matrix is a Kronecker sum. The eigenvalues of that sum come from adding eigenvalues of the one-coordinate factors.
All graphs in this tutorial are finite and simple. For an integer \(d\ge 0\), let \(Q_d\) have as vertices the binary strings of length \(d\). Two strings are adjacent exactly when they differ in one coordinate. For \(d=0\), there is one vertex, the empty string, and no edges. For \(d\ge 1\), this condition specifies the edge set completely.
Write \(A(G)\) for the adjacency matrix of a graph \(G\), and write \(I_n\) for the \(n\times n\) identity matrix. The adjacency matrix of \(K_2\), in vertex order \(0,1\), is \(B=\begin{pmatrix}0&1\\1&0\end{pmatrix}\). To describe the matrix of \(Q_d\), order its vertices by the pair \((x,b)\), with \(x\) a binary string of length \(d-1\) and \(b\in\{0,1\}\).
In \(Q_d\), an edge either changes one of the first \(d-1\) coordinates and leaves \(b\) fixed, or leaves \(x\) fixed and changes \(b\). These two types of edges are represented, respectively, by \(A(Q_{d-1})\otimes I_2\) and \(I_{2^{d-1}}\otimes B\). Therefore
Why Eigenvalues Add
The key calculation is the action of a Kronecker product on a tensor product of vectors. If \(Mx=\lambda x\) and \(Ny=\mu y\), then
This calculation produces eigenvectors and their eigenvalues. To conclude that it gives the whole spectrum, the vectors being used must form a basis. The following result states the required fact and justifies that step.
Proof. For each \(i,j\), the displayed action calculation gives \((M\otimes I_s+I_r\otimes N)(x_i\otimes y_j)=(\lambda_i+\mu_j)(x_i\otimes y_j)\). It remains to show that these \(rs\) vectors form a basis. Let \(X\) be the invertible matrix with columns \(x_1,\ldots,x_r\), and let \(Y\) be the invertible matrix with columns \(y_1,\ldots,y_s\). The columns of \(X\otimes Y\), in the product ordering, are exactly the vectors \(x_i\otimes y_j\). The identity \((X\otimes Y)(X^{-1}\otimes Y^{-1})=I_r\otimes I_s\) follows by multiplying blocks, or from the definition of the Kronecker product. Since \(I_r\otimes I_s\) is the identity matrix of order \(rs\), \(X\otimes Y\) is invertible. Its columns form a basis, as required. \(\square\)
The Hypercube Eigenvalue Values
The one-coordinate graph \(K_2\) has two eigenvectors: \((1,1)^{\mathsf T}\), with eigenvalue \(1\), and \((1,-1)^{\mathsf T}\), with eigenvalue \(-1\). They form a basis of \(\mathbb{R}^2\), since the matrix with these columns has determinant \(-2\ne0\).
Proof. For \(d=0\), \(Q_0\) has adjacency matrix \([0]\), whose only eigenvalue is \(0=0-2\cdot0\). Now take \(d\ge1\). Applying the proposition repeatedly to the recurrence for \(A(Q_d)\) shows that tensor products of \(d\) eigenvectors of \(B\) form an eigenvector basis of \(A(Q_d)\). Each factor contributes either \(1\) or \(-1\) to the eigenvalue sum. If exactly \(k\) of the \(d\) factors contribute \(-1\), the sum is \((d-k)-k=d-2k\). Every integer \(k\) from \(0\) through \(d\) can occur, by choosing that many factors with eigenvalue \(-1\). Conversely, every tensor in the basis has some such number \(k\) of those factors, so no other eigenvalue can occur. The basis accounts for the entire matrix, and the asserted list of distinct values follows. \(\square\)
This result identifies the eigenvalue values; it does not give a separate formula for how often each value occurs. The tensor basis also gives a way to count those occurrences, but the focus here is the Kronecker-sum derivation of the values.
Worked Calculations
Worked Example: The One-Dimensional Hypercube
Let \(Q_1=K_2\), with \(V=\{0,1\}\) and \(E=\{01\}\). Its adjacency matrix is \(B=\begin{pmatrix}0&1\\1&0\end{pmatrix}\). Directly, the characteristic polynomial is \(\det(\lambda I_2-B)=\det\begin{pmatrix}\lambda&-1\\-1&\lambda\end{pmatrix}=\lambda^2-1=(\lambda-1)(\lambda+1)\). Thus its eigenvalues are \(1\) and \(-1\).
The theorem gives \(1-2k\) for \(k=0,1\). Substitution gives \(1-2(0)=1\) and \(1-2(1)=-1\), agreeing with the direct determinant calculation.
Check: The eigenvectors \((1,1)^{\mathsf T}\) and \((1,-1)^{\mathsf T}\) are independent because their column matrix has determinant \(-2\). They therefore account for both eigenvalues of this \(2\times2\) matrix.
Worked Example: The Square \(Q_2\)
Take \(V=\{00,01,10,11\}\) and \(E=\{00\!-\!01,00\!-\!10,01\!-\!11,10\!-\!11\}\), where each listed pair is an undirected edge. In the order \(00,01,10,11\),
The Kronecker recurrence gives \(A(Q_2)=B\otimes I_2+I_2\otimes B\). Each factor contributes either \(1\) or \(-1\). The possible sums are \(1+1=2\), \(1+(-1)=0\), \((-1)+1=0\), and \((-1)+(-1)=-2\). Hence the distinct eigenvalue values are \(2,0,-2\).
For an independent check, group the vertices into \(\{00,11\}\) and \(\{01,10\}\). In that order the adjacency matrix has block form \(\begin{pmatrix}0&C\\C^{\mathsf T}&0\end{pmatrix}\), where \(C=\begin{pmatrix}1&1\\1&1\end{pmatrix}\). Its characteristic polynomial is \(\det(\lambda^2I_2-CC^{\mathsf T})\). Since \(CC^{\mathsf T}=\begin{pmatrix}2&2\\2&2\end{pmatrix}\), this determinant is \(\det\begin{pmatrix}\lambda^2-2&-2\\-2&\lambda^2-2\end{pmatrix}=(\lambda^2-2)^2-4=\lambda^4-4\lambda^2=\lambda^2(\lambda-2)(\lambda+2)\). Its roots give exactly the same distinct values.
Worked Example: The Three-Dimensional Hypercube
Let \(Q_3\) have vertex set \(\{000,001,010,011,100,101,110,111\}\) and edge set \(\{000\!-\!001,000\!-\!010,000\!-\!100,001\!-\!011,001\!-\!101,010\!-\!011,010\!-\!110,011\!-\!111,100\!-\!101,100\!-\!110,101\!-\!111,110\!-\!111\}\). Each edge joins strings differing in exactly one coordinate.
Use \(Q_3=Q_2\square K_2\). The distinct values for \(Q_2\) are \(2,0,-2\), and the values for \(K_2\) are \(1,-1\). Adding a value from each factor gives \(2+1=3\), \(2-1=1\), \(0+1=1\), \(0-1=-1\), \(-2+1=-1\), and \(-2-1=-3\). Therefore the distinct eigenvalue values are \(3,1,-1,-3\).
Check: The theorem for \(d=3\) gives \(3-2k\) for \(k=0,1,2,3\). Substituting gives \(3,1,-1,-3\), matching the recursive calculation. The graph has \(8\) vertices and each vertex has \(3\) neighbors, so summing degrees gives \(8\cdot3=24\); each edge contributes \(2\) to that sum, giving \(24/2=12\) edges, in agreement with the listed edge set.
Worked Example: Predicting the Values for \(Q_4\)
By the theorem, use \(d=4\) and substitute each \(k\in\{0,1,2,3,4\}\): \(4-2(0)=4\), \(4-2(1)=2\), \(4-2(2)=0\), \(4-2(3)=-2\), and \(4-2(4)=-4\). Thus the distinct adjacency eigenvalue values are \(4,2,0,-2,-4\).
As a recursive check, the values for \(Q_3\) are \(3,1,-1,-3\), and those for \(K_2\) are \(1,-1\). Their pairwise sums are \(4,2,0,-2\) from adding \(1\), and \(2,0,-2,-4\) from adding \(-1\). The combined set is exactly \(4,2,0,-2,-4\).
Common Pitfall: Adding or Multiplying?
A Kronecker sum adds eigenvalues; a Kronecker product multiplies them. For example, when building \(Q_2\), the two factor eigenvalues \(1\) and \(-1\) combine by addition. They produce \(1+1=2\), \(1+(-1)=0\), \((-1)+1=0\), and \((-1)+(-1)=-2\). A common wrong calculation is to multiply instead, obtaining \(1\cdot1=1\) and products equal to \(-1\). Those are not the eigenvalues of \(Q_2\): the recurrence contains a sum of matrices, and the action on a tensor eigenvector gives a sum of scalars.
The advantage of this method is that the dimension changes while the one-coordinate matrix stays \(2\times2\). The theorem follows from the graph’s Cartesian-product structure and the eigenvector-basis calculation, rather than a determinant expansion whose size doubles at each step. Keep the distinction between the set of distinct eigenvalue values and their multiplicities in mind: listing the values does not itself state how many times each value appears.
Check Your Understanding
Use the Kronecker-sum recurrence and the theorem to answer these questions.
- Write \(A(Q_2)\) as a Kronecker sum using \(B=A(K_2)\), and state the identity-matrix sizes.
- Compute the distinct adjacency eigenvalue values of \(Q_5\) by substituting \(k=0,1,2,3,4,5\).
- Explain why eigenvectors of the two factors produce an eigenvalue equal to the sum, rather than the product, of their eigenvalues.
- Why does the proof need to show that the tensor-product eigenvectors form a basis?
- For \(Q_0\), identify its adjacency matrix and check the theorem’s formula directly.