The Harmonic Series as Area

Category: Sequences and Series   Level: 301

1 + 1/2 + … + 1/n > ∫1n+1 1/x dx = ln(n + 1)

Draw each term 1/k as a bar of width 1. The bars cover the area under y = 1/x, and that area grows like ln n without limit, so the harmonic series diverges.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Draw each term as a bar

Bar k sits on [k, k + 1] with height 1/k, so its area equals the term 1/k.

area of bar k = 1·1/k = 1/k

Step 1: Draw each term as a bar

Step 2: Slide the curve under the bars

The curve y = 1/x starts at the top-left corner of each bar and then drops below it. So the bars hold more area than the region under the curve.

1/k ≥ 1/x for k ≤ x ≤ k + 1

Step 2: Slide the curve under the bars

Step 3: Compare the sum with a logarithm

The area under 1/x from 1 to 9 is ln 9. The bars hold a little more than that.

H8 = 2.718 > ln 9 = 2.197

Step 3: Compare the sum with a logarithm

Step 4: Let the logarithm run away

The logarithm grows slowly but without any ceiling, and the sum stays above it. So the harmonic series diverges, just very lazily.

H1000 ≈ 7.49, H1000000 ≈ 14.39

Step 4: Let the logarithm run away

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render harmonic-series-area --out /tmp/harmonic-series-area

Source: svgmath/diagrams/series.py