Proof that Continuous Functions on Compact Metric Spaces are Uniformly Continuous
📂MetricSpaceProof that Continuous Functions on Compact Metric Spaces are Uniformly Continuous
Theorem
Let (X,dX) be a compact metric space, (Y,dY) a metric space, and f:X→Y continuous. Then, f is uniformly continuous on X.
Explanation
The condition of being compact cannot be omitted.
Proof
Suppose we are given any positive number ε>0. Since f is assumed to be continuous, by definition, for each point p∈X, there exists a positive number δp satisfying the following equation:
∀q∈X,dX(p,q)<δp⟹dY(f(p),f(q))<2ε
Now consider the following set:
Np:={q:dX(p,q)<21δp}
Since p∈Np, the collection of all Np becomes an open cover of X. Since X is assumed to be compact, there exists p1,⋯,pn satisfying the following equation:
X⊂Np1∪⋯∪Npn(2)
Let us now set δ=21min(δp1,⋯,δpn). Then, δ is clearly positive. Now consider two points p,q∈X satisfying dX(p,q)<δ. Then, by (eq1), there exists m(1≤m≤n) satisfying p∈Npm. Therefore, the following holds:
dX(p,pm)≤21δpm
Then, the following equation holds:
dX(q,pm)≤dX(q,p)+dX(p,pm)<δ+21δpm≤δpm
Therefore,
dX(p,q)<δ⟹dY(f(p),f(q))≤dY(f(p),f(pm))+dY(f(pm),f(q))<21ε+21ε=ε
Thus, f is uniformly continuous.
■