From a Cube to a Sphere
A sphere in Euclidean space is described by an equation, while a cube is described by bounds on each coordinate. These descriptions fit together: every point on the unit sphere has each coordinate between \(-1\) and \(1\), and the sphere is a closed subset of the resulting cube. Compactness of the cube then gives compactness of the sphere. The argument uses open-cover compactness and works in every finite dimension, including dimension zero.
For \(n\geq 0\), give \(\mathbb{R}^{n+1}\) its standard Euclidean topology and write \(\|x\|=(x_0^2+\cdots+x_n^2)^{1/2}\) for the Euclidean norm. Define the unit sphere and the cube by
The cube \(C_n\) has the product topology from its \(n+1\) factors \([-1,1]\). For a finite product of Euclidean spaces, the product topology agrees with the standard Euclidean topology. Indeed, for \(u\in\mathbb{R}^{n+1}\), the maximum coordinate size \(\|u\|_\infty=\max_{0\leq i\leq n}|u_i|\) satisfies \(\|u\|_\infty\leq\|u\|\leq\sqrt{n+1}\|u\|_\infty\). Thus balls in either metric contain balls in the other, with appropriately rescaled radii.
Why the Cube Is Compact
First, the interval \([-1,1]\) is compact in its standard topology. Here is the open-cover argument. Let \(\mathcal{U}\) be an open cover of \([-1,1]\), where openness is relative to \([-1,1]\). Let \(E\) consist of those \(t\in[-1,1]\) for which \([-1,t]\) is covered by finitely many members of \(\mathcal{U}\). The set \(E\) is nonempty: a member of the cover contains \(-1\), and therefore covers \([-1,t]\) for some \(t>-1\) in \([-1,1]\). Let \(c=\sup E\), which exists by completeness of \(\mathbb{R}\).
Choose \(U\in\mathcal{U}\) containing \(c\). Since \(U\) is relatively open, there is \(\delta>0\) such that \((c-\delta,c+\delta)\cap[-1,1]\subseteq U\). If \(c<1\), choose \(t\in E\) with \(t>c-\delta/2\); this is possible from the definition of supremum. Also \(t\leq c\), so the same finite cover of \([-1,t]\), together with \(U\), covers \([-1,c+\eta]\), where \(\eta=\min(\delta/2,(1-c)/2)>0\). This contradicts \(c=\sup E\). Hence \(c=1\). In that case choose \(t\in E\) with \(t>1-\delta\). A finite cover of \([-1,t]\), together with \(U\), covers all of \([-1,1]\). Thus \(\mathcal{U}\) has a finite subcover, as required.
The finite-product theorem for compact spaces says that a product of finitely many compact spaces, with the product topology, is compact. This theorem was established in the earlier material on finite products. Applying it to \(n+1\) copies of the compact interval gives the needed fact about the cube.
Proof. Each factor \([-1,1]\) is compact by the open-cover argument above. There are \(n+1\) factors, a finite number, and \(C_n\) has their product topology. The finite-product theorem therefore implies that \(C_n\) is compact. \(\square\)
The Sphere Is a Closed Subset of the Cube
Proof. If \(x\in S^n\), then \(\sum_{i=0}^n x_i^2=1\). Every term \(x_i^2\) is nonnegative, so \(x_i^2\leq1\) for each \(i\), and hence \(-1\leq x_i\leq1\). This proves \(S^n\subseteq C_n\).
To prove closedness, take any \(x\in C_n\setminus S^n\). Then \(\|x\|\ne1\), so \(\delta=|\|x\|-1|>0\). The triangle inequality gives \(\|y\|\leq\|y-x\|+\|x\|\) and \(\|x\|\leq\|x-y\|+\|y\|\); together these imply \(|\|y\|-\|x\||\leq\|y-x\|\). If \(y\in C_n\) and \(\|y-x\|<\delta/2\), then \(\|y\|\ne1\): otherwise \(\delta=|\|x\|-1|=|\|x\|-\|y\||<\delta/2\), a contradiction. Thus the relative open ball \(B(x,\delta/2)\cap C_n\) misses \(S^n\). Every point of \(C_n\setminus S^n\) has such a relative open neighborhood, so \(C_n\setminus S^n\) is open in \(C_n\). Therefore \(S^n\) is closed in \(C_n\). \(\square\)
We also use the closed-subspace theorem: a closed subset of a compact space is compact. The proof shows precisely where closedness matters. If \(F\) is closed in a compact space \(X\), let \(\{V_\alpha\}\) be an open cover of \(F\) in its subspace topology. For each \(\alpha\), write \(V_\alpha=U_\alpha\cap F\) with \(U_\alpha\) open in \(X\). The sets \(U_\alpha\), together with \(X\setminus F\), form an open cover of \(X\). Compactness gives a finite subcover of \(X\). Removing \(X\setminus F\) from this finite list leaves finitely many \(U_\alpha\) that cover \(F\), and their corresponding \(V_\alpha\) cover \(F\). This proves the theorem.
Proof. The cube \(C_n\) is compact by the proposition above, and \(S^n\) is closed in \(C_n\) by the closedness proposition. The closed-subspace theorem therefore implies that \(S^n\), with its subspace topology, is compact. This subspace topology is the standard Euclidean topology on the sphere. \(\square\)
Worked Examples in Low Dimensions
Worked Example: The Zero-Dimensional Sphere
For \(n=0\), the ambient space is \(\mathbb{R}\) and the cube is \(C_0=[-1,1]\). The equation defining \(S^0\) is \(|x|=1\), which has exactly the solutions \(x=-1\) and \(x=1\). Thus \(S^0=\{-1,1\}\).
In \([-1,1]\), its complement is \([-1,1]\setminus S^0=(-1,1)\), which is open relative to \([-1,1]\). Hence \(S^0\) is closed in the compact cube \(C_0\) and is compact. As a direct check, any open cover of the two-point set has a member covering \(-1\) and a member covering \(1\); those at most two members already form a finite subcover. The direct check agrees with the closed-subspace argument.
Worked Example: The Circle Inside the Square
For \(n=1\), the cube is \(C_1=[-1,1]^2\) and the sphere is the circle \(S^1=\{(x_0,x_1):x_0^2+x_1^2=1\}\). Consider \((3/5,4/5)\). Its coordinates lie in the square because \(-1\leq3/5\leq1\) and \(-1\leq4/5\leq1\). Substitution into the circle equation gives \(\left(3/5\right)^2+\left(4/5\right)^2=9/25+16/25=25/25=1\), so the point lies on \(S^1\).
For a direct check of the cube containment at this point, its coordinate absolute values are \(3/5\leq1\) and \(4/5\leq1\). For the general containment argument, the same reasoning applies to every circle point: if \(x_0^2+x_1^2=1\), then \(0\leq x_0^2\leq1\) and \(0\leq x_1^2\leq1\). The circle is closed in the square by the proposition, and the square is compact as a product of two compact intervals. Therefore the circle is compact.
Worked Example: A Point on the Two-Sphere
For \(n=2\), \(C_2=[-1,1]^3\), and \(S^2\) is defined by \(x_0^2+x_1^2+x_2^2=1\). Take \(p=(1/3,2/3,2/3)\). Each coordinate is in \([-1,1]\), since \(0\leq1/3\leq1\) and \(0\leq2/3\leq1\). Its squared norm is \((1/3)^2+(2/3)^2+(2/3)^2=1/9+4/9+4/9=9/9=1\). Thus \(p\in S^2\subseteq C_2\).
The theorem applies to the whole sphere, not just this point: the three-factor cube is compact by the finite-product theorem, and the level set defined by the squared-norm equation is closed in that cube. Hence \(S^2\) is compact. As a check on the equation at \(p\), the computed squared norm is \(9/9\), so its norm is \(\sqrt{9/9}=1\), exactly the required value.
A Common Compactness Pitfall
Common pitfall. A tempting but incorrect argument is: “The cube \(C_n\) is compact, and \(S^n\subseteq C_n\), so \(S^n\) is compact.” Compactness is not inherited by every subset; the closed-subspace theorem requires the subset to be closed.
For a concrete failure, \((-1,1)\) is a subset of the compact interval \([-1,1]\), but it is not compact. Consider the open sets \(U_m=(-1+1/m,\,1-1/m)\) for integers \(m\geq2\). They are open in \(\mathbb{R}\), and their union covers \((-1,1)\): given \(x\in(-1,1)\), choose \(m\) large enough that \(1/m<\min(1+x,1-x)\), which gives \(-1+1/m<x<1-1/m\). But a finite subcollection has a largest index \(M\), and because \(U_m\subseteq U_M\) whenever \(2\leq m\leq M\), that finite subcollection is contained in \(U_M\). The point \(1-1/(2M)\) lies in \((-1,1)\) but is greater than \(1-1/M\), so it is not covered by \(U_M\). There is no finite subcover. In the sphere argument, the extra closedness proof is what makes the compactness conclusion valid.
Check Your Understanding
Use the definitions and the cube argument to answer the following questions.
- Why does \(\sum_{i=0}^n x_i^2=1\) imply \(-1\leq x_i\leq1\) for every coordinate?
- For \(n=0\), identify the cube and the sphere, and explain why the sphere is closed in the cube.
- In the proof that \(S^n\) is closed in \(C_n\), why must \(\delta=|\|x\|-1|\) be positive for \(x\notin S^n\)?
- Which two properties of \(S^n\subseteq C_n\) allow the closed-subspace theorem to prove that \(S^n\) is compact?
- What is the flaw in concluding that every subset of a compact space is compact?