21.03.04 · number-theory / l-functions

Dirichlet density

shipped3 tiersLean: none

Anchor (Master): Serre 1973 *A Course in Arithmetic* Ch. VI §§3-4 (originator anchor for the Dirichlet-density viewpoint, with the cyclotomic / Galois-theoretic packaging carried forward in Ch. VI §3 Theorem 2); Dirichlet 1837 *Abhandl. Königl. Preuss. Akad.* 45-81 (originator of primes-in-AP in density-counting form); Chebotarev 1922 *Math. Ann.* 95, 191-228 (Chebotarev density theorem; Galois-theoretic generalisation); Hecke 1918 *Math. Z.* 1, 357-376 + 1920 *Math. Z.* 6, 11-51 (Hecke $L$-functions for number fields, the analytic-continuation engine driving Chebotarev); Tate 1950 Princeton PhD thesis (published in Cassels-Fröhlich 1967 *Algebraic Number Theory* Ch. XV, 305-347; adelic / Fourier-analytic reformulation, idele-class-group zeta integrals); Lang 1994 *Algebraic Number Theory* (Springer GTM 110, 2nd ed.) Ch. VIII (modern proof of the Chebotarev density theorem from Hecke / Artin $L$); Neukirch 1999 *Algebraic Number Theory* (Springer Grundlehren 322) Ch. VII §13 (Chebotarev + density formula in modern form); Iwaniec-Kowalski 2004 *Analytic Number Theory* (AMS Colloquium 53) Ch. 5 §5.6 (quantitative versions, the PNT in arithmetic progressions); Davenport 2000 *Multiplicative Number Theory* (Springer GTM 74) Ch. 7; Bump 1997 *Automorphic Forms and Representations* (Cambridge Studies in Advanced Mathematics 55) Ch. 1, 3 (Tate-thesis density viewpoint)

Intuition Beginner

A long-standing question in number theory is not just whether there are infinitely many primes, but how the primes distribute across residue classes. Among the integers up to a million, roughly a quarter are congruent to modulo and roughly another quarter to modulo . Are the primes inside those classes distributed in the same proportion? Dirichlet proved in 1837 that yes, every residue class coprime to the modulus contains infinitely many primes, and the share each class receives is exactly .

To make this share precise one needs a notion of density on the primes. Counting "how many primes up to lie in the class" gives natural density. Dirichlet introduced a different gadget — weight each prime by , sum the weights over the class, and compare with the sum over all primes, then let approach from above. The weighted ratio has a limit, and that limit is the Dirichlet density of the class.

Why bother with this weighted version when the unweighted count is simpler to picture? Because the weighted sum connects directly to the logarithm of an -function, and the -function lets analytic tools settle a question about whole numbers. The natural density is what you would measure with a sieve; the Dirichlet density is what analysis hands you.

Visual Beginner

The picture is the simplest informative case: primes mod . Below the modulus there are two coprime residue classes, namely and . List the primes in each class up to some bound and the lists fill up at roughly equal rates: on the -side and on the -side. Both lists grow without bound, and Dirichlet's density formula predicts that the long-run share each side receives is one half.

The diagram is a finite snapshot. The density formula is a statement about the asymptotic share each colour receives as the snapshot grows. The weighting is what makes the limit computable: as the denominator diverges like , the numerator on each side diverges like the same logarithm times , and the ratio approaches in the limit.

Worked example Beginner

Compute the Dirichlet density of the primes congruent to and verify it equals .

Step 1. Set up the character. Use the non-principal character mod with , , and for even. Then the indicator of "is congruent to mod ?" on primes larger than equals : when the character value is and the indicator is ; when the character value is and the indicator is .

Step 2. Weight each prime by and add. For each odd prime , the contribution from the class equals times . So the total weighted contribution from the class is one half of the weighted total over all odd primes, plus one half of the character-twisted weighted total over odd primes.

Step 3. Compare the two pieces at . The unweighted prime-sum diverges like as decreases to (an asymptotic that follows from the logarithm of the Euler product for the Riemann zeta function). The character-twisted version stays bounded as approaches , because the Dirichlet -function is continuous near with (the Leibniz identity ).

Step 4. Take the ratio. The Dirichlet density of the class is the limit as of the ratio of the class-restricted weighted total to the all-primes weighted total. The class-restricted weighted total grows like plus a bounded piece, the all-primes weighted total grows like plus a bounded piece, and the ratio approaches in the limit. The bounded pieces wash out; the orthogonality factor survives.

Step 5. Compare with natural density. The prime-number theorem in arithmetic progressions (de la Vallée Poussin 1896) gives the count as grows, matching in the limit. So the natural density of the class is also , equal to the Dirichlet density. For , eleven primes lie in the class (compared with the prediction of , close to the actual count).

What this tells us: the share of primes in a residue class modulo is exactly one half, both in the analytic Dirichlet-density sense and in the counting natural-density sense. The same argument with modulus and any residue coprime to replaces the factor with .

Check your understanding Beginner

Formal definition Intermediate+

Throughout, ranges over primes in and denotes a real variable approaching from above (or, when convenient, a complex variable with ).

Definition (Dirichlet density). Let be a set of primes. The Dirichlet density of is $$ d(A) := \lim_{s \to 1^+} \frac{\sum_{p \in A} p^{-s}}{\sum_p p^{-s}}, $$ provided the limit exists. The denominator is a divergent series at , so the ratio is interpreted by the prior assertion that the limit makes sense; equivalent normalisations replace the denominator by via the asymptotic recorded below.

Proposition (singular asymptotic; Serre Ch. VI §3 Proposition 1). As , $$ \sum_p p^{-s} = \log \frac{1}{s - 1} + O(1). $$

Sketch. Take the logarithm of the Euler product for on : $$ \log \zeta(s) = \sum_p -\log(1 - p^{-s}) = \sum_p \sum_{n \geq 1} \frac{p^{-ns}}{n} = \sum_p p^{-s} + R(s), $$ where the remainder is bounded as : the inner sum is dominated by for , so uniformly on . The singular term at (simple pole, residue ) gives , and isolating the prime sum produces the claimed asymptotic.

Definition (equivalent form). Using the proposition, the Dirichlet density is equivalently $$ d(A) = \lim_{s \to 1^+} \frac{\sum_{p \in A} p^{-s}}{\log \frac{1}{s - 1}}, $$ when the limit exists, since the denominator differs from by and the numerator-side bounded perturbations are absorbed by the divergence of .

Definition (natural density). Let be a set of primes. The natural density of is $$ \delta(A) := \lim_{x \to \infty} \frac{|{p \in A : p \leq x}|}{\pi(x)}, $$ provided the limit exists, where is the prime counting function.

Proposition (natural density implies Dirichlet density). If exists, then exists and .

Proof. Write . By Abel summation, $$ \sum_{p \in A} p^{-s} = s \int_2^\infty \pi_A(x) x^{-s - 1} dx $$ for (the boundary term vanishes since as for ). Hypothesis as gives $$ \sum_{p \in A} p^{-s} = \delta(A) \cdot s \int_2^\infty \pi(x) x^{-s-1} dx + s \int_2^\infty o(\pi(x)) x^{-s-1} dx. $$ The first integral, again by Abel summation, equals . The error integral is as by the dominated convergence theorem applied to the ratio . Dividing by and taking yields .

Non-example (the converse fails). Order the primes and let . The set contains the first half of every block of length for even and the empty half for odd . The counts oscillate between and as traverses successive blocks, so natural density does not exist. By contrast, the Dirichlet density of does exist and equals : the weighted sum averages over the oscillation as , since the contribution of each block to the weighted sum is roughly its share of the total prime mass within the block, and the geometric weight smooths out the block-wise oscillation. Constructions of this kind (Pólya, Knapowski-Turán) show that Dirichlet density is strictly weaker than natural density.

Sign convention. Dirichlet density takes values in for any subset of the primes, with , , and finite additivity: when and the two individual densities exist. Sub-additivity in general: when both exist.

Counterexamples to common slips

  • "Dirichlet density of for finite is -dependent." A finite set of primes has Dirichlet density , since is bounded as while diverges. Only infinite sets can have non-zero Dirichlet density.

  • "Every set of primes has a Dirichlet density." There are sets of primes for which the limit does not exist — the construction above is one example, but one can sharpen it so that the Dirichlet-density limit itself oscillates. The notion is partial. In the situations of interest (cosets of , Frobenius classes in Galois groups), the limit exists by character analysis.

  • "The natural density is more refined than the Dirichlet density." The natural density is strictly stronger as a hypothesis (it has more existence-failure modes), but both notions, when they exist, return the same value. Dirichlet density is the broader notion: it returns answers in situations where natural density does not converge.

Key theorem with proof Intermediate+

The signature theorem of this unit is Dirichlet's theorem on primes in arithmetic progressions, in density form, as packaged in Serre's A Course in Arithmetic Ch. VI [Ch. VI §3 Theorem 2]. The non-vanishing for non-principal Dirichlet is taken as the analytic input — it is the signature theorem of the sibling unit 21.03.02 (Dirichlet -functions), proved there.

Theorem (Dirichlet density of an arithmetic progression; Dirichlet 1837, Serre Ch. VI Theorem 2). Let and with . Then the set of primes has Dirichlet density $$ d(P_{a, m}) = \frac{1}{\varphi(m)}, $$ where is the Euler totient. In particular, is infinite.

Proof. Let denote the set of Dirichlet characters modulo , a finite abelian group of order under pointwise multiplication. The orthogonality relation for characters gives, for any prime coprime to , $$ \frac{1}{\varphi(m)} \sum_{\chi \in X} \overline{\chi(a)} \chi(p) = \begin{cases} 1 & p \equiv a \pmod m, \ 0 & p \not\equiv a \pmod m. \end{cases} $$ The identity follows from the duality applied to in .

Sum against this indicator. For , $$ \sum_{p \in P_{a, m}} p^{-s} = \frac{1}{\varphi(m)} \sum_{\chi \in X} \overline{\chi(a)} \sum_{p \nmid m} \chi(p) p^{-s}. $$ The inner sum is taken only over primes , since for . The contribution of primes to the left-hand side is a finite sum (the set of primes dividing is finite), bounded as .

The character-twisted prime sum on the right has two regimes. Principal character : for , so by the singular asymptotic, since is a bounded finite sum.

Non-principal character : the Euler product $$ L(s, \chi) = \prod_{p \nmid m} (1 - \chi(p) p^{-s})^{-1} $$ holds for and gives the logarithmic expansion $$ \log L(s, \chi) = \sum_{p \nmid m} \sum_{n \geq 1} \frac{\chi(p)^n}{n p^{ns}} = \sum_{p \nmid m} \chi(p) p^{-s} + R_\chi(s), $$ with the same tail bound as in the singular asymptotic. The non-vanishing theorem for non-principal (proved in 21.03.02 using the Landau theorem in the complex-character case and the class-number formula in the real-character case) plus the fact that extends to a function holomorphic at for non-principal (also proved there) imply that is bounded as — a value at exists and the function is continuous near . Therefore $$ \sum_{p \nmid m} \chi(p) p^{-s} = O(1) \qquad \text{as } s \to 1^+, \text{ for non-principal } \chi. $$

Assemble the two regimes. The principal-character term contributes $$ \frac{1}{\varphi(m)} \overline{\chi_0(a)} \sum_{p \nmid m} \chi_0(p) p^{-s} = \frac{1}{\varphi(m)} \log \frac{1}{s - 1} + O(1), $$ since (as ). Each non-principal character contributes , and there are such characters. Adding, $$ \sum_{p \in P_{a, m}} p^{-s} = \frac{1}{\varphi(m)} \log \frac{1}{s - 1} + O(1) \qquad \text{as } s \to 1^+. $$ Dividing by and taking yields $$ d(P_{a, m}) = \lim_{s \to 1^+} \frac{\frac{1}{\varphi(m)} \log(1/(s - 1)) + O(1)}{\log(1/(s - 1)) + O(1)} = \frac{1}{\varphi(m)}, $$ which is the density formula. Since the density is strictly positive, the set is infinite — the original statement of Dirichlet 1837.

Bridge. Dirichlet's density theorem builds toward 21.03.03 (Dedekind, Hecke, and Artin -functions), where the same logarithmic-singularity analysis applies to the Dedekind zeta of an extension number field and produces the Chebotarev density theorem — the foundational reason the prime-Frobenius distribution is governed by Galois-group conjugacy classes. The bridge is the recognition that orthogonality of characters of packages the indicator of a residue class as a sum that the -function analysis can probe, and the central insight is that the non-vanishing controls everything else: every non-principal character contributes a bounded perturbation, the principal character carries the full logarithmic divergence, and the share-by-character-orthogonality count pops out. This is exactly the structural pattern that appears again in 21.03.03 under the heading of Chebotarev density, generalises through the Hecke and Artin -function frameworks (with the conjugacy-class share replacing ), and the foundational reason this works is that an -function value at is a residue computation that survives orthogonality averaging. Putting these together, one analytic input — the non-vanishing of at — drives an entire family of density theorems for primes in residue classes, Frobenius conjugacy classes, and idele-class-group cosets.

Exercises Intermediate+

Lean formalization Intermediate+

Mathlib has the partial Dirichlet-character infrastructure in Mathlib.NumberTheory.DirichletCharacter.Basic and a partial Riemann-zeta apparatus in Codex.NumberTheory.LFunctions.RiemannZeta, but ships no named Dirichlet-density theorem. The intended formalisation reads schematically:

import Mathlib.NumberTheory.DirichletCharacter.Basic
import Codex.NumberTheory.LFunctions.RiemannZeta
import Codex.NumberTheory.LFunctions.DirichletL

/-- Dirichlet density of a set of primes, when the limit exists. -/
noncomputable def dirichletDensity (A : Set Nat) : ℝ := sorry
  -- defined as `Filter.lim (𝓝[>] 1) (fun s => (∑ p ∈ A.filter Nat.Prime, (p : ℝ)^(-s))
  --                                            / (∑ p ∈ Nat.Prime, (p : ℝ)^(-s)))`

/-- Singular asymptotic: ∑_p p^(-s) ~ log(1/(s-1)) as s → 1^+. -/
theorem prime_sum_singular_asymptotic :
    ∀ ε > 0, ∃ δ > 0, ∀ s, 1 < s → s < 1 + δ →
      |(∑ p in (Nat.Prime.range s), (p : ℝ)^(-s)) - Real.log (1 / (s - 1))| < ε :=
  sorry

/-- Primes in arithmetic progression have Dirichlet density 1/φ(m). -/
theorem dirichlet_density_arithmetic_progression
    (m : Nat) (a : Nat) (hcop : Nat.Coprime a m) :
    dirichletDensity {p | p.Prime ∧ p ≡ a [MOD m]} = 1 / (Nat.totient m) :=
  sorry
  -- proof: orthogonality of Dirichlet characters + non-vanishing L(1, χ) ≠ 0
  -- (the latter is `L_nonvanish_at_one` in DirichletL)

The proof gap is substantial. Mathlib needs: the singular asymptotic as , derived from the Euler product for and subdominance of the tail; Dirichlet density itself as a limit in the filter ; the orthogonality-average derivation of the density formula from the (also-unformalised) non-vanishing ; and the Abel-summation comparison establishing direction. The Chebotarev density theorem is a further target, predicated on a complete Hecke / Artin -function infrastructure not currently in Mathlib.

Advanced results Master

Chebotarev density theorem and the Galois generalisation

Theorem (Chebotarev density theorem; Chebotarev 1922 Math. Ann. 95). Let be a finite Galois extension of number fields with Galois group , and let be a conjugacy class. The set of unramified primes of whose Frobenius element (well-defined as a conjugacy class) has Dirichlet density $$ d\big({\mathfrak{p} : \mathrm{Frob}_\mathfrak{p} \in C}\big) = \frac{|C|}{|G|}. $$

The theorem extends Dirichlet's theorem from cyclotomic extensions to arbitrary finite Galois extensions of number fields. The proof, modulo Hecke / Artin -function infrastructure, follows the same orthogonality-average pattern: the indicator of the conjugacy class is expressed as a sum over irreducible characters of via the orthogonality of characters of finite groups, and the analytic input is the holomorphy and non-vanishing of at for different from the principal character. The non-principal irreducible characters are handled via Brauer induction (Brauer 1947), reducing to one-dimensional characters which are themselves Hecke / Dirichlet characters by class field theory (Artin reciprocity, Artin 1927).

The Chebotarev density theorem is the structural reason every density question about primes in number fields can be reduced to a Galois-theoretic question about the distribution of Frobenius elements. Applications include: density of primes representing a given binary quadratic form (Lagrange-Gauss), density of primes splitting in a given extension (equivalently, density of primes whose Frobenius is the identity, which by Chebotarev is ), and density of supersingular primes for an elliptic curve (CM case gives density by Chebotarev applied to the Galois closure of the CM order).

Connection to the analytic class number formula

The Dirichlet-density theorem records the leading-order behaviour of an residue analysis, but the same residue analysis carries deeper information. The analytic class number formula of Dirichlet (1839/40 Crelle's Journal 19, 21) [source pending] relates the residue of the Dedekind zeta function to the class number and regulator: for a number field of degree over , $$ \mathrm{res}_{s = 1} \zeta_K(s) = \frac{2^{r_1} (2\pi)^{r_2} h_K R_K}{w_K \sqrt{|d_K|}}, $$ with the class number, the regulator, the number of roots of unity, and the discriminant. The formula refines the leading singularity from a " share of unity" to an arithmetic identity coupling five invariants of the number field to the analytic residue. Dirichlet originally proved both his density theorem and this formula together — the non-vanishing in the real-character case follows from the strict positivity of the right-hand side via Artin's factorisation for the quadratic field .

Tate's thesis and the adelic viewpoint

Tate's thesis (Tate 1950, published in Cassels-Fröhlich 1967, Ch. XV) [source pending] recasts the entire Dirichlet / Hecke -function machinery as a Fourier-analytic computation on the idele class group of a number field. The starting point is the global zeta integral $$ Z(s, \chi, f) = \int_{\mathbb{A}_K^\times} f(x) \chi(x) |x|^s d^\times x, $$ where is a Schwartz-Bruhat function on and is a Hecke character. For an appropriate choice of , the zeta integral specialises to a Hecke -function with archimedean Gamma factors; the functional equation follows from Pontryagin self-duality of the adeles and the Poisson summation formula on the discrete subgroup .

The Dirichlet density of a set of primes , in this framework, is the residue at of the partial zeta integral against the indicator function of on the finite-place part of the idele class group, divided by the residue at of the full zeta integral. The orthogonality-average derivation of becomes a Fourier-inversion on the finite quotient at finite level. The Chebotarev density theorem becomes the Plancherel theorem on the Galois-extension idele class group, with the Frobenius-class indicator decomposed across irreducible representations of . The adelic viewpoint is the foundational reason every density theorem in number theory is part of one structural framework.

The Tate-thesis reformulation appears again in 21.03.03 (Dedekind, Hecke, Artin -functions) and forms the -prototype of the Langlands programme; it builds toward the higher-rank automorphic -functions where density theorems of Sato-Tate type (density of Frobenius eigenvalue distribution in -conjugacy classes) generalise Chebotarev to non-abelian Galois representations.

Quantitative density: the PNT in arithmetic progressions

The Dirichlet-density theorem is qualitative — it says exists. The quantitative refinement is the prime-number theorem in arithmetic progressions (de la Vallée Poussin 1896 in the modulus-fixed case; Page 1935 and Siegel 1935 uniformly in modulus, with the ineffective Siegel bound): $$ \pi(x; m, a) := |{p \leq x : p \equiv a \pmod m}| = \frac{1}{\varphi(m)} \frac{x}{\log x} + O!\left(\frac{x}{(\log x)^2}\right) \qquad (x \to \infty, , m \text{ fixed}). $$

The error term sharpens with the zero-free region of via the explicit formula. Siegel's theorem (Siegel 1935) gives an effective error uniformly for for any , but only ineffectively when allowed to depend on . Linnik's theorem (Linnik 1944 Mat. Sb. 15) [source pending] bounds the least prime by for an absolute constant , now (Xylouris 2011 Acta Arith. 150); conjecturally under the generalised Riemann hypothesis.

The qualitative-quantitative gap is real. Dirichlet density tells you the share is in the limit; PNT in AP tells you the share is approached at a definite rate, with an error controlled by the zero-free region. Sieve methods (Bombieri-Vinogradov 1965, the large sieve) extend the uniform-modulus regime, and the equidistribution of primes in arithmetic progressions is one of the central open questions of analytic number theory under the Elliott-Halberstam conjecture and the Generalised Riemann Hypothesis for Dirichlet -functions.

Synthesis. Dirichlet density is the foundational tool that builds toward every density theorem for primes in number theory, and the central insight is that the singular behaviour of at — namely — combines with orthogonality of characters and the non-vanishing of at to extract the share that an arithmetic progression captures of the total prime mass. This is exactly the structural pattern that appears again in 21.03.03 (Dedekind, Hecke, Artin -functions) under the heading of the Chebotarev density theorem, generalises through the analytic class number formula whose residue analysis refines the leading singularity to a full arithmetic identity, and is dual to the Tate-thesis viewpoint that recasts the entire density framework as a Plancherel computation on the idele class group.

Putting these together, the Dirichlet-density / Chebotarev / Tate-thesis chain identifies the analytic kernel of every number-theoretic density question with the residue of a zeta integral at , and the central insight is that this residue is governed by a single non-vanishing statement: for non-principal Hecke characters. The foundational reason this works is that an -function is the analytic continuation of a Dirichlet series whose Euler factors encode multiplicative structure on the primes, and the bridge is the recognition that the share of primes captured by a conjugacy class is the average of the irreducible characters of evaluated against , weighted by the analytic input from the corresponding Hecke / Artin -functions. This pattern recurs in higher rank: the Sato-Tate density (Frobenius eigenvalue distribution in -conjugacy classes for elliptic curves over , proved by Clozel-Harris-Shepherd-Barron-Taylor 2008), the Langlands density questions for automorphic -functions, and the equidistribution of Hecke eigenvalues on -automorphic forms all share the same residue-at- analytic engine.

Full proof set Master

Theorem (Dirichlet's density formula), proof. Given in the Intermediate-tier section above: orthogonality of characters reduces the residue-class indicator to a sum over the character group of , the principal-character contribution gives the full divergence at , every non-principal-character contribution is bounded by the non-vanishing , and division by extracts the share .

Theorem (singular asymptotic ), full proof. Begin with the Euler product valid for . Take the logarithm: $$ \log \zeta(s) = \sum_p -\log(1 - p^{-s}) = \sum_p \sum_{n \geq 1} \frac{p^{-ns}}{n}. $$ Split the inner sum at : $$ \log \zeta(s) = \sum_p p^{-s} + \sum_p \sum_{n \geq 2} \frac{p^{-ns}}{n} =: \sum_p p^{-s} + R(s). $$ Bound the remainder. For each prime , the inner sum is geometric-dominated: $$ \sum_{n \geq 2} \frac{p^{-ns}}{n} \leq \sum_{n \geq 2} p^{-ns} = \frac{p^{-2s}}{1 - p^{-s}} \leq \frac{p^{-2}}{1 - 2^{-1}} = 2 p^{-2} $$ for . Summing over primes, $$ |R(s)| \leq 2 \sum_p p^{-2} \leq 2 \sum_{n \geq 2} n^{-2} = 2(\zeta(2) - 1) < 2. $$ So as .

On the other side, as (simple pole with residue , Euler-Mascheroni constant as the next term). Taking logarithms, $$ \log \zeta(s) = \log \frac{1}{s - 1} + \log(1 + \gamma(s - 1) + O((s - 1)^2)) = \log \frac{1}{s - 1} + O(1) $$ as . Subtracting the bounded , $$ \sum_p p^{-s} = \log \zeta(s) - R(s) = \log \frac{1}{s - 1} + O(1). \quad \square $$

Theorem (natural density implies Dirichlet density), full proof. Suppose exists. Set and . Hypothesis: as .

Apply Abel summation. For , $$ \sum_{p \in A} p^{-s} = \sum_{p \in A} \int_p^\infty s t^{-s - 1} dt = s \int_2^\infty \pi_A(t) t^{-s - 1} dt, $$ where we have used and interchanged sum and integral via Fubini (justified by absolute convergence for ). Substituting the asymptotic , $$ \sum_{p \in A} p^{-s} = \delta \cdot s \int_2^\infty \pi(t) t^{-s - 1} dt + s \int_2^\infty o(\pi(t)) t^{-s - 1} dt. $$ The first integral is exactly by the same Abel summation applied to the full prime set. The error integral: write with . Then $$ \frac{s \int_2^\infty \varepsilon(t) \pi(t) t^{-s - 1} dt}{\sum_p p^{-s}} = \frac{\int_2^\infty \varepsilon(t) \pi(t) t^{-s - 1} dt}{\int_2^\infty \pi(t) t^{-s - 1} dt} \to 0 \quad (s \to 1^+), $$ since the integrands are dominated by (integrable for ), the ratio as , and as the measure concentrates on . (Apply dominated convergence after normalising.)

Therefore $$ \frac{\sum_{p \in A} p^{-s}}{\sum_p p^{-s}} = \delta + o(1) \quad (s \to 1^+), $$ and .

Theorem (worked example: ), proof. Apply the Dirichlet-density formula with , , : the density is . Explicitly, the two Dirichlet characters mod are (principal, value on and elsewhere) and (non-principal real, , , ). The orthogonality average for the indicator of is . Summing : $$ \sum_{p \equiv 1 \bmod 4} p^{-s} = \tfrac{1}{2} \sum_p \chi_0(p) p^{-s} + \tfrac{1}{2} \sum_p \chi_1(p) p^{-s}. $$ First sum: . Second sum: from the Euler-product log, and extends to a function holomorphic on with (Leibniz 1674 / Madhava ca. 1400). So stays bounded as , and the second sum contributes . Adding, $$ \sum_{p \equiv 1 \bmod 4} p^{-s} = \tfrac{1}{2} \log \frac{1}{s - 1} + O(1). $$ Dividing by and taking gives .

Theorem (Chebotarev density theorem), stated without proof — see Lang 1994 Algebraic Number Theory (GTM 110, 2nd ed.) Ch. VIII or Neukirch 1999 Ch. VII §13 [source pending]. The full proof requires the analytic continuation, holomorphy at , and non-vanishing of Hecke and Artin -functions for non-principal irreducible characters of , plus Brauer induction to reduce higher-dimensional characters to one-dimensional ones (which are Hecke characters by Artin reciprocity, Artin 1927). The orthogonality-average pattern then runs identically to the Dirichlet case, with replacing as the principal-character share.

Connections Master

  • Dirichlet -functions 21.03.02. The Dirichlet-density theorem is downstream of the non-vanishing for non-principal characters; that non-vanishing is the only analytic input the density argument requires. The sibling unit proves the non-vanishing in two cases (complex characters via the Landau positive-coefficient theorem, real characters via the analytic class number formula); this unit consumes the result and extracts the density formula via orthogonality of characters. The bridge between the two units is the recognition that the analytic behaviour of at controls the distribution of primes across residue classes.

  • Riemann zeta function 21.03.01. The singular asymptotic as is the foundational input that makes Dirichlet density well-defined. The asymptotic is derived from via the Euler product and subdominance of the tail. Every density theorem in number theory begins with this singular-behaviour analysis, and the Riemann zeta function is the universal denominator against which other prime sums are compared.

  • Dedekind / Hecke / Artin -functions 21.03.03. The Chebotarev density theorem is the Galois generalisation of Dirichlet's density formula, and the analytic input is the holomorphy and non-vanishing at of Hecke and Artin -functions for non-principal characters of the Galois group. The sibling unit develops the Hecke / Artin -function framework that the Chebotarev proof consumes; this unit consumes a slice of the framework at the level of cyclotomic extensions, and the connection between the two is the recognition that the Galois group identifies Dirichlet characters with one-dimensional Galois characters.

  • Modular forms on 21.04.01. The same residue-at- analytic engine drives the Sato-Tate density of Frobenius eigenvalues for modular newforms, generalising Dirichlet density from (residue classes) to (Frobenius eigenvalue distribution in -conjugacy classes). The forward connection: density theorems for modular -functions are the higher-rank analogues of Dirichlet's density theorem, and the analytic continuation / non-vanishing input is supplied by the modular-forms unit and its Hecke-operator successors.

  • Infinite series convergence 02.03.03. The analytic prerequisite for Dirichlet density is the convergence of the prime sum on , which is the simplest case of a Dirichlet series convergence theorem. The sibling unit on infinite-series convergence provides the foundational tools (comparison test, Dirichlet test, Abel summation) that the density-formula proof uses repeatedly.

Historical & philosophical context Master

Dirichlet stated and proved the theorem on primes in arithmetic progressions in 1837 in the Abhandlungen der Königlich Preussischen Akademie der Wissenschaften zu Berlin [Dirichlet 1837]. The proof was the first time in mathematics that complex analysis (or its real-variable precursor in Dirichlet's hands) was applied to settle a question about whole numbers; it established analytic number theory as a discipline. Dirichlet introduced characters (the term character and the formalism are his), constructed the -series , proved the non-vanishing for non-principal , and derived the infinitude of primes in any arithmetic progression with . The 1837 paper does not use the modern definition of Dirichlet density in the form ; Dirichlet's argument proceeds via the divergence as , which is logically equivalent but does not extract the rate. The density-rate refinement, namely , is implicit in the 1837 argument and made explicit in subsequent treatments (Dirichlet 1839/40 Crelle's Journal 19, 21 for the class-number formula refinement [Dirichlet 1839]).

The density-theoretic packaging emerged later. Chebotarev's 1922 paper in Mathematische Annalen [Chebotarev 1922], Die Bestimmung der Dichtigkeit einer Menge von Primzahlen, welche zu einer gegebenen Substitutionsklasse gehören, generalised Dirichlet's theorem from cyclotomic extensions to arbitrary finite Galois extensions , with the share of primes whose Frobenius lies in a conjugacy class given by . Chebotarev's original proof used an indirect reduction to cyclotomic extensions; the analytic proof via Hecke / Artin -functions was filled in by Artin 1924 (the analytic argument, though Artin's 1923 paper on Artin -functions [source pending] predates Chebotarev's publication). Hecke's 1918 and 1920 Mathematische Zeitschrift papers [Hecke 1918] provided the technical Hecke -function infrastructure — analytic continuation, functional equation via theta inversion, non-vanishing at — on which Chebotarev's analytic proof depends. The cyclotomic special case proves the strongest possible version of Dirichlet's theorem via the route Chebotarev intended; Artin 1927 Hamburg Abh. 5 [Artin 1927] completed the picture with Artin reciprocity, identifying one-dimensional Artin -functions with Hecke on the idele class group.

Tate's 1950 Princeton PhD thesis, Fourier analysis in number fields and Hecke's zeta functions, published in Cassels-Fröhlich 1967 [Tate 1950], recast the entire Dirichlet / Hecke -function framework as global zeta integrals on the idele class group , with the functional equation derived from Pontryagin self-duality of the adeles and Poisson summation on the discrete subgroup . In this framework, Dirichlet density is the residue at of a zeta integral, the orthogonality of characters becomes Fourier inversion on a finite quotient of the idele class group, and the Chebotarev density theorem is the Plancherel theorem on the Galois-extension idele class group. The Tate-thesis reformulation is the foundational ancestor of the Langlands programme, which extends the density framework to higher-rank automorphic -functions (Sato-Tate density for elliptic curves over , proved by Clozel-Harris-Shepherd-Barron-Taylor 2008-2010 Publ. Math. IHES; Langlands functoriality density questions still largely open). The modern textbook accounts in Lang 1994 Algebraic Number Theory Ch. VIII [Lang 1994], Neukirch 1999 Algebraic Number Theory Ch. VII §13 [Neukirch 1999], and Bump 1997 Automorphic Forms and Representations Ch. 1, 3 [Bump 1997] present the Dirichlet / Chebotarev / Tate-thesis chain as one structural framework with the orthogonality of characters / Plancherel theorem as the analytic engine.

Bibliography Master

@article{Dirichlet1837,
  author  = {Dirichlet, Peter Gustav Lejeune},
  title   = {Beweis des Satzes, dass jede unbegrenzte arithmetische Progression, deren erstes Glied und Differenz ganze Zahlen ohne gemeinschaftlichen Factor sind, unendlich viele Primzahlen enth{\"a}lt},
  journal = {Abhandlungen der K{\"o}niglich Preussischen Akademie der Wissenschaften zu Berlin},
  year    = {1837},
  pages   = {45--81}
}

@article{Dirichlet1839CrelleClassNumber,
  author  = {Dirichlet, Peter Gustav Lejeune},
  title   = {Recherches sur diverses applications de l'analyse infinit{\'e}simale {\`a} la th{\'e}orie des nombres},
  journal = {Journal f{\"u}r die reine und angewandte Mathematik (Crelle's Journal)},
  volume  = {19},
  year    = {1839},
  pages   = {324--369}
}

@article{Chebotarev1922,
  author  = {Chebotarev, Nikolai G.},
  title   = {Die Bestimmung der Dichtigkeit einer Menge von Primzahlen, welche zu einer gegebenen Substitutionsklasse geh{\"o}ren},
  journal = {Mathematische Annalen},
  volume  = {95},
  year    = {1922},
  pages   = {191--228}
}

@article{Hecke1918,
  author  = {Hecke, Erich},
  title   = {Eine neue Art von Zetafunktionen und ihre Beziehungen zur Verteilung der Primzahlen, I},
  journal = {Mathematische Zeitschrift},
  volume  = {1},
  year    = {1918},
  pages   = {357--376}
}

@article{Hecke1920,
  author  = {Hecke, Erich},
  title   = {Eine neue Art von Zetafunktionen und ihre Beziehungen zur Verteilung der Primzahlen, II},
  journal = {Mathematische Zeitschrift},
  volume  = {6},
  year    = {1920},
  pages   = {11--51}
}

@article{Artin1923,
  author  = {Artin, Emil},
  title   = {{\"U}ber eine neue Art von $L$-Reihen},
  journal = {Abhandlungen aus dem Mathematischen Seminar der Universit{\"a}t Hamburg},
  volume  = {3},
  year    = {1923},
  pages   = {89--108}
}

@article{Artin1927Reciprocity,
  author  = {Artin, Emil},
  title   = {Beweis des allgemeinen Reziprozit{\"a}tsgesetzes},
  journal = {Abhandlungen aus dem Mathematischen Seminar der Universit{\"a}t Hamburg},
  volume  = {5},
  year    = {1927},
  pages   = {353--363}
}

@phdthesis{Tate1950Thesis,
  author = {Tate, John T.},
  title  = {Fourier Analysis in Number Fields and Hecke's Zeta-Functions},
  school = {Princeton University},
  year   = {1950},
  note   = {Reprinted in Cassels-Fr{\"o}hlich (eds.) \textit{Algebraic Number Theory}, Thompson Book Co., Washington, 1967, Ch. XV, 305--347}
}

@book{Serre1973CourseArithmetic,
  author    = {Serre, Jean-Pierre},
  title     = {A Course in Arithmetic},
  publisher = {Springer-Verlag},
  series    = {Graduate Texts in Mathematics},
  volume    = {7},
  year      = {1973}
}

@book{Lang1994ANT,
  author    = {Lang, Serge},
  title     = {Algebraic Number Theory},
  publisher = {Springer-Verlag},
  series    = {Graduate Texts in Mathematics},
  volume    = {110},
  edition   = {2},
  year      = {1994}
}

@book{Neukirch1999ANT,
  author    = {Neukirch, J{\"u}rgen},
  title     = {Algebraic Number Theory},
  publisher = {Springer-Verlag},
  series    = {Grundlehren der mathematischen Wissenschaften},
  volume    = {322},
  year      = {1999}
}

@book{Apostol1976IntroANT,
  author    = {Apostol, Tom M.},
  title     = {Introduction to Analytic Number Theory},
  publisher = {Springer-Verlag},
  series    = {Undergraduate Texts in Mathematics},
  year      = {1976}
}

@book{Davenport2000MNT,
  author    = {Davenport, Harold},
  title     = {Multiplicative Number Theory},
  publisher = {Springer-Verlag},
  series    = {Graduate Texts in Mathematics},
  volume    = {74},
  edition   = {3},
  year      = {2000},
  note     = {Revised by Hugh L. Montgomery}
}

@book{IwaniecKowalski2004,
  author    = {Iwaniec, Henryk and Kowalski, Emmanuel},
  title     = {Analytic Number Theory},
  publisher = {American Mathematical Society},
  series    = {Colloquium Publications},
  volume    = {53},
  year      = {2004}
}

@book{Bump1997Automorphic,
  author    = {Bump, Daniel},
  title     = {Automorphic Forms and Representations},
  publisher = {Cambridge University Press},
  series    = {Cambridge Studies in Advanced Mathematics},
  volume    = {55},
  year      = {1997}
}

@article{Linnik1944,
  author  = {Linnik, Yuri V.},
  title   = {On the least prime in an arithmetic progression, I, II},
  journal = {Recueil Math{\'e}matique (Mat. Sbornik) N.S.},
  volume  = {15(57)},
  year    = {1944},
  pages   = {139--178, 347--368}
}

@article{ClozelHarrisShepherdBarronTaylor2008SatoTate,
  author  = {Clozel, Laurent and Harris, Michael and Shepherd-Barron, Nicholas and Taylor, Richard},
  title   = {A family of Calabi-Yau varieties and potential automorphy, I, II, III},
  journal = {Publ. Math. IH{\'E}S},
  year    = {2008--2010},
  note    = {Sato-Tate conjecture for elliptic curves over $\mathbb{Q}$ without CM}
}