← Return to lesson

Class materials · 10.10

Alternating Series Error Bound

Lecture transcript

0:00

In ten point seven, the partial sums of an alternating series zigzagged, closing in on the sum S from both sides. In practice, nobody adds forever. You stop after n terms and use S sub n as an approximation of S. Today we find out how far off that approximation can be, without ever knowing S. Idea one: where the sum sits. Go back to the series from last time: one, minus one half, plus one third, minus one fourth, and so on.

0:38

As before, b sub n is the size of the n-th term, without its sign. Here b sub n is one over n. Look at where S sits. The odd dots are above it, and the even dots are below it. So S is always trapped between two neighboring dots. Suppose we stop at S sub three.

1:00

That's one, minus one half, plus one third, which is five sixths. Measure a distance with an absolute value. The distance from S to S sub three is at most the distance from S sub four to S sub three, because S is between those dots. And S sub four is S sub three minus one fourth. So that gap is exactly b sub four, one fourth: the size of the next term. It's the same wherever you stop.

1:30

Stop at S sub n. The next dot is S sub n plus one, and the gap between them is the size of the term you add next: b sub n plus one. And S is between those dots. So the error in S sub n is at most b sub n plus one, the size of the first term you didn't use. That's the alternating series error bound. Idea two: what the bound means.

1:59

Keep these apart. S sub n is your approximation. b sub n plus one is the bound. And the actual error is the distance from S to S sub n, which you usually can't compute. The bound is a guarantee, not the error itself. It promises that the error is no bigger than that. So when a problem wants the error under one hundredth, you don't have to add up terms and watch.

2:26

The error is at most b sub n plus one. So just solve b sub n plus one, less than one hundredth: then the error is under it too. For our series, that's one over n plus one, less than one hundredth. That holds exactly when n plus one is more than one hundred, since one over a bigger positive number is smaller. Then n is more than ninety-nine, and n is a whole number, so n is at least one hundred. A caution. The bound only works for a series that passes the alternating series test.

3:02

Check the conditions before you use it. Idea three: too big, or too small. You can also tell which side of the sum you're on. Is S sub n too big, or too small? Stop at S sub three. The next term is negative one fourth, so the next dot, S sub four, is lower.

3:26

The sum S is between those dots: S sub four is less than S, which is less than S sub three. So S sub three is too big: it is more than the true sum. That's called an overestimate. Now stop at S sub four instead. The next term is positive one fifth, so the next dot, S sub five, is higher. Again S is between the dots: S sub four is less than S, which is less than S sub five.

3:58

So S sub four is too small: it is less than the true sum. That's called an underestimate. So here is the rule. If the next term is negative, you have an overestimate: the true sum is lower. If the next term is positive, you have an underestimate: the true sum is higher. Example one is a free response question.

4:23

Let S be the sum from n equals one to infinity of negative one to the n plus one, over n times two to the n. In part a, find S sub three. In part b, find the alternating series error bound for the distance from S to S sub three. In part c, decide whether S sub three is an overestimate or an underestimate, and explain. The plan: add the first three terms to get S sub three, and then look at the fourth term, the first one we skip. For part a, put in n equals one, two, and three: one over one times two, minus one over two times two squared, plus one over three times two cubed.

5:08

That's one half, minus one eighth, plus one over twenty-four. With a common denominator, that's twelve over twenty-four, minus three over twenty-four, plus one over twenty-four. So S sub three is five twelfths. Before part b, check the conditions. The sizes, one over n times two to the n, are decreasing, and their limit is zero. So the error bound applies.

5:36

This line earns the point. The first unused term is the fourth one. Its size is one over four times two to the fourth, one over sixty-four. So the error is at most one over sixty-four. The plan: find the sign of the first unused term, and see which way the next partial sum moves. The fourth term has an odd power of negative one, so it's negative: negative one over sixty-four.

6:08

So the next dot, S sub four, is lower than S sub three, and S is between them. That puts S below S sub three. This line earns the point. So S sub three is an overestimate, and the reason is the negative sign of the first unused term. Stay with part b for a moment. S sub three used some terms and skipped the rest, and that makes one wrong answer very common.

6:38

This is where people lose points. A common answer gives one over twenty-four as the bound. That's the third term, the last one that was already added. The bound is the size of the first term you did not use. That's the fourth term's size, one over sixty-four. Example two is multiple choice.

7:01

Using the alternating series error bound, what is the least n that guarantees S sub n is within zero point zero one of S, where S is the sum of negative one to the n plus one, over n cubed? The plan: don't add anything. Solve b sub n plus one, less than zero point zero one. First, the conditions. The sizes, one over n cubed, are decreasing, and their limit is zero. So the bound applies.

7:34

The size of the first unused term is b sub n plus one. Put n plus one in place of n: it is one over n plus one, cubed. We need that to be less than one hundredth, so n plus one, cubed, has to be more than one hundred. We need the first cube above one hundred. Four cubed is sixty-four, too small. Five cubed is one hundred twenty-five, large enough.

8:02

So the first unused term has index n plus one, and the smallest that index can be is five. That makes n equal to four, so the answer is B. Choice C is n plus one: the number of the first unused term. So, how far off can a partial sum be? The error in S sub n is at most the size of the first unused term, because S is trapped between neighboring partial sums. To guarantee an error under some target, solve an inequality for the size of the first unused term. No adding needed.

8:40

And the sign of the first unused term tells you whether the partial sum is too big or too small. Did you ever use the last term you added as the bound? Tell me in the comments. Next up, we start a new part of the unit: Taylor polynomials.