Definition — Compact Set
Let \((X,d)\) be a metric space. A set \(E\subseteq X\) is compact if every open cover of \(E\) has a finite subcover. Explicitly, whenever \(E\subseteq\bigcup_{\alpha\in A}U_\alpha\) with each \(U_\alpha\) open in \(X\), there exist finitely many indices \(\alpha_1,\ldots,\alpha_m\) such that \(E\subseteq U_{\alpha_1}\cup\cdots\cup U_{\alpha_m}\).

Moreover,

Theorem
Every compact subset of a metric space is closed and bounded.

Note that in a general metric space, closed and bounded need not imply compact. However if the space is a finite dimensional euclidean space, then it is true and that’s the following theorem:

Heine–Borel Theorem
A subset of \(\mathbb{R}^n\), equipped with its usual Euclidean metric, is compact if and only if it is closed and bounded. The same statement holds in \(\mathbb{C}^n\), identified with \(\mathbb{R}^{2n}\).

More generally, if we consider any metric space. Then to get the converse statement “closed and bounded” implies “compact”, we need the Bolzano–Weierstrass property where every bounded sequence has a convergent subsequence with limit in the space. If we have this property, then for any closed and bounded subset \(A\)

  • Every sequence in \(A\) is bounded and hence has a convergent subsequence in the ambient space.
  • Closedness ensures its limit stays in \(A\).

Thus \(A\) is sequentially compact (every sequence in \(A\) has a subsequence converging to a point in \(A\)). Since sequential compactness and compactness are equivalent in metric spaces, \(A\) is compact. Finally we have the following result

Separability + Bolzano–Weierstrass \(\to\) Compact
If a metric space is separable and every bounded sequence has a convergent subsequence, then every closed, bounded subset is compact.

The Closed Unit Ball in Finite Dimensions

Lemma
Let \(V\) be a finite-dimensional normed space over \(\mathbb{R}\) or \(\mathbb{C}\). Its closed unit ball \(B=\{x\in V:\|x\|\le 1\}\) is compact.

The proof outline is the following

  • Prove \(V\) is separable: construct the countable dense set \(D\) using rational coefficients.
  • Prove the bounded-sequence property: norm equivalence makes the coefficients of a bounded sequence bounded. Extract subsequences successively until every coordinate converges.
  • Apply the stated result: the closed unit ball is closed and bounded, hence compact.

Proof (1)

If \(V=\{0\}\), its closed unit ball is the singleton \(\{0\}\), which is compact. Otherwise, choose a basis \(\{e_1, \ldots, e_n\}\) of \(V\). Every vector has a unique expression

$$ x=\sum_{i=1}^{n}x_i e_i. $$

For a complex vector space, define

$$ D=\left\{\sum_{i=1}^{n}q_i e_i:q_i\in\mathbb{Q}+i\mathbb{Q}\right\}. $$

For a real vector space, take \(q_i\in\mathbb{Q}\) instead. These sets are countable because a finite product of countable sets is countable. To see why \(D\) is dense in \(V\), fix \(x=\sum_{i=1}^{n}x_i e_i\) and \(\epsilon>0\). Approximate each coefficient \(x_i\) by a coefficient \(q_i\) from the appropriate countable set. This is possible because \(\mathbb{Q}\) is a dense set in \(\mathbb{R}\) and \(\mathbb Q+i\mathbb Q\) is dense in \(\mathbb C\). Therefore,

$$ |x_i-q_i|\lt \frac{\epsilon}{n\|e_i\|} \qquad\text{for }i=1,\ldots,n. $$

Then \(q=\sum_{i=1}^{n}q_i e_i\) belongs to \(D\), and

$$ \|x-q\| \le\sum_{i=1}^{n}|x_i-q_i|\,\|e_i\| \lt\epsilon. $$

Thus \(D\) is dense in \(V\), so \(V\) is separable. Now, let \((v_j)\) be a bounded sequence in \(V\). Write

$$ v_j=\sum_{i=1}^{n}x_{j,i}e_i. $$

We first justify why each sequence of coordinates is bounded. The function

$$ \left\|\sum_{i=1}^{n}x_i e_i\right\|_{\mathrm{coord}} =\max_{1\le i\le n}|x_i| $$

is a norm on \(V\). By equivalence of norms, there exists \(K>0\) such that

$$ \max_{1\le i\le n}|x_{j,i}| \le K\|v_j\|. $$

Since \((v_j)\) is bounded, the right-hand side is bounded independently of \(j\). Hence every coordinate sequence \((x_{j,i})_{j=1}^{\infty}\) is bounded. Apply the Bolzano–Weierstrass theorem to the first coordinate sequence to obtain a subsequence along which the first coordinate converges. From that subsequence, choose a further subsequence along which the second coordinate converges. Continue through all \(n\) coordinates. There are only finitely many coordinates, so this process produces a subsequence \((v_{j_k})\) and scalars \(x_1,\ldots,x_n\) such that

$$ x_{j_k,i}\to x_i \qquad\text{for every }i=1,\ldots,n. $$

Set \(v=\sum_{i=1}^{n}x_i e_i\). By the triangle inequality,

$$ \begin{aligned} \|v_{j_k}-v\| &=\left\|\sum_{i=1}^{n}(x_{j_k,i}-x_i)e_i\right\|\\ &\le\sum_{i=1}^{n}|x_{j_k,i}-x_i|\,\|e_i\| \longrightarrow 0. \end{aligned} $$

Thus every bounded sequence in \(V\) has a convergent subsequence. We have shown that \(V\) is separable and that every bounded sequence in \(V\) has a convergent subsequence with limit in \(V\). By the theorem stated above, every closed, bounded subset of \(V\) is compact. The closed unit ball

$$ \begin{align*} B=\{v\in V:\|v\|\le 1\} \end{align*} $$

is bounded by definition. It is also closed: the reverse triangle inequality

$$ \begin{align*} \bigl|\|x\|-\|y\|\bigr|\le\|x-y\| \end{align*} $$

shows that the function \(f:V\to\mathbb R\) defined by \(f(v)=\|v\|\) is continuous. Since

$$ \begin{align*} B=f^{-1}([0,1]), \end{align*} $$

and \([0,1]\) is closed in \(\mathbb R\), the set \(B\) is closed. Therefore, \(B\) is closed and bounded, so the stated theorem implies that \(B\) is compact. \(\blacksquare\)


Proof (2)

If \(V=\{0\}\), its closed unit ball is the singleton \(\{0\}\), which is compact. Otherwise, choose a basis \(\{e_1,\ldots,e_n\}\) of \(V\). Every vector has a unique expression

$$ x=\sum_{i=1}^{n}x_i e_i. $$

Let \((v_j)\) be any sequence in the closed unit ball

$$ B=\{v\in V:\|v\|\le 1\}. $$

Write

$$ v_j=\sum_{i=1}^{n}x_{j,i}e_i. $$

We first justify why each sequence of coordinates is bounded. The function

$$ \left\|\sum_{i=1}^{n}x_i e_i\right\|_{\mathrm{coord}} =\max_{1\le i\le n}|x_i| $$

is a norm on \(V\). By equivalence of norms, there exists \(K>0\) such that

$$ \max_{1\le i\le n}|x_{j,i}| \le K\|v_j\| \le K. $$

Hence every coordinate sequence \((x_{j,i})_{j=1}^{\infty}\) is bounded. Apply the Bolzano–Weierstrass theorem to the first coordinate sequence to obtain a subsequence along which the first coordinate converges. From that subsequence, choose a further subsequence along which the second coordinate converges. Continue through all \(n\) coordinates. Each further subsequence preserves the convergence of the preceding coordinates. There are only finitely many coordinates, so this process produces a subsequence \((v_{j_k})\) and scalars \(x_1,\ldots,x_n\) such that

$$ x_{j_k,i}\to x_i \qquad\text{for every }i=1,\ldots,n. $$

Set \(v=\sum_{i=1}^{n}x_i e_i\). By the triangle inequality,

$$ \begin{aligned} \|v_{j_k}-v\| &=\left\|\sum_{i=1}^{n}(x_{j_k,i}-x_i)e_i\right\|\\ &\le\sum_{i=1}^{n}|x_{j_k,i}-x_i|\,\|e_i\| \longrightarrow 0. \end{aligned} $$

Thus \((v_{j_k})\) converges to \(v\) in \(V\). It remains to show that \(v\in B\). The reverse triangle inequality gives

$$ \begin{align*} \bigl|\|v_{j_k}\|-\|v\|\bigr| \le\|v_{j_k}-v\|\longrightarrow0. \end{align*} $$

Since \(\|v_{j_k}\|\le1\) for every \(k\), it follows that

$$ \begin{align*} \|v\|=\lim_{k\to\infty}\|v_{j_k}\|\le1. \end{align*} $$

Therefore \(v\in B\). Every sequence in \(B\) has a subsequence converging to an element of \(B\). Hence \(B\) is sequentially compact. Since sequential compactness and compactness are equivalent in metric spaces, \(B\) is compact. \(\blacksquare\)


References

  • SFSU Fourier Analysis by Professor Chun-Kit Lai
  • Fourier Analysis: An Introduction by Elias M.Stein and Rami Shakarchi