Heine–Cantor theorem
In mathematics, the Heine–Cantor theorem, named after Eduard Heine and Georg Cantor, its statement is as follows:
Theorem. If M and N are metric spaces and M is compact then every continuous function f : M → N, is uniformly continuous.
Corollary. If f : [a,b] → R is a continuous function, then it is uniformly continuous.
Proof
First note that uniformly continuous for a function f is stated as follows:
where dM, dN are the distance functions on metric spaces M and N, respectively. Now suppose f is continuous on the compact metric space M but not uniformly continuous, then the negation of uniform continuity is
Fixing ε0, for every positive number we have a pair of points in M with the above properties. So we can create two sequences {xn}, {yn} such that
As M is compact there exist two converging subsequences ( to x0 and to y0), so
but as f is continuous and and converge to the same point, this statement is impossible.
For an alternative proof in the case of M = [a, b] a closed interval, see the article on non-standard calculus.