Altanis

3.7Local Compactness

Updated 23 Aug 2026Chapter (PDF)

[3.7.1]Definition(Local Compactness)#

A space XX is said to be locally compact at xx if there exists some compact set CXC \subseteq X that contains an open neighborhood of xx. If each point of XX is locally compact, XX is said to be locally compact.

[3.7.2]Example(Examples of Locally Compact Spaces)#
  1. Any compact space XX is locally compact, since for each xXx \in X, there is some open neighborhood OO of xx such that xOXx \in O \subseteq X, with XX being the compact superspace.

  2. R\bR is locally compact. For each xRx \in \bR, there is some a,bRa, b \in \bR such that x(a,b)[a,b]x \in (a, b) \subseteq [a, b], where [a,b][a, b] is compact. The same is true of Rn\bR^n, where instead we can draw an open ball around a point xx that is contained inside a closed one.

  3. Any ordered set XX is compact since every basis element is contained in a closed interval.

  4. Rω\bR^\omega in its product topology is not locally compact, since none of its basis elements are contained in compact superspaces. Take an arbitrary basic, open set U=(k=1n[ak,bk])×R×U = (\prod_{k = 1}^n [a_k, b_k]) \times \bR \times \cdots. If UU were contained in a compact set, then its closure U\bar{U} would be compact as well, since closed subsets of compact spaces are compact. However, U\bar{U} is the finite product of closed intervals, which is also multiplied by infinitely many instances of R\bR, making it not compct.

Of course, there are weird and arcane topological spaces. One method of demystifying such spaces is by considering them as subspaces of nice topological spaces, in hopes that it will inherit some nice properties. For a “bad” space XX, we can consider an embedding f:XYf: X \to Y into a “good” space YY, such that (Xf(X))Y(X \cong f(X)) \subseteq Y. In reality, f(X)f(X) is the true subspace of YY, but since XX is homeomorphic to f(X)f(X), XX has the nice properties f(X)f(X) would inherit as a subspace of YY. Through this, we are able to study a bad space by observing it as a subspace of a good space.

So what constitutes a good space? The examples we will consider are metrizable spaces and compact Hausdorff spaces. Metrizable spaces are nice due to a rigid topology defined by their metric, as well as topological notions (such as limit points and closure) being able to be probed by sequences. Compact Hausdorff spaces are nice since infinite covers can be reduced to finite subcovers, so some properties are more tractable, as well as sequences having unique limit points and other goodies.

Subspaces of metrizable spaces are metrizable as well, so no new information can be gathered from this. While subspaces of compact Hausdorff spaces are Hausdorff, they do not need to be compact. For example, consider the compact Hausdorff space [0,1][0, 1] and a subspace (0,1)(0, 1), which is obviously not compact. In later sections we will discuss a more complete characterization of every space that can be embedded into a compact Hausdorff space, but for now we investigate a simpler question. We investigate what classes of spaces are such that adding one specific point can produce a compact Hausdorff space. We will see that it is indeed locally compact Hausdorff spaces: there is a special point one could adjoin to a locally compact Hausdorff space to produce a compact Hausdorff space. This process is called one-point compactification.

[3.7.3]Theorem(Characterization of Locally Compact Hausdorff Spaces)#

Let XX be a space. Then XX is locally compact Hausdorff if and only if there exists a space YY such that:

  1. XX is a subspace of YY.

  2. YXY \setminus X is a singleton.

  3. YY is compact Hausdorff.

The identified space YY is unique up to homeomorphism. If there are two spaces Y,YY, Y' satisfying the aforementioned properties, then there is a homeomorphism from YY to YY' that fixes XX.

Proof.

We first verify uniqueness. Let XX be a LCH space, and suppose Y,YY, Y' are superspaces of XX that have the prescribed properties, in such a way that Y=X{}Y = X \cup \{\infty\} and Y=X{}Y' = X \cup \{\infty'\}. Define a map

h:YYh(x)={x=,xotherwise,h: Y \to Y' \quad h(x) = \begin{cases} \infty' & x = \infty, \\ x & \text{otherwise,} \end{cases}

a map that fixes XX and takes \infty \mapsto \infty'. We show that hh is a homeomorphism.

Obviously, hh is a bijection. We show that hh maps open sets to open sets, and the reverse is true by symmetry. To get started, suppose OYO \subseteq Y is open. If O\infty \notin O, then OXO \subseteq X is open, and so h(O)=OXh(O) = O \subseteq X is also open. If O\infty \in O, then note that C=YOC = Y \setminus O is a closed subset of XX, and so CC is compact (since closed subspaces of Hausdorff spaces are compact). Since XYX \subseteq Y', we have that CC is a compact, and thus closed, subspace of YY'. Thus h(O)=YCh(O) = Y' \setminus C is open, making hh a homeomorphism.

Now we show that if XX is a LCH space, there is some point X\infty \notin X such that Y=X{}Y = X \cup \{\infty\} is compact Hausdorff. We equip YY with the topology comprised of all sets UU that are open subsets of XX and all sets YCY \setminus C such that CC is compact in XX. We need to show that this topology is valid, the topology on XX is the subspace topology from YY, and that YY is compact Hausdorff with this topology. The first two conditions are trivial to check.

We show YY is compact: consider an open cover A\mathcal{A} of YY. Note that there is some compact CXC \subseteq X such that YCAY \setminus C \in \mathcal{A}, since open sets in XX do not contain \infty. Then note all other members of A\mathcal{A}, when intersected with AA, form an open cover for CC with open subsets of XX. Since CC is compact, a finite subcollection covers CC, and when adjoined to the open set YCY \setminus C, a finite subcollection of A\mathcal{A} covers YY. Thus YY is compact.

We show YY is Hausdorff; consider xyYx \ne y \in Y. Separated neighborhoods exist if x,yXx, y \in X since XX is Hausdorff, so WLOG suppose y=y = \infty. Since XX is locally compact, there is a compact CXC \subseteq X such that there is some open neighborhood UCU \subseteq C of xx. Then U,YCU, Y \setminus C are disjoint open neighborhoods of xx and yy respectively, and so YY is Hausdorff.

Now we prove the converse: if such a space YY exists that satisfies the following conditions, then XX is locally compact (Hausdorffness is immediate). Given xXx \in X, we show XX is locally compact at xx. Choose disjoint open sets U,VU, V of YY containing xx and \infty. Then C=YVC = Y \setminus V is closed in Hausdorff space YY and thus compact, and UU is an open neighborhood of xx that lies in the compact space CXC \subseteq X. Thus XX is locally compact.

If XX happens to be a compact space, then the Y=X{}Y = X \cup \{\infty\} from the preceding theorem is not interesting. Note if XX is compact, we need that YXY \setminus X is open in our prescribed YY, so the singleton {}\{\infty\} is open, making \infty an isolated point. If XX is not compact, then YXY \setminus X is not open, and so {}\{\infty\} is not open. Thus since every open neighborhood of \infty intersects XX nontrivially, making \infty a limit point of XX. Thus X=Y\bar{X} = Y for XX not compact, where the closure is relative to YY. We call this process compactification.

[3.7.4]Definition(Compactification, One-Point Compactification)#

If YY is a compact Hausdorff space and XX is a proper subspace of YY such that X=Y\bar{X} = Y, YY is called the compactification of XX. If YXY \setminus X is a singleton, then it is called the one-point compactification.

[3.7.5]Example(Common Examples of Compactifications)#

Ultimately, we have shown that if XX is LCH and not compact, then it admits a one-point compactification. Note this means that R\bR admits the one-point compactification R=R{}\bar{\bR} = \bR \cup \{\infty\}, which can be readily seen to be homeomorphic to R1\bR^1 by stereographic projection. The same is true for R2\bR^2 and in general Rn\bR^n with SnS^n. Note if we see CR2\bC \cong \bR^2, we get a one-point compactification C{}S2\bC \cup \{\infty\} \cong S^2, and we even call the one-point compactification of C\bC the Riemann sphere.

Note there is an alternative, more satisfying way to define local compactness. Typically, when a property is local about some xXx \in X, it means that there exists a neighborhood about xx where the property is true. But our definition of local compactness is not framed in this way. Indeed, we will formulate an alternative definition that identifies behavior more local in nature. Note this characterization is only equivalent in the context of Hausdorff spaces, however.

[3.7.6]Theorem(Characterization of Local Compactness)#

Let XX be a Hausdorff space. Then XX is locally compact if and only if, for any xXx \in X and an open neighborhood UU of xx, there is some open neighborhood VUV \subseteq U of xx such that V\bar{V} is compact and VU\bar{V} \subseteq U.

Proof.

()(\Longrightarrow): Suppose XX is LCH. Let xXx \in X and an open neighborhood UXU \subseteq X of xx be arbitrary. Let YY be the one-point compactification of XX, then note C=YUC = Y \setminus U is closed, and thus compact, in the Hausdorff space YY. Note that a compact subset of a Hausdorff space can be separated from a singleton outside the compact subset through open sets. Thus choose disjoint open sets V,WV, W such that xVx \in V and CWC \subseteq W. Thus V\bar{V} is closed and thus compact in the Hausdorff space YY, and since it is disjoint from CC, we have VU\bar{V} \subseteq U as desired.

()(\Longleftarrow): Suppose this formulation is true. Given xXx \in X and an open neighborhood UXU \subseteq X, there exists a neighborhood VV of xx such that the compact space V\bar{V} is contained in UU. Since V\bar{V} is a compact subspace containing the open neighborhood VV of xx, it follows that XX is locally compact.

That is, a Hausdorff space XX is locally compact if and only if every neighborhood about any point xXx \in X contains a compact subspace that contains an open neighborhood about xx.

[3.7.7]Corollary(Locally Compact Subspaces of LCH Spaces)#

Let XX be an LCH space. If AXA \subseteq X is open or closed, then AA is locally compact.

Proof.

Suppose AA is closed, and let xAx \in A. Note that XX is locally compact, so there is some compact set CXC \subseteq X that contains an open neighborhood UXU \subseteq X of xx. Then note CAC \cap A is closed in CC and thus compact, and it contains the open neighborhood UAU \cap A of xx in AA.

Now suppose AA is open, and let xAx \in A. Since XX is locally compact and AA is a neighborhood of xx, there is some neighborhood VAV \subseteq A of xx such that VA\bar{V} \subseteq A is compact. Then V\bar{V} is a compact space containing the open neighborhood VV of xx, and so AA is locally compact.

[3.7.8]Theorem(Characterization of Open Subspaces of Compact Hausdorff Space)#

A space XX is homeomorphic to an open subspace of a compact Hausdorff space if and only if XX is locally compact Hausdorff.