A product of two nonempty spaces is compact iff both factors are

If \(X\) and \(Y\) are compact, then \(X \times Y\) is compact. Conversely, if \(X\) and \(Y\) are nonempty and \(X \times Y\) is compact, then \(X\) and \(Y\) are compact.

See it in Lean

Axioms
ZFC only
Construction
Binary product

Statement

If \(X\) and \(Y\) are nonempty, then \(X \times Y\) is compact if and only if \(X\) and \(Y\) are both compact.

Proof

If \(X\) and \(Y\) are compact. Let \(\mathcal{W}\) be an open cover of \(X \times Y\). We may assume that \(\mathcal{W}\) consists of open boxes \(U \times V\): replace it by the family of all boxes contained in a member of \(\mathcal{W}\), which is still a cover, and note that a finite subfamily of boxes yields a finite subfamily of \(\mathcal{W}\) by choosing a member containing each box.

Fix \(x \in X\). The subspace \(\{x\} \times Y\) is homeomorphic to \(Y\), so it is covered by finitely many boxes \(U_1 \times V_1, \dots, U_k \times V_k\). Discarding those that miss \(\{x\} \times Y\), we may assume that each of them meets it, so that \(x \in U_i\) for every \(i\). Let \(U_x = U_1 \cap \dots \cap U_k\). It is an open set containing \(x\), and the \(k\) boxes cover \(U_x \times Y\), since the sets \(V_i\) cover \(Y\). The sets \(U_x\) cover \(X\), so finitely many of them, \(U_{x_1}, \dots, U_{x_m}\), cover \(X\). The finitely many boxes corresponding to \(x_1, \dots, x_m\) cover \(X \times Y\).

If \(X \times Y\) is compact. The projection \(X \times Y \to X\) is continuous, and it is surjective because \(Y\) is nonempty. So \(X\) is compact, by the theorem that continuous images of compact spaces are compact. Exchanging the roles of \(X\) and \(Y\) gives the same for \(Y\). \(\blacksquare\)

The hypothesis that both spaces are nonempty is needed for the second direction only: if \(Y\) is empty, then \(X \times Y\) is empty, and so compact, whatever \(X\) is.

Where it is used

Examples it describes

Used to work out the properties of the example for 28 of the combinations that occur in Connectedness and disconnectedness:

The 28 examples

Properties of spaces it gives

Cited on space pages

Cited in proofs of other theorems

Cited elsewhere