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

A14 · Lesson 7 · Absolute and conditional convergence

When the order of the terms changes the sum

Addition of finitely many numbers doesn't care about order. Infinite sums can. The alternating harmonic series 1−12+13−⋯ converges to ln 2, but the same terms taken in a different order converge to ln 3, or to 0, or to anything you like, or diverge. The difference is between absolute convergence, where even the sizes of the terms add up to something finite, and conditional convergence, where the sum only works because positive and negative terms cancel in a particular order. Absolutely convergent series behave like finite sums; conditionally convergent ones need care, in proofs and in code.

  • Rearrange the alternating harmonic series: take p positive terms (1+13+⋯), then q negative ones (−12−14−⋯), and repeat. Every term is used exactly once.
  • The curve gives the sum as a function of the ratio p/q, and the readout gives it for your choice: ln⁡2+12ln⁡pq.
  • With p = q the usual sum, ln 2, comes back. With p/q = 4 the sum is ln 4; with p/q = 1/4 it's 0.

Predict

The terms of ∑k≥0(−1)k2k are added in some other order. What happens to the sum?

Name it

Absolute and conditional

∑ak converges absolutely if ∑|ak| converges. Absolute convergence implies convergence: by the Cauchy criterion, |∑k=mnak|≤∑k=mn|ak|, which is small for large m.

A series that converges but not absolutely converges conditionally, like ∑(−1)k+1k.

Rearrangements

  • Absolutely convergent: every rearrangement converges to the same sum.
  • Riemann's rearrangement theorem: a conditionally convergent series of real numbers can be rearranged to converge to any real number, or to diverge. The positive terms alone and the negative terms alone each diverge, so you can always add positives until you pass a target, then negatives until you fall below it, with overshoots shrinking to zero.

Products

The Cauchy product of ∑ak and ∑bk is ∑cn with cn=∑k=0nakbn−k, the rule for multiplying power series and for convolving sequences. If both converge absolutely, it converges to the product of the sums.

In practice

Floating-point sums are always finite, but the same caution applies: summing a long alternating series in a different order changes the rounding, and for conditionally convergent sums the reordering itself can change the answer.

Worked example

Find the sum when the alternating harmonic series is rearranged as two positive terms, then one negative.

Show the solution
  1. Use the rearrangement formula. With p = 2 positive terms and q = 1 negative, S=ln⁡2+12ln⁡21=ln⁡2+12ln⁡2=32ln⁡2=1.0397
  2. Check numerically. Summing 300 000 terms in that order gives 1.03972, matching.

Answer the rearranged series sums to 32ln⁡2=1.0397.

Worked example

Multiply ∑xk by itself as a Cauchy product.

Show the solution
  1. Coefficients of the product. cn=∑k=0nxkxn−k=(n+1)xn
  2. Sum it. For |x|<1, where both factors converge absolutely, ∑(n+1)xn=1(1−x)2
  3. Check at x = 0.5. 1(1−0.5)2=4

Answer ∑(n+1)xn=1(1−x)2 for |x|<1, which is 4 at x = 0.5.

Worked example

The alternating harmonic series sums to ln 2. How good is its tenth partial sum, and how can it be improved cheaply?

Show the solution
  1. The error of S10. With S10=0.645635 and ln⁡2=0.693147, the error is 0.693147−0.645635=0.0475
  2. Compare with the bound. The alternating-series bound promises only 111=0.091; the actual error is close to half the next term, 12×11=0.045
  3. Average neighbors. Averaging uses that. With S11=0.736544, S10+S112=0.691089 with an error of 0.0021, more than 20 times smaller.
  4. Why it works. Because the series converges only conditionally, its partial sums swing around the limit, and the midpoint of a swing is much closer.

Answer S10 is off by 0.0475, and averaging S10 with S11 gives 0.691089, off by only 0.0021.

Check

The alternating harmonic series is rearranged as 3 positive terms, then 2 negative ones, repeated. What's the sum?

Check

What's ∑k≥0(−0.25)k, in any order?

Check

What's ∑n≥0(n+1)xn at x = 0.2, the Cauchy product of ∑xk with itself?

Check

For ∑(−0.5)k, how large can the error be after the terms through k = 10, using the absolute tail as a bound?

Check

Which series converges conditionally?

Check

Put the steps of the proof that absolute convergence implies convergence in order.

  1. So the partial sums of ∑ak are Cauchy.
  2. By the triangle inequality, |∑k=mnak|≤∑k=mn|ak|<ε.
  3. By the Cauchy criterion, there's an N with ∑k=mn|ak|<ε for all n ≥ m > N.
  4. Let ε > 0, and suppose ∑|ak| converges.
  5. By completeness they converge.

Check

The alternating harmonic series is cut after N = 10 terms.

(a)

What bound does the alternating-series test give on the error?

(b)

About how large is the actual error?

Check

Cauchy products of ∑xk=11−x.

Step 1

What is ∑n≥0(n+1)xn, the product with itself?

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

How can rearranging the terms of a convergent series change its sum?

Practice

Keep practicing

8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.