Mathwords logoMathwords

Dirichlet L-Function — Definition, Formula & Example

A Dirichlet L-function is a version of the Riemann zeta function that adds up 1/ns1/n^s with a weight attached to each term. Each weight depends only on n modulo a fixed whole number q, so the function tracks how primes spread among remainder classes mod q.

Let χ\chi be a Dirichlet character modulo qq. This is a function χ:Z→C\chi: \mathbb{Z} \to \mathbb{C} that is completely multiplicative and periodic with period qq, with χ(n)=0\chi(n) = 0 when gcd⁡(n,q)>1\gcd(n, q) > 1 and χ(n)≠0\chi(n) \neq 0 otherwise. The Dirichlet L-function of χ\chi is L(s,χ)=∑n=1∞χ(n) n−sL(s, \chi) = \sum_{n=1}^{\infty} \chi(n)\, n^{-s}. The series converges absolutely for complex ss with Re⁡(s)>1\operatorname{Re}(s) > 1. It extends by analytic continuation to a meromorphic function on all of C\mathbb{C}. That function is entire unless χ\chi is principal, in which case it has a simple pole at s=1s = 1.

Key Formula

L(s,χ)=∑n=1∞χ(n)ns=∏p prime11−χ(p) p−s,Re⁡(s)>1L(s,\chi) = \sum_{n=1}^{\infty} \frac{\chi(n)}{n^{s}} = \prod_{p\ \text{prime}} \frac{1}{1 - \chi(p)\,p^{-s}}, \qquad \operatorname{Re}(s) > 1
Where:
  • ss = Complex input variable; both the series and the product converge absolutely when its real part exceeds 1
  • χ\chi = A Dirichlet character modulo q: periodic mod q, completely multiplicative, and zero on integers sharing a factor with q
  • nn = Positive integer index of the series
  • pp = Runs over all prime numbers in the Euler product

Worked Example

Problem: Let χ4\chi_4 be the non-principal character modulo 4. It sends odd nn to 11 when n≡1(mod4)n \equiv 1 \pmod 4 and to −1-1 when n≡3(mod4)n \equiv 3 \pmod 4, and it sends every even nn to 00. Find L(1,χ4)L(1, \chi_4).
Step 1: List the first few character values. The pattern 1,0,−1,01, 0, -1, 0 repeats with period 4.
χ4(1)=1,χ4(2)=0,χ4(3)=−1,χ4(4)=0,χ4(5)=1\chi_4(1)=1,\quad \chi_4(2)=0,\quad \chi_4(3)=-1,\quad \chi_4(4)=0,\quad \chi_4(5)=1
Step 2: Substitute s=1s = 1. The even terms vanish and the odd terms alternate in sign. The point s=1s = 1 lies outside Re⁡(s)>1\operatorname{Re}(s) > 1. The series still converges there because χ4\chi_4 is non-principal, and its sum equals the continued L-function.
L(1,χ4)=1−13+15−17+⋯=∑k=0∞(−1)k2k+1L(1,\chi_4) = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots = \sum_{k=0}^{\infty} \frac{(-1)^k}{2k+1}
Step 3: Recognize the Taylor series arctan⁡x=∑k≥0(−1)kx2k+1/(2k+1)\arctan x = \sum_{k \ge 0} (-1)^k x^{2k+1}/(2k+1), which still holds at x=1x = 1. Evaluate it there.
L(1,χ4)=arctan⁡(1)=π4L(1,\chi_4) = \arctan(1) = \frac{\pi}{4}
Answer: L(1,χ4)=π/4≈0.7854L(1, \chi_4) = \pi/4 \approx 0.7854. The value is not zero. Dirichlet's proof needs exactly this fact: it shows there are infinitely many primes of the form 4k+14k+1 and infinitely many of the form 4k+34k+3.

Why It Matters

Dirichlet introduced these functions in 1837 to prove that every arithmetic progression a,a+q,a+2q,…a, a+q, a+2q, \ldots with gcd⁡(a,q)=1\gcd(a, q) = 1 contains infinitely many primes. The key step is showing L(1,χ)≠0L(1, \chi) \neq 0 for every non-principal character χ\chi. Today the Generalized Riemann Hypothesis concerns the zeros of these functions. Many results about primes in a graduate analytic number theory course are proved assuming it or by working around it.

Common Mistakes

Mistake: Treating any function that depends on n mod q as a Dirichlet character. For example, students take χ(n) = n mod q itself.
Correction: A character must be completely multiplicative, meaning χ(mn) = χ(m)χ(n) for all m and n. It must also be zero exactly when gcd(n, q) > 1. Test the remainder map with q = 4: it gives χ(3) = 3 and χ(9) = 1, but complete multiplicativity would need χ(9) = χ(3)·χ(3) = 9. So it is not a character. Only characters produce the Euler product.

Related Terms