The Harmonic Series Diverges

The terms shrink to 0, yet the partial sums grow without end. The growth is just extremely slow.

Each single term is tiny, but the pile keeps rising. The partial sums climb upward along a logarithm curve. Terms tending to 0 do not guarantee that a series converges. This series is the classic counterexample.

For example, stack 🍬 candy pieces of one, a half, a third of a piece, and so on. The pieces keep shrinking, yet the pile eventually rises past any ceiling you name.

Sn=βˆ‘k=1n1kS_n=\sum_{k=1}^{n}\frac{1}{k}
Sn=ln⁑n+γ+o(1)S_n=\ln n+\gamma+o(1)

Part of these learning paths

Examples & Exercises

Use Oresme's grouping to show S2mβ‰₯1+m2S_{2^m} \ge 1 + \frac{m}{2}, proving the harmonic series diverges.

S2mβ‰₯1+m2β†’βˆžS_{2^m} \ge 1 + \frac{m}{2} \to \infty
n=1024=210n = 1024 = 2^{10} β€” growing above the Oresme bound 1+10/2=61 + 10/2 = 6.
Show proof
  1. Group the terms: 13+14>14+14=12\frac{1}{3}+\frac{1}{4} > \frac{1}{4}+\frac{1}{4} = \frac{1}{2}, 15+β‹―+18>4β‹…18=12\frac{1}{5}+\cdots+\frac{1}{8} > 4\cdot\frac{1}{8} = \frac{1}{2}. In general, for mβ‰₯2m \ge 2, 12mβˆ’1+1+β‹―+12m>2mβˆ’1β‹…12m=12\frac{1}{2^{m-1}+1}+\cdots+\frac{1}{2^m} > 2^{m-1}\cdot\frac{1}{2^m} = \frac{1}{2} (the m=1m = 1 block is the single term 12\frac{1}{2}, computed separately; the strict inequality does not hold there).

  2. Hence S2m=1+12+(13+14)+β‹―β‰₯1+mβ‹…12=1+m2S_{2^m} = 1 + \frac{1}{2} + \left(\frac{1}{3}+\frac{1}{4}\right) + \cdots \ge 1 + m\cdot\frac{1}{2} = 1 + \frac{m}{2}.

  3. As mβ†’βˆžm \to \infty the bound is unbounded, so (Sn)(S_n) is unbounded. An increasing unbounded sequence diverges, so the harmonic series diverges.

Prove the alternating harmonic series βˆ‘n=1∞(βˆ’1)n+1n\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n} converges via the alternating series test.

(Its sum ln⁑2\ln 2 is taken as known.)

βˆ‘n=1∞(βˆ’1)n+1n=1βˆ’12+13βˆ’β‹―\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n} = 1-\frac{1}{2}+\frac{1}{3}-\cdots
For contrast: without alternating signs SnS_n grows without bound; with them it converges.
Show proof
  1. Alternating series test: if bn↓0b_n \downarrow 0 then βˆ‘n=1∞(βˆ’1)n+1bn\sum_{n=1}^{\infty}(-1)^{n+1}b_n converges. Here bn=1nb_n = \frac{1}{n} decreases to 00.

  2. Directly: the even partial sums T2m=(1βˆ’12)+(13βˆ’14)+β‹―T_{2m} = \left(1-\frac{1}{2}\right)+\left(\frac{1}{3}-\frac{1}{4}\right)+\cdots group into positive pairs, so they increase and are bounded by 11, hence converge. The odd partial sums T2m+1=T2m+12m+1T_{2m+1} = T_{2m}+\frac{1}{2m+1} tend to the same limit.

  3. Hence the alternating harmonic series converges. (That its sum is ln⁑2\ln 2 is not proved here.)

Prove by the integral test that βˆ‘n=1∞1np\sum_{n=1}^{\infty}\frac{1}{n^p} converges if and only if p>1p > 1.

βˆ‘n=1N1np≀1+∫1Ndxxp\sum_{n=1}^{N}\frac{1}{n^p} \le 1 + \int_{1}^{N}\frac{dx}{x^p}
The case p=1p = 1: the divergent side of the integral test.
Show proof
  1. Separate p≀0p \le 0 first: then 1np=nβˆ’pβ‰₯1\frac{1}{n^p} = n^{-p} \ge 1, so the general term does not tend to 00 and the series diverges by the term test (on this range f(x)=xβˆ’pf(x) = x^{-p} is not decreasing, so the integral comparison below is not applied there).

    Now assume p>0p > 0; then f(x)=xβˆ’pf(x) = x^{-p} is positive and decreasing.

    For nβ‰₯2n \ge 2, 1npβ‰€βˆ«nβˆ’1ndxxp\frac{1}{n^p} \le \int_{n-1}^{n}\frac{dx}{x^p}, so SN≀1+∫1NdxxpS_N \le 1 + \int_{1}^{N}\frac{dx}{x^p}.

  2. If p>1p > 1, ∫1Ndxxp=1βˆ’N1βˆ’ppβˆ’1<1pβˆ’1\int_{1}^{N}\frac{dx}{x^p} = \frac{1 - N^{1-p}}{p-1} < \frac{1}{p-1} is bounded, so the increasing partial sums are bounded and converge.

  3. If 0<p≀10 < p \le 1, 1npβ‰₯1n\frac{1}{n^p} \ge \frac{1}{n}, so comparison with the harmonic series gives divergence (the case p≀0p \le 0 was already handled by the term test in step 1).

7. Series