Tutorials › Topology (Undergraduate) › Compactness of a Product Forces Compactness of Its Factors

Compact Spaces and Open Covers · Tutorial 490 of 799

Compactness of a Product Forces Compactness of Its Factors

Use coordinate projections and the continuous-image theorem to determine when compactness of a product forces compactness of its factors.

Intermediate 9 min read

What You'll Learn

  • State the precise condition under which compactness of a product implies compactness of a factor.
  • Prove that coordinate projections are continuous in the product topology.
  • Compute the projection images, including when one or both factors are empty.
  • Apply the continuous-image theorem to obtain compactness of a factor.
  • Construct an example showing why the nonempty-factor hypothesis is necessary.
  • Avoid incorrect “if and only if” claims about projection images in empty cases.

From a Compact Product to Its Factors

A product space carries information about each of its coordinates, but recovering a whole factor from the product requires that the other factor provide at least one point to pair with every point in the factor of interest. Coordinate projections make this precise: they are continuous, and their images depend on whether the opposite factor is empty. We will use these facts together with the continuous-image theorem to identify exactly when compactness passes from a product to a factor.

Throughout, \(X\) and \(Y\) are topological spaces with topologies \(\mathcal{T}_X\) and \(\mathcal{T}_Y\). Their product \(X\times Y\) has the product topology, whose basis consists of the sets \(U\times V\), where \(U\) is open in \(X\) and \(V\) is open in \(Y\). A space is compact if every open cover of it has a finite subcover. An open cover of a space is a family of open subsets whose union is the whole space.

Theorem (Continuous-image theorem): If \(f:Z\to W\) is continuous and \(Z\) is compact, then \(f(Z)\), with the subspace topology inherited from \(W\), is compact. This result was established in the earlier material on continuous images of compact spaces.

The theorem applies to a map’s image, not automatically to its entire target. For a projection to show that a factor is compact, we therefore need to know when the projection’s image is the whole factor.

Coordinate Projections and Their Images

Definition: The coordinate projections are the maps \(\pi_X:X\times Y\to X\) and \(\pi_Y:X\times Y\to Y\) defined by \(\pi_X(x,y)=x\) and \(\pi_Y(x,y)=y\).
Proposition: Both coordinate projections are continuous. Their images are \(\pi_X(X\times Y)=X\) if \(Y\ne\varnothing\), and \(\pi_X(X\times Y)=\varnothing\) if \(Y=\varnothing\); likewise, \(\pi_Y(X\times Y)=Y\) if \(X\ne\varnothing\), and \(\pi_Y(X\times Y)=\varnothing\) if \(X=\varnothing\).

Proof. Let \(U\) be open in \(X\). Then \(\pi_X^{-1}(U)=U\times Y\), which is open in the product topology because \(U\) and \(Y\) are open in their respective spaces. Thus preimages of open sets under \(\pi_X\) are open, so \(\pi_X\) is continuous. For an open set \(V\) in \(Y\), \(\pi_Y^{-1}(V)=X\times V\) is open for the same reason, so \(\pi_Y\) is continuous. If \(Y\ne\varnothing\), choose \(y_0\in Y\). For every \(x\in X\), \((x,y_0)\in X\times Y\) and \(\pi_X(x,y_0)=x\), so \(\pi_X(X\times Y)=X\). If \(Y=\varnothing\), there are no ordered pairs in \(X\times Y\), so the image is empty. For \(\pi_Y\), if \(X\ne\varnothing\), choose \(x_0\in X\); then each \(y\in Y\) is the image of \((x_0,y)\), giving \(\pi_Y(X\times Y)=Y\). If \(X=\varnothing\), the domain is empty and the image is empty. These arguments also cover an empty target: the image of a map with empty codomain is empty. \(\square\)

The image formulas are the key point. If the factor opposite the projection is nonempty, the projection reaches every point of the target. If that factor is empty, the product has no points, so the projection has empty image—even if its target is nonempty.

The Compactness Implication

Theorem: If \(X\times Y\) is compact and \(Y\ne\varnothing\), then \(X\) is compact. If \(X\times Y\) is compact and \(X\ne\varnothing\), then \(Y\) is compact.

Proof. Suppose \(X\times Y\) is compact and \(Y\ne\varnothing\). The projection \(\pi_X\) is continuous, so the continuous-image theorem implies that \(\pi_X(X\times Y)\) is compact. The image formula gives \(\pi_X(X\times Y)=X\), and hence \(X\) is compact. Now suppose \(X\times Y\) is compact and \(X\ne\varnothing\). The continuous map \(\pi_Y\) has image \(Y\), so the continuous-image theorem gives that \(Y\) is compact. \(\square\)

Each nonemptiness assumption belongs to the factor being projected away from: to infer compactness of \(X\), we need \(Y\ne\varnothing\); to infer compactness of \(Y\), we need \(X\ne\varnothing\). These are not assumptions that the factor being concluded compact must already be nonempty.

If both factors are empty, both are compact: the empty space is compact because the empty subfamily is a finite subcover of any open cover of it. If exactly one factor is empty, however, the product is empty and therefore compact, while the nonempty factor need not be compact. The following examples make these cases explicit.

Worked Example: Projections from a Finite Product

Let \(X=\{a,b\}\) and \(Y=\{0,1\}\), each with the discrete topology, in which every subset is open. The product topology on \(X\times Y\) is also discrete: each singleton \(\{(x,y)\}=\{x\}\times\{y\}\) is a basic open set. The product has the four points \((a,0),(a,1),(b,0),(b,1)\).

To check compactness directly, take any open cover of \(X\times Y\). For each of its four points, choose one member of the cover containing that point. The at most four chosen members form a finite subcover, so \(X\times Y\) is compact. The factors are compact by the same finite-set argument: choose a covering set for each of the two points in either factor.

Since \(Y\ne\varnothing\), the projection image is \(\pi_X(X\times Y)=X=\{a,b\}\): \(a=\pi_X(a,0)\) and \(b=\pi_X(b,0)\). Since \(X\ne\varnothing\), \(\pi_Y(X\times Y)=Y=\{0,1\}\): \(0=\pi_Y(a,0)\) and \(1=\pi_Y(a,1)\). Both projections are continuous, and each image is the whole corresponding factor, just as the theorem requires.

Check: there are exactly four product points, and each occurs in the displayed list. Each projection image contains both points of its two-point target and cannot contain anything else, so the computed images are exact.

Worked Example: An Empty Factor Hides a Noncompact Space

Let \(X=\mathbb{R}\) with its standard topology and let \(Y=\varnothing\) with its unique topology \(\{\varnothing\}\). The product \(X\times Y\) is empty. It is compact: any open cover of the empty space has the empty family as a finite subcover.

But \(X=\mathbb{R}\) is not compact. For each \(n\in\mathbb{N}=\{1,2,\dots\}\), let \(U_n=(-n,n)\). These sets are open and cover \(\mathbb{R}\): for any \(x\in\mathbb{R}\), the Archimedean property gives \(n\in\mathbb{N}\) with \(n>|x|\), so \(x\in U_n\). Any nonempty finite selection has a largest index \(N\), and its union is \((-N,N)\). This misses \(N+1\), which is a real number greater than \(N\). An empty selection also fails to cover \(\mathbb{R}\). Thus this open cover has no finite subcover.

The projection \(\pi_X:\mathbb{R}\times\varnothing\to\mathbb{R}\) has image \(\varnothing\), not \(\mathbb{R}\). The continuous-image theorem says that this image is compact; it does not say that the larger target \(\mathbb{R}\) is compact. This example shows why \(Y\ne\varnothing\) is necessary to infer compactness of \(X\).

Check: for every \(n\in\mathbb{N}\), \(N+1\notin(-N,N)\) because \(N+1>N\); hence no finite subfamily of the stated cover covers the real line.

Worked Example: An Empty First Factor

Now let \(X=\varnothing\) and \(Y=\mathbb{R}\) with the standard topology. Again \(X\times Y=\varnothing\), so the product is compact. The factor \(X\) is compact by the empty-space argument, but \(\pi_Y(X\times Y)=\varnothing\), which is not its target \(Y=\mathbb{R}\). As shown in the preceding example, \(\mathbb{R}\) is not compact. The hypothesis \(X\ne\varnothing\) is therefore necessary to infer compactness of \(Y\).

For comparison, if \(X=Y=\varnothing\), then \(\pi_X(X\times Y)=\varnothing=X\) and \(\pi_Y(X\times Y)=\varnothing=Y\). Both images equal their targets in this case, although neither opposite factor is nonempty. These equalities occur because the targets themselves are empty.

A Common Pitfall: Incorrect “If and Only If” Claims

It is tempting to compress the projection image statement into “\(\pi_X(X\times Y)=X\) if and only if \(Y\ne\varnothing\).” This is false: when \(X=Y=\varnothing\), the image and target are both empty, so they are equal even though \(Y\) is not nonempty. The symmetric claim about \(\pi_Y\) also fails: if \(X\ne\varnothing\) and \(Y=\varnothing\), then \(\pi_Y(X\times Y)=\varnothing=Y\), despite \(X\ne\varnothing\).

The correct equivalences, obtained directly from the image formulas, are \(\pi_X(X\times Y)=X\) if and only if \(Y\ne\varnothing\) or \(X=\varnothing\), and \(\pi_Y(X\times Y)=Y\) if and only if \(X\ne\varnothing\) or \(Y=\varnothing\). For the first equivalence, if \(Y\ne\varnothing\), the image is \(X\); if \(X=\varnothing\), both image and target are empty. Conversely, if \(Y=\varnothing\) and \(X\ne\varnothing\), the image is empty and differs from \(X\). The second equivalence follows by the same case check: if \(X\ne\varnothing\), the image is \(Y\); if \(Y=\varnothing\), both are empty; and if \(X=\varnothing\), \(Y\ne\varnothing\), the image differs from \(Y\).

The compactness theorem uses the sufficient hypotheses \(Y\ne\varnothing\) and \(X\ne\varnothing\), respectively, not these more complicated equivalences. Those hypotheses guarantee that the relevant projection is onto the factor whose compactness is sought.

Why the Projection Argument Matters

The argument is useful because it reduces a claim about a product to a familiar theorem about continuous images. The proof has three parts: identify a continuous map, determine its image, and apply preservation of compactness to that image. Omitting the image check is a common source of errors: a continuous map from a compact space guarantees compactness of the image, but a target that is larger than the image need not be compact.

The nonempty condition is not a technical detail that can be discarded after the proof. An empty factor makes the whole product empty regardless of the other factor’s topology or compactness. Thus compactness of the product alone cannot detect whether a possibly noncompact space was paired with the empty space. When the opposite factor is nonempty, every point in the desired factor appears as a coordinate of some product point, and the projection transfers compactness to the whole factor.

Check Your Understanding

For each question, keep track of the projection’s domain, target, and image, including the empty cases.

  1. State the condition needed to infer compactness of \(X\) from compactness of \(X\times Y\), and prove the inference in one sentence using the named theorem.
  2. If \(X\ne\varnothing\) and \(Y=\varnothing\), compute both projection images. Which factor’s compactness cannot be inferred from compactness of the product?
  3. Suppose \(X\times Y\) is compact and \(X=\varnothing\), while \(Y\ne\varnothing\). Which factor is known to be compact from the projection theorem, and why?
  4. Give the correct “if and only if” condition for \(\pi_Y(X\times Y)=Y\), including the case in which both factors are empty.
  5. Why does compactness of the image of a continuous map not, by itself, prove compactness of the map’s entire target?