Alternating series estimation theorem and error bound
The alternating series test can tell us that a series converges, but we may still want to know what it adds up to. If we stop after a few terms, the size of the next term tells us how far off our estimate can be. Let’s use that bound to decide when we have enough terms.
Use the first omitted term to bound the error
Write the alternating terms as with . If and , the alternating series converges. Let be its sum and be the sum through term . The remainder is .
The consecutive partial sums and sit on opposite sides of , and their difference in size is . That’s why the distance from to is at most the size of the first term we left out.
Round a series estimate to three decimal places
Here . For , the ratio is at most . The magnitudes decrease and tend to zero, so the theorem applies.
| Terms | Partial sum |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 |
The error after three terms satisfies . Also, lies between and . Every number between those endpoints rounds to at three decimal places.
Choose the number of terms for a target error
For the alternating harmonic series, decreases to zero. To guarantee an error of at most , require the first omitted term to be at most that large.
The theorem guarantees the requested accuracy after terms. If the magnitudes instead are , they also decrease to zero, but much faster. In that case we need . Since and , the bound is small enough after just six terms.