Definition. Compact Set

A set S⊂RS \subset R is compact if every sequence in SS has a convergent sub-sequence whose limit is in SS.

Theorem. SS is compact if and only if it is closed and bounded.

Proof:

  1. "⇒""\Rightarrow": Suppose SS is not bounded. Then there is a sequence (an)(a_n) is SS, such that ∣an∣≥n|a_n| \ge n, ∀n∈N\forall n \in N. Now every sub-sequence in (an)(a_n) diverges. Therefore SS must be bounded. Next we show that SS contains all its limit points. Let aa be a limit point of SS. Then there is a sequence (an)→a(a_n) \rightarrow a. (an)(a_n) is a sub-sequence of itself and so a∈Sa \in S. We have proved that SS is closed.
  2. "⇐""\Leftarrow": Assume SS is closed and bounded. Consider a sequence (an)(a_n) in SS. By Weierstrass Theorem, there is a convergent sub-sequence (ank)( a_{n_k} ). But since SS is closed, lim⁡kank∈S\lim_k a_{n_k} \in S.
Theorem. SS is compact if and only if every open cover of SS has a finite sub-cover.

Proof:

  1. "⇒""\Rightarrow": If SS is compact, it is bounded. We can find a closed interval I0I_0 that contains SS. Suppose SS can not be covered by a finite sub-cover. We bisect I0I_0 into two closed intervals of equal length. At least one of them can not be covered with finite sets. Denote this interval I1I_1. We continue the process, resulting in a series of intervals I1⊃I2⊃I3⊃...I_1 \supset I_2 \supset I_3 \supset .... Define Jn=In∩S∀n∈NJ_n = I_n \cap S \quad \forall n \in N. The construction of InI_n ensures Jn≠∅∀n∈NJ_n \neq \emptyset \quad \forall n \in N and the length of InI_n approaches 00 as n→∞n \rightarrow \infty. We claim that ∩nJn≠∅\cap_n J_n \neq \emptyset. Indeed, there is an element an∈Jna_n \in J_n for n∈Nn \in N. It not difficult to see (an)(a_n) is a Cauchy sequence since ∀m>n≥N\forall m > n \ge N, an,am∈INa_n, a_m \in I_N and ∣an−am∣≤∣IN∣|a_n - a_m| \le |I_N|. Let a=lim⁡nana = \lim_n a_n. We conclude that a∈Jna \in J_n for n∈Nn \in N. This is because an+1,an+2...,∈Jna_{n + 1}, a_{n + 2}..., \in J_n for all n∈Nn \in N. It follows that a∈∩nJna \in \cap_n J_n. Now aa must be covered by some open set OaO_a. On the other hand, the construction of InI_n ensures that there is an integer NaN_a such that INaI_{N_a} is small enough such that INa⊂OaI_{N_a} \subset O_a. Contradicting the assumption that INaI_{N_a} cannot be covered with finite sets.

  2. "⇐""\Leftarrow": Consider the collection of open balls {B(O,1), B(O,2), B(O,3),...}\{ B(O, 1),\ B(O, 2),\ B(O, 3), ...\} centered at 00 with radii 1,2,3,...1, 2, 3, .... It covers SS and has a finite sub-cover. It follows that SS is bounded by the ball with largest radius in the finite sub-cover. To show SS is closed, it suffices to prove it complement ScS^c is open. Let a∈Sca \in S^c. Take the collection of closed balls {Bˉ(a,1), Bˉ(a,1/2), Bˉ(a,1/3),...}\{ \bar B(a, 1),\ \bar B(a, 1/2),\ \bar B(a, 1/3), ...\} centered at aa with radii 1,1/2,1/3,...,1/n,...1, 1/2, 1/3, ..., 1/n, .... Their complements {Bˉ(a,1)c, Bˉ(a,1/2)c, Bˉ(a,1/3)c,...}\{ \bar B(a, 1)^c,\ \bar B(a, 1/2)^c,\ \bar B(a, 1/3)^c, ...\} constitute an open cover of SS. By assumption we can find a finite subset of them that covers SS. Let Bˉ(a,ϵ)c\bar B(a, \epsilon)^c be the one with the smallest radius in the finite subset collection. We learn that B(a,ϵ)⊂ScB(a, \epsilon) \subset S^c and therefore ScS^c is open.