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:- (Prime Number Theorem) Let denote the prime counting function. Then
- (Dirichlet's Theorem) Let with . Then the arithmetic progression contains infinitely many primes. More precisely, let . Then
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- If (quadratic), use class number formula connections
- In general, if , analyzing near via the product formula leads to contradictions with growth estimates
Examples and Applications
1
Computing π(100) and comparing with PNT approximationThe 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 4Consider . 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 theoremConsider 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 formulaThe 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.