In mathematical analysis, the alternating series test proves that an alternating series is convergent when its terms decrease monotonically in absolute value and approach zero in the limit. The test was devised by Gottfried Leibniz and is sometimes known as Leibniz's test, Leibniz's rule, or the Leibniz criterion. The test is only sufficient, not necessary, so some convergent alternating series may fail the first part of the test. For a generalization, see Dirichlet's test.
History Leibniz discussed the criterion in his unpublished De quadratura arithmetica of 1676 and shared his result with Jakob Hermann in June 1705 and with Johann Bernoulli in October, 1713. It was only formally published in 1993.
Formal statement
Alternating series test A series of the form ∑n=0∞(−1)nan=a0−a1+a2−a3+⋯ where either all an are positive or all an are negative, is called an alternating series. The alternating series test guarantees that an alternating series converges if the following two conditions are met:
|an| decreases monotonically, i.e., |an+1|≤|an|, and limn→∞an=0 .
Alternating series estimation theorem Moreover, let L denote the sum of the series, then the partial sum Sk=∑n=0k(−1)nan approximates L with error bounded by the next omitted term: |Sk−L|≤|Sk−Sk+1|=ak+1.
Proof Suppose we are given a series of the form ∑n=1∞(−1)n−1an, where limn→∞an=0 and an≥an+1 for all natural numbers n. (The case ∑n=1∞(−1)nan follows by taking the negative.)
Proof of the alternating series test
We will prove that both the partial sums S2m+1=∑n=12m+1(−1)n−1an with odd number of terms, and S2m=∑n=12m(−1)n−1an with even number of terms, converge to the same number L. Thus the usual partial sum Sk=∑n=1k(−1)n−1an also converges to L. The odd partial sums decrease monotonically: S2(m+1)+1=S2m+1−a2m+2+a2m+3≤S2m+1 while the even partial sums increase monotonically: S2(m+1)=S2m+a2m+1−a2m+2≥S2m both because an decreases monotonically with n. Moreover, since an are positive, S2m+1−S2m=a2m+1≥0. Thus we can collect these facts to form the following suggestive inequality: a1−a2=S2≤S2m≤S2m+1≤S1=a1. Now, note that a1 − a2 is a lower bound of the monotonically decreasing sequence S2m+1, the monotone convergence theorem then implies that this sequence converges as m approaches infinity. Similarly, the sequence of even partial sum converges too. Finally, they must converge to the same number because limm→∞(S2m+1−S2m)=limm→∞a2m+1=0. Call the limit L, then the monotone convergence theorem also tells us extra information that S2m≤L≤S2m+1 for any m. This means the partial sums of an alternating series also "alternates" above and below the final limit. More precisely, when there is an odd (even) number of terms, i.e. the last term is a plus (minus) term, then the partial sum is above (below) the final limit. This understanding leads immediately to an error bound of partial sums, shown below.
Proof of the alternating series estimation theorem We would like to show |Sk−L|≤ak+1 by splitting into two cases. When k = 2m+1, i.e. odd, then |S2m+1−L|=S2m+1−L≤S2m+1−S2m+2=a(2m+1)+1. When k = 2m, i.e. even, then |S2m−L|=L−S2m≤S2m+1−S2m=a2m+1 as desired. Both cases rely essentially on the last inequality derived in the previous proof.
Newer error bounds Philip Calabrese (1962) and Richard Johnsonbaugh (1979) have found tighter bounds.
Examples
A typical example The alternating harmonic series ∑n=1∞(−1)n+1n=1−12+13−14+15−⋯ meets both conditions for the alternating series test and converges.
Monotonicity is needed Both conditions in the test must be met for the conclusion to be true. For example, take the series 12−1−12+1+13−1−13+1+⋯ . The signs are alternating and the terms tend to zero. However, monotonicity is not present and we cannot apply the test. Actually, the series is divergent. Indeed, for the partial sum S2n we have S2n=21+22+23+⋯+2n−1 which is twice the partial sum of the harmonic series, which is divergent. Hence the original series is divergent.
The test is sufficient, but not necessary Leibniz test's monotonicity is not a necessary condition, thus the test itself is only sufficient, but not necessary. Examples of nonmonotonic series that converge are: ∑n=2∞(−1)nn+(−1)nand∑n=1∞(−1)ncos2nn2 . In fact, for every monotonic series it is possible to obtain an infinite number of nonmonotonic series that converge to the same sum by permuting its terms with permutations satisfying the condition in Agnew's theorem.
See also Alternating series Dirichlet's test
Notes
References Apostol, Tom M. (1967) [1961]. Calculus. Vol. 1 (2nd ed.). John Wiley & Sons. ISBN 0-471-00005-1. Konrad Knopp (1956) Infinite Sequences and Series, § 3.4, Dover Publications ISBN 0-486-60153-6 Konrad Knopp (1990) Theory and Application of Infinite Series, § 15, Dover Publications ISBN 0-486-66165-2 Rudin, Walter (1976) [1953]. Principles of mathematical analysis (3rd ed.). New York: McGraw-Hill. ISBN 0-07-054235-X. OCLC 1502474. Spivak, Michael (2008) [1967]. Calculus (4th ed.). Houston, TX: Publish or Perish. ISBN 978-0-914098-91-1. James Stewart, Daniel Clegg, Saleem Watson (2016) Single Variable Calculus: Early Transcendentals (Instructor's Edition) 9E, Cengage ISBN 978-0-357-02228-9 {{isbn}}: Check isbn value: checksum (help) E. T. Whittaker & G. N. Watson (1963) A Course in Modern Analysis, 4th edition, §2.3, Cambridge University Press ISBN 0-521-58807-3