Unit 4: Infinite series

Adding up infinitely many numbers

An infinite sum like ½ + ¼ + ⅛ + ⋯ can have a perfectly finite answer. Another, like 1 + ½ + ⅓ + ⋯, creeps off to infinity even though its terms shrink to nothing. This unit gives the tests that tell them apart, and shows the strange things that happen when you shuffle the terms.

123456789101112
In this unit
  1. Partial sums
  2. Geometric series
  3. Small terms aren't enough
  4. Comparing series
  5. The ratio and root tests
  6. Alternating series
  7. Absolute convergence and rearrangements
  8. Practice set
  9. Summary and glossary

Partial sums

You can't literally perform infinitely many additions. Instead, an infinite sum is defined as a limit. For a series \(\sum_{n=1}^\infty a_n = a_1 + a_2 + a_3 + \cdots\), form the partial sums

\[ s_N = a_1 + a_2 + \cdots + a_N. \]

Definition

The series \(\sum a_n\) converges to \(S\) if its partial sums \(s_N\) converge to \(S\) as a sequence. Then we write \(\sum_{n=1}^\infty a_n = S\). Otherwise the series diverges.

So everything from Units 2 and 3 applies: a series is just a sequence in disguise. This settles one of the puzzles from Unit 1. The partial sums of \(1 - 1 + 1 - 1 + \cdots\) are \(1, 0, 1, 0, \dots\), which have no limit. The series diverges, and the two "answers" 0 and 1 came from regrouping a sum that doesn't exist.

Geometric series

½ + ¼ + ⅛ + ⋯ = 1A unit square cut in half, then the remaining half cut in half, and so on. The pieces have areas ½, ¼, ⅛, 1/16 and so on, alternating red and blue, and together they fill the whole square, so the infinite sum is 1.½¼⅛1/161/32
Filling a square. Halve the square, then halve what's left, and keep going. The pieces never run out, but they fill exactly the area 1.

A geometric series has a fixed ratio \(r\) between consecutive terms. There's a neat trick for its partial sums: if \(s = 1 + r + \cdots + r^N\), then \(rs = r + \cdots + r^{N+1}\), and subtracting, \((1 - r)s = 1 - r^{N+1}\).

\( \displaystyle 1 + r + r^2 + \cdots + r^N = \frac{1 - r^{N+1}}{1 - r} \quad\longrightarrow\quad \sum_{n=0}^\infty r^n = \frac{1}{1 - r} \;\text{ when } |r| < 1 \) For \(|r| < 1\), \(r^{N+1} \to 0\) (Unit 2). For \(|r| \ge 1\) the series diverges.

Example: 0.999… once more

\(0.999\ldots = \tfrac9{10} + \tfrac9{100} + \tfrac9{1000} + \cdots = \tfrac9{10}\cdot\frac{1}{1 - \frac1{10}} = \tfrac9{10}\cdot\tfrac{10}9 = 1.\) Every repeating decimal is a geometric series in disguise, which is why repeating decimals are always fractions.

Small terms aren't enough

The divergence test

If \(\sum a_n\) converges, then \(a_n \to 0\). Equivalently, if the terms don't tend to 0, the series diverges.

(Because \(a_n = s_n - s_{n-1}\), and both partial sums tend to the same limit \(S\).) But the converse is false, and this is the most common mistake in the subject. The harmonic series \(1 + \tfrac12 + \tfrac13 + \tfrac14 + \cdots\) has terms tending to 0, yet it diverges.

Proof (Oresme, around 1350)

Group the terms in blocks that double in length:

\[ 1 + \tfrac12 + \left(\tfrac13 + \tfrac14\right) + \left(\tfrac15 + \tfrac16 + \tfrac17 + \tfrac18\right) + \cdots \ \ge\ 1 + \tfrac12 + \tfrac12 + \tfrac12 + \cdots \]

Each block is at least \(\tfrac12\), since it has \(2^k\) terms each at least \(\tfrac1{2^{k+1}}\). So \(s_{2^k} \ge 1 + \tfrac k2\), which is unbounded. ∎

The harmonic series creeps to infinityPartial sums of 1 + ½ + ⅓ + ⋯ for n up to 60, plotted as red dots, alongside the curve ln n in blue. The dots climb ever more slowly, reaching only about 4.68 at n = 60, but they stay a fixed distance (about 0.58) above ln n, which grows without bound.120406012345Hₙ = 1 + ½ + ⋯ + 1/nln n
Slow but unstoppable. The partial sums \(H_n\) grow like \(\ln n\). You need about 12,000 terms to pass 10, and about \(1.5 \times 10^{43}\) terms to pass 100. But they pass every number eventually.

Comparing series

For series with positive terms, the partial sums only increase. By monotone convergence (Unit 3), such a series converges exactly when its partial sums are bounded. That makes comparison the natural tool.

The comparison test

Suppose \(0 \le a_n \le b_n\) for all \(n\). If \(\sum b_n\) converges, so does \(\sum a_n\). If \(\sum a_n\) diverges, so does \(\sum b_n\).

To use it you need a stock of series whose behaviour you know. The most useful are the \(p\)-series.

The \(p\)-series

\(\displaystyle\sum_{n=1}^\infty \frac1{n^p}\) converges if \(p > 1\) and diverges if \(p \le 1\).

Boxes under a curveThe curve y = 1/x² from x = 1 to 6. Under it sit red boxes: the box from 1 to 2 has height ¼, from 2 to 3 height 1/9, and so on, each box reaching the curve at its right edge. So the total area of the boxes, ¼ + 1/9 + 1/16 + ⋯, is less than the area under the curve from 1 onwards, which is 1.1234561¼¼1/9y = 1/x²
Why \(\sum 1/n^2\) converges. The terms from \(\tfrac14\) onwards are areas of boxes that fit under the curve \(y = 1/x^2\), whose total area from 1 to infinity is 1. So the partial sums are less than \(1 + 1 = 2\). The same picture with \(y = 1/x\) has infinite area, which is the harmonic series again. Comparing sums with areas like this is called the integral test; Units 9 and 10 make the areas rigorous.

In fact \(\sum \frac1{n^2} = \frac{\pi^2}6\), found by Euler in 1734 (the "Basel problem"). Knowing that the sum is finite is much easier than finding it.

Example

\(\sum \frac{1}{n^2 + n + 5}\) converges, since its terms are smaller than \(\frac1{n^2}\). And \(\sum \frac{1}{2n - 1}\) diverges, since its terms are bigger than \(\frac1{2n}\), and \(\sum \frac1{2n} = \tfrac12\sum\frac1n\) diverges. The rule of thumb: look at what the terms behave like for large \(n\), and compare with that.

The ratio and root tests

If the terms eventually shrink by a factor at least as strong as some \(r < 1\), the series is no worse than a geometric series.

The ratio test

Suppose \(\left|\dfrac{a_{n+1}}{a_n}\right| \to L\). If \(L < 1\), \(\sum a_n\) converges. If \(L > 1\), it diverges. If \(L = 1\), the test says nothing.

The root test works the same way with \(\sqrt[n]{|a_n|} \to L\). Both are ideal for series with factorials and exponentials. Both fail on \(p\)-series, where the ratio tends to 1: \(\sum\frac1n\) and \(\sum\frac1{n^2}\) both have \(L = 1\), but one diverges and one converges.

Example

For \(\sum \frac{2^n}{n!}\): \(\frac{a_{n+1}}{a_n} = \frac{2^{n+1}}{(n+1)!}\cdot\frac{n!}{2^n} = \frac2{n + 1} \to 0 < 1\). It converges. (Its sum is \(e^2 - 1\), as Unit 8 explains.)

Alternating series

Some series converge only because positive and negative terms cancel. The classic is the alternating harmonic series \(1 - \tfrac12 + \tfrac13 - \tfrac14 + \cdots\).

The alternating series test (Leibniz)

If \(b_1 \ge b_2 \ge b_3 \ge \cdots \ge 0\) and \(b_n \to 0\), then \(b_1 - b_2 + b_3 - b_4 + \cdots\) converges. Moreover, the error after \(N\) terms is at most the next term, \(b_{N+1}\).

The partial sums step down, then up by less, then down by less again, zigzagging inside ever-narrower nested intervals. By the nested interval property (Unit 1) they close in on a single number. For the alternating harmonic series, that number turns out to be \(\ln 2 \approx 0.693\).

Absolute convergence and rearrangements

Definition

\(\sum a_n\) converges absolutely if \(\sum |a_n|\) converges. If \(\sum a_n\) converges but \(\sum |a_n|\) doesn't, it converges conditionally.

Absolute convergence implies convergence (by the Cauchy criterion: \(|a_{m+1} + \cdots + a_n| \le |a_{m+1}| + \cdots + |a_n|\)). The alternating harmonic series converges conditionally: it converges, but its absolute values form the harmonic series.

The difference matters, because of a startling theorem. In a finite sum, the order doesn't matter. In a conditionally convergent series, it does.

Riemann's rearrangement theorem

If \(\sum a_n\) converges conditionally, then for any number \(S\), its terms can be reordered so that the new series converges to \(S\). They can even be reordered to diverge.

Same terms, different sumsTwo zigzag lines of partial sums, for 40 terms each. The red one adds 1 − ½ + ⅓ − ¼ + ⋯ in the usual order and settles towards ln 2, about 0.693. The blue one uses exactly the same terms, but takes positive terms until the total passes 1.5, then negative terms until it drops below 1.5, and so on; it settles towards 1.5.1102030400.5ln 211.5original order → ln 2rearranged → 1.5
Reordering changes the answer. The same terms \(1, -\tfrac12, \tfrac13, -\tfrac14, \dots\), in two orders. The recipe for the blue one: add positive terms until you pass 1.5, then negative terms until you drop below, and repeat. Both the positive terms and the negative terms add up to infinity on their own, so you never run out of either, and since the terms shrink, the overshoots shrink too.

Absolutely convergent series are safe: every rearrangement converges to the same sum. That's why mathematicians are careful about absolute convergence before manipulating infinite sums freely.

Practice set

Mixed questions covering the whole unit. Try each one before opening the answer.

1. Find \(\displaystyle\sum_{n=1}^\infty \frac3{4^n}\).

Show answer

It's geometric with first term \(\tfrac34\) and ratio \(\tfrac14\): \(\frac{3/4}{1 - 1/4} = 1\).

2. Does \(\displaystyle\sum \frac{n}{n^2 + 1}\) converge?

Show answer

No. For \(n \ge 1\), \(n^2 + 1 \le 2n^2\), so \(\frac{n}{n^2 + 1} \ge \frac{1}{2n}\), and \(\sum\frac1{2n}\) diverges.

3. Use the ratio test on \(\displaystyle\sum \frac{n^2}{2^n}\).

Show answer

\(\frac{(n + 1)^2}{2^{n+1}}\cdot\frac{2^n}{n^2} = \frac12\left(1 + \frac1n\right)^2 \to \frac12 < 1\). It converges.

4. Does \(\displaystyle\sum \frac{(-1)^n}{\sqrt n}\) converge absolutely, conditionally, or not at all?

Show answer

Conditionally. The terms \(\tfrac1{\sqrt n}\) decrease to 0, so the alternating series test applies. But \(\sum \frac1{\sqrt n}\) is a \(p\)-series with \(p = \tfrac12 \le 1\), which diverges.

5. Find \(\displaystyle\sum_{n=1}^\infty \frac1{n(n + 1)}\). (Hint: \(\frac1{n(n + 1)} = \frac1n - \frac1{n + 1}\).)

Show answer

The partial sums telescope: \(s_N = (1 - \tfrac12) + (\tfrac12 - \tfrac13) + \cdots + (\tfrac1N - \tfrac1{N + 1}) = 1 - \tfrac1{N + 1} \to 1\).

6. Does \(\displaystyle\sum \frac{\sin n}{n^2}\) converge?

Show answer

Yes, absolutely: \(\left|\frac{\sin n}{n^2}\right| \le \frac1{n^2}\), and \(\sum\frac1{n^2}\) converges. The signs of \(\sin n\) are irregular, but absolute convergence doesn't care.

Summary and glossary

  1. A series converges if its partial sums converge.
  2. Geometric: \(\sum r^n = \frac1{1 - r}\) for \(|r| < 1\).
  3. Terms must tend to 0, but that's not enough: the harmonic series diverges.
  4. Positive series: compare with known ones, especially \(\sum\frac1{n^p}\) (converges iff \(p > 1\)). Ratio and root tests compare with geometric series.
  5. Alternating series with terms decreasing to 0 converge.
  6. Absolutely convergent series can be rearranged freely; conditionally convergent ones can be rearranged to give any sum.
Series
An infinite sum \(\sum a_n\), defined as the limit of its partial sums.
Partial sum
\(s_N = a_1 + \cdots + a_N\).
Geometric series
\(\sum r^n\), each term a fixed multiple of the last.
Harmonic series
\(\sum\frac1n\), which diverges.
Absolute convergence
\(\sum|a_n|\) converges.
Conditional convergence
Converges, but not absolutely.
Powered by Webloyt | Report abuse