We begin by finishing up a proof that we didn’t get to cover last time.
Theorem (Heine-Borel Theorem):
A set is compact in

if and only if it is closed and bounded.
Proof:
We prove the statement by induction. For

a closed and bounded set is sequentially compact by Bolzano-Weierstrass, so it is compact. Now, suppose the statement is true for

Suppose

is a closed and bounded subset of

consisting of the points

and let
![Rendered by QuickLaTeX.com \[A_n = \{a \in \mathbb{R}: (b,a) \in A\}.\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-f57f58becd2b0e0e20416b0d903c660a_l3.png)
Let

be a sequence. Then,
by Bolzano-Weierstrass, there exists a convergent subsequence

By our inductive hypothesis,

has a convergent subsequence

. Then,
![Rendered by QuickLaTeX.com \[(c_j,a_j) \to (c,a) \in A,\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-fe7f91b77612a62b42ed9c4c6309bd71_l3.png)
is a subsequence of

that converges in

and we are finished.
Remark: It is not generally true that a closed and bounded set is compact. As an example, take

to be a metric space, where

is infinite.
Practice Problems for Midterm 1:
- Let
be the set of sequences that converge to 0, equipped with the
metric. Is
complete? Is
compact?
- Suppose
is a metric space,
is a compact set, and
is a continuous map. Show that there exist
such that
![Rendered by QuickLaTeX.com \[d(x_0,y_0) = \inf_{x \in K, y \in f(K)} d(x,y).\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-dd24b8682faf8814725358cec745f9ea_l3.png)
- Let
be a sequence of nonempty compact subsets of a metric space
Show that
is nonempty.