Characters as Hypercube Eigenvectors
The hypercube \(Q_d\) has \(2^d\) vertices, one for each binary string of length \(d\). Its adjacency operation changes one coordinate at a time. The tensor-product construction of hypercube eigenvalues gives the values \(d-2k\); here we construct corresponding eigenvectors directly and show why their multiplicities are binomial coefficients. The construction also produces a full basis, so it accounts for every eigenvalue.
Write a vertex as \(x=(x_1,\ldots,x_d)\), with each \(x_i\in\{0,1\}\). For a coordinate \(i\), let \(x^{(i)}\) denote the string obtained by changing \(x_i\) to \(1-x_i\) and leaving all other coordinates unchanged. Thus \(x^{(i)}\) is the neighbor of \(x\) reached by flipping coordinate \(i\). The adjacency matrix \(\mathbf A(Q_d)\), acting on a function \(f\) on the vertices, satisfies \((\mathbf A(Q_d)f)(x)=\sum_{i=1}^d f(x^{(i)})\).
A character takes only the values \(1\) and \(-1\). Flipping a coordinate outside \(S\) leaves its value unchanged; flipping a coordinate in \(S\) changes its sign. The adjacency eigenvalue follows by summing these contributions.
Why the Eigenvalue Is \(d-2|S|\)
Fix a vertex \(x\) and a subset \(S\). Among the \(d\) neighbors \(x^{(i)}\), exactly \(|S|\) result from flipping a coordinate in \(S\). Their character values are \(-\chi_S(x)\). The other \(d-|S|\) neighbors have character value \(\chi_S(x)\). Therefore \[ (\mathbf A(Q_d)\chi_S)(x) =(d-|S|)\chi_S(x)-|S|\chi_S(x) =(d-2|S|)\chi_S(x). \] This holds at every vertex, which proves the eigenvector equation. The number of minus signs matters: each coordinate in \(S\) replaces a contribution of \(+1\) by \(-1\), a change of \(2\).
To establish the multiplicities, we need to know that the characters are independent. Their stronger property of orthogonality makes this transparent. For real-valued functions \(f,g\) on the vertices, use the inner product \(\langle f,g\rangle=\sum_{x\in\{0,1\}^d} f(x)g(x)\).
Proof. At each string \(x\), the product \(\chi_S(x)\chi_T(x)\) equals \(\chi_{S\triangle T}(x)\), where \(S\triangle T\) consists of coordinates belonging to exactly one of \(S,T\). If \(S=T\), this product is \(1\) at every one of the \(2^d\) strings, so its sum is \(2^d\). If \(S\ne T\), choose a coordinate \(j\in S\triangle T\). Pair each string \(x\) with the string \(x^{(j)}\). This partitions all strings into pairs: flipping \(j\) twice returns to \(x\), and no string equals its flip. Within each pair, \(\chi_{S\triangle T}\) changes sign, so the two terms sum to zero. The whole inner product is therefore zero. When \(d=0\), there is only the empty subset and one empty string; only the equal-subset case applies. \(\square\)
Proof of the Theorem. The eigenvector equation was established by counting the neighbors whose character values change sign. The lemma shows that all \(2^d\) characters are nonzero and mutually orthogonal, so they are linearly independent. The space of functions on the \(2^d\) vertices has dimension \(2^d\), hence these \(2^d\) independent vectors form a basis.
There are \(\binom{d}{k}\) subsets of size \(k\), and each gives eigenvalue \(d-2k\). If \(k\ne\ell\), then \(d-2k\ne d-2\ell\), so no other subset size gives the same eigenvalue. Since the characters form a basis, every vector is a linear combination of these eigenvectors, and no further eigenvalues occur. In this eigenvector basis the adjacency matrix is diagonal, with one diagonal entry for each character. Thus the algebraic and eigenspace multiplicities of \(d-2k\) both equal \(\binom{d}{k}\). For \(d=0\), the graph has one vertex and no edges; its single character is constant and has eigenvalue \(0\), in agreement with \(\binom{0}{0}=1\). \(\square\)
Worked Examples
Worked Example: All Walsh Eigenvectors of \(Q_2\)
Let \(Q_2\) have vertex set \(\{00,01,10,11\}\) and edge set \(\{00\,01,00\,10,01\,11,10\,11\}\). The first coordinate is written first. List the character values in the vertex order \(00,01,10,11\).
For \(S=\varnothing\), the vector is \((1,1,1,1)\). Each vertex has two neighbors, so applying the adjacency matrix gives \((2,2,2,2)=2(1,1,1,1)\). The formula gives \(d-2|S|=2-0=2\).
For \(S=\{1\}\), the values are \((1,1,-1,-1)\). The neighbor sums at \(00,01,10,11\), respectively, are \(1+(-1)=0\), \(1+(-1)=0\), \(1+(-1)=0\), and \(1+(-1)=0\). Thus the eigenvalue is \(0\), also given by \(2-2(1)=0\). For \(S=\{2\}\), the vector is \((1,-1,1,-1)\). Its neighbor sums are \(1+(-1)=0\) at \(00\), \(1+(-1)=0\) at \(01\), \(1+(-1)=0\) at \(10\), and \(1+(-1)=0\) at \(11\), so its eigenvalue is again \(0\).
For \(S=\{1,2\}\), the vector is \((1,-1,-1,1)\). The neighbor sums are \((-1)+(-1)=-2\) at \(00\), \(1+1=2\) at \(01\), \(1+1=2\) at \(10\), and \((-1)+(-1)=-2\) at \(11\). These are \(-2\) times the entries of the vector, and the formula gives \(2-2(2)=-2\).
Check: The four vectors are nonzero and mutually orthogonal by the lemma, so they are independent and form a basis of the four-dimensional function space. The eigenvalues are \(2\) once, \(0\) twice, and \(-2\) once. The multiplicities agree with \(\binom{2}{0}=1\), \(\binom{2}{1}=2\), and \(\binom{2}{2}=1\).
Worked Example: Checking a Character on \(Q_3\)
Let \(Q_3\) have vertex set \(\{000,001,010,011,100,101,110,111\}\). Its edge set consists of all pairs of strings differing in exactly one coordinate; explicitly, it is \(\{000\,001,000\,010,000\,100,001\,011,001\,101,010\,011,010\,110,011\,111,100\,101,100\,110,101\,111,110\,111\}\). Take \(S=\{1,3\}\). The predicted eigenvalue is \(3-2(2)=-1\).
Here \(\chi_S(x)=(-1)^{x_1+x_3}\). In vertex order \(000,001,010,011,100,101,110,111\), the character vector is \((1,-1,1,-1,-1,1,-1,1)\). Directly summing the three neighbor values at each vertex gives, in that same order, \((-1,1,-1,1,1,-1,1,-1)\). For example, the neighbors of \(000\) are \(001,010,100\), with values \(-1,1,-1\), whose sum is \(-1\); the neighbors of \(001\) are \(000,011,101\), with values \(1,-1,1\), whose sum is \(1\). The remaining six sums follow from the listed edge rule: at \(010\) they are \(1+(-1)+(-1)=-1\); at \(011\), \((-1)+1+1=1\); at \(100\), \(1+1+(-1)=1\); at \(101\), \((-1)+(-1)+1=-1\); at \(110\), \(1+(-1)+1=1\); at \(111\), \((-1)+1+(-1)=-1\).
Check: The resulting vector is \(-1\) times \((1,-1,1,-1,-1,1,-1,1)\), as required. The eigenvalue calculation from the theorem independently gives \(3-2\cdot2=-1\).
Worked Example: Multiplicities in \(Q_5\)
Define \(Q_5\) to have vertex set \(\{0,1\}^5\) and edge set consisting of all pairs of strings that differ in exactly one coordinate. For a subset \(S\) of size two, the eigenvalue is \(5-2(2)=1\). The number of such subsets is \(\binom{5}{2}=5\cdot4/2=10\), so this construction gives ten independent eigenvectors with eigenvalue \(1\).
Counting subsets of each size gives multiplicities \(\binom{5}{0}=1\), \(\binom{5}{1}=5\), \(\binom{5}{2}=10\), \(\binom{5}{3}=10\), \(\binom{5}{4}=5\), and \(\binom{5}{5}=1\). Their eigenvalues, using \(5-2k\), are respectively \(5,3,1,-1,-3,-5\).
For an explicit check of the character rule, take \(S=\{1,4\}\) and \(x=10100\). The character value is \((-1)^{1+0}=-1\). Flipping coordinate \(1\) or \(4\) changes this value to \(1\), contributing \(1+1=2\) to the sum over neighbors. Flipping any of coordinates \(2,3,5\) preserves the value \(-1\), contributing \(-1-1-1=-3\). The neighbor sum is therefore \(2-3=-1\), which equals \(1\cdot\chi_S(x)\).
Check: The multiplicities add to \(1+5+10+10+5+1=32\), the number \(2^5=32\) of vertices and hence the dimension of the function space. As a second check, the sum of the eigenvalues with their multiplicities is \(1(5)+5(3)+10(1)+10(-1)+5(-3)+1(-5)=5+15+10-10-15-5=0\), consistent with the zero diagonal of a simple graph's adjacency matrix.
Common Pitfall and Why Multiplicity Matters
A frequent error is to count each coordinate in \(S\) as contributing \(-1\) without accounting for the contribution it replaces. For example, on \(Q_5\) with \(|S|=2\), this incorrect calculation would give \(5-2=3\). But there are three unchanged contributions of \(+1\) and two changed contributions of \(-1\), so the correct sum is \(3-2=1\), or \(5-2(2)=1\). The sign change reduces the total by \(2\) for each selected coordinate.
Multiplicity is not simply the number of ways to write the same eigenvector: the lemma proves that the characters are independent. It is the number of subsets of the relevant size, because every such subset supplies one independent eigenvector and different sizes supply different eigenvalues. The complete basis argument is also essential: listing eigenvectors proves that their eigenvalues occur, while showing there are \(2^d\) independent vectors proves that nothing is missing.
For \(Q_d\), the entire adjacency spectrum is therefore symmetric about zero: the eigenvalue for subset size \(k\) is \(d-2k\), while size \(d-k\) gives \(d-2(d-k)=-(d-2k)\). The corresponding multiplicities agree because \(\binom{d}{k}=\binom{d}{d-k}\). This follows directly from the character construction and subset counting.
Check Your Understanding
Use the character definition and the neighbor-sum rule to justify your answers.
- For \(Q_4\), what eigenvalue is associated with a subset of size three, and what is its multiplicity?
- Write the values of \(\chi_{\{1\}}\) on the vertices \(00,01,10,11\) of \(Q_2\), and verify its eigenvalue by neighbor sums.
- Why does orthogonality imply that the \(2^d\) Walsh characters form a basis?
- Explain why the formula is \(d-2|S|\), rather than \(d-|S|\).
- For \(Q_3\), list the eigenvalues and their multiplicities, and check that the multiplicities sum to the number of vertices.