User Tools

Site Tools


math104-f21:hw8

HW 8

\gdef\In{\subset}

1. Determine whether following subset SS of metric space XX is (a) open or not (b) closed or not (c ) bounded or not (d) compact or not. (You may use Heine-Borel theorem for Rk\R^k)

  • X=RX = \R with usual metric. S=Q[0,1]S = \Q \cap [0,1].
  • X=R2X = \R^2 with Euclidean metric. S={xR2x=1}S = \{ \vec x \in \R^2 \mid |\vec x| = 1 \}

2. True or False, give your reasoning or give an counter-example.

  • Let (X,d)(X, d) be a metric space, then any finite subset SXS \In X is closed.
  • Let X=QX = \Q with the usual metric. Then, any closed bounded subset SXS \In X is compact.

3. (Open and closed subset are relative notion) Let (X,d)(X, d) be a metric space. UYXU \In Y \In X any subset. Prove that

  • If YY is open relative to XX, then UU is open relative to YY if and only if UU is open relative to XX.
  • (Optional) If YY is closed relative to XX, then UU is closed relative to YY if and only if UU is closed relative to XX.

4. Let E[0,1]E \In [0,1] consist of those real numbers, such that the decimal expansion only contains even digits 0,2,,80,2, \cdots, 8. Is EE countable? Is EE closed in R\R? Is EE compact?

5. Give examples.

  • An (infinite) countable subset in R\R that is compact.
  • An (infinite) countable subset SRS \In \R, such that SSS \In S', ie, every point of SS is a limit point of SS.

Solution

1. Determine whether following subset SS of metric space XX is (a) open or not (b) closed or not (c ) bounded or not (d) compact or not. (You may use Heine-Borel theorem for Rk\R^k)

  • X=RX = \R with usual metric. S=Q[0,1]S = \Q \cap [0,1].
  • X=R2X = \R^2 with Euclidean metric. S={xR2x=1}S = \{ \vec x \in \R^2 \mid |\vec x| = 1 \}

Answer:

1.1 S=Q[0,1]S = \Q \cap [0,1] in R\R.

  • SS is not open, for any xSx \in S, and any r>0r > 0, Br(x)⊄SB_r(x) \not \subset S, since Br(x)B_r(x) contains irrational numbers, and SS only contains rational numbers.
  • SS is not closed. Since for x(0,1)x \in (0,1) and xSx \notin S, for any r>0r > 0, Br(x)SB_r(x) \cap S \neq \emptyset, since Br(x)B_r(x) would contain rational numbers.
  • SS is bounded.
  • SS is not compact, since by Heine-Borel theorem, SS is compact if and only if SS is closed and bounded. But SS is not closed.

1.2 S={xR2x=1}S = \{ \vec x \in \R^2 \mid |\vec x| = 1 \}

  • SS is not open. For example, consider the point (0,1)S(0,1) \in S, for any r>0r>0, Br((0,1))B_r( (0,1) ) contains a point (0,1+r/2)(0, 1+r/2), which is not in SS.
  • SS is closed. Since for any xSx \notin S, we can let r=d(0,x)1/2r = |d(0, x) - 1 | /2, then Br(x)S=B_r(x) \cap S = \emptyset.
  • SS is bounded, since SS is contained in a bounded set B2(0)B_{2}(0).
  • SS is compact, since SS is closed and bounded subset of R2\R^2.

2. True or False, give your reasoning or give an counter-example.

  • Let (X,d)(X, d) be a metric space, then any finite subset SXS \In X is closed.
  • Let X=QX = \Q with the usual metric. Then, any closed bounded subset SXS \In X is compact.

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]Q[0, 1] \cap \Q is not compact (see problem 1), but it is closed and bounded in Q\Q.

3. (Open and closed subset are relative notion) Let (X,d)(X, d) be a metric space. UYXU \In Y \In X any subset. Prove that

  • If YY is open relative to XX, then UU is open relative to YY if and only if UU is open relative to XX.
  • (Optional) If YY is closed relative to XX, then UU is closed relative to YY if and only if UU is closed relative to XX.

Proof: We first prove the direction that: UU is open in YY implies UU is open in XX. For any point pUp \in U, since UU is open in YY, there exists r>0r>0, such that BrY(p)={qYd(p,q)<r}B_r^Y(p) = \{ q \in Y \mid d(p,q) < r \} is contained in UU. On the other hand, BrY(p)=BrX(p)YB_r^Y(p) = B_r^X(p) \cap Y, where BrX(p)={qXd(p,q)<r}B_r^X(p) = \{ q \in X \mid d(p,q) < r \}. Since YY is open in XX, and finite intersection of open sets are open, hence BrY(p)B_r^Y(p) is open in XX. Since for each pUp \in U, the above constructed Bp=BrY(p)B_p = B_r^Y(p) is contained in UU and is open in XX, hence U=pUBpU = \cup_{p \in U} B_p is a union of open sets in XX, hence UU is open in XX.

Now we prove that other direction. Suppose UU is open in XX, then UY=UU \cap Y = U is open in YY by definition of induced topology on YY. We are done.

4. Let E[0,1]E \In [0,1] consist of those real numbers, such that the decimal expansion only contains even digits 0,2,,80,2, \cdots, 8. Is EE countable? Is EE closed in R\R? Is EE 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.099990.1 = 0.09999\cdots. Here I should have said: E[0,1]E \In [0,1] consist of xRx \in \R, such that xx admit an decimal expansion that only contains even digits. This bug affects the answer, if EE is closed and if EE 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.

EE is not countable. An element of EE can be written as 0.a0a10.a_0 a_1\cdots, where ai{0,2,4,6,8}a_i \in \{0,2,4,6,8\}, hence an element of EE is a map N{0,2,4,6,8}\N \to \{0,2,4,6,8\}, conversely, any such a map defines an element in EE. Hence E=Map(N,{0,2,4,6,8})E =Map( \N, \{0,2,4,6,8\}). Since the set Map(N,{0,2})Map( \N, \{0,2\}) is a proper subset of EE, and Map(N,{0,2})Map(N,{0,1})Map(\N, \{0,2\}) \cong Map (\N, \{0,1\}), which we have shown in previous homework that is uncountable, hence EE is uncountable (since it contains an uncountable subset).

EE is closed. This an analog of a Cantor set. We define E1=[0,0.1][0.2,0.3][0.8,0.9] E_1 = [0, 0.1] \cup [0.2, 0.3] \cup \cdots \cup [0.8, 0.9] then E1E_1 is almost all the real numbers in [0,1][0,1] with the first decimal digit being even, except those right end points 0.1,0.3,0.1, 0.3, \cdots in each interval. We define E2E_2 from E1E_1, by taking each closed interval [a,b][a,b] in E1E_1, subdivide it into 10 closed intervals, labelled by 0,,90, \cdots, 9, and keep those even labelled ones. For example, [0,0.1][0, 0.1] in E1E_1 contribute [0,0.01][0.02,0.03][0.08,0.09][0, 0.01] \cup [0.02, 0.03] \cup \cdots \cup [0.08, 0.09] in E2E_2. More formally, En+1={0,0.2,0.4,0.6,0.8}+(1/10)En E_{n+1} = \{0, 0.2, 0.4, 0.6, 0.8\} + (1/10) E_n where for two subsets A,BRA, B \In \R, A+B={a+baA,bB}A+B = \{a+b \mid a \in A, b \in B\} is the Minkowski sum. Thus, all EnE_n are all closed, and En+1EnE_{n+1} \subset E_n.

We claim that E=n=1EnE = \cap_{n=1}^\infty E_n. If the claim holds, then EE is the intersection of closed sets, hence EE is closed. Now we prove the claim. If xE1E2x \in E_1 \cap E_2, then x0.1,0.3,0.5,0.7,0.9x \neq 0.1, 0.3, 0.5, 0.7, 0.9, hence the first digit (after decimal point) of xx is even. Similarly, if xEnEn+1x \in E_n \cap E_{n+1}, then the nn-th digit of xx after decimal point is even. If xn=1Enx \in \cap_{n=1}^\infty E_n, then all digits of xx are even, hence En=1EnE \supset \cap_{n=1}^\infty E_n. On the other hand, it is easy to verify that EEnE \In E_n for all nn, hence En=1EnE \subset \cap_{n=1}^\infty E_n, thus E=n=1EnE = \cap_{n=1}^\infty E_n proving the claim.

(whew, that's a long winding proof. It is possible to do it without using the intersection of closed set construction, but it is also long.)

Finally, since EE is bounded and closed, EE is compact.

5. Give examples.

  • An (infinite) countable subset in R\R that is compact.
  • An (infinite) countable subset SRS \In \R, such that SSS \In S', ie, every point of SS is a limit point of SS.

Example:

  • {0,1,1/2,1/3,1/n,}\{0, 1, 1/2, 1/3, \cdots 1/n, \cdots \}.
  • Q\Q, or Q(0,1)\Q \cap (0,1), or Q[0,1]\Q \cap [0,1].
math104-f21/hw8.txt · Last modified: 2022/01/11 08:36 by pzhou