The Alternating Series Test

Does the series 1−12+13−14+15−⋯1 - \tfrac12 + \tfrac13 - \tfrac14 + \tfrac15 - \cdots converge? The terms 1n\tfrac1n do not decrease fast enough to be summable in absolute value. Indeed ∑1n\sum \tfrac1n diverges. Yet the alternation of signs produces cancellation that can rescue convergence. This tension between a slow decay and a sign flip is exactly what the Alternating Series Test resolves. It is also called the Leibniz test. It is one of the few convergence tests that gives you both an existence proof and a usable numerical error bound in the same breath. The result matters because most convergence tests in a first course are fundamentally tests for absolute convergence. This includes comparison, ratio, root, and integral tests. They succeed only when ∑∣an∣\sum |a_n| converges. The alternating series ∑(−1)n1n\sum(-1)^n \tfrac1n is the simplest example where every one of those tests is silent or gives a negative answer. Yet the series itself converges. The Leibniz test is the first tool a student meets that certifies conditional convergence. This means convergence of ∑an\sum a_n without convergence of ∑∣an∣\sum |a_n|. It does so with an elementary, self-contained argument built entirely from the Monotone Convergence Theorem. The big picture is that alternating signs force the partial sums to oscillate and squeeze toward a limit. This holds provided the magnitudes ∣an∣|a_n| decrease monotonically to zero. Two interlaced monotone subsequences of partial sums trap the limit between them. One subsequence increases, the other decreases. The gap between consecutive partial sums shrinks to zero exactly because ∣an∣→0|a_n|\to 0. This same trapping argument, refined slightly, yields a remarkably clean error estimate. Truncating the series after nn terms leaves an error. That error is no larger in absolute value than the very next term you dropped. This article gives the precise hypotheses and a complete proof by monotone subsequences. It also gives the error bound as a corollary, and two asymmetric worked examples. A counterexample shows why monotonicity cannot be dropped. Finally, it discusses where the dichotomy between absolute and conditional convergence becomes central later on. This test opens the door to that dichotomy.

Key takeaways
  • The test applies to series of the form ∑(−1)n+1bn\sum (-1)^{n+1} b_n where bn≥0b_n \ge 0 decreases monotonically to 00.
  • Convergence is proved by showing the even partial sums increase, the odd partial sums decrease, and the gap between them shrinks to 00.
  • The limit SS is trapped between any two consecutive partial sums: SS lies between sns_n and sn+1s_{n+1} for every nn.
  • This gives a free error bound: ∣S−sn∣≤bn+1|S - s_n| \le b_{n+1}, the size of the first omitted term.
  • Monotonicity of bnb_n is essential — without it the test can fail even if bn→0b_n \to 0.
  • Key idea: alternating signs plus monotone decay to zero force two monotone, mutually trapping subsequences of partial sums to converge to a common limit.

Where this lives today

The Leibniz test is the standard first source of examples of conditionally convergent series, the phenomenon at the heart of Absolute vs Conditional Convergence: a series like ∑(−1)n+1/n\sum (-1)^{n+1}/n converges but does not converge absolutely, and such series can be rearranged to sum to any real number (or diverge), a startling fact proved via the Riemann rearrangement theorem. This makes the alternating harmonic series a canonical cautionary example throughout analysis: term-by-term manipulations that are safe for absolutely convergent series can silently fail here. In numerical analysis, the error bound ∣S−sn∣≤bn+1|S - s_n|\le b_{n+1} is one of the few a priori, non-asymptotic error estimates available for a truncated infinite sum, and it underlies alternating-series acceleration techniques (e.g. Euler transform, Aitken's Δ2\Delta^2 process) used to speed up otherwise slow numerical series evaluation, such as computing ln⁡2\ln 2, π\pi, or values of the Riemann zeta function from slowly convergent alternating representations. In probability and statistics, alternating series with monotone decreasing terms appear in tail bounds for discrete distributions and in inclusion–exclusion formulas, where the partial-sum trapping property (the theorem's part (a)) gives rigorous upper and lower bounds on probabilities computed via truncated inclusion–exclusion expansions — a technique known as the Bonferroni inequalities. In physics and engineering, alternating series arise in perturbation expansions and Fourier-type series (e.g., certain Fourier coefficients of periodic signals decay with alternating sign), where the Leibniz error bound offers quick, rigorous truncation guarantees without requiring full knowledge of the tail's exact behavior — useful in real-time or resource-constrained computation.

Ask the tutor: How does the Leibniz error bound compare to error bounds from the integral test or ratio test for series that satisfy both sets of hypotheses?

DefinitionAlternating series and the Leibniz test hypotheses

A series ∑n=1∞an\sum_{n=1}^\infty a_n is called alternating if its terms alternate in sign, i.e. it can be written as

∑n=1∞(−1)n+1bn=b1−b2+b3−b4+⋯\sum_{n=1}^\infty (-1)^{n+1} b_n = b_1 - b_2 + b_3 - b_4 + \cdots

for some sequence (bn)(b_n) with bn≥0b_n \ge 0 for all nn (the case ∑(−1)nbn\sum (-1)^n b_n is identical up to an overall sign). The sequence (bn)(b_n) is said to satisfy the Leibniz hypotheses if: 1. (Nonnegativity) bn≥0b_n \ge 0 for all nn; 2. (Monotonicity) bn+1≤bnb_{n+1} \le b_n for all nn (the sequence is nonincreasing); 3. (Vanishing) lim⁡n→∞bn=0\lim_{n\to\infty} b_n = 0. The partial sums are sn=∑k=1n(−1)k+1bks_n = \sum_{k=1}^n (-1)^{k+1} b_k, and the series is said to converge with sum SS if sn→Ss_n \to S as n→∞n \to \infty.

Intuition

Picture walking along the number line: you step right by b1b_1, then left by b2b_2, then right by b3b_3, and so on, with each step shorter than the last. Because each step is smaller than the previous one, you never retrace past where you were two steps ago — you keep overshooting less and less, homing in on a resting point. The even-indexed positions s2,s4,s6,…s_2, s_4, s_6, \dots creep upward (each even step corrects less than the odd step that undoes it), while the odd-indexed positions s1,s3,s5,…s_1, s_3, s_5,\dots creep downward, and the two staircases converge toward each other because the step sizes bn→0b_n \to 0. This is precisely a monotone-sequence argument in disguise: one bounded monotone increasing sequence and one bounded monotone decreasing sequence, squeezed together by a gap that vanishes.

Figure
Partial sums zigzagging toward a limit, trapped between odd and even subsequences
n sₙ S ≈ ln 2 s₁=1 s₂=.50 s₃=.83 s₄=.58 s₅=.78 s₆=.62 s₇=.76 odd sₙ decrease ↓, even sₙ increase ↑, both → S

Central theorem

TheoremAlternating Series Test (Leibniz)

Let (bn)n≥1(b_n)_{n\ge1} be a sequence of real numbers satisfying the Leibniz hypotheses: 1. bn≥0b_n \ge 0 for every n≥1n \ge 1; 2. bn+1≤bnb_{n+1} \le b_n for every n≥1n \ge 1 (monotone nonincreasing); 3. bn→0b_n \to 0 as n→∞n \to \infty. Then the series

∑n=1∞(−1)n+1bn\sum_{n=1}^\infty (-1)^{n+1} b_n

converges. Moreover, if SS denotes its sum and sns_n its nn-th partial sum, then for every n≥1n \ge 1: (a) SS lies between sns_n and sn+1s_{n+1} (inclusive of neither, unless bn+1=0b_{n+1}=0); (b) (Error bound) ∣S−sn∣≤bn+1|S - s_n| \le b_{n+1}.

Proof

Technique: monotone bounded subsequences (via the <span class="wiki-link-missing">Monotone Convergence Theorem</span>), then a squeeze argument. Write sn=∑k=1n(−1)k+1bks_n = \sum_{k=1}^n (-1)^{k+1}b_k. We examine the subsequences of even-indexed and odd-indexed partial sums.

Step 1: The even partial sums are nondecreasing. For any n≥1n\ge 1,

s2n+2−s2n=(−1)2n+2b2n+2+(−1)2n+1b2n+1=b2n+2−b2n+1.s_{2n+2} - s_{2n} = (-1)^{2n+2}b_{2n+2} + (-1)^{2n+1}b_{2n+1} = b_{2n+2} - b_{2n+1}.

By hypothesis (2), b2n+2≤b2n+1b_{2n+2} \le b_{2n+1}, so s2n+2−s2n≤0s_{2n+2} - s_{2n} \le 0... wait — we want nondecreasing, so let's recompute the sign carefully. We have s2n+2−s2n=−b2n+1+b2n+2s_{2n+2} - s_{2n} = -b_{2n+1} + b_{2n+2}. Since (bn)(b_n) is nonincreasing, b2n+2≤b2n+1b_{2n+2} \le b_{2n+1}, hence b2n+2−b2n+1≤0b_{2n+2} - b_{2n+1} \le 0. This shows s2n+2≤s2ns_{2n+2} \le s_{2n}, i.e. the even partial sums are nonincreasing, not nondecreasing. Let us redo this correctly and consistently, tracking signs from the definition sn=∑k=1n(−1)k+1bk=b1−b2+b3−b4+⋯s_n=\sum_{k=1}^n(-1)^{k+1}b_k = b_1 - b_2 + b_3 - b_4 + \cdots. For the odd-to-odd step:

s2n+1−s2n−1=(−1)2n+2b2n+(−1)2n+1b2n−1...s_{2n+1} - s_{2n-1} = (-1)^{2n+2}b_{2n} + (-1)^{2n+1}b_{2n-1}...

To avoid sign bookkeeping errors, compute directly from the definition. We have

s2n+1=s2n−1+a2n+a2n+1=s2n−1−b2n+b2n+1,s_{2n+1} = s_{2n-1} + a_{2n} + a_{2n+1} = s_{2n-1} - b_{2n} + b_{2n+1},

where ak=(−1)k+1bka_k = (-1)^{k+1}b_k, so a2n=−b2na_{2n} = -b_{2n} and a2n+1=b2n+1a_{2n+1} = b_{2n+1}. Thus

s2n+1−s2n−1=b2n+1−b2n≤0s_{2n+1} - s_{2n-1} = b_{2n+1} - b_{2n} \le 0

by monotonicity (2), since b2n+1≤b2nb_{2n+1}\le b_{2n}. Hence the odd partial sums (s2n−1)n≥1=(s1,s3,s5,… )(s_{2n-1})_{n\ge1} = (s_1, s_3, s_5,\dots) form a nonincreasing sequence. Similarly,

s2n+2−s2n=a2n+1+a2n+2=b2n+1−b2n+2≥0s_{2n+2} - s_{2n} = a_{2n+1} + a_{2n+2} = b_{2n+1} - b_{2n+2} \ge 0

by monotonicity (2), since b2n+2≤b2n+1b_{2n+2}\le b_{2n+1}. Hence the even partial sums (s2n)n≥1=(s2,s4,s6,… )(s_{2n})_{n\ge1} = (s_2, s_4, s_6,\dots) form a nondecreasing sequence.

Step 2: The two subsequences are bounded and interlaced. For every n≥1n \ge 1,

s2n=s2n−1−b2n≤s2n−1,s_{2n} = s_{2n-1} - b_{2n} \le s_{2n-1},

since b2n≥0b_{2n}\ge 0 by hypothesis (1). So every even partial sum is ≤\le the preceding odd partial sum. Combining with Step 1:

  • The odd subsequence (s2n−1)(s_{2n-1}) is nonincreasing, so s2n−1≤s1s_{2n-1} \le s_1 for all nn.
  • The even subsequence (s2n)(s_{2n}) is nondecreasing, so s2n≥s2s_{2n}\ge s_2 for all nn.
  • For any m,n≥1m,n\ge 1, taking N=max⁡(m,n)N=\max(m,n): s2N≤s2N−1≤s1s_{2N} \le s_{2N-1} \le s_1 (even bounded above by s1s_1), and s2n−1≥s2n≥s2s_{2n-1}\ge s_{2n}\ge s_2 (odd bounded below by s2s_2).

Thus (s2n)(s_{2n}) is nondecreasing and bounded above (by s1s_1), and (s2n−1)(s_{2n-1}) is nonincreasing and bounded below (by s2s_2). By the Monotone Convergence Theorem, both subsequences converge:

s2n→Le,s2n−1→Los_{2n} \to L_e, \qquad s_{2n-1} \to L_o

for some real numbers Le≤LoL_e \le L_o (the inequality Le≤LoL_e\le L_o follows by taking limits in s2n≤s2n−1s_{2n}\le s_{2n-1}, which holds for all nn by the displayed inequality above with matching indices, and more generally s2n≤s2m−1s_{2n}\le s_{2m-1} for all m,nm,n, which passes to the limit).

Step 3: The two limits coincide, using hypothesis (3). We have s2n−1−s2n=b2ns_{2n-1} - s_{2n} = b_{2n} for every nn (directly from s2n=s2n−1−b2ns_{2n}=s_{2n-1}-b_{2n}). Taking n→∞n\to\infty and using b2n→0b_{2n}\to 0 (hypothesis (3), since a subsequence of a null sequence is null):

Lo−Le=lim⁡n→∞(s2n−1−s2n)=lim⁡n→∞b2n=0.L_o - L_e = \lim_{n\to\infty}(s_{2n-1}-s_{2n}) = \lim_{n\to\infty} b_{2n} = 0.

Hence Lo=Le=:SL_o = L_e =: S.

Step 4: The full sequence (sn)(s_n) converges to SS. Given ε>0\varepsilon > 0, since s2n→Ss_{2n}\to S there is N1N_1 with ∣s2n−S∣<ε|s_{2n}-S|<\varepsilon for all n>N1n> N_1, and since s2n−1→Ss_{2n-1}\to S there is N2N_2 with ∣s2n−1−S∣<ε|s_{2n-1}-S|<\varepsilon for all n>N2n>N_2. Let N=max⁡(2N1,2N2−1)N = \max(2N_1, 2N_2-1). For any m>Nm > N: if mm is even, m=2nm=2n with n>N1n>N_1, so ∣sm−S∣<ε|s_m-S|<\varepsilon; if mm is odd, m=2n−1m=2n-1 with n>N2n>N_2, so ∣sm−S∣<ε|s_m-S|<\varepsilon. Hence sm→Ss_m \to S as m→∞m\to\infty, i.e. ∑(−1)n+1bn\sum(-1)^{n+1}b_n converges to SS. This proves the convergence claim.

Step 5: Proof of (a), the trapping property. Fix n≥1n\ge1. We show SS lies weakly between sns_n and sn+1s_{n+1}, with strict inequality unless a term vanishes. Case nn even, say n=2kn=2k. From Step 1, the even subsequence is nondecreasing and converges to SS, so s2k≤s2k+2≤s2k+4≤⋯→Ss_{2k} \le s_{2k+2} \le s_{2k+4}\le\cdots \to S, giving s2k≤Ss_{2k}\le S (with equality only in the degenerate case all later even terms are equal, i.e. eventually bj=0b_j=0). Also s2k+1=s2k+b2k+1≥s2ks_{2k+1} = s_{2k} + b_{2k+1} \ge s_{2k}, and since the odd subsequence is nonincreasing and converges to SS from above, s2k+1≥Ss_{2k+1}\ge S. Hence s2k≤S≤s2k+1s_{2k} \le S \le s_{2k+1}, i.e. SS lies between sns_n and sn+1s_{n+1}. Case nn odd, say n=2k−1n = 2k-1. Symmetrically, the odd subsequence is nonincreasing and converges to SS, so s2k−1≥Ss_{2k-1}\ge S; and s2k=s2k−1−b2k≤s2k−1s_{2k} = s_{2k-1}-b_{2k}\le s_{2k-1}, while the even subsequence increases to SS, so s2k≤Ss_{2k}\le S. Hence s2k≤S≤s2k−1s_{2k}\le S\le s_{2k-1}, i.e. SS lies between sn+1s_{n+1} and sns_n. In both cases, SS lies in the closed interval with endpoints sn,sn+1s_n, s_{n+1}. This proves (a).

Step 6: Proof of (b), the error bound. By (a), SS and sns_n are both within the closed interval bounded by sns_n and sn+1s_{n+1}; in particular

∣S−sn∣≤∣sn+1−sn∣=bn+1,|S - s_n| \le |s_{n+1}-s_n| = b_{n+1},

since sn+1−sn=(−1)n+2bn+1=±bn+1s_{n+1}-s_n = (-1)^{n+2}b_{n+1} = \pm b_{n+1} has absolute value bn+1b_{n+1}. This proves (b). ■\blacksquare

∎
CorollarySign of the truncation error

With the same hypotheses, the error S−snS - s_n has the same sign as the first omitted term (−1)n+2bn+1(-1)^{n+2}b_{n+1}. Concretely, if nn is even then S≥snS \ge s_n, and if nn is odd then S≤snS \le s_n.

Proof

This is immediate from Step 5 of the proof above: for n=2kn=2k even we showed sn≤Ss_n \le S, and for n=2k−1n=2k-1 odd we showed S≤snS \le s_n. ■\blacksquare

∎

Worked examples

Example 1 — an alternating pp-series with a shifted index and estimating a sum to three decimal places. Consider

∑n=1∞(−1)n+1(n+2)3/2=133/2−143/2+153/2−163/2+⋯\sum_{n=1}^\infty \frac{(-1)^{n+1}}{(n+2)^{3/2}} = \frac{1}{3^{3/2}} - \frac{1}{4^{3/2}} + \frac{1}{5^{3/2}} - \frac{1}{6^{3/2}} + \cdots

Here bn=(n+2)−3/2b_n = (n+2)^{-3/2}. Checking the hypotheses. Certainly bn=(n+2)−3/2>0b_n = (n+2)^{-3/2} > 0 for all n≥1n\ge1, so (1) holds. For monotonicity, the function f(x)=(x+2)−3/2f(x) = (x+2)^{-3/2} is strictly decreasing on x>0x>0 since f′(x)=−32(x+2)−5/2<0f'(x) = -\tfrac32(x+2)^{-5/2} < 0; hence bn+1=f(n+1)<f(n)=bnb_{n+1} = f(n+1) < f(n) = b_n, so (2) holds (strictly, in fact). For the vanishing condition, bn=(n+2)−3/2→0b_n = (n+2)^{-3/2}\to 0 as n→∞n\to\infty because (n+2)3/2→∞(n+2)^{3/2}\to\infty, so (3) holds. By the theorem, the series converges to some sum SS. Estimating SS. Compute partial sums numerically:

b1=3−3/2=133≈0.192450,b2=4−3/2=18=0.125000,b_1 = 3^{-3/2} = \frac{1}{3\sqrt3} \approx 0.192450,\quad b_2 = 4^{-3/2} = \frac18 = 0.125000,
b3=5−3/2≈0.089443,b4=6−3/2≈0.068041,b5=7−3/2≈0.053995.b_3 = 5^{-3/2}\approx 0.089443,\quad b_4 = 6^{-3/2}\approx 0.068041,\quad b_5 = 7^{-3/2}\approx 0.053995.

So

s1=0.192450,  s2=0.067450,  s3=0.156893,  s4=0.088852,  s5=0.142847.s_1 = 0.192450,\ \ s_2 = 0.067450,\ \ s_3 = 0.156893,\ \ s_4 = 0.088852,\ \ s_5 = 0.142847.

By the error bound (b), ∣S−s5∣≤b6=8−3/2=1162≈0.044194|S - s_5| \le b_6 = 8^{-3/2} = \frac{1}{16\sqrt2}\approx 0.044194. That is a loose bound; to guarantee three-decimal accuracy (∣S−sn∣<0.0005|S-s_n|<0.0005) we need bn+1<0.0005b_{n+1} < 0.0005, i.e. (n+3)3/2>2000(n+3)^{3/2} > 2000, i.e. n+3>20002/3≈158.7n+3 > 2000^{2/3}\approx 158.7, so n≥156n \ge 156 suffices. This illustrates a genuine feature of the bound: it is rigorous but can require many terms for high precision when bnb_n decays slowly (here like n−3/2n^{-3/2}). Using the corollary, since we stopped at n=5n=5 (odd), we know S≤s5=0.142847S \le s_5 = 0.142847; and since s4s_4 used an even index, S≥s4=0.088852S \ge s_4 = 0.088852. So without any further computation we already know

0.088852≤S≤0.142847,0.088852 \le S \le 0.142847,

consistent with the sharper bound ∣S−s5∣≤b6≈0.0442|S-s_5|\le b_6\approx 0.0442, giving S∈[0.0986,0.1870]S \in [0.0986, 0.1870] intersected with the trapping interval — the trapping interval from Step 5 (using consecutive terms s4,s5s_4, s_5 directly) is actually tighter here than the generic bound (b) applied at n=5n=5, since (b) is a consequence of (a) and can be loose when bn+1b_{n+1} is not tiny yet.

Example 2 — a series where the terms are not simply 1/np1/n^p, requiring a monotonicity argument via calculus. Consider

∑n=1∞(−1)n+1 nn2+5.\sum_{n=1}^\infty (-1)^{n+1}\, \frac{n}{n^2+5}.

Here bn=nn2+5b_n = \dfrac{n}{n^2+5}, and monotonicity is not obvious from the formula alone — we must prove it. Checking the hypotheses. Nonnegativity is clear: bn=n/(n2+5)>0b_n = n/(n^2+5) > 0 for n≥1n\ge1. For the vanishing condition, bn=nn2+5=1/n1+5/n2→01=0b_n = \dfrac{n}{n^2+5} = \dfrac{1/n}{1+5/n^2} \to \dfrac{0}{1} = 0 as n→∞n\to\infty, using the algebraic limit laws applied to 1/n→01/n\to0 and 5/n2→05/n^2\to0. For monotonicity, consider f(x)=xx2+5f(x) = \dfrac{x}{x^2+5} on x>0x>0. By the quotient rule,

f′(x)=(x2+5)⋅1−x⋅2x(x2+5)2=5−x2(x2+5)2.f'(x) = \frac{(x^2+5)\cdot 1 - x\cdot 2x}{(x^2+5)^2} = \frac{5 - x^2}{(x^2+5)^2}.

This is negative exactly when x2>5x^2 > 5, i.e. x>5≈2.236x > \sqrt5 \approx 2.236. So ff is increasing on (0,5)(0,\sqrt5) and decreasing on (5,∞)(\sqrt5,\infty). In particular ff is not monotone on all of x>0x>0: b1=16≈0.1667b_1 = \tfrac16\approx0.1667, b2=29≈0.2222b_2=\tfrac29\approx0.2222, b3=314≈0.2143b_3=\tfrac{3}{14}\approx0.2143, and indeed b1<b2b_1 < b_2 — the sequence increases at first! This means the Leibniz test in its stated form does not directly apply to the whole series, since hypothesis (2) fails for n=1n=1 (b2>b1b_2 > b_1). However, the theorem only needs monotonicity eventually, together with the tail argument — and indeed a standard strengthening (whose proof is a trivial modification of the one above, applied to the tail ∑n≥3(−1)n+1bn\sum_{n\ge3}(-1)^{n+1}b_n, and using that finitely many terms cannot affect convergence) shows convergence still holds provided bnb_n is eventually monotone decreasing to 00. Here, for n≥3>5n \ge 3 > \sqrt5, ff is strictly decreasing, so (bn)n≥3(b_n)_{n\ge3} is monotone decreasing, and bn→0b_n\to0. Applying the theorem to the tail series ∑n=3∞(−1)n+1bn\sum_{n=3}^\infty (-1)^{n+1}b_n shows it converges to some TT; adding back the finite sum b1−b2b_1 - b_2 shows the original series converges to S=b1−b2+TS = b_1 - b_2 + T (finitely many terms never affect convergence, only the value of the sum, by the Cauchy Criterion for Series applied to finite truncations). The error bound now applies only to the tail: for n≥3n \ge 3, ∣T−(tail partial sum through n)∣≤bn+1|T - (\text{tail partial sum through } n)| \le b_{n+1}. Concretely with n=4n=4: b4=4/21≈0.19048b_4 = 4/21\approx0.19048, b5=5/30=16≈0.16667b_5=5/30=\tfrac16\approx0.16667; the tail partial sum t4=b3−b4=0.21429−0.19048=0.02381t_4 = b_3-b_4 = 0.21429-0.19048=0.02381 (started at n=3n=3) satisfies ∣T−t4∣≤b5≈0.1667|T-t_4|\le b_5\approx0.1667. This example demonstrates the practically important point: always check monotonicity by an honest computation (e.g. via the derivative of the continuous extension), and if it fails for small nn, isolate the finitely many bad terms before invoking the test on the tail.

CounterexampleWhy monotonicity cannot be dropped

Consider the alternating-looking series

∑n=1∞(−1)n+1cn,where cn={1nn odd1n2n even.\sum_{n=1}^\infty (-1)^{n+1} c_n, \qquad \text{where } c_n = \begin{cases} \dfrac{1}{n} & n \text{ odd} \\[4pt] \dfrac{1}{n^2} & n \text{ even}\end{cases}.

Each cn≥0c_n \ge 0 (hypothesis (1) holds), and cn→0c_n \to 0 as n→∞n\to\infty (hypothesis (3) holds, since both 1/n→01/n\to0 and 1/n2→01/n^2\to0). But (cn)(c_n) is not monotone: for instance c1=1c_1 = 1, c2=14c_2 = \tfrac14, c3=13c_3=\tfrac13, so c3>c2c_3 > c_2 — the sequence does not decrease. Does the series converge? Write out the sum, grouping the positive (odd-index) and negative (even-index) contributions:

∑n=1∞(−1)n+1cn=(∑k=0∞12k+1)−(∑k=1∞1(2k)2).\sum_{n=1}^\infty (-1)^{n+1}c_n = \Big(\sum_{k=0}^\infty \frac{1}{2k+1}\Big) - \Big(\sum_{k=1}^\infty \frac{1}{(2k)^2}\Big).

The second sum ∑k≥114k2=14∑1k2\sum_{k\ge1} \frac{1}{4k^2} = \frac14\sum \frac1{k^2} converges (it is a constant multiple of the convergent p=2p=2 series). The first sum ∑k≥012k+1\sum_{k\ge0}\frac{1}{2k+1} is (twice, roughly) the harmonic series restricted to odd denominators, and it diverges — indeed

∑k=0N12k+1≥12∑n=12N+11n→∞\sum_{k=0}^{N} \frac{1}{2k+1} \ge \frac12\sum_{n=1}^{2N+1}\frac1n \to \infty

by comparison with half the harmonic series (each odd reciprocal 12k+1\tfrac{1}{2k+1} exceeds 12(2k+1)\tfrac{1}{2(2k+1)}... more directly, the odd-indexed harmonic terms alone already diverge since the full harmonic series is the sum of its odd part and even part, and the even part ∑12k=12∑1k\sum \frac1{2k}=\frac12\sum\frac1k diverges, while if the odd part converged the full series would converge as a sum of two convergent series — contradiction). So the odd part diverges to +∞+\infty. Therefore the partial sums s2N+1s_{2N+1} satisfy

s2N+1=(∑k=0N12k+1)−(∑k=1N1(2k)2)→∞−(finite)=∞.s_{2N+1} = \Big(\sum_{k=0}^N \frac{1}{2k+1}\Big) - \Big(\sum_{k=1}^N \frac1{(2k)^2}\Big) \to \infty - (\text{finite}) = \infty.

The partial sums are unbounded, so the series diverges, even though cn≥0c_n \ge 0 and cn→0c_n \to 0. This shows hypothesis (2) — genuine, eventual monotonicity — cannot be dropped from the Alternating Series Test: nonnegativity and vanishing alone are not enough. The mechanism that fails is precisely Step 1 of the proof: without monotonicity, the "even partial sums" and "odd partial sums" need not be themselves monotone, so the Monotone Convergence Theorem no longer applies to them, and indeed here they genuinely do not converge.

Scope, edge cases & common traps

SituationWhat happensWhy
bn↓0b_n \downarrow 0 eventually (not from n=1n=1)Test still gives convergenceFinitely many terms don't affect convergence; apply theorem to the tail
bn→0b_n \to 0 but not monotoneTest is silent; series may converge or divergeSee counterexample above
bnb_n monotone but bn→L≠0b_n \to L \ne 0Series divergesFails the Divergence Test: terms (−1)n+1bn(-1)^{n+1}b_n don't tend to 00
bnb_n monotone ↓0\downarrow 0, but only weakly (bn+1≤bnb_{n+1}\le b_n, equalities allowed)Test still appliesProof only used ≤\le, never strict inequality
Want absolute convergenceLeibniz test is silent on thisIt proves convergence of ∑an\sum a_n, not of ∑∣an∣\sum|a_n|; see Absolute vs Conditional Convergence

The mathematician behind it

Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
GW
Gottfried Wilhelm Leibniz
1646–1716 · Co-founder of calculus, philosopher, and polymath in Hanover

Leibniz developed the differential and integral calculus independently of Newton, introduced much of the modern notation still used today (dxdx, ∫\int, and the term "function"), and made foundational contributions to logic, combinatorics, and infinite series. His 1682 result on the series π/4=1−13+15−17+⋯\pi/4 = 1 - \tfrac13+\tfrac15-\tfrac17+\cdots (the Leibniz series for π\pi) is a direct instance of the theorem that bears his name, though the general test for arbitrary alternating series with monotone decreasing terms was made fully rigorous only later, in the 19th-century arithmetization of analysis associated with Cauchy and his successors.

History
- 1673–76: Leibniz derives the series π/4=1−13+15−17+⋯\pi/4 = 1-\tfrac13+\tfrac15-\tfrac17+\cdots while in Paris, studying quadratures of the circle.
- 1682: Leibniz publishes this alternating series result, establishing convergence by an early cancellation argument.
- 1821: Cauchy's Cours d'Analyse rigorizes the notion of convergence via what is now the Cauchy Criterion for Series, setting the stage for a fully modern proof of the general test.
- Late 1800s: The general Leibniz/alternating series test, with explicit monotone-tail hypotheses and the error bound, becomes a standard fixture of analysis textbooks following the arithmetization of analysis.
- 20th century: The test becomes a standard early example distinguishing conditional from absolute convergence, foreshadowing rearrangement phenomena (the Riemann rearrangement theorem) for conditionally convergent series.
Does the Alternating Series Test prove absolute convergence?

No. It only proves that the series ∑(−1)n+1bn\sum(-1)^{n+1}b_n itself converges — that its partial sums sns_n have a limit. It says nothing about ∑∣an∣=∑bn\sum |a_n| = \sum b_n, which may very well diverge, as in the classic example ∑(−1)n+1/n\sum (-1)^{n+1}/n: the alternating harmonic series converges by the Leibniz test, but ∑1/n\sum 1/n is the divergent harmonic series. When a series converges but not absolutely, it is called conditionally convergent, and this distinction is developed fully under Absolute vs Conditional Convergence. If you need absolute convergence, you must test ∑∣an∣\sum|a_n| separately using tools like comparison, ratio, or integral tests.

Can the monotonicity hypothesis be weakened to "eventually monotone"?

Yes, and this is used routinely. If bnb_n is monotone decreasing to 00 only for n≥N0n \ge N_0, apply the theorem to the tail series ∑n≥N0(−1)n+1bn\sum_{n\ge N_0}(-1)^{n+1}b_n, which converges by the theorem as stated. Since altering or removing finitely many terms from a series changes at most the value of the sum, not whether it converges (a direct consequence of the Cauchy Criterion for Series applied to tails), the full series ∑n≥1(−1)n+1bn\sum_{n\ge1}(-1)^{n+1}b_n also converges. This is exactly the technique used in the second worked example, where monotonicity failed only at the very first step.

Is the error bound ∣S−sn∣≤bn+1|S-s_n|\le b_{n+1} tight, or can it be improved?

The bound is tight in general — it can be attained (in the limiting sense) by suitable choices of bnb_n — but for specific series it is often loose. The trapping property (part (a) of the theorem) is actually sharper: it tells you SS lies strictly between sns_n and sn+1s_{n+1}, so you can sometimes get better bounds by directly comparing sns_n and sn+1s_{n+1} rather than invoking the generic corollary. In the first worked example, comparing consecutive partial sums directly gave information consistent with, but computed independently of, the blanket bound bn+1b_{n+1}.

What happens if bnb_n is monotone and nonnegative but does not tend to 00?

Then the test's hypotheses are not met, and in fact the series necessarily diverges, by the Divergence Test (the nn-th term test): if bn→L≠0b_n \to L \ne 0, the terms (−1)n+1bn(-1)^{n+1}b_n do not tend to 00, since they alternate between values near LL and near −L-L. A necessary condition for any series ∑an\sum a_n to converge is an→0a_n \to 0, so nonvanishing terms immediately rule out convergence, alternating or not.

Does the test work for complex-valued or vector-valued alternating series?

Not directly in this form, because the proof relies essentially on order properties of R\mathbb{R} (monotone sequences, the Monotone Convergence Theorem), which have no direct analogue in C\mathbb{C} or Rk\mathbb{R}^k without extra structure. However, one can sometimes apply the real-valued Leibniz test to the real and imaginary parts (or components) separately, if each happens to be alternating with monotone decreasing magnitude, and then combine the results using the fact that a complex (or vector) sequence converges iff each component sequence converges.

How does this test foreshadow the notion of conditional convergence?

The alternating harmonic series is the prototypical example of a series that converges only because of the arrangement and cancellation of its terms, not because its terms are "absolutely small enough." This is the seed of the entire subject of Absolute vs Conditional Convergence: absolutely convergent series behave like finite sums (any rearrangement gives the same sum, by a theorem sometimes attributed to Dirichlet), while conditionally convergent series can be rearranged to converge to any prescribed real number, or to diverge, by the Riemann rearrangement theorem. The Leibniz test is usually the first place a student sees a convergent-but-not-absolutely-convergent series constructed explicitly.

Can I use the Leibniz test to determine convergence of ∑(−1)nsin⁡(1/n)\sum (-1)^n \sin(1/n)?

Yes. Let bn=sin⁡(1/n)b_n = \sin(1/n) for n≥1n \ge 1. Since 1/n∈(0,1]⊂(0,π/2)1/n \in (0,1]\subset(0,\pi/2), bn>0b_n>0; since sin⁡\sin is increasing on (0,π/2)(0,\pi/2) and 1/n1/n is decreasing, bn=sin⁡(1/n)b_n=\sin(1/n) is decreasing in nn; and bn→sin⁡(0)=0b_n \to \sin(0)=0 by continuity of sin⁡\sin at 00 combined with 1/n→01/n\to 0. All three Leibniz hypotheses hold, so ∑(−1)nsin⁡(1/n)\sum(-1)^n\sin(1/n) converges. Since sin⁡(1/n)∼1/n\sin(1/n)\sim 1/n for large nn (comparison test with the divergent harmonic series, via lim⁡n→∞sin⁡(1/n)1/n=1\lim_{n\to\infty}\frac{\sin(1/n)}{1/n}=1), the convergence is only conditional, not absolute.

Before this

Where this leads