Key idea of this section
fₙ → f uniformly on D ⇔ ‖fₙ − f‖ = sup over x ∈ D of |fₙ(x) − f(x)| → 0 Uniform limits of continuous functions are continuous
Pointwise versus uniform
Many objects in analysis are defined as limits of functions: power series, Fourier series, solutions of differential equations obtained by iteration. A sequence of functions fₙ converges pointwise to f on D if fₙ(x) → f(x) for each x ∈ D. Pointwise convergence is too weak to preserve the basic properties of functions. On [0, 1], fₙ(x) = xⁿ converges pointwise to the function that is 0 on [0, 1) and 1 at x = 1: continuous functions with a discontinuous limit. Cauchy believed in 1821 that a convergent series of continuous functions has a continuous sum; Abel pointed out in 1826 that Fourier series provide counterexamples. The correct hypothesis, isolated by Seidel, Stokes and Weierstrass in the 1840s, is uniform convergence.
fₙ → f uniformly on D if for every ε > 0 there is N such that |fₙ(x) − f(x)| < ε for all n ≥ N and all x ∈ D simultaneously, i.e. ‖fₙ − f‖ → 0 in the sup norm. For xⁿ on [0, 1), ‖fₙ − 0‖ = 1 for every n, so the convergence is not uniform; on [0, r] with r < 1 it is uniform, since ‖fₙ‖ = rⁿ → 0.
Worked example: fₙ(x) = x/(1 + nx²) on ℝ. For x ≥ 0, the derivative (1 − nx²)/(1 + nx²)² vanishes at x = 1/√n, where fₙ = 1/(2√n). By symmetry ‖fₙ‖ = 1/(2√n) → 0, so fₙ → 0 uniformly. In contrast, gₙ(x) = nxe−nx on [0, ∞) tends to 0 pointwise, but its maximum, at x = 1/n, is e⁻¹ for every n: not uniform.
Theorem 10.1 (Cauchy criterion for uniform convergence). (fₙ) converges uniformly on D iff for every ε > 0 there is N with ‖fₘ − fₙ‖ < ε for all m, n ≥ N.
Continuity
Theorem 10.2. If each fₙ is continuous at a and fₙ → f uniformly, then f is continuous at a.
Proof (the ε/3 argument). Given ε > 0 choose n with ‖fₙ − f‖ < ε/3, then δ with |fₙ(x) − fₙ(a)| < ε/3 for |x − a| < δ. For such x,
|f(x) − f(a)| ≤ |f(x) − fₙ(x)| + |fₙ(x) − fₙ(a)| + |fₙ(a) − f(a)| < ε. ∎
Restated, uniform convergence permits the interchange lim (x → a) lim (n → ∞) fₙ(x) = lim (n → ∞) lim (x → a) fₙ(x). In functional-analytic language, the continuous functions on [a, b] with the sup norm form a complete normed space C[a, b], a Banach space.
Integration
Theorem 10.3. If fₙ are integrable on [a, b] and fₙ → f uniformly, then f is integrable and ∫ₐᵇ fₙ → ∫ₐᵇ f.
Proof. For any partition, U(f, P) − L(f, P) ≤ U(fₙ, P) − L(fₙ, P) + 2‖fₙ − f‖(b − a), which is small for suitable n and P; and |∫fₙ − ∫f| ≤ ‖fₙ − f‖(b − a). ∎
Without uniformity this fails. Let fₙ(x) = nx(1 − x²)ⁿ on [0, 1]. For each fixed x, fₙ(x) → 0 (for 0 < x < 1 the geometric factor (1 − x²)ⁿ beats the linear factor n). But
∫₀¹ nx(1 − x²)ⁿ dx = n/(2(n + 1)) → 1/2 ≠ 0.
Differentiation
Uniform convergence of fₙ says nothing about the derivatives. fₙ(x) = sin(nx)/√n → 0 uniformly on ℝ, but fₙ′(x) = √n cos(nx) does not converge at x = 0. For the sequence x/(1 + nx²) above, the limit is f = 0, but fₙ′(0) = 1 for every n. The correct theorem puts the uniformity on the derivatives:
Theorem 10.4. Let fₙ be differentiable on [a, b]. Suppose fₙ′ → g uniformly on [a, b] and (fₙ(x₀)) converges for some x₀. Then fₙ converges uniformly to a differentiable function f with f′ = g.
Proof sketch. Applying the mean value theorem to fₘ − fₙ gives |(fₘ − fₙ)(x) − (fₘ − fₙ)(x₀)| ≤ ‖fₘ′ − fₙ′‖(b − a), so (fₙ) is uniformly Cauchy. A second application, to difference quotients at a point c, shows that the difference quotients of fₙ at c converge uniformly in h, and Theorem 10.2's interchange-of-limits argument identifies f′(c) with g(c). ∎
The Weierstrass M-test
Theorem 10.5 (Weierstrass M-test). If |uₙ(x)| ≤ Mₙ for all x ∈ D and ∑ Mₙ < ∞, then ∑ uₙ converges absolutely and uniformly on D.
Proof. For m > n, ‖∑ₖ₌ₙ₊₁ᵐ uₖ‖ ≤ ∑ₖ₌ₙ₊₁ᵐ Mₖ, which tends to 0; apply the Cauchy criterion. ∎
For instance ∑ sin(nx)/n² converges uniformly on ℝ to a continuous function, and its termwise derivative ∑ cos(nx)/n does not converge uniformly, so Theorem 10.4 does not apply to it.
Continuous nowhere differentiable functions
In 1872 Weierstrass presented to the Berlin Academy the function:
W(x) = ∑ₙ₌₀∞ aⁿ cos(bⁿπx), 0 < a < 1, b an odd integer, ab > 1 + 3π/2.
By the M-test (Mₙ = aⁿ) W is continuous; Weierstrass proved it is differentiable nowhere. Hardy showed in 1916 that 0 < a < 1 and ab ≥ 1 suffice. A simpler example is the Takagi function T(x) = ∑ₙ₌₀∞ 2⁻ⁿ d(2ⁿx), where d(x) is the distance from x to the nearest integer (Problem 55). Banach proved in 1931, using the Baire category theorem, that in a precise sense most continuous functions are nowhere differentiable. The geometric intuition that curves are smooth except at isolated corners is simply false.
Two further theorems
Theorem 10.6 (Dini, 1878). If fₙ are continuous on a closed bounded interval, fₙ(x) is increasing in n for every x, and the pointwise limit f is continuous, then the convergence is uniform.
Theorem 10.7 (Weierstrass approximation theorem, 1885). Every continuous function on [a, b] is a uniform limit of polynomials. An explicit construction on [0, 1] is given by the Bernstein polynomials Bₙ(x) = ∑ₖ₌₀ⁿ f(k/n) C(n, k) xᵏ(1 − x)ⁿ⁻ᵏ (Bernstein, 1912), whose convergence is a disguised form of the law of large numbers.
Exercise
- (a)Compute ‖fₙ‖ on [0, ∞) for fₙ(x) = x²e−nx, and decide whether fₙ → 0 uniformly.
- (b)Does ∑ xⁿ/n² converge uniformly on [−1, 1]?
- (c)Find lim (n → ∞) ∫₀¹ (n + x)/(n + x²) dx and justify the interchange.
Show solution
Answers: (a) The derivative vanishes at x = 2/n, where fₙ = (4/n²)e⁻²; so ‖fₙ‖ = 4/(e²n²) → 0 and the convergence is uniform. (b) Yes, by the M-test with Mₙ = 1/n². (c) (n + x)/(n + x²) → 1 uniformly on [0, 1], since |(x − x²)/(n + x²)| ≤ 1/(4n); hence the limit is ∫₀¹ 1 dx = 1.