The Riemann zeta function in this visualization
For a complex number with real part , the zeta function is the sum
Elsewhere the sum diverges, but has a unique analytic continuation to every . It is 0 at , the trivial zeros. All its other zeros, the non-trivial ones, lie in the critical strip , and the Riemann hypothesis says that every one of them is on its middle line, .
The picture is not the -plane but the plane of values. A point walks up the vertical line from height to , and the curve is where goes meanwhile, coloured by . A zero is a moment when the curve is at 0. The inset shows the -plane itself near the current height, painted as on the domain colouring page: the zeros are the dark points where all the colours meet.
At a zero the curve reaches 0. On the critical line , where Hardy’s function is real. At every moment the value lies on a line through 0 in the direction , and when changes sign the curve crosses 0. This is also how the page finds the zeros: a change of sign of is a zero for certain.
Turn away from 1/2 and the loops move off 0. A zero inside the strip but off the middle line is what the Riemann hypothesis forbids. More than ten trillion non-trivial zeros have been checked to lie on the line, but whether all of them do is still unproved. On the edge it is proved: is never 0.
The zeros matter because of the primes. For , Euler’s product gives , a product over all the primes. Riemann (1859) tied the zeros to how many primes there are below . That there are no zeros on is the key step in the classical proof of the prime number theorem.
Things to notice
- A curve that misses 0 proves nothing beyond the stretch drawn: the readout gives its nearest approach in that window only.
- The zeros are not evenly spaced: the gaps between neighbours vary, and on average they shrink as grows.