Compactness Is Preserved By Continuity

Theorem

The continuous image of a compact set is also compact.

Proof

Let f:K→R be such that f is continuous for all c∈K, and K is compact.

To show that f(K) is compact, we'll take an arbitrary sequence in the set and show that it converges to a point in the set (see Closed iff Convergent Cauchy Sequences). Let (yn)⊆f(K) be such an arbitrary sequence. Since yn∈f(K) then ∃xn∈K where f(xn)=yn. Since K is compact, then ∃(xnk)⊆K (a subsequence) such that xnk→x where x∈K. Note that f(x)∈f(K) automatically

But then since f is continuous at x∈K, then any sequence converging to x like xnk (like it does here) implies that f(xnk)→f(x) (so then we get the right immediately). But since yn=f(xnk)=ynk then ynk→f(x)∈f(K) as desired.

It is bounded trivially. Thus f(K) must be compact.

☐

See Extreme Value Theorem for an immediate use of the theorem.