[Math] Compact subsets of the real numbers

compactnessgeneral-topologyreal-analysis

Let $C\subset \mathbb{R}$ be compact. I am wondering if

$$C=\bigcup_{i=1}^n[a_i,b_i]$$

then for some $a_i,b_i\in\mathbb{R}$, $a_1\le b_1 < a_2 \le b_2 \dots < a_n \le b_n$. By Heine-Borel, $C$ does indeed lie in some interval $[a,b]$, but is it the finite disjoint union of such intervals?

Could not find a proof for myself yet. Perhaps this is even wrong?

Thank you in advance 🙂

Best Answer

There are many compact subsets of $\Bbb R$ that are not the union of finitely many closed intervals. A very simple example is the set $$C=\{0\}\cup\left\{\frac1n:n\in\Bbb Z^+\right\}\;;$$ any other convergent sequence with its limit point would do just as well. A more interesting example is the middle-thirds Cantor set, every point of which is a limit point of the set.

Related Question