Unit 10 Topic 10.7

The Alternating Series Test

every AB topic, then series

4 min readfreeNot practiced

The comparison tests need positive terms. Many important series have terms that switch sign, +,−,+,−,…+, -, +, -, \ldots Those are alternating series, and they have their own test, one of the simplest in the unit.

What an alternating series looks like

An alternating series has the form ∑(−1)nan\sum (-1)^n a_n or ∑(−1)n+1an\sum (-1)^{n+1} a_n, where every ana_n is positive. The factor (−1)n(-1)^n supplies the sign; ana_n is the size of the term. The best-known example is the alternating harmonic series

∑n=1∞(−1)n+1n=1−12+13−14+⋯\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n} = 1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \cdots

Watch for signs in disguise: cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n, so ∑cos⁡(nπ)n2\sum \frac{\cos(n\pi)}{n^2} is alternating. And watch for signs that are not there: (−1)2n=1(-1)^{2n} = 1 for every nn, so ∑(−1)2nn\sum \frac{(-1)^{2n}}{n} is the plain harmonic series.

Why the partial sums settle

Partial sums S sub N of 1 minus 1/2 plus 1/3 minus 1/4 and so on, for N = 1 to 14, joined by a zigzag line. Odd partial sums lie above a dashed line at about 0.693 and even ones below it; the swings shrink as N grows, so the partial sums close in on the sum.
Figure 1. The partial sums of the alternating harmonic series zigzag toward the sum. LevlPrep original diagram.

Follow the partial sums in the figure. S1=1S_1 = 1. Subtracting 12\frac{1}{2} gives S2=0.5S_2 = 0.5. Adding 13\frac{1}{3} gives S3≈0.833S_3 \approx 0.833, which does not climb back to 11, because 13<12\frac{1}{3} < \frac{1}{2}. Each step goes the opposite way from the last and is shorter, so the partial sums zigzag inside a window that keeps shrinking. If the step sizes approach 0, the window closes on a single number: the sum.

Three facts did the work: the signs alternate, the sizes decrease, and the sizes approach 0. Those are the three conditions of the test.

The alternating series test

If an>0a_n > 0 for every nn, the sizes decrease (an+1≤ana_{n+1} \le a_n, at least from some nn on), and limn→∞an=0\lim_{n \to \infty} a_n = 0, then ∑(−1)nan\sum (-1)^n a_n converges.

Worked example 1. Does ∑n=1∞(−1)nn+1\sum_{n=1}^{\infty} \frac{(-1)^n}{\sqrt{n + 1}} converge?

Signs: (−1)n(-1)^n alternates. Sizes: an=1n+1>0a_n = \frac{1}{\sqrt{n + 1}} > 0.

Decreasing: n+2>n+1\sqrt{n + 2} > \sqrt{n + 1}, so an+1a_{n+1}=1n+2<1n+1= \frac{1}{\sqrt{n + 2}} < \frac{1}{\sqrt{n + 1}}=an= a_n.

Limit: limn→∞1n+1\lim_{n \to \infty} \frac{1}{\sqrt{n + 1}}=0= 0.

All three conditions hold, so the series converges by the alternating series test.

When the decreasing condition is not obvious, use a derivative. Write an=f(n)a_n = f(n) and show f′(x)<0f'(x) < 0 for xx past some point.

Worked example 2. Does ∑n=1∞(−1)nln⁡nn\sum_{n=1}^{\infty} (-1)^n \frac{\ln n}{n} converge?

With f(x)=ln⁡xxf(x) = \frac{\ln x}{x}, the quotient rule gives f′(x)f'(x)=x⋅1x−ln⁡xx2= \frac{x \cdot \frac{1}{x} - \ln x}{x^2}=1−ln⁡xx2= \frac{1 - \ln x}{x^2}, which is negative when ln⁡x>1\ln x > 1, that is for x>ex > e. So an=ln⁡nna_n = \frac{\ln n}{n} decreases for n≥3n \ge 3.

By L'Hospital's rule (the limit has the form ∞∞\frac{\infty}{\infty}), limx→∞ln⁡xx\lim_{x \to \infty} \frac{\ln x}{x}=limx→∞1/x1= \lim_{x \to \infty} \frac{1/x}{1}=0= 0, so an→0a_n \to 0.

The signs alternate, the sizes decrease from n=3n = 3 on and approach 0: the series converges. The first two terms do not matter, since leaving out finitely many terms never changes whether a series converges.

What the test does not say

SituationConclusion
All three conditions holdThe series converges.
The sizes do not approach 0, as in ∑(−1)nnn+1\sum (-1)^n \frac{n}{n + 1}The series diverges, by the nth term test, not by this test.
The sizes approach 0 but do not decreaseThe test says nothing; another argument is needed.
The signs do not alternateThe test does not apply.

The alternating series test is a test for convergence only. A failed condition is never, by itself, a proof of divergence.

Signs change everything

The alternating harmonic series converges, but the series of the same sizes without signs, ∑1n\sum \frac{1}{n}, diverges. The same happens with ∑(−1)nnn2+3\sum (-1)^n \frac{n}{n^2 + 3} (converges) and ∑nn2+3\sum \frac{n}{n^2 + 3} (diverges by limit comparison with 1n\frac{1}{n}). How much the signs matter is the subject of topic 10.9, two topics ahead.

Writing it the way graders want

Name the test and state each condition with the series' own terms: "The series alternates; 1n+1\frac{1}{\sqrt{n + 1}} decreases and limn→∞1n+1\lim_{n \to \infty} \frac{1}{\sqrt{n + 1}}=0= 0; so the series converges by the alternating series test." A sentence that only says "it alternates, so it converges" does not earn the point.

Spot a mistake on this page?