This is an old revision of the document!
$\gdef\In{\subset}$
1. Determine whether following subset $S$ of metric space $X$ is (a) open or not (b) closed or not (c ) bounded or not (d) compact or not. (You may use Heine-Borel theorem for $\R^k$)
2. True or False, give your reasoning or give an counter-example.
3. (Open and closed subset are relative notion) Let $(X, d)$ be a metric space. $U \In Y \In X$ any subset. Prove that
4. Let $E \In [0,1]$ consist of those real numbers, such that the decimal expansion only contains even digits $0,2, \cdots, 8$. Is $E$ countable? Is $E$ closed in $\R$? Is $E$ compact?
5. Give examples.
1. Determine whether following subset $S$ of metric space $X$ is (a) open or not (b) closed or not (c ) bounded or not (d) compact or not. (You may use Heine-Borel theorem for $\R^k$)
Answer:
1.1 $S = \Q \cap [0,1]$ in $\R$.
1.2 $S = \{ \vec x \in \R^2 \mid |\vec x| = 1 \}$
2. True or False, give your reasoning or give an counter-example.
Answer: (a) True. We proved in class that, in a metric space, a singleton is closed. And any finite union of closed set is closed.
(b) False. Since $[0, 1] \cap \Q$ is not compact (see problem 1), but it is closed and bounded in $\Q$.
3. (Open and closed subset are relative notion) Let $(X, d)$ be a metric space. $U \In Y \In X$ any subset. Prove that
Proof: We first prove the direction that: $U$ is open in $Y$ implies $U$ is open in $X$. For any point $p \in U$, since $U$ is open in $Y$, there exists $r>0$, such that $B_r^Y(p) = \{ q \in Y \mid d(p,q) < r \}$ is contained in $U$. On the other hand, $B_r^Y(p) = B_r^X(p) \cap Y$, where $B_r^X(p) = \{ q \in X \mid d(p,q) < r \}$. Since $Y$ is open in $X$, and finite intersection of open sets are open, hence $B_r^Y(p)$ is open in $X$. Since for each $p \in U$, the above constructed $B_p = B_r^Y(p)$ is contained in $U$ and is open in $X$, hence $U = \cup_{p \in U} B_p$ is a union of open sets in $X$, hence $U$ is open in $X$.
Now we prove that other direction. Suppose $U$ is open in $X$, then $U \cap Y = U$ is open in $Y$ by definition of induced topology on $Y$. We are done.
4. Let $E \In [0,1]$ consist of those real numbers, such that the decimal expansion only contains even digits $0,2, \cdots, 8$. Is $E$ countable? Is $E$ closed in $\R$? Is $E$ compact?
Caveat: here I made a mistake when I say “the” decimal expansion of a real number. There are some real numbers that admits exactly two decimal expansions, where one of the expansion is finite (ie with a trailing 0), and one of the expansion has a trailing 9s. For example, $0.1 = 0.09999\cdots$. Here I should have said: $E \In [0,1]$ consist of $x \in \R$, such that $x$ admit an decimal expansion that only contains even digits. This bug affects the answer, if $E$ is closed and if $E$ is compact. If you are very careful, and noticed this bug, then you don't lose any points.
Answer: In the following, when we say the decimal expansion, we use the unique decimal expansion that does not have a trailing 9.
$E$ is not countable. An element of $E$ can be written as $0.a_0 a_1\cdots$, where $a_i \in \{0,2,4,6,8\}$, hence an element of $E$ is a map $\N \to \{0,2,4,6,8\}$, conversely, any such a map defines an element in $E$. Hence $E =Map( \N, \{0,2,4,6,8\})$. Since the set $Map( \N, \{0,2\})$ is a proper subset of $E$, and $Map(\N, \{0,2\}) \cong Map (\N, \{0,1\})$, which we have shown in previous homework that is uncountable, hence $E$ is uncountable (since it contains an uncountable subset).
$E$ is closed. For this, we only need to show that, for any $x \notin E$, there exists an $r>0$, such that $B_r(x) \cap E = \emptyset$. Suppose $x \notin E$, and let $0.a_0 a_1 \cdots$ be the decimal expansion of $x$. Then for some $n$, $a_n$ is an odd digit. We discuss two cases
5. Give examples.