The Prime Number Theorem and Dirichlet's Theorem

  • Prime Number Theorem: π(x) ~ x/log x asymptotically; probability a random integer near x is prime ≈ 1/log x
  • Proved 1896 by Hadamard and de la Vallée Poussin using complex analysis; conjectured by Gauss and Legendre ~1800
  • Dirichlet's Theorem (1837): primes equidistribute among invertible residue classes modulo any integer in arithmetic progressions
  • Launched analytic number theory by resolving discrete arithmetic problems via continuous analysis and zeta functions
  • Riemann zeta function and Dirichlet L-functions connect prime distribution to complex analysis; Riemann Hypothesis remains open

The Prime Number Theorem and Dirichlet's Theorem

Overview

The distribution of prime numbers among the integers represents one of the deepest mysteries in mathematics, transforming from empirical observation to rigorous theory through the nineteenth century. The Prime Number Theorem (PNT) and Dirichlet's Theorem on Primes in Arithmetic Progressions together establish the fundamental asymptotic laws governing how primes are distributed, both globally and within arithmetic structures. While individual primes appear chaotic, these theorems reveal profound regularity in their collective behavior.

The Prime Number Theorem asserts that the number of primes up to , denoted , is asymptotic to , meaning the "probability" that a random integer near is prime is approximately . This result, conjectured by Gauss and Legendre around 1800 based on numerical evidence, remained unproved until 1896 when Hadamard and de la Vallée Poussin independently established it using complex analysis. Dirichlet's earlier theorem (1837) showed that primes are equidistributed among the invertible residue classes modulo any integer, establishing arithmetic progressions as the natural setting for understanding prime distribution.

These theorems inaugurated analytic number theory, demonstrating that questions about discrete arithmetic objects could be resolved through continuous analysis. The interplay between the Riemann zeta function, Dirichlet L-functions, and prime distribution remains one of the most fertile areas in mathematics, with the Riemann Hypothesis representing the most famous open problem concerning the finer structure of prime distribution.

Primes, though individually unpredictable, obey precise statistical laws: globally, their density near is , and locally, they distribute equally among all allowable arithmetic progressions. The bridge between primes and analysis is built through generating functions that encode arithmetic data in their analytic properties.

The Prime Number Theorem and Dirichlet's Theorem:
  1. (Prime Number Theorem) Let denote the prime counting function. Then
meaning .
  1. (Dirichlet's Theorem) Let with . Then the arithmetic progression contains infinitely many primes. More precisely, let . Then
where is the Euler totient function.

Core Theory

Main Result

Theorem [1] (Prime Number Theorem — Analytic Form): The Riemann zeta function for extends to a meromorphic function on with a simple pole at , and satisfies for . This implies . Theorem [2] (Dirichlet's Theorem): For , let be a Dirichlet character modulo , and define the Dirichlet L-function
Then for all non-principal characters , which implies infinitely many primes in each residue class coprime to . Proof of Theorem [1] (Sketch of classical approach): Step 1: Euler product and logarithmic connection. For , the Euler product formula gives
Taking logarithms,
Step 2: Connection to prime counting. Define the Chebyshev function . By Perron's formula and Contour Integration,
for suitable . The PNT is equivalent to . Step 3: Analytic continuation. The functional equation
shows extends meromorphically to with only a simple pole at (residue 1). Step 4: Zero-free region. The critical step: showing on . For , the inequality
follows from . As , if , the left side would tend to 0, contradiction. Step 5: Shifting the contour. The zero-free region on allows shifting the integration contour in Step 2 to , picking up the residue at (which is ) and showing error terms are . Thus , which implies by partial summation. Proof of Theorem [2] (Sketch): Step 1: Orthogonality of characters. The Dirichlet characters modulo form an orthogonal basis for class functions on . By orthogonality,
Step 2: Showing . For the principal character , we have , which has a pole at . For non-principal :
  • If (quadratic), use class number formula connections
  • In general, if , analyzing near via the product formula leads to contradictions with growth estimates
Step 3: Conclusion. Since has a pole and for non-principal , the orthogonality sum shows infinitely many primes , with the asymptotic following from refined analysis. □ Common error: The PNT does NOT say , only that the ratio tends to 1. The better approximation is the logarithmic integral , which satisfies but . Also, Dirichlet's theorem requires ; there are obviously no primes for except possibly itself. Peter Gustav Lejeune Dirichlet (1837) — Proved the first deep result on primes in arithmetic progressions using the analytic properties of L-functions he introduced, creating the field of analytic number theory. x π(x) 0 50 100 150 π(x) x/log x li(x)

Examples and Applications

1

Computing π(100) and comparing with PNT approximation

The primes up to 100 are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.

Thus .

The PNT approximation gives:

The relative error is .

The better approximation via the logarithmic integral:

This overshoots but is known to be systematically higher than for small (though this pattern eventually reverses, conjecturally around by Skewes' number).

For larger values: while (error ~8%), showing convergence of the asymptotic.

2

Primes in arithmetic progressions modulo 4

Consider . The invertible residue classes are with .

Dirichlet's theorem predicts equal distribution:

For :

  • Primes : 5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97 — total: 11
  • Primes : 3, 7, 11, 19, 23, 31, 43, 47, 59, 67, 71, 79, 83 — total: 13

Prediction: for each class.

The counts (11 and 13) are close and roughly equal, as predicted. The equidistribution becomes more pronounced as increases. This connects to the fact that the non-principal character modulo 4 is , and .

Why gcd condition is necessary in Dirichlet's theorem

Consider the arithmetic progression (i.e., ). Here .

This progression contains only one prime: itself. All other terms are composite (even numbers ).

This shows the coprimality condition cannot be dropped. The underlying reason is group-theoretic: characters are defined on the unit group , and orthogonality relations only apply to invertible classes. Elements sharing a common factor with don't participate in the multiplicative structure that L-functions detect.

More generally, if , then every element of is divisible by , so at most one prime (namely if it divides ) can occur.

The sieve perspective: Imagine "sieving" the integers, removing multiples of each prime in turn (Sieve of Eratosthenes). After removing multiples of all primes up to , approximately numbers remain. By Mertens' theorems, this product behaves like for some constant , explaining the density.

For arithmetic progressions, imagine the integers arranged in columns by residue class modulo . Sieving acts independently on each column (except for primes dividing ), so primes distribute equally among the allowable columns. The L-function machinery makes this heuristic precise through harmonic analysis on the finite abelian group .

Probabilistic model: If we randomly assign each integer to be "prime" with probability , independently, we'd expect about primes up to . The PNT says the actual deterministic distribution matches this random model asymptotically—a deep instance of pseudorandomness in number theory.

Historical Development

The empirical investigation of prime distribution began with Gauss and Legendre around 1792-1798. Gauss, through extensive hand computation, conjectured that , recorded in his unpublished notes. Legendre proposed the form based on his tables.

Dirichlet proved his theorem on primes in arithmetic progressions in 1837, published in "Beweis des Satzes, dass jede unbegrenzte arithmetische Progression...". This work introduced Dirichlet characters, Dirichlet L-functions, and established the paradigm of using analytic properties (specifically non-vanishing at ) to deduce arithmetic results. His techniques relied heavily on Fourier analysis on finite abelian groups. Riemann's revolutionary 1859 paper "Über die Anzahl der Primzahlen unter einer gegebenen Größe" connected explicitly to zeros of via the explicit formula
where ranges over non-trivial zeros of . He conjectured these zeros all have real part (Riemann Hypothesis).

The first complete proof of PNT came in 1896 independently from Jacques Hadamard ("Sur la distribution des zéros de la fonction ...") and Charles-Jean de la Vallée Poussin ("Recherches analytiques sur la théorie des nombres premiers"), both using complex analysis to establish the zero-free region . Their methods were refined by Landau in his systematic treatise.

Erdős and Selberg shocked the mathematical world in 1949 by discovering elementary proofs (avoiding complex analysis), though these are technically intricate. The analytic approach remains standard for its power and generalizations.

Modern developments include effective versions (explicit error bounds), the explicit formula, connections to random matrix theory (zeros behaving like eigenvalues of random Hermitian matrices), and vast generalizations to automorphic L-functions and Langlands program.

Connections to Other Areas

Random Matrix Theory and the Montgomery-Odlyzko Law: In the 1970s, Hugh Montgomery discovered that the pair correlation of zeros of (when rescaled appropriately on the critical line) matches the pair correlation of eigenvalues of random matrices from the Gaussian Unitary Ensemble (GUE). Andrew Odlyzko's extensive numerical computations in the 1980s confirmed this with stunning precision. This connection suggests deep relationships between prime number distribution and Quantum Chaos, since GUE eigenvalues model energy levels of quantum systems with chaotic classical limits. The correspondence remains mysterious but has led to using random matrix theory to predict statistics of zeros and primes, with applications to cryptography and models in quantum physics.

What You Need First

What This Opens Up

See Also

Riemann Zeta Function · Dirichlet L-functions · Prime Number Distribution · Analytic Number Theory · Riemann Hypothesis · Sieve Theory · Explicit Formulas · Class Number Formula · Mertens Theorems · Chebyshev Functions

Before this

  • Complex Analysis — Meromorphic continuation, residue theory, and contour integration are essential for understanding the analytic proofs and the behavior of $\zeta(s)$ and $L(s, \chi)$ in the complex plane.
  • Abstract Algebra — The structure of $(\mathbb{Z}/q\mathbb{Z})^*$ as an abelian group, character theory, and orthogonality relations underpin Dirichlet's theorem and the analytic properties of L-functions.
  • Real Analysis — Asymptotic notation ($\sim$, $O$, $o$), convergence of series and products, and integration theory (particularly improper integrals like $\text{li}(x)$) are foundational throughout.

Where this leads

  • Riemann Hypothesis — The PNT is equivalent to $\zeta(s) \neq 0$ for $\Re(s) = 1$; RH concerns zeros on $\Re(s) = 1/2$ and would give optimal error bounds $\pi(x) = \text{li}(x) + O(\sqrt{x}\log x)$.
  • Class Field Theory — Dirichlet's methods generalize to [[Artin L-functions]] and [[Hecke L-functions]], where non-vanishing results connect to existence of [[Hilbert class fields]] and deep reciprocity laws.
  • Sieve Methods — Modern techniques like the [[Selberg sieve]] and [[GPY sieve]] build on PNT-type estimates to attack problems on prime gaps, [[twin primes]], and primes in sequences, leading toward [[Zhang's theorem]] and [[polymath projects]].