Mathwords logoMathwords

Dirichlet's Test — Definition, Formula & Example

Dirichlet's test is a convergence test for series whose terms are products anbna_n b_n. If one factor shrinks steadily to zero and the running totals of the other factor never grow beyond a fixed bound, the series converges.

Let (an)(a_n) be a monotonic sequence of real numbers with lim⁡n→∞an=0\lim_{n\to\infty} a_n = 0. Let (bn)(b_n) be a sequence whose partial sums BN=∑n=1NbnB_N = \sum_{n=1}^{N} b_n satisfy ∣BN∣≤M|B_N| \le M for some constant MM and every NN. Then ∑n=1∞anbn\sum_{n=1}^{\infty} a_n b_n converges. The standard proof uses summation by parts (Abel summation).

Key Formula

an+1≤an,lim⁡n→∞an=0,∣∑n=1Nbn∣≤M for all N  ⟹  ∑n=1∞anbn convergesa_{n+1} \le a_n,\quad \lim_{n\to\infty} a_n = 0,\quad \left|\sum_{n=1}^{N} b_n\right| \le M \text{ for all } N \;\Longrightarrow\; \sum_{n=1}^{\infty} a_n b_n \text{ converges}
Where:
  • ana_n = Nonincreasing sequence that tends to 0. A nondecreasing sequence that tends to 0 also works.
  • bnb_n = Sequence whose partial sums stay bounded. The terms may change sign in any pattern.
  • MM = A fixed constant that bounds every partial sum of bnb_n
  • NN = Number of terms in a partial sum

Worked Example

Problem: Does the series 1+12−23+14+15−26+⋯1 + \frac{1}{2} - \frac{2}{3} + \frac{1}{4} + \frac{1}{5} - \frac{2}{6} + \cdots converge? The numerators repeat the pattern 1,1,−21, 1, -2.
Step 1: Write each term as anbna_n b_n. Let an=1na_n = \frac{1}{n}, and let bnb_n follow the repeating pattern 1,1,−21, 1, -2. The sequence ana_n is decreasing, and its limit is 0.
an=1n,lim⁡n→∞1n=0a_n = \frac{1}{n}, \qquad \lim_{n\to\infty} \frac{1}{n} = 0
Step 2: Compute the partial sums of bnb_n over one block. The block sums to 0, so the same three values repeat forever. Every partial sum is therefore 0, 1, or 2.
B1=1,B2=1+1=2,B3=1+1−2=0  ⟹  ∣BN∣≤2B_1 = 1,\quad B_2 = 1 + 1 = 2,\quad B_3 = 1 + 1 - 2 = 0 \;\Longrightarrow\; |B_N| \le 2
Step 3: Both hypotheses hold with M=2M = 2, so Dirichlet's test applies. The alternating series test cannot be used here, because the signs follow the pattern +,+,−+, +, - rather than alternating.
∑n=1∞bnn converges\sum_{n=1}^{\infty} \frac{b_n}{n} \text{ converges}
Answer: The series converges. It converges only conditionally, because the absolute values satisfy ∣bnn∣≥1n\left|\frac{b_n}{n}\right| \ge \frac{1}{n}, and the harmonic series diverges.

Why It Matters

In college analysis courses, Dirichlet's test is a common way to show convergence of series such as ∑sin⁡nn\sum \frac{\sin n}{n} and the Fourier series ∑cos⁡(nx)n\sum \frac{\cos(nx)}{n} (for xx not a multiple of 2π2\pi). In these series the signs do not strictly alternate and absolute convergence fails. Abel's test is a close relative with a different trade-off. It requires ∑bn\sum b_n to actually converge, and it only requires (an)(a_n) to be monotone and bounded rather than to tend to 0.

Common Mistakes

Mistake: Checking that the terms bnb_n are bounded instead of checking their partial sums.
Correction: Bounded terms are not enough. With bn=1b_n = 1, every term is bounded, but BN=NB_N = N grows without bound, and ∑1n\sum \frac{1}{n} diverges. You must show that the running totals stay within a fixed bound in absolute value: ∣BN∣≤M|B_N| \le M for every NN.

Related Terms