Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Compactness

Almost every existence argument in analysis follows the same three-step template:

  1. Construct an approximate sequence of “almost-solutions” (minimizing sequences, Galerkin approximations, Euler polygonal approximations, maximizers of a Rayleigh quotient, etc.).

  2. Extract a convergent subsequence. This is where compactness enters.

  3. Pass to the limit. Show the limit actually solves the original problem.

In finite dimensions step 2 is free: Bolzano-Weierstrass guarantees that every bounded sequence in Rn\mathbb{R}^n has a convergent subsequence. This is why eigenvalue decompositions, the SVD, the direct method of the calculus of variations, and Peano’s ODE existence theorem all “just work” in Rn\mathbb{R}^n. Each reduces to building an approximate sequence on a compact set and extracting a convergent subsequence. In infinite dimensions, closed bounded sets are no longer compact, and step 2 fails without additional structure.

Definition 1 (Compact, precompact, and totally bounded sets)

Let (M,d)(M, d) be a metric space and AMA \subset M.

  1. AA is compact if every open cover of AA has a finite subcover, or equivalently, if every sequence in AA has a subsequence converging to a point in AA.

  2. AA is precompact (or relatively compact) if its closure A\overline{A} is compact, or equivalently, if every sequence in AA has a subsequence that is Cauchy.

  3. AA is totally bounded if for every ε>0\varepsilon > 0, AA can be covered by finitely many balls of radius ε\varepsilon.

The key equivalence is:

AA is compact     \iff AA is complete and totally bounded.

In a complete metric space (such as a Banach space), precompactness and total boundedness coincide: AA is precompact if and only if it is totally bounded.

Why both conditions are needed.

Total boundedness is the condition that makes a set approximately finite-dimensional: at every resolution ε\varepsilon, the set is indistinguishable from a finite set. Completeness then ensures that Cauchy subsequences (built by the pigeonhole principle at finer and finer scales) actually converge.

In finite dimensions, compactness is characterized by the Heine-Borel theorem: a set is compact if and only if it is closed and bounded.

Example 1 (Compactness of Unit Ball in Rn\mathbb{R}^n)

The closed unit ball B1(0)={xRn:xp1}B_1(0) = \{x \in \mathbb{R}^n : \|x\|_p \leq 1\}

is compact by Heine-Borel. Equivalently, we can take any sequence {xn}B1(0)\{x_n\} \subset B_1(0). Since that sequence is bounded Bolzano-Weierstrass implies that it has a convergent subsequence.

This picture changes dramatically in infinite dimensions.

Example 2 (The Unit Ball in 2\ell^2 is Not Compact)

Consider the Hilbert space 2\ell^2 of square-summable sequences with the standard orthonormal basis {en}n=1\{e_n\}_{n=1}^\infty where en=(0,,0,1,0,)e_n = (0, \ldots, 0, 1, 0, \ldots) has a 1 in position nn and zeros elsewhere.

Each ene_n lies in the closed unit ball since en2=1\|e_n\|_2 = 1. However, for any nmn \neq m:

enem2=en22+em22=2\|e_n - e_m\|_2 = \sqrt{\|e_n\|_2^2 + \|e_m\|_2^2} = \sqrt{2}

Every pair of distinct elements is at distance 2\sqrt{2} apart. Therefore no subsequence of {en}\{e_n\} can be Cauchy, and hence no subsequence converges. The closed unit ball in 2\ell^2 is not compact.

Remark 1 (Compactness in Infinite Dimensions)

The failure of the Heine-Borel theorem in infinite dimensions is one of the most important distinctions between finite- and infinite-dimensional analysis. Closed and bounded sets need not be compact, and establishing compactness requires additional structure (e.g. equicontinuity in the Arzelà-Ascoli theorem, or tightness in probability theory). For this reason, compactness arguments play a crucial and often delicate role throughout functional analysis.

Remark 2 (Compact sets in infinite dimensions)

Boundedness alone is not enough. The unit ball of 2\ell^2 is closed and bounded, yet the orthonormal sequence (en)(e_n) has every pair distance 2\sqrt{2} apart, so no subsequence can be Cauchy. You need a constraint that suppresses this “too many directions” problem, i.e. you need total boundedness (Definition 1).

A concrete and important example: the unit ball of H1(Ω)H^1(\Omega), viewed inside L2(Ω)L^2(\Omega), is precompact (Rellich-Kondrachov). The reason is visible in Fourier space. An H1H^1 bound forces u^(k)2C/(1+k2)|\hat{u}(k)|^2 \leq C/(1 + |k|^2), so high-frequency modes are uniformly suppressed. For any ε>0\varepsilon > 0, all the L2L^2 energy beyond a sufficiently large frequency NN is less than ε\varepsilon, uniformly over the entire H1H^1 ball. The remaining low-frequency part lives in a finite-dimensional space. This is total boundedness: the derivative bound kills oscillations that would otherwise prevent clustering, and the bounded domain prevents mass from escaping to spatial infinity.