Post · 6 min read· pp. 1193–1195

The expansion of the Paley graph

Suppose that we want to construct a very good family of d{d}-regular expander graphs. The Alon-Boppana theorem says that the best we can hope for, from the point of view of spectral expansion, is to have λ2≤2d−1{\lambda_2 \leq 2 \sqrt{d-1}}, and we would certainly be very happy with a family of graphs in which λ2≤O(d){\lambda_2 \leq O(\sqrt d)}.

Known constructions of expanders produce Cayley graphs (or sometimes Schreier graphs, which is a related notion), because it is easier to analyze the spectra of such graphs. If Γ{\Gamma} is a group with operation ⋅{\cdot} and a−1{a^{-1}} is the inverse of element a{a}, and S{S} is a symmetric set of generators, then the Cayley graph Cay(Γ,S){Cay(\Gamma, S)} is the graph whose vertices are the elements of Γ{\Gamma} and whose edges are the pairs (a,b){(a,b)} such that a⋅b−1∈S{a\cdot b^{-1} \in S}.

When the group is Abelian, there is good news and bad news. The good news is that the eigenvectors of the graphs are completely characterized (they are the characters of Γ{\Gamma}) and the eigenvalues are given by a nice formula. (See here and here.) The bad news is that constant-degree Cayley graphs of Abelian groups cannot be expanders.

That’s very bad news, but it is still possible to get highly expanding graphs of polylogarithmic degree as Cayley graphs of Abelian groups.

Here we will look at the extreme case of a family of graphs of degree dn=n/2{d_n = n/2}, where n{n} is the number of vertices. Even with such high degree, the weak version of the Alon-Boppana theorem still implies that we must have σ2≥Ω(dn){\sigma_2 \geq \Omega(\sqrt d_n)}, and so we will be happy if we get a graph in which σ2≤O(d)=O(n){\sigma_2 \leq O(\sqrt d) = O(\sqrt n)}. Highly expanding graphs of degree n/2{n/2} are interesting because they have some of the properties of random graphs from the Gn,12{G_{n,\frac 12}} distribution. In turn, graphs from Gn,12{G_{n,\frac 12}} have all kind of interesting properties with high probabilities, including being essentially the best known Ramsey graphs and having the kind of discrepancy property that gives seedless extractors for two independent sources. Unfortunately, these properties cannot be certified by spectral methods. The graph that we will study today is believed to have such stronger properties, but there is no known promising approach to prove such conjectures, so we will content ourselves with proving strong spectral expansion.

The graph is the Paley graph. If p{p} is a prime, Z/pZ{{\mathbb Z} / p {\mathbb Z}} is the group of addition modulo p{p}, and Q{Q} is the set of elements of Z/pZ{{\mathbb Z}/ p{\mathbb Z}} of the form r2 mod p{r^2 \bmod p}, then the graph is just Cay(Z/pZ,Q){Cay ( {\mathbb Z}/p{\mathbb Z}, Q)}. That is, the graph has a vertex v{v} for each v∈{0,…,p−1}{v\in \{ 0,\ldots,p-1\}}, and two vertices a,b{a,b} are adjacent if and only if there is an r∈{0,…,p−1}{r\in \{ 0,\ldots,p-1\}} such that a−b≡r2(modp){a-b \equiv r^2 \pmod p}.

Consider Fp{{\mathbb F}_p}, the finite field with p{p} elements of which Z/pZ{{\mathbb Z} / p {\mathbb Z}} is the additive group; of the p−1{p-1} nonzero elements of Fp{{\mathbb F}_p}, half of them are quadratic residues, and thus elements of Q{Q}, each with two square roots, and half of them are not. Thus, our graph has degree d=(p−1)/2{d = (p-1)/2}.

The characterization of the eigenvalues of an Abelian Cayley graph tells us that we are going to have an eigenvalue λa{\lambda_a} for each a∈{0,…,p−1}{a\in \{ 0,\ldots,p-1\}}, given by the formula

λa=∑q∈Qe2πiaq/p\displaystyle \lambda_a = \sum_{q \in Q} e^{2\pi i aq /p}

and so we just have to estimate the above sums. If we sum over all x2{x^2} for x{x} in Z/pZ{{\mathbb Z}/p{\mathbb Z}} instead of just summering over Q{Q} we get

sa:=∑x∈Fpe2πiax2/p=1+2λa\displaystyle s_a := \sum_{x\in {\mathbb F}_p} e^{2\pi i a x^2/p } = 1 + 2 \lambda_a

because every term in the formula for λ2{\lambda_2} occurs twice, and we also get an extra 1 from the case x=0{x=0}. The sums sa{s_a} are called Gauss (quadratic) sums, and Gauss himself proved that, for a≠0{a\neq 0}, we have ∣sa∣=p{|s_a| = \sqrt p}. This means that, for a≠0{a\neq 0}, we have ∣λa∣≤12(1+p){|\lambda_a| \leq \frac 12 ( 1 + \sqrt p)}, and so we have the desired expansion.

Here is how we prove Gauss’s result.

For non-zero x{x}, define χ(x)=1{\chi(x)=1} if x{x} is quadratic residue and χ(x)−1{\chi(x)-1} otherwise. Then χ{\chi} is a character of the multiplicative group of Fp{{\mathbb F}_p}: indeed we have χ(1)=1{\chi(1) = 1}, χ(x⋅y)=χ(x)⋅χ(y){\chi(x\cdot y) = \chi(x) \cdot \chi(y)} and χ(x−1)=χ(x)‾{\chi(x^{-1}) = \overline {\chi(x)}}. A well-known name for χ(x){\chi(x)} is that it is the Legendre symbol (xp){\left( \frac xp \right)}.

To simplify notation, let us also call ϕa(x):=e2πiax/p{\phi_a( x) := e^{2\pi i a x/p}}. Thus, we have

sa=∑x∈Fpϕ(x2)\displaystyle s_a = \sum_{x\in {\mathbb F}_p} \phi(x^2)

In the following, it will simplify notation to make χ{\chi} be defined over all of Fp{{\mathbb F}_p}, so we will set χ(0):=0{\chi(0) := 0}. Here is where χ{\chi} comes in:

Lemma 1 For a≠0{a\neq 0},

sa=∑x∈Fpχ(x)ϕa(x)\displaystyle s_a = \sum_{x\in {\mathbb F}_p} \chi(x) \phi_a(x)

Proof: This is a one-observation proof: for every x∈Fp{x\in {\mathbb F}_p}, we have

χ(x)=(#(\mboxsquarerootsofx)−1)\displaystyle \chi(x) = ( \# (\mbox{ square roots of } x ) - 1 )

and so

∑xχ(x)ϕa(x)=∑x(#(\mboxsquarerootsofx)−1)ϕa(x)\displaystyle \sum_x \chi(x) \phi_a(x) = \sum_x ( \# (\mbox{ square roots of } x ) - 1 ) \phi_a(x)

∑x,rI[r2=x]ϕa(x)−∑xϕa(x)\displaystyle \sum_{x,r} I[r^2 = x] \phi_a(x) - \sum_x \phi_a(x)

=∑rϕa(r2)\displaystyle = \sum_r \phi_a(r^2)

where all the summations are over Fp{{\mathbb F}_p} and, in the last line, we use the fact that ∑xϕa(x)=0{\sum_x \phi_a (x) = 0} for a≠0{a\neq 0}. □\Box

And now we do the last calculation.

Lemma 2 For every non-trivial multiplicative character χ{\chi} of Fp×{{\mathbb F}^\times_p} and every non-trivial additive character ϕ{\phi} of Z/pZ{{\mathbb Z}/p{\mathbb Z}} we have

∣∑x∈Fpχ(x)ϕ(x)∣2=p\displaystyle | \sum_{x\in {\mathbb F}_p} \chi(x) \phi(x) |^2 = p

where we extended χ{\chi} to all of Fp{{\mathbb F}_p} by defining χ(0):=0{\chi(0):= 0}.

Proof: We write down the sum and use the fact that χ{\chi} is a multiplicative character and ϕ{\phi} is an additive character.

∣∑x∈Fpχ(x)ϕ(x)∣2=∑x,yχ(x)ϕ(x)χ(y)ϕ(y)‾\displaystyle | \sum_{x\in {\mathbb F}_p} \chi(x) \phi(x) |^2 = \sum_{x,y} \chi(x) \phi(x) \overline{\chi(y) \phi(y)}

=∑x,yχ(xy−1)ϕ(x−y)\displaystyle = \sum_{x,y} \chi(xy^{-1} ) \phi(x-y)

Do a change of variable z=xy−1{z=xy^{-1}}

=∑zχ(z)∑yϕ(y⋅(z−1))\displaystyle = \sum_z \chi(z) \sum_y \phi(y\cdot(z-1))

and ∑yϕ(y⋅(z−1)){\sum_y \phi( y \cdot (z-1))} is always zero except, when z=1{z=1}, in which case it is p{p}.

(The above is not completely rigorous because we have “divided by zero.” A more precise accounting is to take the above sums for all x∈Fp{x\in {\mathbb F}_p} but only the nonzero y∈Fp×{y\in{\mathbb F}_p^\times}. In this case, after the change of variable, z{z} will range over Fp{{\mathbb F}_p} and y{y} still only on Fp×{{\mathbb F}^\times_p}. We can then bring back the y=0{y=0} case in the summation by noting that ∑zχ(z)⋅ϕ(0)=∑zχ(z)=0{\sum_z \chi(z) \cdot \phi(0) =\sum_z \chi(z) = 0}.) □\Box

So, putting it all together, we have sa=±p{s_a = \pm \sqrt p} for every a≠0{a\neq 0}, and so the second smallest eigenvalue of the adjacency matrix of the Paley graph is, in absolute value, at most 12(1+p)=12(1+2d+1){\frac 12 ( 1+ \sqrt p) = \frac 12 ( 1 + \sqrt {2d +1} )}, where d{d} is the degree.

Notice that all we used about our set of generators is that their indicator function is a multiplicative character.