Post · 11 min read· pp. 1187–1192

The Alon-Boppana Theorem

Let G=(V,E){G=(V,E)} be a d{d}-regular graph, and let

d=λ1≥λ2≥⋯≥λn\displaystyle d= \lambda_1 \geq \lambda_2 \geq \cdots \geq \lambda_n

be the eigenvalues of the adjacency matrix of A{A} counted with multiplicities and sorted in descending order.

How good can the spectral expansion of G{G} be?

1. Simple Bounds

The simplest bound comes from a trace method. We have

trace(A2)=∑iλi2\displaystyle trace(A^2) = \sum_i \lambda_i^2

by using one definition of the trace and

trace(A2)=∑v,v(A2)v,v≥dn\displaystyle trace(A^2) = \sum_{v,v} (A^2)_{v,v} \geq dn

using the other definition and observing that (A2)v,v{(A^2)_{v,v}} counts the paths that go from v{v} to v{v} in two steps, of which there are at least d{d}: follow an edge to a neighbor of v{v}, then follow the same edge back. (There could be more if G{G} has multiple edges or self-loops.)

So we have

dn≤d2+∑i=2,…,nλi2\displaystyle dn \leq d^2 + \sum_{i=2,\ldots,n} \lambda_i ^2

and so

max⁡i=2,…,n∣λi∣≥d⋅n−dn−1\displaystyle \max_{i=2,\ldots,n} |\lambda_i | \geq \sqrt d \cdot \sqrt{\frac {n-d}{n-1}}

The condition d≤n(1−ϵ){d \leq n(1-\epsilon)} is necessary to get lower bounds of Ω(d){\Omega(\sqrt d)}; in the clique, for example, we have d=n−1{d=n-1} and λ2=λn=−1{\lambda_2 = \lambda_n = -1}.

A trace argument does not give us a lower bound on λ2{\lambda_2}, and in fact it is possible to have λ2=0{\lambda_2=0} and d=n/2{d= n/2}, for example in the bipartite complete graph.

If the diameter of G{G} is at least 4, it is easy to see that λ2≥d{\lambda_2 \geq \sqrt d}. Let a,b{a,b} be two vertices at distance 4. Define a vector x{x} as follows: xa=1{x_a = 1}, xv=1/d{x_v = 1/\sqrt d} if v{v} is a neighbor of a{a}, xb=−1{x_b=-1} and xv=−1/d{x_v = - 1/\sqrt d} if v{v} is a neighbor of b{b}. Note that there cannot be any edge between a neighbor of a{a} and a neighbor of b{b}. Then we see that ∣∣x∣∣2=4{||x||^2 = 4}, that xTAx≥4d{x^T A x \geq 4\sqrt d} (because there are 2d{2d} edges, each counted twice, that give a contribution of 1/d{1/\sqrt d} to ∑u,vAuvxuxv{\sum_{u,v} A_{uv} x_u x_v}) and that x{x} is orthogonal to (1,…,1){(1,\ldots,1)}.

2. Nilli’s Proof of the Alon-Boppana Theorem

Nilli’s proof of the Alon-Boppana theorem gives

λ2≥2d−1−O(d−1diam(G)−4)\displaystyle \lambda_2 \geq 2 \sqrt{ d-1 } - O \left( \frac {\sqrt{d-1}}{diam(G)-4} \right)

where diam(G)≥log⁡∣V∣log⁡d−1{diam(G) \geq \frac {\log |V|}{\log d-1}} is the diameter of G{G}. This means that if one has a family of (constant) degree-d{d} graphs, and every graph in the family satisfies λ2≤λ{\lambda_2 \leq \lambda}, then one must have λ≥2d−1{\lambda \geq 2 \sqrt{d -1}}. This is why families of Ramanujan graphs, in which λ2≤2d−1{\lambda_2 \leq 2 \sqrt{d-1}}, are special, and so hard to construct, or even to prove existence of.

Friedman proves a stronger bound, in which the error term goes down with the square of the diameter. Friedman’s proof is the one presented in the Hoory-Linial-Wigderson survey. I like Nilli’s proof, even if it is a bit messier than Friedman’s, because it starts off with something that clearly is going to work, but the first two or three ways you try to establish the bound don’t work (believe me, I tried, because I didn’t see why some steps in the proof had to be that way), but eventually you find the right way to break up the estimate and it works.

So here is Nilli’s proof.

We are going to use essentially the same vector that we used to analyze the spectrum of the infinite tree, although the analysis will be a bit different.

Let a,b{a,b} be two vertices in G{G} at distance diam(G){diam(G)}, and call k=⌊(diam(G)−4)/2⌋{k = \lfloor (diam(G) -4)/2 \rfloor}. Let a′{a'} be a neighbor of a{a}. We say that the distance of a vertex v{v} from {a,a′}{\{ a,a'\}} is the smallest of the shortest path distance from v{v} to a{a} and from v{v} to a′{a'}.

We construct a vector x∈RV{x\in {\mathbb R}^V} as follows:

  • xv=1(d−1)t{x_v = \displaystyle \frac 1 { ( \sqrt{d-1})^{t }}} if v\mboxisatdistancet\mboxfrom{a,a′}, t≤k{v \mbox{ is at distance } t \mbox{ from } \{ a,a'\}, \ t \leq k}
  • xv=0{x_v = 0} if v{v} is at distance >k{> k} from {a,a′}{\{ a,a'\}}

Note that this is more or less the same vector we constructed in the case of the tree. The reason for talking about the distance from two vertices instead of one, is that we want to say that every vertex is adjacent to at most d−1{d-1} vertices whose value of xv{x_v} is strictly smaller; in the case of a tree, the root is exceptional because it has d{d} neighbors whose value of xv{x_v} is strictly smaller. There will be a step in the proof in which this choice really makes a difference.

We claim

xTAx≥2d−1⋅∣∣x∣∣2⋅(1−1k−1)     (1)\displaystyle x^TA x \geq 2 \sqrt{d-1} \cdot ||x ||^2 \cdot \left( 1 - \frac 1 {k-1} \right) \ \ \ \ \ (1)

It turns out that, in order to prove (1) it is easier to reason about the Laplacian matrix than about the adjacency matrix. Define L:=dI−A{L:= dI - A} to be the (non-normalized) Laplacian of G{G}. We have the following nice expression for the quadratic form of L{L}

xTLx=dxTx−xTAx=∑{u,v}∈E(xu−xv)2\displaystyle x^T L x = dx^Tx - x^TAx = \sum_{ \{ u,v \} \in E} (x_u - x_v)^2

For every vertex u{u} let us call Su{S_u} (for smaller) the set of neighbors v{v} of u{u} such that xv<xu{x_v < x_u}. We always have ∣Su∣≤d−1{|S_u| \leq d-1}. Let us call Lt{L_t} the set of vertices at distance exactly t{t} from {a,a′}{\{a,a'\}}.

Now we do the calculations:

∑{u,v}∈E(xu−xv)2=∑t≤k∑u∈Lt∑v∈Su(xu−xv)2\displaystyle \sum_{ \{ u,v \} \in E} (x_u - x_v)^2 = \sum_{t\leq k} \sum_{u\in L_t} \sum _{ v\in S_u} (x_u - x_v)^2

=∑t≤k−1∑u,∈Lt∑v∈Su(xu−xv)2+∑u∈Lk∑v∈Suxu2\displaystyle = \sum_{t\leq k-1} \sum_{u,\in L_t} \sum_{ v\in S_u} (x_u - x_v)^2 + \sum_{u\in L_k} \sum_{v\in S_u} x_u^2

=∑t≤k−1∑u,∈Lt∣Su∣⋅(xu−xud−1)2+∑u∈Lk∣Su∣xu2\displaystyle = \sum_{t\leq k-1} \sum_{u,\in L_t} |S_u| \cdot \left( x_u - \frac {x_u}{\sqrt {d-1}} \right)^2 + \sum_{u\in L_k} |S_u| x_u^2

≤∑t≤k−1∑u,∈Lt(d−1)⋅(xu−xud−1)2+∑u∈Lk(d−1)xu2\displaystyle \leq \sum_{t\leq k-1} \sum_{u,\in L_t} (d-1) \cdot \left( x_u - \frac {x_u}{\sqrt {d-1}} \right)^2 + \sum_{u\in L_k} (d-1) x_u^2

=∑t≤k−1∑u,∈Ltxu2⋅(d−1−1)2+∑u∈Lk(d−1)xu2\displaystyle = \sum_{t\leq k-1} \sum_{u,\in L_t} x_u^2 \cdot \left( \sqrt{d-1} -1 \right)^2 + \sum_{u\in L_k} (d-1) x_u^2

=∑t≤k−1∑u,∈Ltxu2⋅(d−2d−1)+∑u∈Lk(d−1)xu2\displaystyle = \sum_{t\leq k-1} \sum_{u,\in L_t} x_u^2 \cdot (d - 2 \sqrt {d-1} ) + \sum_{u\in L_k} (d-1) x_u^2

=∑udxu2−∑u2d−1xu2+∑u∈Lk(2d−1−1)xu2\displaystyle = \sum_u d x_u^2 - \sum_u 2\sqrt{d-1} x_u^2 + \sum_{u\in L_k} (2 \sqrt {d-1} - 1) x_u^2

Finally,

∑u∈Lkxu2=∣Lk∣1(d−1)k≤1k+1∑t=0k∣Lt∣1(d−1)t=1k+1∑vxv2\displaystyle \sum_{u\in L_k} x_u^2 = |L_k | \frac 1 {(d-1)^k} \leq \frac 1{k+1} \sum_{t=0}^k |L_t| \frac{1} {(d-1)^t} = \frac 1 {k+1} \sum_v x_v^2

because ∣Lt∣(d−1)−t{|L_t| (d-1)^{-t}} decreases (or at least does not increase) for increasing t{t}.

Putting everything together we have

xTLx≤d∣∣x∣∣2−2d−1∣∣x∣∣2+2d−1−1k+1∣∣x∣∣2\displaystyle x^T L x \leq d ||x||^2 - 2 \sqrt{d-1} ||x||^2 + \frac {2 \sqrt{d-1} -1}{k+1}||x||^2

and so

xTAx≥(2d−1−2d−1−1k+1)∣∣x∣∣2\displaystyle x^T Ax \geq \left( 2 \sqrt{d-1} - \frac {2 \sqrt{d-1} -1}{k+1} \right) ||x||^2

Now we are finally almost done: define a vector y{y} with the same construction we did for x{x}, but using the set {b,b′}{\{b,b'\}} as the reference for the distance, where b′{b'} is a neighbor of b{b}. We then have

yTAy≥(2d−1−2d−1−1k+1)∣∣y∣∣2\displaystyle y^T Ay \geq \left( 2 \sqrt{d-1} - \frac {2 \sqrt{d-1} -1}{k+1} \right) ||y||^2

It is clearly not possible for a vertex at distance ≤k{\leq k} from {a,a′}{\{a,a'\}} to also be at distance ≤k{\leq k} from {b,b′}{\{b,b'\}}, otherwise we would have a path of length ≤2k+2{\leq 2k+2} from a{a} to b{b}, so the vectors x{x} and y{y} are non-zero on disjoint subsets of coordinate, and hence are orthogonal.

But we can say more: we also have xTAy=0{x^T A y = 0}, because there cannot be an edge {u,v}∈E{\{ u,v\}\in E} such that both xu>0{x_u >0} and yv>0{y_v >0}, because otherwise we would have a path of length ≤2k+3{\leq 2k + 3} from a{a} to b{b}.

This means that if we take any linear combination z=αx+βy{z = \alpha x + \beta y} of x{x} and y{y} we have

zTAz=α2xTAx+β2yTAy\displaystyle z^T A z = \alpha^2 x^T Ax + \beta^2 y^TAy

≥(2d−1−2d−1−1k+1)⋅(α2∣∣x∣∣2+β2∣∣y∣∣2)\displaystyle \geq \left( 2 \sqrt{d-1} - \frac {2 \sqrt{d-1} -1}{k+1} \right) \cdot ( \alpha^2 ||x||^2 + \beta^2 ||y||^2 )

=(2d−1−2d−1−1k+1)∣∣z∣∣2\displaystyle = \left( 2 \sqrt{d-1} - \frac {2 \sqrt{d-1} -1}{k+1} \right) ||z||^2

so we have found a two-dimensional set of vectors whose Rayleigh quotient is at most the above expression, and so

λ2≥2d−1−2d−1−1k+1\displaystyle \lambda_2 \geq 2 \sqrt{d-1} - \frac {2 \sqrt{d-1} -1}{k+1}

What did just happen? The basic intuition is that, as in the infinite tree, we set weights to go down by 1/d−1{1/\sqrt{d-1}} every time we get away from the “root,” and we would like to argue that, for every node xu{x_u}, we have

∑vAu,vxv≥2d−1xu\displaystyle \sum_{v} A_{u,v} x_v \geq 2\sqrt{d-1} x_u

by reasoning that one of the neighbors must be closer to the root, and hence have value d−1xu{\sqrt{d-1} x_u}, while the other d−1{d-1} neighbors are all at least xu/d−1{x_u/\sqrt{d-1}}. This bound fails at the “leaves” of the construction, which is fine because they account for a small portion of ∣∣x∣∣2{||x||^2}, but it also fails at the root, which is not adjacent to any larger vertex. In the case of the infinite tree this is still ok, because the root also accounts for only a small portion of ∣∣x∣∣2{||x||^2}; in general graphs, however, the “root” vertex might account for a very large fraction of ∣∣x∣∣2{||x||^2}.

Indeed, the root contributes 1 to ∣∣x∣∣2{||x||^2}, and each set Lt{L_t} contributes ∣Lt∣⋅(d−1)t{|L_t| \cdot (d-1)^t}. If the size of Lt{L_t} grows much more slowly than (d−1)t{(d-1)^t}, then the contribution of the root to ∣∣x∣∣2{||x||^2} is too large and we have a problem. In this case, however, for many levels t{t}, there have to be many vertices in Lt{L_t} that have fewer than d−1{d-1} edges going forward to Lt+1{L_{t+1}}, and in that case, for many vertices u∈Lt{u \in L_t} we will have that ∑vAu,vxv{\sum_v A_{u,v} x_v} will be much more than 2d−1xu2{2 \sqrt{d-1} x_u^2}.

Although it seems hopeless to balance this argument and charge the weight xuxv{x_u x_v} of the edge (u,v){(u,v)} in just the right way to xu2{x_u^2} and to xv2{x_v^2}, the calculation with the Laplacian manages to do that automatically.

3. A More Sophisticated “Trace” Method

The Hoory-Linial-Wigderson survey also gives a very clean and conceptual proof that

σ2=max⁡{∣λ2∣,∣λn∣}≥2d−1⋅(1−O(log⁡diam(G)diam(G)))\displaystyle \sigma_2 = \max \{ |\lambda_2| , | \lambda_n| \} \geq 2 \sqrt {d-1} \cdot \left( 1 - O \left( \frac {\log diam(G)}{diam(G)} \right) \right)

via a trace argument. I am not sure who was the first to come up with this idea.

Let us pick two vertices a,b{a,b} at distance diam(G){diam(G)}, and call x:=1{a}{x := {\bf 1}_{\{ a\}}}, y:=1{b}{y:= {\bf 1 }_{\{ b\}}} and z:=x−y{z:= x-y}. Fix k=(diam(G)−2)/2{k = (diam(G)-2)/2}. Then Akx{A^k x} and Aky{A^ky} are orthogonal vectors, because the coordinates on which Akx{A^kx} is nonzero correspond to vertices at distance ≤k{\leq k} from a{a} and the coordinates on which Aky{A^ky} is nonzero correspond to vertices at distance ≤k{\leq k} from b{b}, and these conditions cannot be simultaneously satisfied. This means that xTA2ky=0{x^T A^{2k} y = 0}.

Since z{z} is orthogonal to (1,…,1){(1,\ldots,1)}, we have

zTA2kz≤σ22k∣∣z∣∣2=2σ22k\displaystyle z^T A^{2k} z \leq \sigma_2^{2k} ||z||^2 = 2 \sigma_2^{2k}

but we also have

zTA2kz=xTA2kx+yTA2ky−2xTA2ky=xTA2kx+yTA2ky\displaystyle z^T A^{2k} z = x^T A^{2k} x + y^T A^{2k} y - 2 x^T A^{2k} y = x^T A^{2k} x + y^T A^{2k} y

Now, xTA2kx{x^T A^{2k} x} is the number of walks of length 2k{2k} in G{G} that start at a{a} and get back to a{a}. In every d{d}-regular graph, and for every start vertex, the number of such walks is at least the corresponding number in the infinite d{d}-ary tree. This is clear if G{G} is a Cayley graph; it takes a few minutes (at least I had to think about it for a bit) to see that it holds in every graph.

Ok, then, what is the number of closed walks of length k{k} in the infinite d{d}-ary tree? This is a long story, but it is a very well-studied question and there is a bound (not the tightest know, but sufficient for our purposes) giving

σ2k≥min⁡{xTA2kx,yTA2ky}\displaystyle \sigma_2^k \geq \min \{ x^T A^{2k} x , y^T A^{2k} y \}

≥t2k≥(2kk)1k+1(d−1)k\displaystyle \geq t_{2k} \geq {2k \choose k} \frac 1{k+1} (d-1)^k

=Ω(22k⋅k−1.5⋅(d−1)k)\displaystyle = \Omega( 2^{2k} \cdot k^{-1.5} \cdot (d-1)^k )

so,

σ2≥2d−1⋅(Ω(k−1.5))1/2k≥2d−1⋅(1−O(log⁡k)k)\displaystyle \sigma_2 \geq 2 \sqrt{d-1} \cdot (\Omega(k^{-1.5}))^{1/2k} \geq 2 \sqrt{d-1} \cdot \left( 1 - \frac { O(\log k) }{k} \right)

I put “trace” in quote in the title of this section, but one can turn the argument into an honest-to-God application of the trace method, although there is no gain in doing so. Pick an even number k{k}. We can say that

trace(Ak)=∑iλik≤dk+(n−1)σ2k\displaystyle trace(A^k) = \sum_i \lambda_i^k \leq d^k + (n-1) \sigma_2^k

and

trace(Ak)≥ntk≥Ω(2k⋅k−1.5⋅d−1)\displaystyle trace(A^k) \geq n t_k \geq \Omega( 2^k \cdot k^{-1.5} \cdot \sqrt{d-1} )

which gives

σ2≤2d−1⋅(1−(Olog⁡k)k)\displaystyle \sigma_2 \leq 2 \sqrt{d-1} \cdot \left( 1 - \frac { (O\log k) }{k} \right)

for k<<log⁡nlog⁡d{k << \frac{ \log n}{\log d}}, which is implied by the bound based on diameter that we proved above.