A14 · Lesson 5 · Series and convergence tests
When an infinite sum has a value, and how many terms you need
Fourier series, power series, the impulse response of a filter summed over all time: engineering is full of infinite sums, and two questions always come up. Does the sum have a value at all? And if you stop after N terms, how far off are you? A series converges when its partial sums do, so lesson 3 and 4's tools apply directly, and a handful of tests settle most cases. The useful ones don't just say "converges"; they bound the remainder, which tells you how many terms to compute.
- The two curves bound the partial sums by the integral test: . The p-series converges exactly when p > 1.
- At p = 2 both bounds level off, and the true sum, , lies between 1 and 2. The readout bounds what's still missing after 60 terms.
- Lower p toward 1: the bounds keep climbing much longer, and at p = 1 (the harmonic series) they grow like forever.
Predict
The alternating series equals ln 2. About how many terms give 6 correct decimals?
About a million: for an alternating series with decreasing terms the error after N terms is at most the next term, , and that's below only when N is about . Convergent isn't the same as useful; gets 6 decimals in about 16 terms.
Name it
Convergence of a series
converges to S if its partial sums converge to S. Necessary (not sufficient): .
Tests for positive terms
| Test | Converges if | Diverges if |
|---|---|---|
| comparison | with convergent | with divergent |
| limit comparison | : same behavior as | |
| ratio | (= 1: no decision) | |
| root | ||
| integral (f decreasing, ) | finite |
Benchmarks: the geometric series for ; the p-series converges exactly when p > 1.
Remainder bounds
- Integral test: .
- Alternating series with terms decreasing to 0: , and the sum lies between consecutive partial sums.
- Geometric tail: .
Worked example
How many terms of give an error below ?
Show the solution
- Bound the tail. The tail after N terms is at most so N = 10 000 suffices.
- Check it's needed. The lower bound shows about that many are needed.
- Correct for the tail. Adding to as a correction makes 100 terms do better than 10 000 without it.
Answer about 10 000 terms, or just 100 if you add to the partial sum as a correction.
Worked example
Test for convergence.
Show the solution
- Ratio test.
- Conclude. The limit is below 1, so the series converges.
- The general case. Any polynomial over any exponential with base above 1 behaves the same way.
Answer the series converges, by the ratio test with limit ½.
Worked example
Bound using its first 10 terms and the integral test.
Show the solution
- Partial sum.
- Lower bound for the tail.
- Upper bound for the tail.
- Bracket the sum. Adding the tail bounds to , the sum lies between 1.201664 and 1.202532.
- Take the midpoint. The midpoint, 1.202098, is about from the true value 1.2020569 (), far better than the error of alone. Bracketing the tail like this gets many digits from few terms.
Answer the sum lies between 1.201664 and 1.202532, and the midpoint 1.202098 is about from .
Check
What's ?
Check
For , what's the smallest N for which the alternating-series bound guarantees ?
Check
Using , what's the upper bound on the tail for p = 2, n = 10?
Check
What's the limit of the ratio for ?
Check
What's the tail ?
Check
Which series converges?
Check
Bracket the tail with integrals, for N = 10.
(a)
What is the lower bound, ?
(b)
What is the upper bound, ?
Check
The geometric series .
Step 1
What is its sum?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is its tail after the term ?
Explain why
Why does the alternating series test give an error bound as well as convergence?
With terms alternating in sign and decreasing in size to zero, each partial sum overshoots or undershoots the previous one by a smaller step, so the partial sums zigzag inward: the even ones increase, the odd ones decrease, and every even one is below every odd one. They squeeze together because the step sizes go to zero, so they converge to a number that lies between any two consecutive partial sums. The distance from to that limit is therefore less than the gap to , which is exactly the next term .
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.