A145 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 Sn=∑k=1n1kp by the integral test: ∫1n+1x−pdx≤Sn≤1+∫1nx−pdx. The p-series converges exactly when p > 1.
  • At p = 2 both bounds level off, and the true sum, π26=1.645, 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 ln⁡n forever.

Predict

The alternating series 1−12+13−14+⋯ equals ln 2. About how many terms give 6 correct decimals?

Name it

Convergence of a series

∑ak converges to S if its partial sums Sn=∑k=1nak converge to S. Necessary (not sufficient): ak→0.

Tests for positive terms

TestConverges ifDiverges if
comparisonak≤bk with ∑bk convergentak≥bk with ∑bk divergent
limit comparisonak/bk→c∈(0,∞): same behavior as ∑bk
ratiolim⁡ak+1ak<1>1 (= 1: no decision)
rootlim⁡ak1/k<1>1
integral (f decreasing, ak=f(k))∫1∞f finite∫1∞f=∞

Benchmarks: the geometric series ∑ark=a1−r for |r|<1; the p-series ∑1kp converges exactly when p > 1.

Remainder bounds

  • Integral test: ∫N+1∞f≤∑k>Nak≤∫N∞f.
  • Alternating series with terms decreasing to 0: |S−SN|≤|aN+1|, and the sum lies between consecutive partial sums.
  • Geometric tail: ∑k>Nark=arN+11−r.

Worked example

How many terms of ∑1k2 give an error below 10−4?

Show the solution
  1. Bound the tail. The tail after N terms is at most ∫N∞dxx2=1N so N = 10 000 suffices.
  2. Check it's needed. The lower bound 1N+1 shows about that many are needed.
  3. Correct for the tail. Adding 1N to SN as a correction makes 100 terms do better than 10 000 without it.

Answer about 10 000 terms, or just 100 if you add 1N to the partial sum as a correction.

Worked example

Test ∑k32k for convergence.

Show the solution
  1. Ratio test. (k+1)3/2k+1k3/2k=12(1+1k)3→12
  2. Conclude. The limit is below 1, so the series converges.
  3. 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 ∑k≥11k3 using its first 10 terms and the integral test.

Show the solution
  1. Partial sum. S10=1.197532
  2. Lower bound for the tail. ∑k>101k3≥∫11∞dxx3=12×121=0.004132
  3. Upper bound for the tail. ∑k>101k3≤∫10∞dxx3=1200=0.005
  4. Bracket the sum. Adding the tail bounds to S10, the sum lies between 1.201664 and 1.202532.
  5. Take the midpoint. The midpoint, 1.202098, is about 4×10−5 from the true value 1.2020569 (ζ(3)), far better than the error of S10 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 4×10−5 from ζ(3).

Check

What's ∑k=0∞1(0.5)k?

Check

For ∑(−1)k+1k, what's the smallest N for which the alternating-series bound guarantees |S−SN|<0.0007?

Check

Using ∫n∞x−pdx, what's the upper bound on the tail ∑k>n1kp for p = 2, n = 10?

Check

What's the limit of the ratio ak+1ak for ak=k2(3)k?

Check

What's the tail ∑k>201(0.5)k?

Check

Which series converges?

Check

Bracket the tail ∑k>N1k3 with integrals, for N = 10.

(a)

What is the lower bound, ∫N+1∞x−pdx?

(b)

What is the upper bound, ∫N∞x−pdx?

Check

The geometric series ∑k≥0ark.

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°.

Explain why

Why does the alternating series test give an error bound as well as convergence?

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.