



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The alternating series test, a criterion for the convergence of alternating series, and provides an error bound for partial sums. The document also includes examples and a glossary of series terms.
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!
This lecture will discuss one final convergence test and error bound for series, which concerns alternating series. A general summary of various concepts from the series unit follows. The alternating series test gives a simple criterion for the convergence of a series whose terms alternate between positive and negative: if the terms decrease in magnetite and approach 0, then the series converges. This is most easily visualized by partial sum diagrams on the number line. The next lecture will begin the unit on differential equations. The reading for today is Gottlieb § 30 .4 up to page 956, and the handout titled “Alternating series” (under “reading for the course”). The homework is problem set 23 and a topic outline.
The notion of an alternating series is quite simple. A series is called an alternating series if its terms alternative between being positive and negative. For example, the following are alternating series.
n=
(−1)n^
x^2 n (2n)!
When a series is written in Σ notation, alternating series are most easily recognized by a factor of (−1)n, as in the third example above. Alternating series frequently occur in the context of power series. It turns out to often be much simpler to consider alternating series than series in general. For example, consider the alternating harmonic series. To help visualize the sums of this series, the plot below shows successive partial sums.
Two features are apparent: the partial sums are bouncing back and forth around the eventual sum (alternating between being above and below it), and each sum is either an upper bound or lower bound for all the sums that follow it. What caused this to happen in the picture? The essential fact is that the magnitudes of the terms are decreasing. Reasoning in this way give the following result.
Theorem 2.1 (Alternating series test). If the terms of an alternating series are decreasing in magnitude and approach 0 , then the series converges. In symbols, a series
n=0(−1)
nan = a 0 − a 1 + a 2 − a 3 + · · · ,
where each an is positive, will converge if a 0 > a 1 > a 2 > · · · and limn→∞ an = 0.
In fact, a little bit more can be said about such alternating series: it is very easy to obtain error bounds for partial sums (i.e. bounds on the distance between a partial sum and the eventual sum). Suppose that a 0 − a 1 + a 2 − a 3 + · · · is an alternating series with a 0 > a 1 > a 2 > · · ·. Denote by sn the partial sum sn = a 0 − a 1 + a 2 − · · · ± an. Then notice that if n is even, then sn is an upper bound for all later partial sums, while if n is odd then sn is a lower bound. In particular, the eventual limit (if it exists) must lie somewhere between sn and sn+1. This means, in particular, that the error of sn (the difference between is and the total sum) is bounded by |sn+1 − sn| = an+1. Thus we obtain the following.
Theorem 2.2 (Alternating series error estimate). Suppose a 0 − a 1 + a 2 − a 3 + · · · is an alternating series with a 0 > a 1 > a 2 > · · · and such that limn→∞ an = 0. Let the sum of this series be s. Then the error of the partial sum sn is at most |an+1|. In other words,
|(a 0 − a 1 + a 2 − · · · ± an) − s| < an+
In other words: the error of a partial sum of the series is bounded by the next term in the series.
Example 2.3. We have mentioned that the sum of the alternating harmonic series 1 − 12 + 13 − 14 + · · · is ln 2 (this comes from the Taylor series of ln x centered at 1). How many terms must be added to guarantee an error of less than 1/100 from the actual value of ln 2? Consider a partial sum 1 − 12 + · · · ± (^1) n. By he alternating series error estimate, the difference between this value and ln 2 is bounded in magnitude by the absolute value of the next term, i.e. (^) n^1 +1. If we want this error to be less than 0.01, we must ensure that (^) n^1 +1 ≤ 1001 , i.e. n ≥ 99.
So 1− 12 + 13 −· · ·+ 991 estimates ln 2 to within an error of 0.01. Note that this is quite a bit of computation to have to do for this level of accuracy – in practice, more efficient methods should be used. Note also that since the next terms to be added is − 1001 , this partial sum is in fact an upper bound for the actual value ln 2.
Example 2.4. Estimate (^1) e to within an error of 0.01. We can use the Maclaurin series for ex^ to see that (^1) e = 1 − 1 + 12 − (^) 3!^1 + · · ·. This is an alternating series with terms decreasing in magnitude and approaching 0. The partial sum 1 − 1 + 12 − (^) 3!^1 + · · · + (−1)n^ n^1! must have error of at most the size of the next term, (^) (n+1)!^1. Therfore, we need n to be large enough that 1 (n+1)! <^
1 100 , i.e. (n^ + 1)!^ >^ 100. Since 5! = 120^ >^ 100,^ n^ = 4 will suffice. Therefore the sum 1 − 1 + 12 − (^) 3!^1 + (^) 4!^1 = 12 − 16 + 241 = 38 is an estimate of (^1) e , with error of at most 1 120 <^0 .01. In fact, it is an overestimate since the last term included was positive. Note, in fact, that this error bound is the same as what would be obtained from the Taylor remained theorem.
The following glossary lists and gives brief descriptions of most of the important terms from the unit on series.
np^.^ Such a series converges if and only if p > 1.
(n)(c) n! (x^ −^ c)
n. If the function has a power series representation, this is the only possible series that it could be.
The following is a rough list of steps to follow to try to determine whether a given series converges. It is kind of like a choose your own adventure. Of course you Suppose that the series is given as
a 1 + a 2 + a 3 + · · ·.
∣ a an+1n
∣ or limn→∞ n
|an| (if both exist, then they are equal). If the limit is L, and L < 1, then the series converges absolutely. If L > 1, the series diverges. Otherwise, the test is inconclusive.
These methods summarize most of the main techniques that we have studied. If none of them work, you may have to get more creative.