Compactness of graphs lemma

The graph of a continuous map from a compact space is compact in the product.
Compactness of graphs lemma

Compactness of graphs lemma: Let f:XYf:X\to Y be a between topological spaces, and let

Γf={(x,f(x)): xX}X×Y \Gamma_f=\{(x,f(x)):\ x\in X\}\subseteq X\times Y

be its graph, where X×YX\times Y carries the . If XX is , then Γf\Gamma_f is a compact subset of X×YX\times Y. If, in addition, YY is , then Γf\Gamma_f is a in X×YX\times Y.

This observation is often combined with the fact that compact subsets of Hausdorff spaces are closed (see ) in arguments about .