2. Prove the Heine-Borel Theorem (Compact implies closed and bounded)
Suppose S is a compact subset of 鈩. This means that every open cover of S has a finite subcover.
To show that S is closed, let x be a limit point of S. Then, every open neighborhood of x contains points of S other than x itself. Consider the open cover of S formed by open intervals of the form (s - 蔚, s + 蔚) for each s in S. By compactness, there exists a finite subcover of this open cover, which means that there exist finitely many points s1, s2, ..., sn in S and positive 蔚1, 蔚2, ..., 蔚n such that S is contained in the union of the intervals (si - 蔚i, si + 蔚i) for i = 1, 2, ..., n. Since x is a limit point and these intervals form an open cover of S, x must belong to one of these intervals, say (sk - 蔚k, sk + 蔚k). But then x is also in S, since S is closed.
To show that S is bounded, let B = max{2蔚1, 2蔚2, ..., 2蔚n}. Clearly, S is contained in the interval (-B, B), which means that S is bounded.