The zeros · Part 2 of 3
Primes from zeros: the explicit formula
Riemann's exact formula for Chebyshev's ψ(x) in terms of the zeros of ζ. Derived step by step from the Euler product, with charts showing the prime staircase appear as zeros are added one pair at a time.
The zeros5 min read
This is the chapter where the zeros of stop being a curiosity. Riemann showed that the primes can be written exactly using them. Each zero contributes one oscillating wave, and adding all the waves together gives the staircase of the primes. Everything we did so far is used here.
The goal
From chapter 6 we have Chebyshev's function and the identity
The explicit formula (Riemann 1859, proved by von Mangoldt 1895) says that for
where the sum runs over all non-trivial zeros of , and equals except at a prime power, where it takes the average of the values on the two sides of the jump. Here is where each part comes from.
Step 1: pick out of the series with Perron's formula
For and one has
Why: if , the factor decays as , so push the vertical line to the right: nothing in the way, and the integral is 0. If , decays towards ; push the line to the left, past the only pole at where has residue , and the integral equals 1.
Apply this with to each term of (1) and add. The terms with contribute , those with contribute 0:
Step 2: move the line to the left and collect residues
The integrand of (4) is a meromorphic function. Move the line of integration far to the left. Each time it passes a pole, the integral changes by that pole's residue. The poles of are where or has a pole:
- has a simple pole wherever has a zero or a pole. Near a zero of order , , so .
- has a pole at 0.
Now the residues, one at a time.
The pole of at . There , so and . The residue of the integrand is . This is the main term, and it is why .
Each non-trivial zero . Here , so the residue is (counted with multiplicity).
The pole of at . The residue is . From the functional equation one finds , and , so .
Each trivial zero (). These are simple zeros of , and each gives residue . Their total is
by with , and then . So this gives the last term of (2).
Adding all residues gives (2). (Making this rigorous requires keeping the contour away from the zeros and showing the integral over the far-left vertical line tends to zero; the sum over zeros must be taken in order of increasing , since it only converges conditionally. That is what von Mangoldt did.)
Step 3: each zero is a wave
Take a non-trivial zero (assuming it is on the critical line). Its conjugate is also a zero, and the two terms combine:
(Because has modulus 1, and has modulus and angle .) So each pair of zeros adds a wave to :
- its amplitude is , which grows with and is smaller for higher zeros (divided by );
- its frequency in the variable is the height of the zero.
For the first zero, , , so the wave is about . Here is the real thing, computed live in your browser from the first hundred zeros: the true (dashed) and the approximation from (2). Move the slider.
This is what the music of the primes means: the zeros are the frequencies, and the primes are the interference pattern when all the notes play at once.
From back to
Riemann's own paper gave a formula for . Define
where is the Möbius function. This smooth function is a much better approximation to than is: at , , (off by 79), while (off by 1 701). At , (off by 29) against (off by 130). The exact formula then adds a term over the zeros, the analogue of (2).
What the formula says about the Riemann hypothesis
The size of the error is controlled by the real parts of the zeros. A zero contributes a wave of amplitude .
- If every zero has , all waves have amplitude proportional to . Adding them up carefully (the number of zeros up to height is about , so the sum of diverges slowly, which is why a factor appears) gives
- If a single zero had real part , its wave would grow like , which is bigger than by a power. It is not cancelled by the others, because the frequencies differ. So the error would be at least of order for infinitely many .
This is the precise meaning of the Riemann hypothesis for primes: the hypothesis is equivalent to the statement that is never much bigger than (von Koch, 1901). The prime counting function would be as regular as it could possibly be given that it is made of integers. We state this carefully in chapter 13.
Check yourself
1. Which term in (2) is responsible for ?
The residue at the pole of , which gives the term .
2. Compute the amplitude of the wave from the first zero at .
. So the first zero alone makes oscillate by about around .
3. Why would a zero off the critical line be visible in the primes?
Its wave would grow faster than and cannot be cancelled by the others, so would eventually exceed every constant multiple of .