- Source: Alternating series test
In mathematical analysis, the alternating series test is the method used to show that an alternating series is convergent when its terms (1) decrease in absolute value, and (2) approach zero in the limit. The test was used 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.
Formal statement
= Alternating series test
=A series of the form
∑
n
=
0
∞
(
−
1
)
n
a
n
=
a
0
−
a
1
+
a
2
−
a
3
+
⋯
{\displaystyle \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:
|
a
n
|
{\displaystyle |a_{n}|}
decreases monotonically, i.e.,
|
a
n
+
1
|
≤
|
a
n
|
{\displaystyle |a_{n+1}|\leq |a_{n}|}
, and
lim
n
→
∞
a
n
=
0
{\displaystyle \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
=
∑
n
=
0
k
(
−
1
)
n
a
n
{\textstyle S_{k}=\sum _{n=0}^{k}(-1)^{n}a_{n}\!}
approximates L with error bounded by the next omitted term:
|
S
k
−
L
|
≤
|
S
k
−
S
k
+
1
|
=
a
k
+
1
.
{\displaystyle \left|S_{k}-L\right\vert \leq \left|S_{k}-S_{k+1}\right\vert =a_{k+1}.\!}
Proof
Suppose we are given a series of the form
∑
n
=
1
∞
(
−
1
)
n
−
1
a
n
{\textstyle \sum _{n=1}^{\infty }(-1)^{n-1}a_{n}\!}
, where
lim
n
→
∞
a
n
=
0
{\displaystyle \lim _{n\rightarrow \infty }a_{n}=0}
and
a
n
≥
a
n
+
1
{\displaystyle a_{n}\geq a_{n+1}}
for all natural numbers n. (The case
∑
n
=
1
∞
(
−
1
)
n
a
n
{\textstyle \sum _{n=1}^{\infty }(-1)^{n}a_{n}\!}
follows by taking the negative.)
= Proof of the alternating series test
=We will prove that both the partial sums
S
2
m
+
1
=
∑
n
=
1
2
m
+
1
(
−
1
)
n
−
1
a
n
{\textstyle S_{2m+1}=\sum _{n=1}^{2m+1}(-1)^{n-1}a_{n}}
with odd number of terms, and
S
2
m
=
∑
n
=
1
2
m
(
−
1
)
n
−
1
a
n
{\textstyle 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
=
∑
n
=
1
k
(
−
1
)
n
−
1
a
n
{\textstyle 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
2
m
+
1
−
a
2
m
+
2
+
a
2
m
+
3
≤
S
2
m
+
1
{\displaystyle 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
2
m
+
a
2
m
+
1
−
a
2
m
+
2
≥
S
2
m
{\displaystyle 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
2
m
+
1
−
S
2
m
=
a
2
m
+
1
≥
0
{\displaystyle 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
≤
S
2
m
≤
S
2
m
+
1
≤
S
1
=
a
1
.
{\displaystyle a_{1}-a_{2}=S_{2}\leq S_{2m}\leq S_{2m+1}\leq S_{1}=a_{1}.}
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
lim
m
→
∞
(
S
2
m
+
1
−
S
2
m
)
=
lim
m
→
∞
a
2
m
+
1
=
0
{\displaystyle \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
2
m
≤
L
≤
S
2
m
+
1
{\displaystyle 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
|
S
k
−
L
|
≤
a
k
+
1
{\displaystyle \left|S_{k}-L\right|\leq a_{k+1}\!}
by splitting into two cases.
When k = 2m+1, i.e. odd, then
|
S
2
m
+
1
−
L
|
=
S
2
m
+
1
−
L
≤
S
2
m
+
1
−
S
2
m
+
2
=
a
(
2
m
+
1
)
+
1
.
{\displaystyle \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
|
S
2
m
−
L
|
=
L
−
S
2
m
≤
S
2
m
+
1
−
S
2
m
=
a
2
m
+
1
{\displaystyle \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.
Examples
= A typical example
=The alternating harmonic series
∑
n
=
1
∞
(
−
1
)
n
+
1
n
=
1
−
1
2
+
1
3
−
1
4
+
1
5
−
⋯
{\displaystyle \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.
= An example to show monotonicity is needed
=All of the conditions in the test, namely convergence to zero and monotonicity, should be met in order for the conclusion to be true. For example, take the series
1
2
−
1
−
1
2
+
1
+
1
3
−
1
−
1
3
+
1
+
⋯
.
{\displaystyle {\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
2
n
{\textstyle S_{2n}}
we have
S
2
n
=
2
1
+
2
2
+
2
3
+
⋯
+
2
n
−
1
{\textstyle 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 only sufficient, not necessary
=Leibniz test's monotonicity is not a necessary condition, thus the test itself is only sufficient, but not necessary. (The second part of the test is well known necessary condition of convergence for all series.)
Examples of nonmonotonic series that converge are:
∑
n
=
2
∞
(
−
1
)
n
n
+
(
−
1
)
n
and
∑
n
=
1
∞
(
−
1
)
n
cos
2
n
n
2
.
{\displaystyle \sum _{n=2}^{\infty }{\frac {(-1)^{n}}{n+(-1)^{n}}}\quad {\text{and}}\quad \sum _{n=1}^{\infty }(-1)^{n}{\frac {\cos ^{2}n}{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.
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
E. T. Whittaker & G. N. Watson (1963) A Course in Modern Analysis, 4th edition, §2.3, Cambridge University Press ISBN 0-521-58807-3
External links
Weisstein, Eric W. "Leibniz Criterion". MathWorld.
Jeff Cruzan. "Alternating series"
Kata Kunci Pencarian:
- Prof. Mohamad Ali Fulazzaky, Ph.D
- Tekken 6
- Alternating series test
- Alternating series
- Convergence tests
- Convergent series
- Series (mathematics)
- Leibniz's rule
- Harmonic series (mathematics)
- Dirichlet's test
- AST
- Leibniz theorem