Limits That Do Not Commute
Two limits taken in different orders can give different answers. Pointwise and uniform convergence, Abel's series, sums of integrals and integrals of sums, and Gabriel's horn, where a finite limit and an infinite one sit side by side.
Cauchy’s 1821 argument has a hidden step. To show that the sum of a series of continuous functions is continuous, it lets x approach a point, and lets the number of terms grow, and treats the two limits as if their order did not matter. Abel’s footnote of 1826 is, in modern terms, an example where the order matters. Gabriel’s horn in Part I raised the same question from the other side. A limit of finite volumes can be finite, while a limit of finite areas is not. This chapter is about when limits can be swapped, and what goes wrong when they are swapped without checking.
The smallest example
Let fₙ(x) = xⁿ on [0, 1]. Take the two limits in each order:
$$\lim_{x\to 1^-}\;\lim_{n\to\infty} x^n = \lim_{x \to 1^-} 0 = 0, \qquad \lim_{n\to\infty}\;\lim_{x\to 1^-} x^n = \lim_{n\to\infty} 1 = 1 .$$Same expression, same two limits, different answers. Nothing is wrong with either calculation. The two orders are two different questions.
Two orders, two answers. Inner $n \to \infty$ first gives $0$; inner $x \to 1^-$ first gives $1$. Neither calculation is wrong — they are different questions, and Cauchy’s argument treated them as interchangeable.
The pointwise limit is f(x) = 0 for x < 1 and f(1) = 1. Every fₙ is continuous, and f is not. That is the teaching counterexample to the pointwise reading of Cauchy’s theorem, and Chapter 3 — Continuous Terms, Discontinuous Sum (Part I, Chapter 2) has Lean check it.
Pointwise and uniform
Chapter 10 of this part separated two orders of quantifiers. Here they are in use.
- Pointwise: for every x and every ε > 0 there is an N such that |fₙ(x) − f(x)| < ε for n ≥ N. N may depend on x.
- Uniform: for every ε > 0 there is an N such that |fₙ(x) − f(x)| < ε for n ≥ N and every x. One N serves all x.
Equivalently, fₙ → f uniformly when supₓ |fₙ(x) − f(x)| → 0.
For xⁿ the supremum of |xⁿ − f(x)| over [0, 1] is the supremum of xⁿ over [0, 1), which is 1 for every n. It never shrinks, so the convergence is not uniform. Near x = 1 the convergence gets slower and slower. At x = 1 − 1/k, xⁿ drops below 1/2 only once n exceeds about k · ln 2, and k can be as large as you like.
Pointwise, not uniform: the same figure as Chapter 3. The supremum distance to the limit stays $1$ for every $n$, so no single $N$ serves every $x$ — the right panel of the quantifier figure in Chapter 10 does not exist here.
The repair is this theorem.
Uniform limit theorem. If each fₙ is continuous and fₙ → f uniformly, then f is continuous.
Its proof is the “ε/3 argument”. For x near a point a, split |f(x) − f(a)| into three pieces: |f(x) − f_N(x)|, |f_N(x) − f_N(a)| and |f_N(a) − f(a)|. The first and third are small because one N works for every x. The middle is small because f_N is continuous. Pointwise convergence makes the first and third small only with an N that depends on x. That N may grow without bound as x approaches a, and then no single f_N controls the middle. This is precisely the step Cauchy’s argument took for granted.
Abel’s series
Abel’s exception was the series
$$\sin x - \tfrac12 \sin 2x + \tfrac13 \sin 3x - \cdots = \sum_{n\ge 1} (-1)^{n+1}\frac{\sin nx}{n}.$$Each term is continuous, and the series converges for every real x. For −π < x < π its sum is x/2. At x = π every term is zero, so the sum is 0. Just below π the sum is near π/2. At π it is 0. The sum is discontinuous, so the convergence cannot be uniform near π.
The partial sums show this directly. At x = π − 1/N², the first N terms stay far from x/2:
| N terms | error at x = π − 1/N² |
|---|---|
| 10 | 1.466 |
| 100 | 1.561 |
| 1 000 | 1.570 |
| 10 000 | 1.571 |
The error approaches π/2 ≈ 1.5708 instead of shrinking. (The point moves with N. At any fixed x below π the error does go to zero, which is what pointwise convergence promises.)
The same figure as Chapter 3: the overshoot near $\pi$ persists at 100 terms. Pointwise convergence promises the error vanishes at each fixed $x$; it promises nothing about the moving point $x = \pi - 1/N^2$.
Sums, integrals and limits
The same issue appears whenever a limit is moved past another limiting operation: a sum, an integral or a derivative. Here is the standard warning example for integrals. Let gₙ(x) = n on (0, 1/n) and 0 elsewhere on [0, 1].
- Each ∫₀¹ gₙ = n · (1/n) = 1, so the limit of the integrals is 1.
- For each fixed x, gₙ(x) = 0 once n > 1/x, and gₙ(0) = 0. So gₙ → 0 pointwise, and the integral of the limit is 0.
All the mass escapes into a spike that gets narrower and taller. Sufficient conditions for swapping the limit and the integral are standard theorems:
- uniform convergence on a bounded interval;
- the monotone convergence theorem, for non-negative functions increasing in n;
- the dominated convergence theorem, when every |gₙ| ≤ h for one integrable h. The spikes above have no such h.
None of these is proved in this book. They are in Mathlib, and the Gabriel proofs in Part I rely on its results about improper integrals.
Gabriel’s horn as two limits
The horn is the surface obtained by rotating y = 1/x, for x ≥ 1, about the x-axis. Its volume and surface area are improper integrals. Each is the limit, as b → ∞, of an ordinary integral from 1 to b:
$$V(b) = \pi\int_1^b \frac{dx}{x^2} = \pi\Bigl(1 - \frac1b\Bigr) \to \pi, \qquad A(b) = 2\pi\int_1^b \frac1x\sqrt{1 + \frac1{x^4}}\,dx \;\ge\; 2\pi \ln b \to \infty .$$Nothing here contradicts anything. “Finite volume, infinite area” sounds paradoxical only if one expects the two limits to behave alike. The integrands decay at different rates, 1/x² against roughly 1/x, and the improper integral of 1/x diverges.
The paint paradox, that one can fill the horn but not paint it, mixes a mathematical statement with a physical picture. Paint has a thickness, and a fixed thickness cannot line a tube whose radius falls below it. Chapter 19 of this part is about that line.
A checklist
Before swapping two limits, or a limit and a sum, integral or derivative, ask:
- Which order does the claim actually need?
- Is the convergence uniform, monotone or dominated, and on what set?
- Is there an escape route, such as a moving point, a spike or mass running off to infinity?
Cauchy’s argument fails at question 2. The spike fails at question 3.
Evidence note
The xⁿ facts and the uniform limit theorem are kernel-checked in Part I, Chapter 3. Abel’s sum x/2 is cited; the error table is numerical evidence, not proof. The horn’s volume and the area bound are kernel-checked in P08. That the integrals ∫π f² and ∫2π f√(1 + f′²) are the volume and the area is the standard solid-of-revolution formula, assumed (bridge P08-B01), not derived. The convergence theorems are cited from Mathlib. Full standing: Part IV, evidence tables.
Exercises
- Show that xⁿ → 0 uniformly on [0, a] for any a < 1. Where exactly does uniformity fail on [0, 1]?
- Let hₙ(x) = x/n on the whole real line. Is the convergence to 0 uniform? On [0, 1]?
- Modify the spike so that each ∫₀¹ gₙ = n while gₙ → 0 pointwise.
- Prove that A(b) ≥ 2π ln b. (Use √(1 + 1/x⁴) ≥ 1.) Then find a finite b with A(b) > 100.
- Show that with radius 1/x² the horn has finite surface area. Which integral convergence test does this use?
Worked answers: Chapter 35 — Appendix A: Solutions to the Exercises (Part IV, Appendix A)#chapter-3-limits-that-do-not-commute.
Further Reading
For deeper study; not sources for the chapter’s claims.
- Gilbert Arsac. Cauchy, Abel, Seidel, Stokes et la convergence uniforme: De la difficulté historique du raisonnement sur les limites (Hermann, 2013). DOI. Why read it: A book-length historical and mathematical study of the uniform-convergence episode, including the original texts and a detailed analysis of where the older reasoning about limits failed.
- Terence Tao. Analysis II (Springer, 2016). DOI. Why read it: A rigorous modern development of limits, series, uniform convergence and interchange theorems, with exercises that let readers reconstruct the chapter’s examples from the definitions.
Next in Part II: Chapter 13, exact numbers: rationals, exact arithmetic, and why a 50-digit numerical check is still not an exact one.