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) be a metric space, and let E,F be open subsets of X. Suppose E∩F=∅ and E∩∂F=∅. For any x∈E∩∂F, show that x∈E∩F. (Hint: you can use the fact that for any x∈X, x∈E∩F if and only if for all r>0, B(x,r)∩(E∩F)=∅.)
Solution.
Fix x∈E∩∂F. Since x∈E and E is open, there exists r0>0 such that B(x0,r)⊆E.
Now let r>0. There are two cases: r≤r0 and r>r0.
Case 1: r≤r0
In this case, B(x,r)⊆B(x,r0)⊆E. Moreover, because x∈∂F, we have B(x,r)∩F=∅. Thus
∅=B(x,r)∩F=B(x,r0)∩E∩F
in this case.
Case 2: r>r0
Here, we have instead B(x,r0)⊆B(x,r). As above, we have
∅=B(x,r0)∩F=B(x,r0)∩E∩F⊆B(x,r)∩E∩F,(x∈∂F)(B(x,r0)⊆E)(r0<r)
so B(x,r0)∩E∩F=∅ in this case also.
In all cases, we have shown B(x,r0)∩E∩F=∅, so x is an adherent point of E∩F.
Problem 4
Let f:X→Y be a continuous map from one metric space (X,dX) to another (Y,dY). Let K⊆X be any compact subset of X. Prove that the image f(K):={f(x)∣x∈K} of Y is also compact.
Solution.
Solution 1 (using open covers)
Let {Uα}α∈I be an open cover of f(K). Since f is continuous, f−1(Uα) is open in X for any α∈I. Moreover,
K⊆f−1(f(K))⊆f−1(α∈I⋃Uα)=α∈I⋃f−1(Uα)
In other words, {f−1(Uα)}α∈I is an open cover of K, so since K is compact, there exist α1,…,αn∈I such that {f−1(Uα1),…,f−1(Uαn)} is a finite subcover of K. Finally,
f(K)⊆f(i=1⋃nf−1(Uαi))⊆i=1⋃nUαi,
so {Uα1,…,Uαn} is a finite subcover of f(K).
Solution 2 (using sequences)
Let (yn)n⊆f(K) be an arbitrary sequence. By definition, for each n∈N, there exists xn∈K such that yn=f(xn). Since K is compact, there exists a subsequence (xnk)k which converges to some x0∈K. By continuity of f,
k→∞limynk=k→∞limf(xnk)=f(x0)∈f(K),
which shows that (ynk)k is a convergent subsequence of (yn)n. Thus, f(K) is compact.