The Alternating Series Test
Does the series converge? The terms do not decrease fast enough to be summable in absolute value. Indeed 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 converges. The alternating series 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 without convergence of . 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 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 . This same trapping argument, refined slightly, yields a remarkably clean error estimate. Truncating the series after 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.
- The test applies to series of the form where decreases monotonically to .
- Convergence is proved by showing the even partial sums increase, the odd partial sums decrease, and the gap between them shrinks to .
- The limit is trapped between any two consecutive partial sums: lies between and for every .
- This gives a free error bound: , the size of the first omitted term.
- Monotonicity of is essential — without it the test can fail even if .
- 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 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 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 process) used to speed up otherwise slow numerical series evaluation, such as computing , , 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?
A series is called alternating if its terms alternate in sign, i.e. it can be written as
for some sequence with for all (the case is identical up to an overall sign). The sequence is said to satisfy the Leibniz hypotheses if: 1. (Nonnegativity) for all ; 2. (Monotonicity) for all (the sequence is nonincreasing); 3. (Vanishing) . The partial sums are , and the series is said to converge with sum if as .
Intuition
Picture walking along the number line: you step right by , then left by , then right by , 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 creep upward (each even step corrects less than the odd step that undoes it), while the odd-indexed positions creep downward, and the two staircases converge toward each other because the step sizes . 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.
Central theorem
Let be a sequence of real numbers satisfying the Leibniz hypotheses: 1. for every ; 2. for every (monotone nonincreasing); 3. as . Then the series
converges. Moreover, if denotes its sum and its -th partial sum, then for every : (a) lies between and (inclusive of neither, unless ); (b) (Error bound) .
Technique: monotone bounded subsequences (via the <span class="wiki-link-missing">Monotone Convergence Theorem</span>), then a squeeze argument. Write . We examine the subsequences of even-indexed and odd-indexed partial sums.
Step 1: The even partial sums are nondecreasing. For any ,
By hypothesis (2), , so ... wait — we want nondecreasing, so let's recompute the sign carefully. We have . Since is nonincreasing, , hence . This shows , i.e. the even partial sums are nonincreasing, not nondecreasing. Let us redo this correctly and consistently, tracking signs from the definition . For the odd-to-odd step:
To avoid sign bookkeeping errors, compute directly from the definition. We have
where , so and . Thus
by monotonicity (2), since . Hence the odd partial sums form a nonincreasing sequence. Similarly,
by monotonicity (2), since . Hence the even partial sums form a nondecreasing sequence.
Step 2: The two subsequences are bounded and interlaced. For every ,
since by hypothesis (1). So every even partial sum is the preceding odd partial sum. Combining with Step 1:
- The odd subsequence is nonincreasing, so for all .
- The even subsequence is nondecreasing, so for all .
- For any , taking : (even bounded above by ), and (odd bounded below by ).
Thus is nondecreasing and bounded above (by ), and is nonincreasing and bounded below (by ). By the Monotone Convergence Theorem, both subsequences converge:
for some real numbers (the inequality follows by taking limits in , which holds for all by the displayed inequality above with matching indices, and more generally for all , which passes to the limit).
Step 3: The two limits coincide, using hypothesis (3). We have for every (directly from ). Taking and using (hypothesis (3), since a subsequence of a null sequence is null):
Hence .
Step 4: The full sequence converges to . Given , since there is with for all , and since there is with for all . Let . For any : if is even, with , so ; if is odd, with , so . Hence as , i.e. converges to . This proves the convergence claim.
Step 5: Proof of (a), the trapping property. Fix . We show lies weakly between and , with strict inequality unless a term vanishes. Case even, say . From Step 1, the even subsequence is nondecreasing and converges to , so , giving (with equality only in the degenerate case all later even terms are equal, i.e. eventually ). Also , and since the odd subsequence is nonincreasing and converges to from above, . Hence , i.e. lies between and . Case odd, say . Symmetrically, the odd subsequence is nonincreasing and converges to , so ; and , while the even subsequence increases to , so . Hence , i.e. lies between and . In both cases, lies in the closed interval with endpoints . This proves (a).
Step 6: Proof of (b), the error bound. By (a), and are both within the closed interval bounded by and ; in particular
since has absolute value . This proves (b).
∎With the same hypotheses, the error has the same sign as the first omitted term . Concretely, if is even then , and if is odd then .
This is immediate from Step 5 of the proof above: for even we showed , and for odd we showed .
∎Worked examples
Example 1 — an alternating -series with a shifted index and estimating a sum to three decimal places. Consider
Here . Checking the hypotheses. Certainly for all , so (1) holds. For monotonicity, the function is strictly decreasing on since ; hence , so (2) holds (strictly, in fact). For the vanishing condition, as because , so (3) holds. By the theorem, the series converges to some sum . Estimating . Compute partial sums numerically:
So
By the error bound (b), . That is a loose bound; to guarantee three-decimal accuracy () we need , i.e. , i.e. , so suffices. This illustrates a genuine feature of the bound: it is rigorous but can require many terms for high precision when decays slowly (here like ). Using the corollary, since we stopped at (odd), we know ; and since used an even index, . So without any further computation we already know
consistent with the sharper bound , giving intersected with the trapping interval — the trapping interval from Step 5 (using consecutive terms directly) is actually tighter here than the generic bound (b) applied at , since (b) is a consequence of (a) and can be loose when is not tiny yet.
Example 2 — a series where the terms are not simply , requiring a monotonicity argument via calculus. Consider
Here , and monotonicity is not obvious from the formula alone — we must prove it. Checking the hypotheses. Nonnegativity is clear: for . For the vanishing condition, as , using the algebraic limit laws applied to and . For monotonicity, consider on . By the quotient rule,
This is negative exactly when , i.e. . So is increasing on and decreasing on . In particular is not monotone on all of : , , , and indeed — 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 (). 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 , and using that finitely many terms cannot affect convergence) shows convergence still holds provided is eventually monotone decreasing to . Here, for , is strictly decreasing, so is monotone decreasing, and . Applying the theorem to the tail series shows it converges to some ; adding back the finite sum shows the original series converges to (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 , . Concretely with : , ; the tail partial sum (started at ) satisfies . 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 , isolate the finitely many bad terms before invoking the test on the tail.
Consider the alternating-looking series
Each (hypothesis (1) holds), and as (hypothesis (3) holds, since both and ). But is not monotone: for instance , , , so — the sequence does not decrease. Does the series converge? Write out the sum, grouping the positive (odd-index) and negative (even-index) contributions:
The second sum converges (it is a constant multiple of the convergent series). The first sum is (twice, roughly) the harmonic series restricted to odd denominators, and it diverges — indeed
by comparison with half the harmonic series (each odd reciprocal exceeds ... 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 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 . Therefore the partial sums satisfy
The partial sums are unbounded, so the series diverges, even though and . 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
| Situation | What happens | Why |
|---|---|---|
| eventually (not from ) | Test still gives convergence | Finitely many terms don't affect convergence; apply theorem to the tail |
| but not monotone | Test is silent; series may converge or diverge | See counterexample above |
| monotone but | Series diverges | Fails the Divergence Test: terms don't tend to |
| monotone , but only weakly (, equalities allowed) | Test still applies | Proof only used , never strict inequality |
| Want absolute convergence | Leibniz test is silent on this | It proves convergence of , not of ; see Absolute vs Conditional Convergence |
The mathematician behind it
Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
Leibniz developed the differential and integral calculus independently of Newton, introduced much of the modern notation still used today (, , and the term "function"), and made foundational contributions to logic, combinatorics, and infinite series. His 1682 result on the series (the Leibniz series for ) 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.
Does the Alternating Series Test prove absolute convergence?
No. It only proves that the series itself converges — that its partial sums have a limit. It says nothing about , which may very well diverge, as in the classic example : the alternating harmonic series converges by the Leibniz test, but 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 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 is monotone decreasing to only for , apply the theorem to the tail series , 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 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 tight, or can it be improved?
The bound is tight in general — it can be attained (in the limiting sense) by suitable choices of — but for specific series it is often loose. The trapping property (part (a) of the theorem) is actually sharper: it tells you lies strictly between and , so you can sometimes get better bounds by directly comparing and 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 .
What happens if is monotone and nonnegative but does not tend to ?
Then the test's hypotheses are not met, and in fact the series necessarily diverges, by the Divergence Test (the -th term test): if , the terms do not tend to , since they alternate between values near and near . A necessary condition for any series to converge is , 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 (monotone sequences, the Monotone Convergence Theorem), which have no direct analogue in or 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 ?
Yes. Let for . Since , ; since is increasing on and is decreasing, is decreasing in ; and by continuity of at combined with . All three Leibniz hypotheses hold, so converges. Since for large (comparison test with the divergent harmonic series, via ), the convergence is only conditional, not absolute.