Dini's Theorem

On a compact set, a monotone sequence of continuous functions converging pointwise converges uniformly — a finite subcover of the open sets EnE_n grabs them all at once. The twin tool of the M-test.

fn↑f continuous on compact K⇒fn→f uniformlyf_n \uparrow f\ \text{continuous on compact } K \Rightarrow f_n \to f\ \text{uniformly}
max⁡[0,1]∣x−nxn+1∣=1n+1\max_{[0,1]}\left|x - \frac{nx}{n+1}\right| = \frac{1}{n+1}

Part of these learning paths

Examples & Exercises

Let KK be a compact metric space. If each fn:K→Rf_n : K \to \mathbb{R} is continuous and fn(x)f_n(x) increases monotonically to a continuous limit f:K→Rf : K \to \mathbb{R} at each x∈Kx \in K, prove that fn→ff_n \to f uniformly on KK.

En={x∈K:f(x)−fn(x)<ε},En⊆En+1,K=⋃n=1∞EnE_n = \{x \in K : f(x) - f_n(x) < \varepsilon\}, \qquad E_n \subseteq E_{n+1}, \qquad K = \bigcup_{n=1}^{\infty} E_n
n=8n=8: worst gap 1/9≈0.11111/9 \approx 0.1111 — the gap shrinks across the whole interval at once as nn grows.
Show proof
  1. Fix ε>0\varepsilon > 0 and set En={x∈K:f(x)−fn(x)<ε}E_n = \{x \in K : f(x) - f_n(x) < \varepsilon\}. Each EnE_n is open in KK because f−fnf - f_n is continuous. Since fn(x)≤fn+1(x)f_n(x) \le f_{n+1}(x) monotonically, f(x)−fn(x)≥f(x)−fn+1(x)f(x) - f_n(x) \ge f(x) - f_{n+1}(x), so En⊆En+1E_n \subseteq E_{n+1}.
  2. Since fn(x)→f(x)f_n(x) \to f(x) at each xx, there is nn with f(x)−fn(x)<εf(x) - f_n(x) < \varepsilon, so x∈Enx \in E_n. Hence {En}\{E_n\} is an open cover of KK.
  3. Compactness of KK gives a finite subcover En1,…,EnkE_{n_1}, \dots, E_{n_k}. With N=max⁡{n1,…,nk}N = \max\{n_1, \dots, n_k\}, monotonicity yields K⊆ENK \subseteq E_N. For n≥Nn \ge N, EN⊆EnE_N \subseteq E_n, so f(x)−fn(x)<εf(x) - f_n(x) < \varepsilon for every x∈Kx \in K — one NN works for all of KK, which is uniform convergence. (For the decreasing case, apply the argument to −fn-f_n.)

Show that gn(x)=xng_n(x) = x^n converges pointwise on (0,1](0,1] to g(x)=0g(x) = 0 (on (0,1)(0,1), with g(1)=1g(1) = 1), yet, despite being monotone decreasing, does not converge uniformly.

sup⁡x∈(0,1]∣g(x)−gn(x)∣=1for every n\sup_{x \in (0,1]} |g(x) - g_n(x)| = 1 \quad \text{for every } n
n=20n=20: the sup gap is stuck at 1 — the curves pile toward 0 but never hug it uniformly.
Show proof
  1. Each gng_n is continuous, and on 0<x<10 < x < 1 we have gn+1(x)=xn+1≤xn=gn(x)g_{n+1}(x) = x^{n+1} \le x^n = g_n(x), so the sequence decreases monotonically. Pointwise: xn→0x^n \to 0 for 0<x<10 < x < 1, while gn(1)=1g_n(1) = 1 at x=1x = 1, so the limit gg is discontinuous at x=1x = 1.
  2. On (0,1)(0,1), sup⁡x∈(0,1)∣g(x)−gn(x)∣=sup⁡x∈(0,1)xn=1\sup_{x \in (0,1)} |g(x) - g_n(x)| = \sup_{x \in (0,1)} x^n = 1 (take x→1−x \to 1^-). So for ε=12\varepsilon = \tfrac{1}{2} no nn works for all xx at once: the convergence is not uniform.
  3. Monotonicity and continuity match Dini's setup, yet it fails — what is missing is compactness of the domain. (0,1](0,1] is not closed, and the finite-subcover step of the proof breaks down here. The fact that a uniform limit of continuous functions must be continuous gives the same conclusion: the limit gg is discontinuous at x=1x = 1.

Show that ∑n=1∞xnn2\sum_{n=1}^{\infty} \frac{x^n}{n^2} converges uniformly on [0,1][0,1] using Dini's theorem.

SN(x)=∑k=1Nxkk2↑S(x),0≤xkk2≤1k2S_N(x) = \sum_{k=1}^{N} \frac{x^k}{k^2} \uparrow S(x), \qquad 0 \le \frac{x^k}{k^2} \le \frac{1}{k^2}
n=12n=12, compact mode: a monotone sequence of continuous functions on [0,1][0,1] — the worst gap 1/13≈0.07691/13 \approx 0.0769 shrinks uniformly.
Show proof
  1. The partial sums SN(x)=∑k=1Nxkk2S_N(x) = \sum_{k=1}^{N} \frac{x^k}{k^2} are continuous (finite sums of continuous functions) and increasing on [0,1][0,1], since SN+1(x)−SN(x)=xN+1(N+1)2≥0S_{N+1}(x) - S_N(x) = \frac{x^{N+1}}{(N+1)^2} \ge 0.
  2. For each x∈[0,1]x \in [0,1], 0≤xkk2≤1k20 \le \frac{x^k}{k^2} \le \frac{1}{k^2} and ∑1k2=π26<∞\sum \frac{1}{k^2} = \frac{\pi^2}{6} < \infty, so the pointwise limit S(x)=∑k=1∞xkk2S(x) = \sum_{k=1}^{\infty} \frac{x^k}{k^2} exists.
  3. SS is continuous: the M-test with Mk=1k2M_k = \frac{1}{k^2} gives uniform convergence of the series on [0,1][0,1], making SS the uniform limit of continuous functions, hence continuous. All of Dini's hypotheses hold (compact [0,1][0,1], continuous monotone sequence, continuous limit), so SN→SS_N \to S uniformly on [0,1][0,1].

8. Series of Functions & Fourier