Midterm 1

This page will only include solutions to Problems 1 and 4, which were the ones I graded. The professor will provide solutions for Problems 2 and 3 elsewhere.

The solutions I write down here would receive full points from me. They aren't the only solutions that can receive full points, of course.

Table of Contents

Problem 1

Let (X,d)\p{X, d} be a metric space, and let E,FE, F be open subsets of XX. Suppose EFE \cap F \neq \emptyset and EFE \cap \partial F \neq \emptyset. For any xEFx \in E \cap \partial F, show that xEFx \in \cl{E \cap F}. (Hint: you can use the fact that for any xXx \in X, xEFx \in \cl{E \cap F} if and only if for all r>0r > 0, B(x,r)(EF)B\p{x, r} \cap \p{E \cap F} \neq \emptyset.)

Solution.

Fix xEFx \in E \cap \partial F. Since xEx \in E and EE is open, there exists r0>0r_0 > 0 such that B(x0,r)EB\p{x_0, r} \subseteq E.

Now let r>0r > 0. There are two cases: rr0r \leq r_0 and r>r0r > r_0.

Case 1: rr0r \leq r_0

In this case, B(x,r)B(x,r0)EB\p{x, r} \subseteq B\p{x, r_0} \subseteq E. Moreover, because xFx \in \partial F, we have B(x,r)FB\p{x, r} \cap F \neq \emptyset. Thus

B(x,r)F=B(x,r0)EF\emptyset \neq B\p{x, r} \cap F = B\p{x, r_0} \cap E \cap F

in this case.

Case 2: r>r0r > r_0

Here, we have instead B(x,r0)B(x,r)B\p{x, r_0} \subseteq B\p{x, r}. As above, we have

B(x,r0)F(xF)=B(x,r0)EF(B(x,r0)E)B(x,r)EF,(r0<r)\begin{aligned} \emptyset &\neq B\p{x, r_0} \cap F &&\p{x \in \partial F} \\ &= B\p{x, r_0} \cap E \cap F && \p{B\p{x, r_0} \subseteq E} \\ &\subseteq B\p{x, r} \cap E \cap F, && \p{r_0 < r} \end{aligned}

so B(x,r0)EFB\p{x, r_0} \cap E \cap F \neq \emptyset in this case also.

In all cases, we have shown B(x,r0)EFB\p{x, r_0} \cap E \cap F \neq \emptyset, so xx is an adherent point of EFE \cap F.

Problem 4

Let f ⁣:XY\func{f}{X}{Y} be a continuous map from one metric space (X,dX)\p{X, d_X} to another (Y,dY)\p{Y, d_Y}. Let KXK \subseteq X be any compact subset of XX. Prove that the image f(K){f(x)xK}f\p{K} \coloneqq \set{f\p{x} \mid x \in K} of YY is also compact.

Solution.

Solution 1 (using open covers)

Let {Uα}αI\set{U_\alpha}_{\alpha \in I} be an open cover of f(K)f\p{K}. Since ff is continuous, f1(Uα)f^{-1}\p{U_\alpha} is open in XX for any αI\alpha \in I. Moreover,

Kf1(f(K))f1(αIUα)=αIf1(Uα)\begin{aligned} K \subseteq f^{-1}\p{f\p{K}} \subseteq f^{-1}\p{\bigcup_{\alpha \in I} U_{\alpha}} = \bigcup_{\alpha \in I} f^{-1}\p{U_{\alpha}} \end{aligned}

In other words, {f1(Uα)}αI\set{f^{-1}\p{U_\alpha}}_{\alpha \in I} is an open cover of KK, so since KK is compact, there exist α1,,αnI\alpha_1, \ldots, \alpha_n \in I such that {f1(Uα1),,f1(Uαn)}\set{f^{-1}\p{U_{\alpha_1}}, \ldots, f^{-1}\p{U_{\alpha_n}}} is a finite subcover of KK. Finally,

f(K)f(i=1nf1(Uαi))i=1nUαi,f\p{K} \subseteq f\p{\bigcup_{i=1}^n f^{-1}\p{U_{\alpha_i}}} \subseteq \bigcup_{i=1}^n U_{\alpha_i},

so {Uα1,,Uαn}\set{U_{\alpha_1}, \ldots, U_{\alpha_n}} is a finite subcover of f(K)f\p{K}.

Solution 2 (using sequences)

Let (yn)nf(K)\p{y_n}_n \subseteq f\p{K} be an arbitrary sequence. By definition, for each nNn \in \N, there exists xnKx_n \in K such that yn=f(xn)y_n = f\p{x_n}. Since KK is compact, there exists a subsequence (xnk)k\p{x_{n_k}}_k which converges to some x0Kx_0 \in K. By continuity of ff,

limkynk=limkf(xnk)=f(x0)f(K),\lim_{k\to\infty} y_{n_k} = \lim_{k\to\infty} f\p{x_{n_k}} = f\p{x_0} \in f\p{K},

which shows that (ynk)k\p{y_{n_k}}_k is a convergent subsequence of (yn)n\p{y_n}_n. Thus, f(K)f\p{K} is compact.