Consider the complete bipartite graph Km,n with adjacency matrix:
A=(0JTJ0)
where J is the m×n all-ones matrix.
Eigenvalue 0
Consider a simpler case where m=2, with two vertices v and w on one side. An easy eigenvector with eigenvalue 0 is:
v=1−10⋮0
where the values at v and w are 1 and −1, respectively. This is more general than just K2,n. In particular, whenever we have 2 vertices with the same as of neighbors in a graph, we immediately have the above eigenvector with eigenvalue 0.
Furthermore, it is easy to see that, if v and w are adjacent, then the eigenvalue is −1.
It follows that, for Km,n, we have (m−1)+(n−1) linearly independent eigenvectors of eigenvalue 0.
Additional eigenvalues
To find the remaining 2 eigenvalues, consider a vertex x:
x=a⋮ab⋮b,Ax=nb⋮nbma⋮ma
where the values of all vertices in the first partition are reals a>0's, and those of in the second partition are reals b>0's. This gives us λ=anb=bma, which implies ma2=nb2. We can scale, thus set a=1, and we have b=±nm, λ=±mn.
Spectrum of Directed Cycles
Consider the adjacency matrix A of a directed cycle:
A=00⋮0110⋮0001⋮00⋯⋯⋱⋯⋯00⋮10
n-th roots of unity are eigenvalues
An n-th root of unity is a complex number z such that zn=1. In general, z has the form:
z=exp(n2πik)=cos(n2πk)+isin(n2πk)
for k=0,1,…,n−1.
Let ω be any n-th root of unity. Consider the vector:
vω=1ωω2⋮ωn−1
Then:
Avω=ωω2ω3⋮1=ω⋅vω
Thus, A has n eigenvalues, where each eigenvalue is an n-th root of unity.