MathLabs
TheoremProved

Prime number theorem

Statement

As x→∞x \to \infty, π(x)∼xlog⁡x\pi(x) \sim \dfrac{x}{\log x}; equivalently π(x)/li⁡(x)→1\pi(x)/\operatorname{li}(x) \to 1.

Why is it true?

Chebyshev's bound above pins π(x) to within a constant factor of x/log x, but "asymptotic to" is a much stronger claim: the ratio π(x)/(x/log x) must tend to exactly 1, not just stay bounded. Closing that gap from "bounded" to "exactly 1" needed an entirely different idea — Riemann's 1859 insight that the distribution of primes is encoded in the complex zeros of the zeta function ζ(s).

Proof sketch

This proof is a logical sketch of the analytic route, not a self-contained derivation — it needs complex analysis introduced later in the curriculum (see the topic on the Riemann zeta function for the details). The argument has three stages.

Stage 1 (reduce to θ): a routine partial-summation argument shows π(x)∼x/log⁡x\pi(x) \sim x/\log x is equivalent to θ(x)∼x\theta(x) \sim x, where θ(x)=∑p≤xlog⁡p\theta(x)=\sum_{p\le x}\log p as in Chebyshev's bound above.

Stage 2 (encode θ via ζ): Riemann's explicit formula expresses θ(x)\theta(x) (more precisely the closely related ψ(x)=∑pk≤xlog⁡p\psi(x)=\sum_{p^k\le x}\log p) almost exactly in terms of the zeros of ζ(s)=∑nn−s=∏p(1−p−s)−1\zeta(s)=\sum_n n^{-s}=\prod_p(1-p^{-s})^{-1}: the leading term xx comes from ζ\zeta's simple pole at s=1s=1, and every zero ρ=β+iγ\rho=\beta+i\gamma of ζ\zeta contributes an oscillating error term of size roughly xβx^{\beta}.

Stage 3 (the key nonvanishing fact): ψ(x)∼x\psi(x)\sim x — and hence the theorem — holds if and only if no zero has β=1\beta=1, i.e. ζ(1+it)≠0 for all t∈R\zeta(1+it) \ne 0 \text{ for all } t \in \mathbb{R}. Hadamard and de la Vallée Poussin proved this nonvanishing independently in 1896, using an elementary trigonometric inequality (3+4cos⁡θ+cos⁡2θ≥03+4\cos\theta+\cos2\theta\ge0) applied to log⁡∣ζ(σ)3ζ(σ+it)4ζ(σ+2it)∣\log|\zeta(\sigma)^3\zeta(\sigma+it)^4\zeta(\sigma+2it)| as σ→1+\sigma\to1^+: a zero at 1+it1+it would force this expression to −∞-\infty, which the inequality forbids. Newman's 1980 proof streamlines Stage 3's consequences into a short Tauberian argument, but the logical backbone — pole at 11, zeros elsewhere, nonvanishing on the line Re⁡(s)=1\operatorname{Re}(s)=1 — is exactly as Riemann and Hadamard laid it out.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. MacTutor History of Mathematics, University of St Andrews (2021). Prime numbers (history)
  2. Donald J. Newman (1980). Simple analytic proof of the prime number theorem · DOI:10.1080/00029890.1980.11995126