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

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

See it in Lean

Axioms
ZFC only
Construction
Binary product

Statement

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

Proof

If \(X\) and \(Y\) are Hausdorff. Let \((x, y) \ne (x', y')\) in \(X \times Y\). Then \(x \ne x'\) or \(y \ne y'\). If \(x \ne x'\), choose disjoint open sets \(U \ni x\) and \(U' \ni x'\) in \(X\); then \(U \times Y\) and \(U' \times Y\) are disjoint open neighbourhoods of \((x, y)\) and \((x', y')\). If \(y \ne y'\), choose disjoint open sets \(V \ni y\) and \(V' \ni y'\) in \(Y\); then \(X \times V\) and \(X \times V'\) are disjoint open neighbourhoods of the two points.

If \(X \times Y\) is Hausdorff. Since \(Y\) is nonempty, we may choose \(y_0 \in Y\). The map \(x \mapsto (x, y_0)\) is an embedding of \(X\) in \(X \times Y\). So \(X\) is Hausdorff, by the theorem that subspaces of Hausdorff spaces are Hausdorff. In the same way, a point \(x_0\) of the nonempty space \(X\) gives an embedding \(y \mapsto (x_0, y)\) of \(Y\) in \(X \times Y\), so \(Y\) is Hausdorff as well. \(\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 Hausdorff, 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 elsewhere