Theorem: Continuity is equals uniform continuity on compact spaces

Let and be metric spaces. If is continuous and is compact, then is uniformly continuous.

Proof from Modern Analysis I.

Given , we know for all , there exists such that

for all . Then is a map.

🔺 Exercise. Show that can be chosen to be continuous.

Since can be chosen to be continuous, by the extreme value theorem, it attains its minimum on the domain . Then, in particular, for this choice of and all , we have

as well. Hence, is uniformly continuous.

Question. Works because choosing the minimum…?

Proof from Topology.

Let . Cover by

Let be a Lebesgue number for . If (DISTANCE), then