Analytic Number Theory

Riemann Zeta Function

ζ(s) = Σ 1/n^s — encodes the primes via Euler's product, hides them via the critical strip

The Riemann zeta function is defined for Re(s) > 1 by the Dirichlet series ζ(s) = Σₙ₌₁^∞ 1/n^s = 1 + 1/2^s + 1/3^s + …, and is extended by analytic continuation to all complex s ≠ 1. Euler's product formula (1737) connects it to primes: ζ(s) = ∏ₚ (1 − p^(−s))⁻¹, where the product is over all primes. The Riemann Hypothesis (1859) asserts every nontrivial zero of ζ has Re(s) = 1/2 — equivalent to the strongest possible bound on the prime counting function π(x). Currently $1M Clay Millennium Prize problem. Verified for 10^13 zeros (2020). Functional equation: ζ(s) = 2^s π^(s−1) sin(πs/2) Γ(1−s) ζ(1−s).

  • Definition (Re s > 1)Σ 1/n^s
  • Euler product∏ₚ (1−p^(−s))⁻¹
  • Trivial zeros−2, −4, −6, …
  • Functional equationζ(s) ↔ ζ(1−s) symmetry
  • Riemann Hypothesisall nontrivial zeros on Re(s)=1/2
  • Verified zeros10^13 (2020)

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

Why Riemann zeta matters

  • Prime number theorem. π(x) ~ x/ln(x) was proved (independently by Hadamard and de la Vallée Poussin in 1896) by showing ζ(s) has no zeros on the line Re(s) = 1. Without that fact, the asymptotic of primes would be unknown.
  • The Riemann Hypothesis. RH would tighten the prime counting error to O(sqrt(x) log x), the smallest possible. Hundreds of conditional theorems — bounds on the largest prime gap, distribution of primes in short intervals, performance of Miller-Rabin — depend on it.
  • L-functions and modular forms. ζ is the simplest L-function. Dirichlet L-functions, Dedekind zeta, Hasse-Weil L-functions of elliptic curves, and automorphic L-functions all share its analytic-continuation-plus-functional-equation structure. Modularity in Andrew Wiles's proof of Fermat's Last Theorem is precisely such an L-function identification.
  • Physics — quantum chaos and string theory. The Hilbert-Pólya conjecture proposes the imaginary parts of nontrivial zeta zeros are eigenvalues of a Hermitian operator. The Montgomery-Odlyzko law shows zero spacings statistically match GUE random matrix eigenvalues. Bosonic string theory's critical dimension uses ζ(-1) = -1/12 via zeta regularisation.
  • Casimir effect. The vacuum energy between two parallel conducting plates is computed by zeta-regularising Σ n — replacing it with ζ(-1) = -1/12 — and the prediction matches experiment to ~5%. A literal physical signature of analytic continuation.
  • Cryptography (indirectly). The strongest unconditional security analyses of RSA, Diffie-Hellman, and elliptic curve cryptography rely on assumed prime distribution bounds — bounds RH would make sharp.
  • Connection to the Selberg trace formula. Hyperbolic surface spectra, geodesic length distributions, and zeta-like products tie together topology, geometry, and number theory through analogues of Riemann's framework.

Common misconceptions

  • "1+2+3+… = -1/12." Pop-math videos popularised this, but it is misleading. The series 1+2+3+… diverges in every standard sense. The number -1/12 is the value of the analytically-continued ζ at s = -1, not a literal sum. Misusing it as ordinary equality breaks all the rules of summation and propagates confusion.
  • "RH is just a numerical curiosity." RH directly determines bounds on prime gaps, π(x), the Mertens function, and the distribution of primes in arithmetic progressions. Many cryptographic and computational complexity bounds are stated "assume GRH" — the generalised RH for L-functions. Resolving RH would update hundreds of theorem statements from conditional to unconditional.
  • "ζ is real-valued." ζ takes real values on the real axis (where it is defined) and is real on Re(s) ≤ 0 by symmetry of the functional equation. But on the critical strip 0 < Re(s) < 1, ζ takes complex values — that is the whole point. The graphs you see plotting |ζ(1/2 + it)| against t are showing the modulus of a genuinely complex function.
  • "Verified for 10^13 zeros, so RH is essentially proven." Numerical verification, even at scale, is not a proof. The Skewes number — first prime-counting crossover where π(x) > li(x) — is conjectured to occur near 10^316, far beyond any reachable computation. Numerical evidence at 10^13 zeros leaves the question open.
  • "Euler invented zeta." Euler studied Σ 1/n^s for real s and proved ζ(2) = π²/6 (the Basel problem) in 1734 and the Euler product in 1737. Riemann (1859) extended s to complex values, established analytic continuation and the functional equation, and stated the hypothesis bearing his name. Euler set the stage; Riemann built the theory.
  • "There is only one Riemann hypothesis." The "generalised Riemann hypothesis" extends to Dirichlet L-functions; the "extended Riemann hypothesis" to Dedekind zeta of number fields; "grand Riemann hypothesis" to all automorphic L-functions. Each is a separate, harder statement; many results assume one variant or another, not always the original.

Why the Euler product is the heart of it

For Re(s) > 1: each prime factor (1 − p^(−s))⁻¹ = 1 + p^(−s) + p^(−2s) + p^(−3s) + … expands as a geometric series. Multiplying these series across all primes and using unique factorisation, every term 1/n^s appears exactly once in the expansion — corresponding to the unique factorisation n = p₁^a₁ · p₂^a₂ … . The product equals the sum if and only if the integers factorise uniquely into primes. That is why ζ(s) is a number-theoretic object: it is unique factorisation, made analytic.

Special values you should know

ζ(2) = π²/6 (Basel problem, Euler 1734); ζ(4) = π⁴/90; in general ζ(2k) = (-1)^(k+1) (2π)^(2k) B_(2k) / (2 (2k)!) for Bernoulli numbers B. Odd values are mysterious: ζ(3) was proved irrational by Apéry in 1978 (Apéry's constant), but ζ(5), ζ(7), … are not even known to be irrational. Trivial zeros at -2, -4, -6, …; ζ(0) = -1/2; ζ(-1) = -1/12; ζ(-2k+1) = -B_(2k)/(2k) for positive integer k. The asymmetry between even and odd zeta values is one of the great open puzzles of analytic number theory.

Frequently asked questions

Why does ζ(s) "encode" the primes?

Through Euler's product (1737): ζ(s) = ∏ₚ (1 − p^(−s))⁻¹ for Re(s) > 1. Expanding each factor as a geometric series and multiplying out reproduces Σₙ 1/n^s exactly because every positive integer factorises uniquely into primes. The product equals the sum if and only if unique factorisation holds — so ζ(s) packages the multiplicative structure of integers into one analytic function. Taking logarithmic derivatives extracts prime power counts directly.

What is analytic continuation?

A way to extend a function defined on one region of the complex plane to a larger region while preserving holomorphy. The Dirichlet series for ζ(s) converges only for Re(s) > 1, but the function it defines admits a unique meromorphic extension to all of C with a single simple pole at s = 1 (residue 1). The functional equation ζ(s) = 2^s π^(s−1) sin(πs/2) Γ(1−s) ζ(1−s) achieves this extension and reveals symmetry across Re(s) = 1/2.

What does ζ(−1) = −1/12 mean?

It means the analytically-continued ζ takes the value −1/12 at s = −1. The naive series 1+2+3+… diverges and does NOT equal −1/12 in any standard sense. The value −1/12 is the regularised, analytic-continuation answer to the question "what holomorphic function on C agrees with Σ 1/n^s for Re(s) > 1 and what does it evaluate to at s = −1?". It appears in string theory (bosonic string critical dimension) via zeta regularisation.

What's the connection between RH and prime counting π(x)?

The prime counting function π(x) counts primes ≤ x. The prime number theorem says π(x) ~ x/ln(x). The error term π(x) − li(x) is controlled by the zeros of ζ. Riemann's explicit formula expresses π(x) as a sum involving zeta zeros: each zero ρ contributes a term of size x^(Re ρ). RH (Re ρ = 1/2 for all nontrivial zeros) is exactly equivalent to π(x) = li(x) + O(sqrt(x) log x) — the smallest possible error.

Why is RH a Millennium Problem?

Because hundreds of theorems in number theory are stated "assume the Riemann hypothesis…" and every weakening proved unconditionally is celebrated. The 2000 Clay Mathematics Institute selected RH as one of seven $1M Millennium Prize Problems on the basis of (1) its centrality in mathematics, (2) over 165 years of resistance to proof, (3) its precise statement, and (4) its tight equivalence to many other problems. RH would unlock the most powerful prime distribution theorems.

What are the trivial vs nontrivial zeros?

The functional equation forces ζ(s) = 0 at s = −2, −4, −6, … because the sin(πs/2) factor vanishes at negative even integers. These are the trivial zeros — known, predictable, accounted for. All other zeros lie in the critical strip 0 < Re(s) < 1 and are the nontrivial zeros. The Riemann Hypothesis concerns only these: it asserts they all lie on the critical line Re(s) = 1/2. As of 2020, the first 10^13 nontrivial zeros have been verified to lie on the line.