Skip to content
EN - Language: English
MathematicsHigh school

Infinite series and convergence tests - partial sums, step by step

· 15 min read

In short

A series is an infinite sum a₁ + a₂ + a₃ + …. You add it one term at a time, and the running totals Sₙ are its partial sums. If they approach a number S, the series converges and S is its sum; if not, it diverges. The terms must tend to 0, but that is not enough - 1 + 1/2 + 1/3 + … diverges. Convergence tests decide without finding the sum.

Words to know

Series
An infinite sum a₁ + a₂ + a₃ + …, written Σaₙ.
Partial sum
Sₙ = a₁ + a₂ + … + aₙ, the running total after the first n terms.
Convergent series
A series whose partial sums approach a finite number. That number is the sum of the series.
Divergent series
A series whose partial sums have no finite limit - they grow past every number or keep swinging.
Harmonic series
1 + 1/2 + 1/3 + 1/4 + …. Its terms tend to 0, yet it diverges.
Absolute convergence
The series of absolute values Σ|aₙ| converges as well. A series that converges without it converges conditionally.

What do you think?

The terms of 1+12+13+14+…1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \dots get smaller and smaller and tend to 00. What happens to the total if you keep adding them forever?

The idea: add one term at a time

You cannot add infinitely many numbers in one go. So add them one at a time and keep a running total. After one term the total is S1=a1S_1 = a_1, after two terms S2=a1+a2S_2 = a_1 + a_2, and after nn terms Sn=a1+a2+⋯+anS_n = a_1 + a_2 + \dots + a_n. These running totals are the partial sums.

Then watch where they go. If they settle at a number SS, getting as close to it as you like, the series converges, and SS is its sum. If they do not - they grow past every number, or keep jumping about - the series diverges. So a series is really a sequence in disguise: the sequence of its partial sums.

For the totals to settle, the terms must shrink towards 00. But that alone is not enough. Deciding whether a series converges, usually without finding its sum, is what the convergence tests are for.

Running totals, step by step

Go through the animation with the buttons or the arrow keys. Tower nn is the partial sum SnS_n: its teal part is the total so far, and the amber block on top is the term just added.

510150.51

S₁ = 0.5 · S₂ = 0.75 · S₃ = 0.875

running totalterm addedterm taken awaysum

Step 1 of 6
Steps of the animation. Arrow keys move between steps.

Add 1/2 + 1/4 + 1/8 + … one term at a time. Tower n is the running total Sₙ, the sum of the first n terms, and its amber top is the term just added: S₁ = 0.5, S₂ = 0.75, S₃ = 0.875.

The harmonic series and 1+14+19+…1 + \frac{1}{4} + \frac{1}{9} + \dots both have terms that tend to 00. What decides is how fast they do it: 1n2\frac{1}{n^2} shrinks fast enough, 1n\frac{1}{n} does not.

Try it yourself: three families of series

Pick a family, set its ratio rr or its power pp, and add up to 30 terms. The towers are the partial sums, and the dashed line is the sum when the series converges.

Series
r = 0.5
n = 10
2468100.511.522

running totalterm addedterm taken awaysum

Term a₁₀
0.002
Partial sum S₁₀
1.998
Sum of the series
2
Verdict
converges: geometric, |r| < 1

What to notice:

  • geometric with r=0.5r = 0.5: the towers fill up to 2=11−0.52 = \frac{1}{1 - 0.5}. With r=−0.5r = -0.5 they swing above and below 23\frac{2}{3}. With r=1r = 1 or more they run away, and with r=−1r = -1 they jump between 11 and 00,
  • p-series with p=1p = 1: the harmonic series, which diverges. At p=1.1p = 1.1 the series converges, but so slowly that 30 terms are still far from its sum, about 10.5810.58,
  • p=0p = 0: every term is 11, so the terms do not tend to 00, and the towers climb 1,2,3,…1, 2, 3, \dots,
  • alternating with p=1p = 1: the towers swing around ln⁡2≈0.693\ln 2 \approx 0.693, each swing smaller than the one before. With p=0p = 0 they jump between 11 and 00 and never settle.

Definitions and tests

Series and its sum. For numbers a1,a2,a3,…a_1, a_2, a_3, \dots the partial sums of the series ∑n=1∞an\sum_{n=1}^{\infty} a_n are Sn=a1+⋯+anS_n = a_1 + \dots + a_n. If the limit lim⁡n→∞Sn=S\lim_{n \to \infty} S_n = S exists and is finite, the series converges, and we write ∑n=1∞an=S\sum_{n=1}^{\infty} a_n = S. Otherwise it diverges.

Geometric series. With first term a≠0a \neq 0 and common ratio rr, the series a+ar+ar2+…a + ar + ar^2 + \dots converges exactly when ∣r∣<1|r| < 1, and then

a+ar+ar2+⋯=a1−ra + ar + ar^2 + \dots = \frac{a}{1 - r}

For ∣r∣≥1|r| \ge 1 it diverges.

The nth term test (test for divergence). If ∑an\sum a_n converges, then an→0a_n \to 0. So if the terms do not tend to 00, the series diverges. It does not work the other way round: the terms of the harmonic series tend to 00, yet it diverges. Nicole Oresme proved this in the 14th century, by grouping the terms as in the animation.

p-series. ∑n=1∞1np\sum_{n=1}^{\infty} \frac{1}{n^p} converges for p>1p > 1 and diverges for p≤1p \le 1. For p=2p = 2 the sum is π26\frac{\pi^2}{6}: Leonhard Euler found it in the 1730s, solving the so-called Basel problem.

Comparison test. Suppose 0≤an≤bn0 \le a_n \le b_n for every nn. If ∑bn\sum b_n converges, so does ∑an\sum a_n. If ∑an\sum a_n diverges, so does ∑bn\sum b_n. In short: smaller than a convergent series means convergent, bigger than a divergent one means divergent.

Ratio test. For a series with non-zero terms, let

L=lim⁡n→∞∣an+1an∣L = \lim_{n \to \infty} \left| \frac{a_{n+1}}{a_n} \right|

If L<1L < 1, the series converges (even absolutely). If L>1L > 1, it diverges. If L=1L = 1, the test decides nothing: ∑1n\sum \frac{1}{n} and ∑1n2\sum \frac{1}{n^2} both give L=1L = 1.

Alternating series test. If b1≥b2≥b3≥⋯>0b_1 \ge b_2 \ge b_3 \ge \dots > 0 and bn→0b_n \to 0, then b1−b2+b3−…b_1 - b_2 + b_3 - \dots converges. Its sum SS lies between any two neighbouring partial sums, so the error after nn terms is at most the next term: ∣S−Sn∣≤bn+1|S - S_n| \le b_{n+1}. For example, 1−12+13−⋯=ln⁡21 - \frac{1}{2} + \frac{1}{3} - \dots = \ln 2.

Absolute and conditional convergence. If ∑∣an∣\sum |a_n| converges, then ∑an\sum a_n converges too: it converges absolutely. The series 1−12+13−…1 - \frac{1}{2} + \frac{1}{3} - \dots converges, but the series of its absolute values is the harmonic series, which diverges. Such a series converges conditionally.

Example 1: the ratio test

Does ∑n=1∞n2n=12+24+38+…\sum_{n=1}^{\infty} \frac{n}{2^n} = \frac{1}{2} + \frac{2}{4} + \frac{3}{8} + \dots converge?

Step 1. Write down two neighbouring terms

The ratio test needs the term ana_n and the next one, an+1a_{n+1}.

an=n2nan+1=n+12n+1\begin{aligned} a_n &= \frac{n}{2^n} \\ a_{n+1} &= \frac{n+1}{2^{n+1}} \end{aligned}

Step 2. Divide the next term by this one

Dividing by a fraction means multiplying by its reciprocal.

an+1an=n+12n+1⋅2nn\frac{a_{n+1}}{a_n} = \frac{n+1}{2^{n+1}} \cdot \frac{2^n}{n}

Step 3. Cancel the powers of 2

2n2^n cancels against 2n+1=2⋅2n2^{n+1} = 2 \cdot 2^n and leaves a 22 in the denominator.

an+1an=n+12n\frac{a_{n+1}}{a_n} = \frac{n+1}{2n}

Step 4. Take the limit

We split the fraction into two parts and let nn grow.

n+12n=12+12nL=12\begin{aligned} \frac{n+1}{2n} &= \frac{1}{2} + \frac{1}{2n} \\ L &= \boxed{\frac{1}{2}} \end{aligned}

Step 5. Compare the limit with 1

The limit is less than 11, so the ratio test says that the series converges.

L=12<1L = \frac{1}{2} < 1

Answer

The series converges: in the long run each term is about half the one before, as in a geometric series with r=12r = \frac{1}{2}. Its sum is 22, although the ratio test does not tell you that.

Example 2: a bouncing ball

A ball is dropped from a height of 2 m. After each bounce it rises to 34\frac{3}{4} of the height it fell from. How far does it travel in total, if it keeps bouncing forever?

Step 1. Work out the heights of the bounces

Each bounce reaches 34\frac{3}{4} of the height before.

h1=2⋅34=1.5h2=1.5⋅34=1.125\begin{aligned} h_1 &= 2 \cdot \tfrac{3}{4} = 1.5 \\ h_2 &= 1.5 \cdot \tfrac{3}{4} = 1.125 \end{aligned}

Step 2. Write the distance as a series

The ball falls 2 m once. Every bounce takes it up and back down the same height, so each height counts twice.

D=2+2(1.5+1.125+… )D = 2 + 2(1.5 + 1.125 + \dots)

Step 3. Sum the geometric series

The bracket is a geometric series with first term a=1.5a = 1.5 and ratio r=34r = \frac{3}{4}. Since ∣r∣<1|r| < 1, it converges.

1.5+1.125+…=1.51−34=1.50.25=6\begin{aligned} 1.5 + 1.125 + \dots &= \frac{1.5}{1 - \frac{3}{4}} \\ &= \frac{1.5}{0.25} \\ &= \boxed{6} \end{aligned}

Step 4. Add the first drop

We put the sum back into the distance.

D=2+2⋅6=14\begin{aligned} D &= 2 + 2 \cdot 6 \\ &= 14 \end{aligned}

Answer

The ball travels 1414 m in total - although it bounces infinitely many times.

Your turn

Does ∑n=1∞12n+n\sum_{n=1}^{\infty} \frac{1}{2^n + n} converge? Show that its sum is less than 11.

Hintshow

Compare each term with 12n\frac{1}{2^n}, and remember the sum of 12+14+18+…\frac{1}{2} + \frac{1}{4} + \frac{1}{8} + \dots from the animation.

Solutiontry it on your own first

Step 1. Compare the terms

The denominator 2n+n2^n + n is bigger than 2n2^n, so the fraction is smaller.

0<12n+n<12n0 < \frac{1}{2^n + n} < \frac{1}{2^n}

Step 2. Sum the bigger series

The series of 12n\frac{1}{2^n} is geometric, with first term 12\frac{1}{2} and ratio 12\frac{1}{2}.

∑n=1∞12n=121−12=1\begin{aligned} \sum_{n=1}^{\infty} \frac{1}{2^n} &= \frac{\frac{1}{2}}{1 - \frac{1}{2}} \\ &= \boxed{1} \end{aligned}

Step 3. Apply the comparison test

Our terms are positive and smaller than the terms of a convergent series, so our series converges. Each term is smaller, so its sum is smaller too.

∑n=1∞12n+n<1\sum_{n=1}^{\infty} \frac{1}{2^n + n} < 1

Answer

The series converges, and its sum is less than 11. Adding many terms shows that it is about 0.6970.697.

Common mistakes

  • “The terms tend to 0, so the series converges.” The harmonic series has terms that tend to 00, yet it diverges. an→0a_n \to 0 is needed, but it is not enough.
  • Mixing up the sequence and the series. The terms 12n\frac{1}{2^n} tend to 00, while the series 12+14+…\frac{1}{2} + \frac{1}{4} + \dots has the sum 11. The limit of the terms and the sum of the series are different things.
  • Using a1−r\frac{a}{1 - r} when ∣r∣≥1|r| \ge 1. The series 1+2+4+8+…1 + 2 + 4 + 8 + \dots diverges. The formula would give 11−2=−1\frac{1}{1 - 2} = -1, which is nonsense. Check ∣r∣<1|r| < 1 first.
  • Starting from the wrong first term. In ∑n=1∞(12)n\sum_{n=1}^{\infty} \left(\frac{1}{2}\right)^n the first term is 12\frac{1}{2}, so the sum is 1/21−1/2=1\frac{1/2}{1 - 1/2} = 1, not 11−1/2=2\frac{1}{1 - 1/2} = 2.
  • Comparing in the wrong direction. 1n2<1n\frac{1}{n^2} < \frac{1}{n}, but that does not make ∑1n2\sum \frac{1}{n^2} diverge: being smaller than a divergent series proves nothing.

In exams and at university

In England, A-level Mathematics covers geometric series, including the sum to infinity of a convergent geometric series and the condition ∣r∣<1|r| < 1. Convergence tests such as the ratio test or the comparison test are not part of it.

In the United States, series are a unit of AP Calculus BC (Unit 10, Infinite Sequences and Series); AP Calculus AB does not include them. Students use the nth term test, the integral test, comparison tests, the alternating series test and the ratio test, tell absolute from conditional convergence and bound the error of an alternating series. The unit goes on to Taylor and power series.

At university, series are part of first-year calculus, between sequences and power series. In the open textbook Contemporary Calculus by Dale Hoffman, for example, the chapter on infinite series goes from geometric and harmonic series through the integral test, comparison tests and alternating series to absolute convergence and the ratio test, and then on to power series.

Check yourself

Test yourself

Does ∑n=1∞nn+1=12+23+34+…\sum_{n=1}^{\infty} \frac{n}{n+1} = \frac{1}{2} + \frac{2}{3} + \frac{3}{4} + \dots converge?

What is 13+19+127+…\frac{1}{3} + \frac{1}{9} + \frac{1}{27} + \dots?

For ∑1n2\sum \frac{1}{n^2} the ratio test gives L=1L = 1. What follows from that?

Which of these series converges?

You stop 1−12+13−14+…1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \dots after 10 terms. At most how far is S10S_{10} from the sum ln⁡2\ln 2?

Flashcards for review

Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.

Flashcards

  1. What is the partial sum SnS_n of a series?

    The running total of its first nn terms: Sn=a1+a2+⋯+anS_n = a_1 + a_2 + \dots + a_n.
  2. When does a series converge?

    When its partial sums approach a finite number SS. That number is the sum of the series.
  3. When does a+ar+ar2+…a + ar + ar^2 + \dots converge, and to what?

    Exactly when ∣r∣<1|r| < 1 (for a≠0a \neq 0). Its sum is a1−r\frac{a}{1 - r}, where aa is the first term.
  4. The terms of a series tend to 00. Does it converge?

    Not necessarily: the harmonic series 1+12+13+…1 + \frac{1}{2} + \frac{1}{3} + \dots diverges. But if the terms do not tend to 00, the series certainly diverges.
  5. Why does the harmonic series diverge?

    Group its terms: 13+14>12\frac{1}{3} + \frac{1}{4} > \frac{1}{2}, 15+⋯+18>12\frac{1}{5} + \dots + \frac{1}{8} > \frac{1}{2}, and so on. Every time nn doubles, the total grows by at least 12\frac{1}{2}.
  6. When does ∑1np\sum \frac{1}{n^p} converge?

    For p>1p > 1. For p≤1p \le 1 it diverges. With p=2p = 2 the sum is π26\frac{\pi^2}{6}.
  7. What does the ratio test say?

    With L=lim⁡∣an+1an∣L = \lim \left| \frac{a_{n+1}}{a_n} \right|: L<1L < 1 means convergent, L>1L > 1 divergent, and L=1L = 1 decides nothing.
  8. What does the comparison test say?

    If 0≤an≤bn0 \le a_n \le b_n, then ∑bn\sum b_n convergent makes ∑an\sum a_n convergent, and ∑an\sum a_n divergent makes ∑bn\sum b_n divergent.
  9. What does the alternating series test say?

    If bnb_n decreases to 00, then b1−b2+b3−…b_1 - b_2 + b_3 - \dots converges, and the error after nn terms is at most bn+1b_{n+1}.
  10. What does it mean that a series converges conditionally?

    It converges, but the series of absolute values does not. Example: 1−12+13−⋯=ln⁡21 - \frac{1}{2} + \frac{1}{3} - \dots = \ln 2, while ∑1n\sum \frac{1}{n} diverges.

Sources

We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.

  1. Dale Hoffman - Contemporary Calculus, 10.2 Infinite Series (partial sums, convergence and divergence, the nth term test for divergence) (PDF) · CC BY 3.0 US
  2. Dale Hoffman - Contemporary Calculus, 10.3 Geometric and Harmonic Series (the geometric series and its sum, the harmonic series diverges by grouping, its partial sums pass 10 at n = 12,367) (PDF) · CC BY 3.0 US
  3. Dale Hoffman - Contemporary Calculus, 10.4 Positive Term Series: Integral and P-Tests (Σ 1/nᵖ converges exactly when p > 1) (PDF) · CC BY 3.0 US
  4. Dale Hoffman - Contemporary Calculus, 10.6 Alternating Sign Series (the alternating series test, the error is less than the next term) (PDF) · CC BY 3.0 US
  5. Dale Hoffman - Contemporary Calculus, 10.7 Absolute Convergence and the Ratio Test (absolute and conditional convergence, the ratio test, L = 1 decides nothing) (PDF) · CC BY 3.0 US
  6. Active Calculus (Matthew Boelkins, Grand Valley State University) - 8.3 Geometric sums (partial sums, the infinite geometric series converges to a/(1 − r) when |r| < 1) · CC BY-SA 4.0
  7. Active Calculus (Matthew Boelkins, Grand Valley State University) - 8.6 Quantifying the accuracy of approximations (the alternating series test, the error bound, 1 − 1/2 + 1/3 − … = ln 2) · CC BY-SA 4.0
  8. Wikibooks - Calculus/Series (terms tending to 0 are not enough, the harmonic series by grouping, the comparison test, the ratio test, absolute and conditional convergence) · CC BY-SA 4.0
  9. Wikipedia - Harmonic series (mathematics) (divergence, Nicole Oresme’s proof in the 14th century, the alternating harmonic series and ln 2) · CC BY-SA 4.0
  10. Wikipedia - Basel problem (Σ 1/n² = π²/6, solved by Leonhard Euler in the 1730s) · CC BY-SA 4.0
  11. Wikipedia - Ratio test (d’Alembert’s ratio test, 1/n and 1/n² both give the limit 1) · CC BY-SA 4.0

More explainers