TheoremComplete

Heine-Borel Theorem

The Heine-Borel Theorem is a fundamental characterization of compactness in Euclidean spaces. It states that a subset of R\mathbb{R} (or Rn\mathbb{R}^n) is compact if and only if it is closed and bounded. This provides a simple criterion for compactness and is essential for proving the Extreme Value Theorem, Uniform Continuity, and many other results in analysis.


Statement

Theorem3.1Heine-Borel Theorem

Let KβŠ†RK \subseteq \mathbb{R}. Then KK is compact if and only if KK is closed and bounded.

RemarkOnly in finite dimensions

The Heine-Borel theorem holds in Rn\mathbb{R}^n but not in general infinite-dimensional spaces. For example, in the Banach space β„“βˆž\ell^\infty, the closed unit ball is closed and bounded but not compact.


Proof

Proof(β‡’) Compact implies closed and bounded

Bounded: Suppose KK is compact. Consider the open cover {(βˆ’n,n)∣n∈N}\{(-n, n) \mid n \in \mathbb{N}\}. By compactness, finitely many of these intervals cover KK, say KβŠ†(βˆ’N,N)K \subseteq (-N, N) for some NN. Thus KK is bounded.

Closed: We show the complement Rβˆ–K\mathbb{R} \setminus K is open. Let x∈Rβˆ–Kx \in \mathbb{R} \setminus K. For each y∈Ky \in K, the sets

Uy=(βˆ’βˆž,x+y2)andVy=(x+y2,∞)U_y = \left(-\infty, \frac{x+y}{2}\right) \quad \text{and} \quad V_y = \left(\frac{x+y}{2}, \infty\right)

are open, y∈Uyy \in U_y, and x∈Vyx \in V_y. The collection {Uy∣y∈K}\{U_y \mid y \in K\} is an open cover of KK. By compactness, finitely many cover KK, say KβŠ†Uy1βˆͺβ‹―βˆͺUynK \subseteq U_{y_1} \cup \cdots \cup U_{y_n}. Let V=Vy1βˆ©β‹―βˆ©VynV = V_{y_1} \cap \cdots \cap V_{y_n} (a finite intersection of open sets, hence open). Then x∈Vx \in V and V∩K=βˆ…V \cap K = \varnothing (since each VyiV_{y_i} is disjoint from UyiU_{y_i}). Thus VV is a neighborhood of xx contained in Rβˆ–K\mathbb{R} \setminus K, so Rβˆ–K\mathbb{R} \setminus K is open.

β– 
Proof(⇐) Closed and bounded implies compact

Suppose KK is closed and bounded. Since KK is bounded, KβŠ†[a,b]K \subseteq [a, b] for some interval [a,b][a, b].

Claim: [a,b][a, b] is compact.

Let {Uα}α∈I\{U_\alpha\}_{\alpha \in I} be an open cover of [a,b][a, b]. Define

S={x∈[a,b]∣[a,x] can be covered by finitely many Uα}.S = \{x \in [a, b] \mid [a, x] \text{ can be covered by finitely many } U_\alpha\}.

Then a∈Sa \in S (since a∈Uαa \in U_\alpha for some α\alpha). Also, SS is bounded above by bb. By completeness, c=sup⁑Sc = \sup S exists. We show c=bc = b and c∈Sc \in S, completing the proof.

Since c∈[a,b]c \in [a, b], there exists Ξ±0\alpha_0 such that c∈UΞ±0c \in U_{\alpha_0}. Since UΞ±0U_{\alpha_0} is open, there exists Ο΅>0\epsilon > 0 such that (cβˆ’Ο΅,c+Ο΅)βŠ†UΞ±0(c - \epsilon, c + \epsilon) \subseteq U_{\alpha_0}.

Since c=sup⁑Sc = \sup S, there exists x∈Sx \in S with cβˆ’Ο΅<x≀cc - \epsilon < x \leq c. By definition of SS, [a,x][a, x] can be covered by finitely many UΞ±U_\alpha. Adding UΞ±0U_{\alpha_0} to this collection, we see that [a,min⁑(c+Ο΅/2,b)][a, \min(c + \epsilon/2, b)] can be covered by finitely many UΞ±U_\alpha. Thus min⁑(c+Ο΅/2,b)∈S\min(c + \epsilon/2, b) \in S. If c<bc < b, this contradicts c=sup⁑Sc = \sup S. Thus c=bc = b and b∈Sb \in S, so [a,b][a, b] is covered by finitely many UΞ±U_\alpha.

Conclusion: Since [a,b][a, b] is compact and KβŠ†[a,b]K \subseteq [a, b] is closed, KK is compact (closed subsets of compact sets are compact).

β– 

Applications

ExampleExtreme Value Theorem

If f:[a,b]β†’Rf : [a, b] \to \mathbb{R} is continuous, then ff attains its maximum and minimum on [a,b][a, b].

Proof: [a,b][a, b] is compact (by Heine-Borel), so f([a,b])f([a, b]) is compact (continuous images of compact sets are compact). Thus f([a,b])f([a, b]) is closed and bounded, hence sup⁑f([a,b])\sup f([a, b]) and inf⁑f([a,b])\inf f([a, b]) exist and are attained.

ExampleUniform continuity on compact sets

If KK is compact and f:K→Rf : K \to \mathbb{R} is continuous, then ff is uniformly continuous on KK. This uses Heine-Borel to show that any continuous function on a closed bounded interval is uniformly continuous.

ExampleLebesgue number lemma

If KK is compact and {UΞ±}\{U_\alpha\} is an open cover of KK, there exists Ξ΄>0\delta > 0 (the Lebesgue number) such that every subset of KK with diameter <Ξ΄< \delta is contained in some UΞ±U_\alpha. This is proved using Heine-Borel.


Summary

The Heine-Borel theorem characterizes compactness in R\mathbb{R}:

  • Compact ⇔\Leftrightarrow closed and bounded.
  • Proof uses completeness (least upper bound property) for closed and bounded β‡’\Rightarrow compact.
  • Applications: Extreme Value Theorem, uniform continuity, Lebesgue number lemma.

See Compactness for more on compact sets, and Continuity for applications to continuous functions.