An alternating series is an infinite series of real numbers whose successive nonzero terms alternate between positive and negative. Its standard form is
A series beginning with a negative term differs only by an overall minus sign. Alternation alone does not guarantee convergence. The central result is the alternating series test: if the magnitudes decrease monotonically to zero, the series converges, and the error after any sufficiently late partial sum is no larger than the magnitude of the next term.
Definition and convergence
For the standard form above, the th partial sum is
The series converges to a sum when the sequence of partial sums has the limit
Thus convergence concerns the accumulated sums, not merely the individual terms.
A necessary condition for convergence is . This condition is not sufficient, even when signs alternate. For example,
does not converge in the ordinary sense, since its partial sums alternate between and .
Allowing is convenient in statements of theorems. Strictly alternating nonzero terms correspond to ; zero terms can be omitted when describing the sign pattern.
Alternating series test
The alternating series test, also called the Leibniz test after Gottfried Wilhelm Leibniz, states that
converges if:
- ;
- ;
- .
The second condition means that the magnitudes form a nonincreasing sequence, the discrete analogue of a monotonic function. Both nonnegativity and monotonic decrease need hold only from some index onward: changing finitely many terms does not affect whether a series converges.
These are sufficient conditions, not a characterization of every convergent alternating series. If the magnitudes are not eventually nonincreasing, the test gives no conclusion.
Proof by interlacing partial sums
Assume the conditions hold from the first term. The even partial sums satisfy
so they form a nondecreasing sequence. The odd partial sums satisfy
so they form a nonincreasing sequence.
Moreover, every even partial sum lies below every odd partial sum. The two sequences are therefore bounded and converge. Their difference is
so they have the same limit. Consequently, the full sequence converges.
This proof also shows that the sum is bracketed by consecutive partial sums:
Remainder and approximation error
Under the hypotheses of the alternating series test, define the remainder after terms by
Then
Thus the remainder has the sign of the first omitted term, unless it is zero. For a series beginning positively:
- an even partial sum is a lower bound for the sum;
- an odd partial sum is an upper bound;
- consecutive partial sums enclose the sum in an interval of width .
To guarantee an absolute truncation error no greater than , it suffices to choose so that
If monotonicity begins only after an initial segment, this estimate applies once the omitted tail satisfies the test’s hypotheses.
The estimate is especially useful in numerical analysis because it requires neither the exact sum nor a separate bound on all remaining terms. It bounds truncation error, however, not rounding errors introduced by floating-point arithmetic.
Absolute and conditional convergence
An alternating series is absolutely convergent if
converges. This is the series obtained by taking the absolute value of every term. Absolute convergence guarantees convergence of the original series, whether or not its signs alternate.
A series is conditionally convergent if it converges but its absolute-value series diverges. Alternating series provide fundamental examples because cancellation can produce a finite sum even when the total magnitude is infinite.
The alternating series test establishes ordinary convergence; it does not by itself decide absolute convergence.
Alternating harmonic series
The alternating harmonic series is
where denotes the natural logarithm. Its magnitudes decrease to zero, so the alternating series test applies. The corresponding positive series diverges, making the alternating harmonic series conditionally convergent.
Its remainder satisfies
For example, terms suffice to guarantee an absolute truncation error no greater than .
Alternating power-law terms
For real , consider
- If , the series converges absolutely.
- If , it converges conditionally.
- If , its terms do not tend to zero, so it diverges.
This family separates the role of cancellation from the rate at which term magnitudes decrease.
Alternating geometric series
For , the geometric series
converges absolutely. After terms, its exact remainder is
and hence
consistent with the alternating-series remainder bound.
Why decreasing magnitudes matter
The requirement that magnitudes decrease cannot simply be discarded while retaining the test’s conclusion. Define
These magnitudes tend to zero, and the series
has strictly alternating signs. Nevertheless,
which tends to positive infinity. The positive excess in each adjacent pair accumulates without bound.
Conversely, monotonicity is not necessary for convergence. For example, set
The magnitudes increase from every odd-indexed term to the following even-indexed term, so they are not eventually nonincreasing. Yet their total sum is finite, and the alternating series therefore converges absolutely.
Power series and function expansions
Alternating series occur frequently in power series and Taylor expansions. For example,
For , the expansion is alternating, and the remainder after terms satisfies
At , it gives the alternating harmonic series. At the other endpoint, , it becomes a divergent negative harmonic series, illustrating why the endpoints of a power series require separate examination.
Another example is
At , this yields
where is the circle constant. Although convergent, the series is slow for numerical computation because its term magnitudes decrease only proportionally to .
When the next-term bound tends to zero uniformly over a domain, it also establishes uniform convergence. For instance, the logarithm expansion above converges uniformly on , since
Rearrangement and grouping
The order of terms matters for conditionally convergent series. The Riemann rearrangement theorem states that a conditionally convergent real series can be rearranged to converge to any prescribed real number; other rearrangements can make it diverge.
For example, rearrange the alternating harmonic series by taking two positive terms followed by one negative term:
The resulting sum is
rather than .
By contrast, every rearrangement of an absolutely convergent series has the same sum. Grouping consecutive terms of an already convergent series into finite blocks also preserves its sum. However, convergence of the grouped series alone does not establish convergence of the original series: grouping into pairs produces zero-valued blocks while concealing the oscillation of its ungrouped partial sums.