Continuity on compact sets
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
If $f: X\to Y$ is a continuous function and $(X,\tau)$ is compact, then $f(X) \subseteq Y$ is also compact.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
If $f: X\to Y$ is a continuous bijection, $(X,\tau)$ is compact, and $(Y,\rho)$ is Hausdorff, then $f\inv$ is also continuous, and hence $f$ is a homeomorphism.
-
This also applies to metric spaces, in which case the Hausdorff condition can be dropped.
Let $(X,\tau)$ be a topological space and $X\neq\emptyset$.
If $f: X\to\R$ is continuous and $(X,\tau)$ is compact, then $f$ is bounded and there exists $p,q\in X$ such that $$ \begin{align*} f(p) &= \sup_{x\in X} f(x) &\text{and}&& f(q) = \inf_{x\in X} f(x). \end{align*} $$
-
Consequently, $C(X; Y) = (\set{\text{continuous functions }X\to Y}, \text{sup metric}) =$ $C_b(X; Y)$ is well-defined for any metric space $Y$.
Let $(X,d)$ and $(Y,d')$ be metric spaces, and $f: X\to Y$.
If $(X,d)$ is compact and $f$ is continuous, then $f$ is uniformly continuous.