Alternating series test

{{Short description|Test for convergence of alternating series}}

{{Calculus |Series}}

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.{{harvnb|Apostol|1967|pp=403–404}}{{harvnb|Spivak|2008|p=481}}{{Harvnb|Rudin|1976|p=71}}

For a generalization, see Dirichlet's test.{{harvnb|Apostol|1967|pp=407–409}}{{harvnb|Spivak|2008|p=495}}{{Harvnb|Rudin|1976|p=70}}

History

Leibniz discussed the criterion in his unpublished De quadratura arithmetica of 1676{{Cite journal |last=Beeley |first=Philip |date=1995-07-01 |title=Leibniz: De quadratura arithmetica circuli ellipseos et hyperbolae cujus corollarium est trigonometria sine tabulis |url=https://www.pdcnet.org/leibniz/content/leibniz_1995_0005_0000_0015_0017?file_type=pdf |journal=The Leibniz Review |language=en |volume=5 |pages=15–17 |doi=10.5840/leibniz1995517|url-access=subscription }}{{Cite book |last=Liebniz |title=De quadratura arithmetica |at=Proposition 49}} and shared his result with Jakob Hermann in June 1705{{Cite book |last=Knopp |first=Konrad |url=https://books.google.com/books?id=HPkgAAAAMAAJ&q=alternating |title=Theory and Application of Infinite Series |date=1928 |publisher=Blackie & Son |pages=131 |language=en}} and with Johann Bernoulli in October, 1713.{{Cite book |last=Ferraro |first=Giovanni |url=https://books.google.com/books?id=vLBJSmA9zgAC&q=leibniz%20bernoulli |title=The Rise and Development of the Theory of Series up to the Early 1820s |date=2007-12-20 |publisher=Springer Science & Business Media |isbn=978-0-387-73468-2 |series=Sources and Studies in the History of Mathematics and Physical Sciences |language=en}} It was only formally published in 1993.{{Cite journal |last=Knobloch |first=Eberhard |date=2006-02-01 |title=Beyond Cartesian limits: Leibniz's passage from algebraic to "transcendental" mathematics |url=https://www.sciencedirect.com/science/article/pii/S0315086004000199?ref=pdf_download&fr=RR-2&rr=90cd2cc71809e5e6 |journal=Historia Mathematica |series=The Origins of Algebra: From al-Khwarizmi to Descartes |volume=33 |issue=1 |pages=113–131 |doi=10.1016/j.hm.2004.02.001 |issn=0315-0860|url-access=subscription }}{{Cite book |last=Leibniz |first=Gottfried Wilhelm |title=De quadratura arithmetica circuli ellipseos et hyperbolae cujus corollarium est trigonometria sine tabulis |publisher=Vandenhoeck & Ruprecht |year=1993 |isbn=978-3-525-82120-6 |editor-last=Knobloch |editor-first=Eberhard |editor-link=Eberhard Knobloch |series=Abhandlungen der Akademie der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse |volume=043 |location=Göttingen |language=la, de |trans-title=On the arithmetical quadrature of the circle, the ellipse, and the hyperbola, whose corollary is trigonometry without tables |orig-year=1676 }}

Formal statement

= Alternating series test =

A series of the form

\sum_{n=0}^\infty (-1)^{n} a_n = a_0-a_1 + a_2 - a_3 + \cdots

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:

  1. |a_n| decreases monotonically,{{efn|In practice, the first few terms may increase. What is important is that b_{n} \geq b_{n+1} for all n after some point,{{cite web |last1=Dawkins |first1=Paul |title=Calculus II - Alternating Series Test |url=http://tutorial.math.lamar.edu/Classes/CalcII/AlternatingSeries.aspx |website=Paul's Online Math Notes |publisher=Lamar University |access-date=1 November 2019}} because the first finite amount of terms would not change a series' convergence/divergence.}} i.e., |a_{n+1}|\leq|a_n|, and
  2. \lim_{n \to \infty} a_n = 0 .

= Alternating series estimation theorem =

Moreover, let L denote the sum of the series, then the partial sum S_k = \sum_{n=0}^k (-1)^{n} a_n\! approximates L with error bounded by the next omitted term:

\left | S_k - L \right \vert \le \left | S_k - S_{k+1} \right \vert = a_{k+1}.\!

Proof

Suppose we are given a series of the form \sum_{n=1}^\infty (-1)^{n-1} a_n\!, where \lim_{n\rightarrow\infty}a_{n}=0 and a_n \geq a_{n+1} for all natural numbers n. (The case \sum_{n=1}^\infty (-1)^{n} a_n\! follows by taking the negative.)The proof follows the idea given by James Stewart (2012) “Calculus: Early Transcendentals, Seventh Edition” pp. 727–730. {{ISBN|0-538-49790-4}}

= Proof of the alternating series test =

{{for|an alternative proof using Cauchy's convergence test|Alternating series#Alternating series test}}

We will prove that both the partial sums S_{2m+1}=\sum_{n=1}^{2m+1} (-1)^{n-1} a_n with odd number of terms, and S_{2m}=\sum_{n=1}^{2m} (-1)^{n-1} a_n with even number of terms, converge to the same number L. Thus the usual partial sum S_k = \sum_{n=1}^k (-1)^{n-1} a_n also converges to L.

The odd partial sums decrease monotonically:

S_{2(m+1)+1}=S_{2m+1}-a_{2m+2}+a_{2m+3} \leq S_{2m+1}

while the even partial sums increase monotonically:

S_{2(m+1)}=S_{2m}+a_{2m+1}-a_{2m+2} \geq S_{2m}

both because an decreases monotonically with n.

Moreover, since an are positive, S_{2m+1}-S_{2m}=a_{2m+1} \geq 0 . Thus we can collect these facts to form the following suggestive inequality:

a_1 - a_2 = S_2 \leq S_{2m} \leq S_{2m+1} \leq S_1 = a_1 .

Now, note that a1a2 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 \lim_{m\to\infty}(S_{2m+1}-S_{2m})=\lim_{m\to\infty}a_{2m+1}=0.

Call the limit L, then the monotone convergence theorem also tells us extra information that

S_{2m} \leq L \leq S_{2m+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 \left| S_k - L \right| \leq a_{k+1}\! by splitting into two cases.

When k = 2m+1, i.e. odd, then

\left| S_{2m+1} - L \right| = S_{2m+1} - L \leq S_{2m+1} - S_{2m+2} = a_{(2m+1)+1} .

When k = 2m, i.e. even, then

\left| S_{2m} - L \right| = L - S_{2m} \leq S_{2m+1} - S_{2m} = a_{2m+1}

as desired.

Both cases rely essentially on the last inequality derived in the previous proof.

= Newer error bounds =

Philip Calabrese (1962){{Cite journal |last=Calabrese |first=Philip |date=1962 |title=A Note on Alternating Series |url=https://www.jstor.org/stable/2311056 |journal=The American Mathematical Monthly |volume=69 |issue=3 |pages=215–217 |doi=10.2307/2311056 |jstor=2311056 |issn=0002-9890|url-access=subscription }} and Richard Johnsonbaugh (1979){{Cite journal |last=Johnsonbaugh |first=Richard |date=1979-10-01 |title=Summing an Alternating Series |url=https://www.tandfonline.com/doi/abs/10.1080/00029890.1979.11994875 |journal=The American Mathematical Monthly |volume=86 |issue=8 |pages=637–648 |doi=10.1080/00029890.1979.11994875 |issn=0002-9890|url-access=subscription }} have found tighter bounds.{{Cite journal |last=Villarino |first=Mark B. |date=2018 |title=The Error in an Alternating Series |url=https://www.jstor.org/stable/48663300 |journal=The American Mathematical Monthly |volume=125 |issue=4 |pages=360–364 |doi=10.1080/00029890.2017.1416875 |jstor=48663300 |hdl=10669/75532 |issn=0002-9890|arxiv=1511.08568 }}

Examples

= A typical example =

The alternating harmonic series

\sum_{n=1}^\infty\frac{(-1)^{n+1}}{n}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\frac{1}{5}-\cdots

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

\frac{1}{\sqrt{2}-1}-\frac{1}{\sqrt{2}+1}+\frac{1}{\sqrt{3}-1}-\frac{1}{\sqrt{3}+1}+\cdots\ .

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 S_{2n} we have S_{2n}=\frac{2}{1}+\frac{2}{2}+\frac{2}{3}+\cdots+\frac{2}{n-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:

\sum_{n=2}^\infty \frac{(-1)^n}{n+(-1)^n}\quad\text{and}\quad\sum_{n=1}^{\infty} (-1)^n\frac{\cos^2n}{n^2}\ .

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.{{cite journal |first=Ralph Palmer |last=Agnew |date=1955 |title=Permutations preserving convergence of series |url=https://www.ams.org/journals/proc/1955-006-04/S0002-9939-1955-0071559-4/S0002-9939-1955-0071559-4.pdf |journal=Proc. Amer. Math. Soc. |volume=6 |issue=4 |pages=563–564|doi=10.1090/S0002-9939-1955-0071559-4 }}

See also

Notes

{{notelist}}

{{Reflist}}

References

  • {{Cite book

| last = Apostol | first = Tom M. | author-link = Tom M. Apostol

| year = 1967 |orig-year=1961

| title = Calculus

| volume = 1

| edition = 2nd

| publisher = 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}}
  • {{Cite book |last=Rudin |first=Walter |author-link=Walter Rudin |title=Principles of mathematical analysis |publisher=McGraw-Hill |year=1976 |isbn=0-07-054235-X |edition=3rd |location=New York |oclc=1502474 |orig-date=1953}}
  • {{Cite book

|last=Spivak |first=Michael | author-link = Michael Spivak

|year=2008 |orig-year=1967

|title=Calculus

|edition=4th

|location=Houston, TX |publisher=Publish or Perish

|isbn=978-0-914098-91-1

}}

{{Gottfried Wilhelm Leibniz}}

{{DEFAULTSORT:Alternating Series Test}}

Category:Convergence tests

Category:Gottfried Wilhelm Leibniz