15  Preservation Theorems

The previous chapter established that uniform convergence preserves continuity. The present chapter asks what else it preserves. The answer is: integration always, and differentiation under one additional hypothesis. Both results have the same logical structure — uniform control over approximation converts a pointwise statement into a global one — but differentiation is genuinely harder.

15.1 Integration

Theorem 15.1 (Uniform convergence and integration) Let \(f_n : [a,b] \to \mathbb{R}\) be a sequence of Riemann integrable functions converging uniformly to \(f : [a,b] \to \mathbb{R}\). Then \(f\) is Riemann integrable and \[ \int_a^b f_n(x)\,dx \;\longrightarrow\; \int_a^b f(x)\,dx. \]

Proof. Since \(f_n \to f\) uniformly, \(f\) is the uniform limit of integrable functions. A uniform limit of bounded functions is bounded, so \(f\) is bounded. To see \(f\) is integrable: given \(\varepsilon > 0\), choose \(N\) such that \(\|f_N - f\|_\infty < \varepsilon / (3(b-a))\). Since \(f_N\) is integrable, there is a partition \(P\) of \([a,b]\) with \(U(f_N, P) - L(f_N, P) < \varepsilon/3\). For any subinterval \([x_{k-1}, x_k]\) of \(P\), \[ \sup_{[x_{k-1},x_k]} f \;\leq\; \sup_{[x_{k-1},x_k]} f_N + \|f - f_N\|_\infty, \qquad \inf_{[x_{k-1},x_k]} f \;\geq\; \inf_{[x_{k-1},x_k]} f_N - \|f - f_N\|_\infty. \] Summing over the partition, \[ U(f, P) - L(f, P) \;\leq\; U(f_N, P) - L(f_N, P) + 2(b-a)\|f - f_N\|_\infty \;<\; \tfrac{\varepsilon}{3} + \tfrac{2\varepsilon}{3} = \varepsilon. \] So \(f\) is integrable. For the convergence of integrals: \[ \left|\int_a^b f_n - \int_a^b f\right| \;\leq\; \int_a^b |f_n - f| \;\leq\; (b-a)\|f_n - f\|_\infty \;\to\; 0. \qquad\square \]

The inequality \(|\int f_n - \int f| \leq (b-a)\|f_n - f\|_\infty\) is the whole point. The sup-norm controls the integral uniformly in \(x\), and that is what makes the interchange work.

NoteWhy pointwise is not enough

The sequence \(f_n = n \cdot \mathbf{1}_{[0,1/n]}\) converges pointwise to \(0\) on \([0,1]\) but \(\int_0^1 f_n = 1\) for all \(n\). The issue is that the mass concentrates near \(0\): the sup-norm does not go to zero, so the theorem does not apply. Pointwise convergence sees what happens at each fixed point; it is blind to mass that travels toward the boundary.

Exercise. Let \(f_n : [0,1] \to \mathbb{R}\) be defined by \(f_n(x) = x^n\). Verify directly that \(\int_0^1 f_n(x)\,dx \to \int_0^1 f(x)\,dx\) where \(f\) is the pointwise limit, and check whether the theorem above applies.

The pointwise limit is \(f(x) = \mathbf{1}_{\{1\}}(x)\), which equals \(0\) almost everywhere. Directly: \(\int_0^1 x^n\,dx = 1/(n+1) \to 0 = \int_0^1 f(x)\,dx\).

The theorem does not apply: the convergence is not uniform (\(\sup_{x \in [0,1]} |x^n - f(x)| = 1\) for all \(n\), since \(x^n \to 1\) as \(x \to 1^-\)). The integral limit holds anyway in this case, but for a reason the theorem does not cover — it is a coincidence of the specific sequence rather than a consequence of uniform convergence. \(\square\)

15.2 Differentiation

Differentiability is not preserved by uniform convergence alone. The example

\[ f_n(x) = \frac{\sin(nx)}{\sqrt{n}} \]

converges uniformly to \(0\) (since \(|f_n(x)| \leq 1/\sqrt{n}\)), yet \(f_n'(x) = \sqrt{n}\cos(nx)\), which is unbounded. The limit \(f \equiv 0\) is differentiable, but \(f_n'\) does not converge to \(f'\).

The correct hypothesis is not that \(f_n\) converges uniformly, but that the derivatives converge uniformly — and then one needs only a single pointwise convergence condition on \(f_n\) itself.

Theorem 15.2 (Uniform convergence of derivatives) Let \(f_n : [a,b] \to \mathbb{R}\) be a sequence of continuously differentiable functions. Suppose:

  1. \(f_n'\) converges uniformly to some function \(g : [a,b] \to \mathbb{R}\),
  2. \(f_n(x_0)\) converges for some \(x_0 \in [a,b]\).

Then \((f_n)\) converges uniformly on \([a,b]\) to a differentiable function \(f\), and \(f' = g\).

Proof. Step 1: \((f_n)\) converges uniformly. By the fundamental theorem of calculus, \[ f_n(x) = f_n(x_0) + \int_{x_0}^x f_n'(t)\,dt. \] For \(m, n \geq N\), \[ |f_m(x) - f_n(x)| \;\leq\; |f_m(x_0) - f_n(x_0)| + \int_{x_0}^x |f_m'(t) - f_n'(t)|\,dt. \] Both terms can be made small uniformly in \(x\): the first by hypothesis (ii), the second by uniform convergence of \(f_n'\) (giving \((b-a)\|f_m' - f_n'\|_\infty\)). So \((f_n)\) is Cauchy in \(\|\cdot\|_\infty\), hence converges uniformly to some \(f \in C([a,b])\).

Step 2: \(f' = g\). Passing to the limit in the integral representation and applying the integration theorem, \[ f(x) = \lim_{n\to\infty} f_n(x) = \lim_{n\to\infty} f_n(x_0) + \int_{x_0}^x g(t)\,dt = f(x_0) + \int_{x_0}^x g(t)\,dt. \] Since \(g\) is continuous (uniform limit of continuous functions), the fundamental theorem gives \(f'(x) = g(x)\). \(\square\)

The asymmetry between integration and differentiation is worth pausing over. For integration, uniform convergence of \(f_n\) is enough — the integral is a continuous operation in the sup-norm. For differentiation, one must control the derivatives: differentiation is not continuous in the sup-norm. The example above shows this concretely. The correct norm for differentiation is \(\|f\|_{C^1} = \|f\|_\infty + \|f'\|_\infty\), which is precisely the \(W^{1,\infty}\) norm from the metric spaces chapter.

Exercise. Let \(f_n(x) = \sqrt{x^2 + 1/n}\) on \(\mathbb{R}\).

  1. Show that \(f_n \to |x|\) uniformly on every bounded interval.
  2. Show that \(f_n'(x) = x/\sqrt{x^2 + 1/n}\) converges pointwise to \(\text{sgn}(x)\) for \(x \neq 0\), but the convergence is not uniform near \(0\).
  3. Conclude that the limit \(|x|\) is not differentiable at \(0\), consistent with the theorem.

(a) On \([-M, M]\): \[ |f_n(x) - |x|| = \frac{|x^2 + 1/n - x^2|}{\sqrt{x^2+1/n}+|x|} = \frac{1/n}{\sqrt{x^2+1/n}+|x|} \leq \frac{1/n}{\sqrt{1/n}} = \frac{1}{\sqrt{n}} \to 0, \] uniformly in \(x\).

(b) For fixed \(x \neq 0\), \(f_n'(x) = x/\sqrt{x^2+1/n} \to x/|x| = \text{sgn}(x)\). At \(x = 0\), \(f_n'(0) = 0\) for all \(n\). But \(\sup_{x}|f_n'(x) - \text{sgn}(x)| \geq |f_n'(\varepsilon) - 1|\) for small \(\varepsilon > 0\), and this does not go to \(0\) uniformly near \(0\).

(c) The derivative \(f_n'\) does not converge uniformly to a single function on \(\mathbb{R}\) (or on any interval containing \(0\)), so the theorem does not guarantee differentiability of the limit at \(0\). And indeed \(|x|\) is not differentiable at \(0\): the left and right derivatives disagree. \(\square\)

15.3 Term-by-term integration and differentiation

The theorems above apply immediately to series.

Corollary 15.1 (Term-by-term integration) Let \(\sum_{k=1}^\infty u_k\) be a series of Riemann integrable functions on \([a,b]\) converging uniformly to \(S\). Then \[ \int_a^b S(x)\,dx = \sum_{k=1}^\infty \int_a^b u_k(x)\,dx. \]

Proof. Apply the integration theorem to the partial sums \(S_n = \sum_{k=1}^n u_k\). \(\square\)

Corollary 15.2 (Term-by-term differentiation) Let \(\sum_{k=1}^\infty u_k\) be a series of continuously differentiable functions on \([a,b]\). Suppose \(\sum_{k=1}^\infty u_k'\) converges uniformly and \(\sum_{k=1}^\infty u_k\) converges at some point \(x_0\). Then the sum \(S(x) = \sum_{k=1}^\infty u_k(x)\) is differentiable and \[ S'(x) = \sum_{k=1}^\infty u_k'(x). \]

Proof. Apply the differentiation theorem to the partial sums. \(\square\)

The Weierstrass \(M\)-test, proved in the next chapter, gives the standard sufficient condition for uniform convergence of a series. Together with these corollaries, it is the main tool for analysing power series term by term.

Exercise. Define \(S(x) = \sum_{n=1}^\infty \frac{\sin(nx)}{n^2}\).

  1. Show that \(S\) is continuous on \(\mathbb{R}\).
  2. Show that \(S\) is integrable on \([0, \pi]\) and compute \(\int_0^\pi S(x)\,dx = \sum_{n=1}^\infty \frac{2}{n^3}\) (you may use \(\int_0^\pi \sin(nx)\,dx = 2/n\) for odd \(n\) and \(0\) for even \(n\), wait — verify the integral yourself).

(a) Since \(|\sin(nx)/n^2| \leq 1/n^2\) and \(\sum 1/n^2 < \infty\), the Weierstrass \(M\)-test (with \(M_n = 1/n^2\)) gives uniform convergence. Each partial sum is continuous, so \(S\) is continuous by the uniform limit theorem.

(b) \(S\) is a uniform limit of integrable functions, so integrable. Term-by-term integration gives \[ \int_0^\pi S(x)\,dx = \sum_{n=1}^\infty \frac{1}{n^2}\int_0^\pi \sin(nx)\,dx. \] Computing: \(\int_0^\pi \sin(nx)\,dx = [-\cos(nx)/n]_0^\pi = (1 - \cos(n\pi))/n\). Since \(\cos(n\pi) = (-1)^n\), this equals \(2/n\) for \(n\) odd and \(0\) for \(n\) even. Hence \[ \int_0^\pi S(x)\,dx = \sum_{\substack{n=1 \\ n \text{ odd}}}^\infty \frac{2}{n^3}. \qquad\square \] (This equals \(\frac{7}{4}\zeta(3)/1\) — the explicit closed form of \(\sum_{n \text{ odd}} n^{-3}\) is \(\frac{7}{8}\zeta(3)\), since the even terms contribute \(\frac{1}{8}\zeta(3)\).)

15.4 What uniform convergence buys

Collecting the results of the last two chapters:

Operation Uniform convergence Pointwise only
Continuity preserved can fail
Integration interchange valid can fail
Differentiation valid if \(f_n'\) unif. conv. can fail

The sup-norm is the topology that makes all three work. A function space in which convergence means uniform convergence is one in which limits, integrals, and (with care) derivatives all behave as expected. This is why \(C(K)\) with \(\|\cdot\|_\infty\) is the natural setting for classical analysis of functions.