Unit 10 Topic 10.10

The Alternating Series Error Bound

every AB topic, then series

3 min readfreeNot practiced

When a series converges, a partial sum SnS_n is an estimate of its sum SS. The question that follows is always: how good is the estimate? For most series that is hard to answer. For an alternating series that meets the conditions of the alternating series test, the answer is one term long.

Where the bound comes from

Partial sums of 1 minus 1/4 plus 1/9 minus 1/16 and so on, for N = 1 to 8, zigzagging around a dashed line at pi squared over 12, about 0.822. A shaded band runs from S sub 4 = 115/144, about 0.7986, up to S sub 4 plus the next term, 1/25. The sum lies inside the band: the error of S sub 4 is about 0.0239, less than 1/25.
Figure 1. The sum lies in the band from S4S_4 to S4+a5S_4 + a_5. LevlPrep original diagram.

The partial sums of such a series zigzag around the sum with shrinking steps, so the sum is always trapped between two consecutive partial sums, SnS_n and Sn+1S_{n+1}. Those two differ by exactly the next term, whose size is an+1a_{n+1}. A number trapped between them cannot be farther than an+1a_{n+1} from SnS_n. The figure shows this for ∑(−1)n+1n2\sum \frac{(-1)^{n+1}}{n^2}: the sum, about 0.8220.822, sits inside the band from S4≈0.799S_4 \approx 0.799 to S4+125≈0.839S_4 + \frac{1}{25} \approx 0.839.

The alternating series error bound

If a series alternates and the sizes ana_n of its terms decrease and approach 0, then

|S−Sn|≤an+1.|S - S_n| \le a_{n+1}.

In words: the error of a partial sum is at most the size of the first term left out. The bound says nothing for a series of positive terms, or for an alternating series whose sizes do not decrease, so the conditions are part of every answer.

Worked example 1. Let SS=∑n=1∞(−1)n+1n3= \sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n^3}. Estimate SS with S4S_4 and bound the error.

S4S_4=1−18= 1 - \frac{1}{8}+127−164+ \frac{1}{27} - \frac{1}{64}=1728−216+64−271728= \frac{1728 - 216 + 64 - 27}{1728}=15491728= \frac{1549}{1728}≈0.8964\approx 0.8964.

Conditions: the series alternates, and 1n3\frac{1}{n^3} decreases and approaches 0. So the alternating series error bound applies.

Bound: |S−S4|≤a5|S - S_4| \le a_5=1125= \frac{1}{125}=0.008= 0.008.

Showing an estimate is good enough

Exam questions often give a number and ask you to show the error is less than it. The model sentence has three parts: the conditions, the bound, and a comparison.

Worked example 2. Show that S4S_4 from worked example 1 differs from SS by less than 0.010.01.

"The series alternates and the terms 1n3\frac{1}{n^3} decrease in size and approach 0, so the alternating series error bound applies: |S−S4|≤1125<0.01|S - S_4| \le \frac{1}{125} < 0.01."

Write "≤\le" for the bound and "<<" for the comparison. Never write that the error equals 1125\frac{1}{125}: the bound is a ceiling, and the actual error here is about 0.00510.0051.

How many terms are enough?

To guarantee an error below some target, find the first nn whose next term is below the target.

Worked example 3. How many terms of ∑n=0∞(−1)nn!\sum_{n=0}^{\infty} \frac{(-1)^n}{n!} guarantee an error below 0.0010.001?

The sizes 1n!\frac{1}{n!} decrease (from n=1n = 1 on) and approach 0, so the bound applies. Using the terms through n=kn = k, the bound is the next size, 1(k+1)!\frac{1}{(k+1)!}.

16!=1720≈0.00139\frac{1}{6!} = \frac{1}{720} \approx 0.00139 is too big; 17!\frac{1}{7!}=15040= \frac{1}{5040}≈0.0002<0.001\approx 0.0002 < 0.001. So use the terms through n=6n = 6: seven terms.

Too big or too small?

The sign of the first omitted term tells you which side of the sum SnS_n is on. If that term is negative, the next step would go down, so SnS_n is above the sum: an overestimate. If it is positive, SnS_n is an underestimate. In worked example 1 the next term is +1125+\frac{1}{125}, so S4S_4 is an underestimate and S4<S<S4+1125S_4 < S < S_4 + \frac{1}{125}.

StepWhat to write
Conditionsthe series alternates; the sizes decrease and approach 0
Bound|S−Sn|≤an+1|S - S_n| \le a_{n+1}, the first omitted term, computed
Comparisonan+1<a_{n+1} < the given number
Direction (if asked)the sign of the first omitted term

This bound returns in the next two topics: some polynomial approximations of functions produce alternating sums, and then this bound is the quickest way to measure their error.

Spot a mistake on this page?