The Large Sieve Inequality

Here is a curious piece of naming. The large sieve is not, at heart, a sieve at all — not in the combinatorial sense of Eratosthenes, or Brun, or Selberg, where you cross out multiples of primes and try to keep track of what survives. It is a single, clean analytic inequality about how large a trigonometric polynomial can be at a spread-out set of points. Everything else — the primes, the residue classes, the Bombieri–Vinogradov theorem — is a consequence squeezed out of that one inequality.

The name comes from what it is good at. A classical ("small") sieve removes, for each prime p, a bounded number of residue classes — usually just one or two. The large sieve is built to handle the opposite regime: removing many residue classes per prime, up to a positive proportion of all of them. Ask "how many integers up to N can dodge, say, half the residues modulo every prime p \le \sqrt N?" and it is the large sieve that answers.

The exponential sum at the heart of it

Fix complex numbers a_1, a_2, \dots, a_N — think of them as weights on the integers, often just the indicator of some set. Form the exponential sum

S(\alpha) = \sum_{n \le N} a_n\, e(n\alpha), \qquad e(x) := e^{2\pi i x}.

This is a trigonometric polynomial in the real variable \alpha, periodic with period 1, so we only ever need to look at it on the unit interval [0,1). Its total L^2-size over a full period is pinned by Parseval's identity,

\int_0^1 |S(\alpha)|^2\, d\alpha = \sum_{n \le N} |a_n|^2,

so on average |S(\alpha)|^2 is exactly \sum |a_n|^2. The large sieve is the statement that if you sample S at points that are spread far enough apart, the sampled values cannot conspire to be much larger than that average all at once.

Well-spaced points

Call a finite set of points \alpha_1, \dots, \alpha_R in [0,1) \delta-spaced if any two of them differ by at least \delta, measured on the circle (so 0.99 and 0.01 are only 0.02 apart, wrapping around). The canonical example is the set of Farey fractions: all reduced fractions a/q with q \le Q. Two distinct such fractions a/q and a'/q' satisfy

\left| \frac{a}{q} - \frac{a'}{q'} \right| = \frac{|aq' - a'q|}{qq'} \ge \frac{1}{qq'} \ge \frac{1}{Q^2},

because the numerator is a nonzero integer. So the Farey fractions of order Q are \delta-spaced with \delta = Q^{-2}. That single observation is what connects the abstract analytic inequality to arithmetic.

The analytic large sieve inequality

Let a_1, \dots, a_N be complex, let S(\alpha) = \sum_{n \le N} a_n e(n\alpha), and let \alpha_1, \dots, \alpha_R be \delta-spaced points in [0,1). Then

\sum_{r=1}^{R} |S(\alpha_r)|^2 \;\le\; \big(N + \delta^{-1}\big) \sum_{n \le N} |a_n|^2.

Read the shape of it. The right-hand side is the Parseval average \sum |a_n|^2 multiplied by a factor N + \delta^{-1}. The N is the "length" of the sum; the \delta^{-1} is (roughly) how many \delta-spaced points can fit into [0,1). The inequality says: sampling gives you nothing worse than the number of samples times the average — you never beat the mean by a constant factor, no matter how adversarially you place the points or choose the coefficients. The constant here is not optimal; the sharp version, due to Montgomery–Vaughan and Selberg, replaces N + \delta^{-1} with N - 1 + \delta^{-1}, which is best possible.

The arithmetic form: summing over Farey fractions

Feed the well-spaced Farey fractions into the analytic inequality. Take the points to be all reduced a/q with q \le Q and 1 \le a \le q, (a,q)=1. They are Q^{-2}-spaced, so \delta^{-1} = Q^2 and we land on the form most number theorists carry in their head:

\sum_{q \le Q} \ \sum_{\substack{a \bmod q \\ (a,q)=1}} \left| S\!\left(\tfrac{a}{q}\right) \right|^2 \;\le\; \big(N + Q^2\big) \sum_{n \le N} |a_n|^2.

The double sum ranges over every primitive fraction with denominator up to Q — there are about \tfrac{3}{\pi^2}Q^2 of them — and each measures how much the sequence a_n "resonates" with the frequency a/q. The factor is N + Q^2, and this is the number that governs everything.

Everything turns on which term dominates N + Q^2. If Q \le \sqrt N then Q^2 \le N and the bound is essentially 2N \sum|a_n|^2 — the "sampling" costs you nothing beyond the length of the sum, and you are summing over about Q^2 genuinely different frequencies "for free". Push Q past \sqrt N and the Q^2 takes over: the bound degrades to Q^2 \sum|a_n|^2 and the extra frequencies start costing more than they are worth. So the sweet spot — where the large sieve is genuinely powerful — is Q \asymp \sqrt N. That single threshold is exactly why Bombieri–Vinogradov reaches moduli up to \sqrt N (up to a small power of a logarithm) and no further.

Duality — the trick that makes it provable

The large sieve is really a statement about the norm of a linear map, and the cleanest proofs go through duality. Any inequality of the form

\sum_r \left| \sum_n a_n \varphi_n(r) \right|^2 \le \Delta \sum_n |a_n|^2 \quad\text{for all } (a_n)

holds with a constant \Delta if and only if its dual holds with the same \Delta:

\sum_n \left| \sum_r b_r\, \overline{\varphi_n(r)} \right|^2 \le \Delta \sum_r |b_r|^2 \quad\text{for all } (b_r).

Here \varphi_n(r) = e(n\alpha_r). The two directions are the operator norm of a matrix and of its conjugate transpose — and those are equal. This is more than a formality: the dual form is often the one you can actually prove (bounding \sum_n |\sum_r b_r e(-n\alpha_r)|^2 by opening the square and controlling the off-diagonal terms with the spacing \delta), and then duality hands you back the form you wanted. It also means the large sieve can be read either as "samples of a polynomial are controlled by its coefficients" or as "a sum of well-spaced characters is nearly orthogonal" — same inequality, two faces.

The character form

For arithmetic applications the most useful repackaging replaces the additive frequencies e(na/q) with Dirichlet characters. Using the orthogonality of characters to convert the sum over residues a into a sum over characters \chi \bmod q, and restricting to primitive characters (the star on the sum), one obtains:

\sum_{q \le Q} \frac{q}{\varphi(q)} \sum_{\substack{\chi \bmod q}}^{\!*} \left| \sum_{n \le N} a_n\, \chi(n) \right|^2 \;\le\; \big(N + Q^2\big) \sum_{n \le N} |a_n|^2.

The starred sum \sum^{*}_{\chi} runs over the primitive characters mod q, and the weight q/\varphi(q) is the bookkeeping factor that appears when you sort the Gauss-sum relation between additive and multiplicative characters. This is the version that plugs directly into the theory of L-functions: the inner sum \sum a_n \chi(n) is a character sum, and the inequality bounds the mean square of character sums over all moduli and all primitive characters at once. It is precisely this "average over characters" that makes the next theorem possible.

The payoff: Bombieri–Vinogradov

The single most celebrated application of the large sieve is the Bombieri–Vinogradov theorem, often described as "the Generalised Riemann Hypothesis on average". Recall that GRH would control the error in the prime-counting function \pi(x; q, a) — primes up to x in the arithmetic progression a \bmod q — for every individual modulus q. Bombieri–Vinogradov proves that the same quality of error holds when you average over all moduli q \le \sqrt x / (\log x)^A:

\sum_{q \le \sqrt{x}/(\log x)^A} \ \max_{(a,q)=1} \left| \pi(x; q, a) - \frac{\operatorname{Li}(x)}{\varphi(q)} \right| \ \ll_A\ \frac{x}{(\log x)^{B}}.

No one knows how to prove GRH for even a single modulus — yet the large sieve delivers this on-average statement unconditionally. The character-form inequality is the key input: it converts the mean square of character sums (which is what the error terms become after expanding in characters) into a clean bound, and the range q \le \sqrt x is exactly the Q \asymp \sqrt N sweet spot from the vignette above. For countless problems that "morally" want GRH — the Titchmarsh divisor problem, gaps between primes, the parity barrier results — Bombieri–Vinogradov, and hence the large sieve, is a working substitute.

Worked example — sifting out many residue classes

Let's see the large sieve do the job its name promises. Suppose \mathcal{A} is a set of integers in [1, N], and for each prime p \le Q the elements of \mathcal{A} avoid \omega(p) residue classes modulo p — that is, they occupy at most p - \omega(p) of the p classes. We want to bound Z = |\mathcal{A}|.

Step 1. Take a_n = 1 if n \in \mathcal{A} and 0 otherwise, so \sum |a_n|^2 = Z and S(0) = Z. Plug into the arithmetic form.

Step 2. The arithmetic that turns "avoids \omega(p) classes" into a lower bound on the left-hand side (via Cauchy–Schwarz on each \sum_a |S(a/p)|^2, the summands weighted by the missing classes) gives the clean statement below, where the sum runs over squarefree q \le Q built from the sifting primes:

Z \cdot L \;\le\; N + Q^2, \qquad L = \sum_{q \le Q} \ \mu^2(q) \prod_{p \mid q} \frac{\omega(p)}{p - \omega(p)}. |\mathcal{A}| \;\le\; \frac{N + Q^2}{\displaystyle\sum_{q \le Q} \mu^2(q) \prod_{p \mid q} \frac{\omega(p)}{p - \omega(p)}}.

Step 3 — a concrete number. Suppose every prime p \le Q kills half its residues, so \omega(p) \approx p/2 and each factor \omega(p)/(p-\omega(p)) \approx 1. Then L is at least the number of primes up to Q, and in fact the full squarefree sum makes L grow like a power of Q. Choosing the optimal Q \asymp \sqrt N gives a bound of the shape |\mathcal{A}| \ll N / L \ll \sqrt{N}\,(\log N)^{O(1)} — a genuine saving over the trivial N. A set dodging a positive proportion of residues modulo every small prime must be tiny. That is the large sieve in one line: many forbidden classes ⇒ few survivors.

The name misleads almost everyone at first. The large sieve does not cross out multiples and count survivors the way the sieve of Eratosthenes, Brun's sieve, or the Selberg sieve do. There is no inclusion–exclusion, no sieve weights \lambda_d in the statement itself. It is a bound on \sum_r |S(\alpha_r)|^2 — a mean square of an exponential sum, pure harmonic analysis. The "sieving" only appears when you apply it, by choosing a_n to be the indicator of a sifted set.

And do not fixate on the exact constant. The heart of the inequality is the factor N + Q^2 (or N + \delta^{-1}). Whether the constant in front is 1, 2\pi, or the sharp N - 1 + \delta^{-1} almost never matters for applications — what matters is that the "sampling penalty" is Q^2, which stays harmless precisely while Q \le \sqrt N. Get the N + Q^2 right and you understand the theorem; chase the optimal constant and you are polishing brass.

It was coined by Yuri Linnik in 1941. He was attacking a problem about the least quadratic non-residue and needed to sieve out, for each prime p, roughly p/2 residue classes — a large number, as opposed to the small, bounded number of classes removed in Brun-type sieves. The label stuck to the method rather than to any specific inequality. Linnik's original argument was clever but lossy; the modern, essentially optimal form is the work of many hands through the 1960s–70s — Rényi, Roth, Bombieri, Davenport, Halberstam, and finally the razor-sharp constants of Montgomery, Vaughan, and Selberg. Bombieri's 1965 large-sieve paper is the one that unlocked the Bombieri–Vinogradov theorem the same year.