Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Adding forever
Add and the total creeps up to 1 but never passes it. That endless sum is a series, and its value is 1.
Now try . The pieces also shrink, yet this total grows forever, just very slowly: you need over 10⁴³ terms to pass 100. Shrinking pieces aren’t enough. They must shrink fast enough.
A fun fact: if you stack identical books so each sticks out beyond the one below by of a book length, the top book can overhang the table by as much as you like. That’s the harmonic series at work.
A robot that collects a reward every second, with each future reward counted a little less (say 99%), has a total value given by a geometric series. A spacecraft’s trajectory computer approximates sin, cos and exp with series too. Knowing when a series settles, and how fast, is basic engineering.
- 1. ½ + ¼ + ⅛ + ¹⁄₁₆ (just four terms) = ?
- 2. Does 1 + ½ + ⅓ + ¼ + … stay below 100 forever?
- 3. 0.999… (repeating forever) equals…
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.Sequences and series
A sequence converges to if its terms get arbitrarily close to (A3.1-1). A series is the sequence of partial sums . It converges if does.
The geometric series
Why: , so . For , it diverges.
So and .
The harmonic series and p-series
diverges, but converges for every . This matches the integral p-test (A3.1-8).
- 1. Σ_{n≥0} (1/3)ⁿ = ?
- 2. Does Σ 1/n converge?
- 3. The sequence (n + 1)/n converges to…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.The toolbox of tests
| Test | Statement | Example |
|---|---|---|
| divergence (n-th term) | diverges | Grandi’s series |
| comparison | , | |
| integral | and converge together ( decreasing) | p-series |
| ratio | : converges, diverges | () |
| root | , same verdicts | |
| alternating (Leibniz) | converges, with error |
For , the ratio test gives , so it is undecided. The integral test settles it.
Famous sums
| Series | Sum |
|---|---|
| (Basel problem; Euler, 1734) | |
| (Madhava–Leibniz) | |
| 2 | |
| 1 (telescoping) |
- 1. Σ 1/n² = ?
- 2. The ratio test on Σ 1/n² gives…
- 3. After 9 terms of 1 − ½ + ⅓ − …, the error is at most…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.Key proofs
Harmonic divergence (Oresme, c. 1350). Group the terms: . ∎
Integral test. For decreasing , . Compare the rectangles with the area under the curve. So both converge or both diverge, and the gap estimates the tail (Practice Code 2).
Ratio test. If for , then , which is dominated by a geometric series. ∎
Alternating series. The even partial sums increase, the odd ones decrease, and they squeeze together because . The limit always lies between consecutive partial sums, so the error is . ∎
Absolute vs conditional convergence, and Riemann’s rearrangement theorem
If converges, every rearrangement has the same sum. But a conditionally convergent series can be rearranged to converge to any real number, or to diverge (Riemann, 1854). Taking 2 positive terms of for each negative one gives instead of (Practice Code 4). With infinite sums, order can matter.
Exercise 3.1: Show Σ 1/(n(n+1)) = 1
, so . The middle terms cancel (“telescoping”).
- 1. Does Σ 1/(n ln n) (n ≥ 2) converge?
- 2. Rearranging an absolutely convergent series…
- 3. Σ 1/n^p converges exactly when…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.The matrix geometric series
For a matrix with spectral radius :
This is the Neumann series. It explains why Jacobi and Gauss–Seidel iterations converge (at rate ). It also gives PageRank, , and the Leontief model in economics. In reinforcement learning, the policy-evaluation equation solves to .
Series that decide whether learning works
- Discounted returns. . For , the effective horizon is about 100 steps. This bound is behind every convergence proof for value iteration (Bellman, 1957; Sutton and Barto, 2018).
- Robbins–Monro step sizes. Stochastic approximation converges if (you can travel any distance) and (the noise eventually averages out) (Robbins and Monro, 1951). So works, a constant keeps jittering, and stops too early (Practice Code 5). These conditions underlie SGD theory and Q-learning convergence (Watkins and Dayan, 1992).
- Convergence acceleration. Richardson extrapolation, Aitken’s and Euler–Maclaurin tail estimates (Practice Code 2) speed up slow series. The same ideas appear in Nesterov momentum and Anderson acceleration for fixed-point solvers.
References
- N. Oresme (c. 1350). Quaestiones super geometriam Euclidis. (Divergence of the harmonic series.)
- L. Euler (1734/35). “De summis serierum reciprocarum.” (The Basel problem.)
- A.-L. Cauchy (1821). Cours d’analyse. (Convergence tests.)
- B. Riemann (1854/1868). “Über die Darstellbarkeit einer Function durch eine trigonometrische Reihe.” (The rearrangement theorem.)
- H. Robbins, S. Monro (1951). “A stochastic approximation method.” Annals of Mathematical Statistics, 22(3).
- C. Watkins, P. Dayan (1992). “Q-learning.” Machine Learning, 8.
- R. Sutton, A. Barto (2018). Reinforcement Learning: An Introduction, 2nd ed. MIT Press.
- K. Knopp (1990). Theory and Application of Infinite Series. Dover.