Uniform limit theorem

The uniform limit of continuous functions is continuous.
Uniform limit theorem

The uniform limit theorem states: if (fn)(f_n) is a sequence of fn:XRf_n: X \to \mathbb{R} on a XX, and fnff_n \to f , then ff is continuous.

Statement

For metric spaces XX and YY: if fn:XYf_n: X \to Y are continuous and fnff_n \rightrightarrows f uniformly (meaning supxXd(fn(x),f(x))0\sup_{x \in X} d(f_n(x), f(x)) \to 0), then ff is continuous.

Counterexample for pointwise convergence

fn(x)=xnf_n(x) = x^n on [0,1][0, 1] converges pointwise to a discontinuous limit:

f(x)={0x[0,1)1x=1. f(x) = \begin{cases} 0 & x \in [0,1) \\ 1 & x = 1 \end{cases}.

The convergence is not uniform.