If is a topological space and
is a subset of
we say that
is compact if it is so as a topological space
with the subspace topology. This is the same as saying that every covering of
by open sets in
admits a
finite subcovering. It is clear that a closed subset of a compact subset is necessarily compact.
However a compact set need not be closed as can be seen by looking at
endowed the indiscrete
topology, where every subset of
is compact.
However, if
is a Hausdorff space then compact subsets are necessarily closed. We shall always work with Hausdorff
spaces in this course. For subsets of
we have the following powerful result.