This write-up will be about expander graphs, an indispensable tool in computer science. Expanders are widely used in error-correcting codes, complexity theory, hashing and computer networks.
Definitions
Let G=(V,E) be a graph. Let S,T⊆V. We define E(S,T):={(u,v)∣{u,v}∈E,u∈S,v∈T}: this is the edges u→v from S to T. Let e(S,T)=∣E(S,T)∣. Note that if S and T have a non-empty intersection then we count the edges between S and T twice.
We define the edge boundary of a set S⊆V as ∂S:=E(S,V∖S). The vertex boundary is the number of neighbors of S that are not in S.
Definition
A graph is a ε-edge expander if all subsets S⊂V such that ∣S∣≤∣V∣/2 satisfy:
h(S)=∣E(S,V)∣∣∂S∣≥ε
Intuitively, we can think of it as follows: a social network is a 1/2 expander if for all groups of people, the number of friends outside of the group is at least 1/2 the total number of friends of the group. We have a name for the largest ε this definition works for: the isoperimetric number, or Cheeger constant.
h(G):=infS[h(S)]
An adjacent definition, an ε-vertex expander is a graph where all S⊂V with ∣S∣≤∣V∣/2 have N(S)≥ε∣S∣. These two notions of expansion are combinatorial and well-motivated. Let's see an example
Examples
Consider Kn. We can prove that it is a 1-vertex expander (which is actually optimal) and a 21+O(1/n) edge expander. This is a good exercise that we will leave for the end.
Cycle graphs and Cayley graphs are interesting constructions of expanders.
Spectral Expansion
Beyond the combinatorial definitions, we can also talk about spectral expansion. Let G be d-regular, and consider its normalized adjacency matrix: AG=A/d. Let λ1≥λ2≥⋯≥λn be the spectrum of AG. By the Perron-Frobenius Theorem we can show that:
1 is an eigenvector of AG with eigenvalue 1. This eigenvector is also called a Perron vector, because all its coordinates are strictly positive.
1=λ1≥⋯≥λn≥−1.
Definition
G is a λ-spectral expander if
λ(G):=max{∣λ2∣,∣λn∣}≤λ
We define the spectral gap of a graph as 1−λ2.
What does the spectrum of a graph have anything to do with its expansion properties? The answer is that they are closely related, as we will see in the following theorem:
Theorem
Expander Mixing Lemma
Let G be a d-regular graph with normalized adjacency matrix AG whose spectrum is λ1≥⋯≥λn. Then, for all S,T⊆V, we have:
e(S,T)−nd∣S∣∣T∣≤λ(G)⋅d∣S∣⋅∣T∣
Proof: We kick things off with an important observation:
Tip
1ST(dAG)1T=e(S,T)
This is because (dAG)1T gives for every v∈V the number of neighbors in T, and subsequently multiplying by 1S only keeps v∈S.
Now, let us consider an orthonormal eigenbasis {v1,...,vn} for AG. We can write 1S=∑αivi and 1T=∑βivi and then