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.
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
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
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
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
cd svg-generator python3 -m svgmath render harmonic-series-area --out /tmp/harmonic-series-area
Source: svgmath/diagrams/series.py