Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 37 · Sequences and Series of Functions

Interchanging Limits

See when a limit of functions can be swapped with continuity, integrals and derivatives, prove the uniform limit theorem, and study counterexamples with code.

Many arguments in analysis want to do something like lim ∫ fₙ = ∫ lim fₙ or lim fₙ' = (lim fₙ)'. These are exchanges of two limiting processes, and they are not automatically legal. Uniform convergence is the main condition that makes them safe. This lesson proves three theorems and shows what goes wrong without the hypotheses.

Continuity passes to uniform limits

Theorem. If each fₙ is continuous on D and fₙ → f uniformly on D, then f is continuous on D.

Proof (the "Δ/3 argument"). Fix a ∈ D and Δ > 0. Choose N with ‖f_N - f‖∞ < Δ/3. Since f_N is continuous at a, there is ÎŽ > 0 with |f_N(x) - f_N(a)| < Δ/3 when |x - a| < ÎŽ. Then for such x,

Text
|f(x) - f(a)| ≀ |f(x) - f_N(x)| + |f_N(x) - f_N(a)| + |f_N(a) - f(a)| < Δ/3 + Δ/3 + Δ/3 = Δ. ∎

This explains the example in the previous lesson: xⁿ has a discontinuous limit, so the convergence cannot have been uniform on [0, 1]. Contrapositive use: if a sequence of continuous functions converges pointwise to a discontinuous function, convergence is not uniform.

Integrals pass to uniform limits

Theorem. If each fₙ is Riemann integrable on [a, b] and fₙ → f uniformly, then f is integrable and

Text
lim_{n → ∞} ∫ₐᔇ fₙ = ∫ₐᔇ f.

Proof of the estimate. Given Δ, pick N such that n ≄ N gives |fₙ(x) - f(x)| < Δ/(b - a) for all x. Then |∫ fₙ - ∫ f| ≀ ∫ |fₙ - f| ≀ Δ. (Integrability of f follows by showing its upper and lower sums are squeezed by those of fₙ.) ∎

What goes wrong without uniformity. Let fₙ(x) = n x e^{-n xÂČ} on [0, 1]. For each fixed x, fₙ(x) → 0 (for x = 0 it is 0; for x > 0 the exponential beats n). So the pointwise limit is 0 and ∫ lim fₙ = 0. But

Text
∫₀Âč n x e^{-n xÂČ} dx = [ -œ e^{-n xÂČ} ]₀Âč = œ (1 - e^{-n}) → œ.

Mass œ escapes into a narrow spike near 0 whose height grows (fₙ(1/√(2n)) = √(n/2) e^{-1/2} → ∞). The convergence is not uniform, and the limits cannot be swapped.

Python The escaping spike: integral of the limit is not the limit of integrals

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Derivatives need more

Uniform convergence of fₙ alone says nothing about derivatives. Let fₙ(x) = sin(nx)/√n. Then ‖fₙ‖∞ ≀ 1/√n → 0, so fₙ → 0 uniformly. But fₙ'(x) = √n cos(nx), and at x = 0, fₙ'(0) = √n → ∞, while the derivative of the limit 0 is 0.

Theorem. Suppose each fₙ is continuously differentiable on [a, b], fₙ(x₀) converges for some x₀, and the derivatives fₙ' converge uniformly on [a, b] to some g. Then fₙ converges uniformly to a differentiable function f and f' = g.

In other words, the uniform convergence hypothesis belongs on the derivatives. (The proof uses fₙ(x) = fₙ(x₀) + ∫ fₙ' and the integral theorem above together with the Fundamental Theorem of Calculus; see the FTC lesson.)

Python Uniform convergence of f_n but not of f_n'

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Summary of the three exchanges

Property Needs Conclusion
Continuity fₙ continuous, fₙ → f uniformly f continuous
Integral fₙ integrable, fₙ → f uniformly on [a, b] ∫ fₙ → ∫ f
Derivative fₙ' continuous, fₙ' converges uniformly, fₙ(x₀) converges f' = lim fₙ'

Uniform convergence is sufficient, not necessary, for these exchanges. Lebesgue's dominated convergence theorem is a more flexible condition for integrals, but it needs measure theory.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. If continuous f_n converge uniformly to f, then f is:

    This is the uniform limit theorem, proved by the epsilon-over-3 argument.
  2. 2. For f_n(x) = n x exp(-n x^2) on [0, 1], what is the limit of the integrals?

    The integral is (1 - e^(-n))/2 which tends to 1/2, although the pointwise limit function is 0.
  3. 3. To justify exchanging a limit and a derivative, which sequence should converge uniformly?

    Uniform convergence of the derivatives (plus convergence at one point) gives f' = lim f_n'.
  4. 4. f_n(x) = sin(nx)/sqrt(n) shows that:

    f_n tends to 0 uniformly, but f_n'(0) = sqrt(n) grows without bound.

Summary

  • Uniform limits of continuous functions are continuous (Δ/3 argument).
  • If fₙ → f uniformly on [a, b], then ∫ fₙ → ∫ f; the spike example n x e^{-n xÂČ} shows pointwise convergence is not enough.
  • Derivatives need uniform convergence of fₙ', not of fₙ.
  • These theorems are the foundation for termwise differentiation and integration of power series.

Next: Power Series and the Weierstrass M-Test