Given a topological space , an (open) cover is a set of open sets in , whose union is the whole of . A subcover is a subset of a cover that is also a cover.
If every cover has a finite subcover, we say is compact.
An open cover for a subset is a set of open sets in whose union contains the whole of .
A subset is compact if it is compact as a subspace, or alternatively if every open cover has a finite subcover.
Any compact subset of a Hausdorff space is closed.
Singletons are compact.
all these pages adapted with probably insufficient credit from my university's lecture notes