Alternating Harmonic Series Explained with Worked Examples

The alternating harmonic series converges to .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

  • what a series and a partial sum are
  • the natural logarithm, ln
  • the alternating series test

What Alternating harmonic series means

Although the harmonic series diverges, alternating the signs makes it converge, by the alternating series test. The sum is , from the series for at .

It is conditionally convergent: the series converges, but the series of absolute values diverges.

Rearranging its terms can change the sum, a surprising fact (Riemann’s rearrangement theorem). Its sum is the value of the series for ln at 1, namely ln 2, but the series of absolute values is the divergent harmonic series, so the convergence is only conditional (see absolute convergence).

This page is part of Series and convergence in Calculus. Topics that work alongside it: Alternating series test (Leibniz), Series: ln(1 + x), Harmonic series growth, Root test, Radius of convergence and Basel problem.

What is it used for?

The alternating harmonic series 1 − 1/2 + 1/3 − 1/4 + … converges to ln 2, even though the plain harmonic series diverges.

How to use alternating harmonic series

  1. Check that the terms decrease to zero.
  2. Apply the alternating series test.
  3. Use as the sum.
  4. Bound the error by the first omitted term.

Graph

Partial sums of 1 − 1/2 + 1/3 − … swing around ln 2012345678910110.40.50.60.70.80.911.1Partial sums of 1 − 1/2 + 1/3 − … swing around ln 2termssumln 2Graph with x from 0 to 11 and y from 0.4 to 1.1. Shows sum (10); the curve ln 2.

The sums swing above and below ln 2 ≈ 0.693 with smaller and smaller swings.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: the sum

State the sum of the alternating harmonic series.

Worked example
Answer
ln⁡2\ln2
  1. Use the series for ln(1 + x) at x = 1
  2. Evaluate

Example 2: a partial sum

Find the sum of the first four terms.

Worked example
Answer
0.58330.5833
  1. Add
  2. Error bound
    The error is less than the next term, .

Example 3: six terms

Find the sum of the first six terms of .

Worked example
Answer
≈0.617\approx 0.617
  1. Add the terms

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Partial sums

S₄ = 1 − 1/2 + 1/3 − 1/4 = 7/12 ≈ 0.5833

The partial sums bounce up and down and close in on ln 2.

The sum is ln 2

ln 2 ≈ 0.6931 and S₁₀₀₀ ≈ 0.6926

The sum comes from the series for ln(1 + x) at x = 1.

Absolute values diverge

1 + 1/2 + 1/3 + … has S₁₀₀₀ ≈ 7.485 and keeps growing

So the series is only conditionally convergent.

Error bound

after 10 terms the error is less than 1/11 ≈ 0.0909, and in fact ln 2 − S₁₀ ≈ 0.0475

The error is smaller than the first omitted term.

Partial sums of 1 − 1/2 + 1/3 − 1/4 + …
NPartial sum SₙDistance from ln 2 ≈ 0.6931
110.3069
20.50.1931
30.83330.1402
40.58330.1098
100.64560.0475

Word problems

Work out the partial sum term by term, use the error bound for accuracy, and say whether the convergence is absolute or conditional.

A partial sum

Find the sum of the first 6 terms of 1 − 1/2 + 1/3 − 1/4 + 1/5 − 1/6.

  1. Use a common denominator of 6060/60 − 30/60 + 20/60 − 15/60 + 12/60 − 10/60
  2. Add and subtract the numerators(60 − 30 + 20 − 15 + 12 − 10) ÷ 60 = 37/60
  3. Check: 37/60 = 0.6167, close to ln 2 ≈ 0.6931 ✓S₆ = 37/60 ≈ 0.6167.

Choosing how many terms

How many terms of the series guarantee that the partial sum is within 0.01 of the sum?

  1. The error after N terms is less than the first omitted termerror < 1/(N + 1)
  2. Require this to be at most 0.011/(N + 1) ≤ 0.01
  3. SolveN + 1 ≥ 100, so N = 99
  4. Check: 1/(99 + 1) = 0.01 ✓Take at least 99 terms.

Why the sum is ln 2 Higher

Use the series for ln(1 + x) to show that the sum is ln 2.

  1. Start from the series, valid for −1 < x ≤ 1ln(1 + x) = x − x²/2 + x³/3 − x⁴/4 + …
  2. Put x = 1ln 2 = 1 − 1/2 + 1/3 − 1/4 + …
  3. Evaluateln 2 ≈ 0.6931
  4. Check: S₁₀₀₀ = 0.6926, within 1/1001 of ln 2 ✓The sum is ln 2.

Rearranging the terms Higher

Rearrange the series by taking two positive terms for each negative term: 1 + 1/3 − 1/2 + 1/5 + 1/7 − 1/4 + … What happens to the sum?

  1. Rearrange the same terms1 + 1/3 − 1/2 + 1/5 + 1/7 − 1/4 + …
  2. The rearranged series converges to a different valuesum = (3/2) ln 2 ≈ 1.0397
  3. Check: the original sum was ln 2 ≈ 0.6931, so rearranging changed the sum ✓ (Riemann’s rearrangement theorem)The sum becomes (3/2) ln 2.

Common mistakes

Saying it diverges like the harmonic series

it diverges because 1 + 1/2 + 1/3 + … diverges ✗

the alternating signs make it converge to ln 2 ✓

The harmonic series of positive terms diverges, but this series has alternating signs.

Confusing ln 2 with ln(1/2)

sum = ln(1/2) = −0.6931 ✗

sum = ln 2 = 0.6931 ✓

The sum is positive because the first term is 1 and the partial sums stay above 1/2.

Calling it absolutely convergent

it converges absolutely ✗

it converges only conditionally ✓

The series of absolute values, Σ 1/n, diverges: its partial sums keep growing.

Getting the sign of the first term wrong

−1 + 1/2 − 1/3 + … = ln 2 ✗

−1 + 1/2 − 1/3 + … = −ln 2 ✓

The alternating harmonic series starts with +1.

Rearranging freely

reordering the terms always keeps the sum equal to ln 2 ✗

a rearrangement can give (3/2) ln 2 or any other number ✓

For a conditionally convergent series the order matters.

Treating a partial sum as the exact sum

S₁₀ = 0.6456, so the sum is 0.6456 ✗

the sum is within 1/11 of S₁₀, and it is ln 2 ≈ 0.6931 ✓

A partial sum only approximates the sum.

Exam tips

  1. State the test: the terms alternate, decrease and tend to 0, so the series converges by the alternating series test.
  2. Say the type of convergence. Conditional, because Σ 1/n diverges.
  3. Use the error bound after N terms: it is less than 1/(N + 1).
  4. Quote the sum as ln 2 and give a decimal when asked.
  5. Do not rearrange a conditionally convergent series.
  6. Sense-check: the sum lies between consecutive partial sums, such as 0.5833 and 0.8333.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Find S₅ of 1 − 1/2 + 1/3 − 1/4 + … to 4 decimal places Foundation

S₅ = 1 − 1/2 + 1/3 − 1/4 + 1/5 ≈ 0.7833

2. Find S₈ to 4 decimal places Foundation

S₈ ≈ 0.6345

3. What is the smallest N for which the error after N terms is less than 0.05? Foundation

1/(N + 1) < 0.05 needs N + 1 > 20, so N = 20 (1/21 ≈ 0.0476)

4. State the sum of the series to 4 decimal places Foundation

ln 2 ≈ 0.6931

5. Find (3/2) ln 2 to 3 decimal places, the sum after the rearrangement in the example above Higher

(3/2) ln 2 ≈ 1.040

6. Explain why the series is not absolutely convergent Higher

The series of absolute values is the harmonic series 1 + 1/2 + 1/3 + …, which diverges

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Series
A sum of the terms of a sequence.
Partial sum
The sum of the first N terms.
Alternating series
A series whose terms alternate in sign.
Harmonic series
1 + 1/2 + 1/3 + …, which diverges.
Conditionally convergent
Convergent, but the series of absolute values diverges.
Absolutely convergent
The series of absolute values converges too. See absolute convergence.
Natural logarithm (ln)
The logarithm to base e. Here the sum is ln 2.
Riemann rearrangement theorem
A conditionally convergent series can be rearranged to converge to any value.

Frequently asked questions

What is the alternating harmonic series?

The series 1 − 1/2 + 1/3 − 1/4 + …, written Σ (−1)ⁿ⁺¹/n.

Does the alternating harmonic series converge?

Yes. The terms alternate, decrease and tend to 0, so it converges by the alternating series test.

What is the sum of the alternating harmonic series?

ln 2 ≈ 0.6931. It comes from the series for ln(1 + x) at x = 1. See the series for ln.

What does conditionally convergent mean?

The series converges, but the series of absolute values, the harmonic series, diverges.

How accurate is a partial sum?

The error after N terms is less than the first omitted term, 1/(N + 1). After 10 terms the error is below 1/11 ≈ 0.091.

Why can rearranging change the sum?

The positive terms alone and the negative terms alone both diverge, so the order decides the total. See the growth of the harmonic series.

More in Calculus and the formula sheets.