quot; distance, that is $d_{\text{prod}}=\sqrt{d_{X}^2+d_{Y}^2}$, by Lipschitz equivalence of $d_{1},d_{2},d_{\infty}$, we can prove the result for $d_{\text{prod}}=\max(d_{X},d_{Y})$ instead. > Then just work out the details for Cauchy-ness and convergence. * Completeness is perserved by a "uniform homeomorphism", a bijection $f: X \to Y$ where $f, f^{-1}$ are both uniformly continuous. * As a result, completeness is preserved in switching between Lipschitz/strongly equivalent metrics (consider the switch as the identity map $(X,d) \to (X,\tilde{d})$) > Proof: say $f$ is a uniform homeomorphism, with $d(x_{1},x_{2})<\delta \Rightarrow d(f(x_{1}),f(x_{2}))<\epsilon$, the same $\delta$ valid for all $x_{1},x_{2}$. We shall show that (1) $f$ maps Cauchy sequences to Cauchy sequences, and (2) preserves its convergence. > > <u>Cauchy-to-Cauchy</u>: given Cauchy sequence $(x_{n})$, taking $m,n$ large such that $d(x_{m},x_{n})<\delta$ means that the image-sequence $d(f(x_{m}),f(x_{n}))< \epsilon$, giving Cauchiness. > > <u>Convergence</u>: Given $\epsilon>0$, uniform continuity gives $\delta$. Since $X$ is complete, the Cauchy sequence $(x_{n}) \to x \in X$. Take $k$ large so that $d(x_{k}, x)<\delta$, so $d(f(x_{k}),f(x))<\epsilon$. So the Cauchy sequence $(f(x_{n}))$ converges to $f(x)\in Y$ (note that $f$ being bijection guarantees inclusion). * Cantor's intersection theorem: in a complete metric space $X$, $S_{1} \supseteq S_{2} \supseteq S_{3} \dots,\,\mathrm{diam}(S_{n}) \to 0$, $S_{i}$ are all closed and non-empty, then $\cap_{i}S_{i}=\{ a \}$ for some $a \in X$. > Proof: > <u>Finding the point</u>: take $x_{n} \in S_{n}$, then the sequence $(x_{n})$ is Cauchy. For any $\epsilon>0$, find $k:\mathrm{diam(S_{k})}<\epsilon$. Then when $m,n \ge k,\,x_{m,n} \in S_{k}$, so $d(x_{m},x_{n})< \mathrm{diam}(S_{k}) <\epsilon$. Completeness of $X$ guarantees convergence $(x_{n}) \to a \in X$. > > <u>Non-emptiness</u>: since the tail $(a_{n \ge k}) \subseteq S_{k}$, $a$ is a limit point of $S_{k}$, so $S_{k}$ closed implies $a \in S_{k}$. Since this is true for all $k$, $a \in \cap_{i} S_{i}$. > > <u>Uniqueness</u>: suppose $a,b \in \cap_{i} S_{i}$. Then $\forall k:a,b \in S_{k}$, and hence $d(a,b)<\mathrm{diam}(S_{k}) \to 0$, so $a=b$. ### Completeness of Function Spaces * $\big(B(X),d_{\infty}\big)$ is complete, where $B(X)$ is the set of bounded functions $X\to \mathbb{R}$. > Proof: take a Cauchy sequence $(f_{n})\subseteq B(X)$. > <u>The limit</u>: $(f_{n})$ Cauchy means that at each point $x\in X$, $(f_{n}(x))\subseteq \mathbb{R}$ is a Cauchy sequence. So by completeness of $\mathbb{R}$, the sequence converges pointwise to $f(x)\equiv \lim_{ n \to \infty }f_{n}(x)$. > > <u>Boundedness</u>, so that $f \in B(X)$: > Cauchy-ness of $(f_{n})$ in $d_{\infty}$ gives $N:\forall n\ge N,\, \sup_{x \in X}|f_{N}(x)-f_{n}(x)|<1$. > Then at any $x_{0}\in X$, $|f_{N}(x_{0})-f_{n}(x_{0})|<1$. > So AOL gives $|f_{N}(x_{0})-f(x_{0})|\le 1$, so $f(x_{0}) \le f_{N}(x_{0})+1$. Since $f_{N}$ is bounded, so is $f$. > > <u>Convergence</u> in $d_{\infty}$: Cauchy-ness gives $N:\forall m,n\ge N,\, |f_{m}(x)-f_{n}(x)|<\epsilon$, the same $N$ applicable at $\forall x \in X$. > so letting $m \to \infty$ gives $N:\forall n\ge N,x \in X,\, |f(x)-f_{n}(x)|\le\epsilon$, which is by definition $(f_{n}) \xrightarrow{d_{\infty}} f$. * The metric space of continuous functions over a metric space $(X,d) \to \mathbb{R}$, $(C(X),d_{\infty})$ is complete. > Proof: take a Cauchy sequence $(f_{n}) \subseteq C(X)$. Since $B(X)$ is complete, it has a limit $(f_{n}) \to f \in B(X)$. Furthermore, $f \in C(X)$ because convergence under the $d_{\infty}$ metric is in fact uniform convergence, hence continuity of $f_{n}$ implies continuity of $f$. ### Contraction Mapping Theorem - A map $f:(X,d_{X}) \to (Y,d_{Y})$ is **Lipschitz continuous** if all distances are scaled by at most a factor of $K \in \mathbb{R}^{+}$: for all $x, \tilde{x} \in X$, $Kd_{X}(x, \tilde{x}) \ge d_{Y}(f(x), f(\tilde{x}))$ - A map $f:(X,d_{X}) \to (Y,d_{Y})$ is a **contraction (mapping)** if it is Lipschitz continuous, and its factor $K \in [0,1)$: for all $x, \tilde{x} \in X$, $Kd_{X}(x, \tilde{x}) \ge d_{Y}(f(x), f(\tilde{x}))$that is, the distance is shrunk by at least a factor of $K$. - Lipschitz continuity implies (regular) continuity; in particular, contractions are continuous. > Proof: use $\delta-\epsilon$ definition of continuity, and let $\delta=\epsilon/ K$. - The **contraction mapping theorem (CMT)** states that in $(X,d)$ compact and non-empty, if $f:X \to X$ is a contraction, then there is a unique **fixed point** $x:f(x)=x$. > Proof: let $f$ have contraction constant $K$. > <u>Uniqueness</u>: if $x, \tilde{x}$ > <u>Existence</u>: start at any $x_{0} \in X$, define $(x_{n})$ by repeatedly applying $f$: let $x_{n}=f(x_{n-1})$. Then $\begin{align*} d(x_{n},x_{n+1}) &\le Kd(x_{n-1},x_{n}) \\ &\le \dots \\ &\le K^{n}d(x_{0},x_{1}) \end{align*}$Then for any $x_{m},x_{n}$ (WLOG let $m \ge n$), the triangular inequality gives $\begin{align*} d(x_{n},x_{m}) &\le d(x_{n},x_{n+1})+ \dots + d(x_{m-1},x_{m})\\ &\le (K^{n}+K^{n-1}+\dots+K^{m})\cdot d(x_{0},x_{1})\\ &\le \frac{K^{n}}{1-K}d(x_{0},x_{1}) \end{align*}$So by requiring $m,n \ge N$ for some large $N$, the distance $d(x_{m},x_{n})$ can be arbitrarily small, and $(x_{n})$ is Cauchy. Since $X$ is complete, $(x_{n}) \to x \in X$. Now $x$ is a fixed point since $f(x)=\lim_{ n \to \infty } f(x_{n})=\lim_{ n \to \infty } x_{n+1} =x$by continuity of $f$ as a contraction. ## Connectedness and Path Connectedness * A metric space $X$ is **disconnected** if it can be partitioned by two open, non-empty subsets of it, that is: $\exists A,B\text{ open} \subsetneq X:\, A \cap B= \emptyset,\, A \cup B = X,\,$and otherwise it is **connected**. * $A,B$ only need to be open in $X$, not some larger metric space (if relevant): $[1,2]$ and $[3,4]$ disconnect $[1,2] \cup [3,4] \subset \mathbb{R}$ even though they are not open in $\mathbb{R}$. * Equivalent definition: $X$ is connected iff any continuous map $f: X \to (\{ 0,1 \}, d_\text{discrete})$ must be constant. > Proof: ($\Rightarrow$) $\{ 0 \}$, being open under the discrete metric, has an open pre-image under $f$. So does $\{ 1 \}$. But then their pre-image would form a partition of $X$ by open sets, a contradiction unless one of the pre-images is empty. Hence $f$ constant. > > ($\Leftarrow$) If for contradiction $X$ is disconnected by $A,B$, then the map $f=\mathbb{1}_{x \in A}$ is continuous but not constant, a contradiction. * Another equivalent definition: $X$ is connected iff the only subsets of $X$ that are both open and closed are $X$ and $\emptyset$. ### Criteria for Connectedness * <u>Connectness is preserved by continuous maps</u>: under a continuous map, the image of a connected space is also connected. * Hence in particular, <u>connectedness is shared by homeomorphic spaces.</u> > Proof: suppose that $f: X \to Y$, $X$ connected, and for contradiction $f(X)$ is disconnected by $A, B \subsetneq f(X)$, $A,B$ both open and non-empty. > Then $f^{-1}(A)$ and $f^{-1}(B)$ are non-empty, open (being preimages of open sets), and disconnect $X$, a contradiction. * If $A$ is connected, so is any $B:A \subseteq B \subseteq \bar{A}$. * In particular, if a set is connected, so is its closure. > Proof: we show that any continuous function $f:B \to \{ 0,1 \}$ must be constant. Note that $f|_{A}$ is still continuous, so connectedness of $A$ requires $f|_{A}$ constant. > Then for any $b \in B$, either $b \in A$ and the result is immediate, or $b \in L(A)\setminus A$. So there is $(a_{n}) \subseteq A: (a_{n}) \to b$. Continuity of $f$ requires $(f(a_{n})) \to f(b)$, so $f(b)=f(A)$. Hence $f(B)=f(A)$ constant. * The sunflower lemma: in a metric space $X$, given a collection of connected subsets $\{ A_{i} \} \subseteq \mathcal{P}(X)$ satisfying $A_{i}\cap A_{j}\ne \emptyset$, their union $\cup_{i} A_{i}$ is also connected. * *This version is stronger than the lemma in the notes, but is easier(?) to prove. It doesn't look like a sunflower, though.* * *This name "sunflower lemma" is not used anywhere other than in the lecture notes, so I'm not sure if it's safe to quote by name only.* > Proof: we will show that any continuous function $f: \cup_{i}A_{i} \to \{ 0,1 \}$ must be constant. Define $b_{i}=f(x_{i})$ for some $x_{i} \in A_{i}$, well-defined since $f|_{A_{i}}$ is constant due to continuity and connectness. > > Then for any $i,j$, there is $x_{ij}\in A_{i} \cap A_{j} \ne \emptyset$, so $b_{i}=f(x_{ij})=b_{j}$. So $f$ must be constant. ### Connectedness in $\mathbb{R}^{n}$ *Big idea: interval equals connectedness.* * A set $S \subseteq \mathbb{R}$ has the **interval property** if $x,y \in S$, then $[x,y] \subseteq S$. * *That is, if two points are in the set, so are anything between them.* * In $\mathbb{R}$, a set is an interval $\iff$ it has the interval property. > Proof: ($\Rightarrow$) immediate. > ($\Leftarrow$) Work with $a=\inf S,b=\sup S$, replacing them with $\pm \infty$ if necessary, and show that $(a,b) \subseteq S \subseteq [a,b]$. * $S \subseteq \mathbb{R}$ is connected $\iff$ $S$ is an interval. * Hence $\mathbb{Q}$ is not connected. > Proof: ($\Rightarrow$) if for contradiction the connected set $S$ fails the interval property, there is $x,y \in S, z\in (x,y): z\not \in S$. Then verify that $S_{-}=\{ s\in S: s<z \}$ and $S_{+}= \{ s \in S: s>z \}$ disconnect $S$. > > ($\Leftarrow$) Note that if $(a,b)$ is connected, so is $[a,b]=\text{Closure}((a,b))$ ($a,b$ can be $\pm \infty$ in this case). But $(a,b)$ is homeomorphic to $\mathbb{R}$, which is connected. Since homeomorphisms preserve connectedness, all intervals are connected. * Continuous maps $f: X \to \mathbb{R}$ map connected spaces to intervals; in particular, the intermediate value theorem holds. > Proof: $f$ continuous must map connected spaces $X$ to connected subspaces in $\mathbb{R}$, which must be an interval. Any intermediate value would have a non-empty preimage, then. ### Path-Connectedness * A **path** in a metric space $X$ is a continuous map $p: [0,1] \to X$ * If we write $x=p(0)$ and $y=p(1)$, then the path $f$ "joins" $x$ and $y$. * A metric space $X$ is **path-connected** if any two points in $X$ can be joined by a path in $X$. * For example, the unit circle in $(\mathbb{R}^{2},d_{2})$ is connected; $\mathbb{R}\setminus \{ 0 \}$ is not connected, but $\mathbb{R}^{2}\setminus \{ 0 \}$ is. * Being connected by a path is an equivalent relation; the partition of the space into path-connected subsets is called **path-components**. * Path-connectedness implies connectedness. The converse is not necessarily true. > Proof: if for contradiction $X$ is path-connected but not connected, then there is continuous function $f: X \to \{ 0,1 \}$ not constant, say $\exists x,y \in X:f(x)\ne f(y)$. > But path-connectedness gives a path $\rho$ joining $x,y$, so $f \circ \rho$ gives a continuous, non-constant map $[0,1] \to \{ 0,1 \}$, a contradiction to $[0,1]$ being connected. > > Counterexample to the converse: google "Topologist's sine curve". * Nevertheless, connected normed vector spaces are path-connected. > Proof: assume for contradiction the normed vector space $V$ is connected but not path-connected. Then there are multiple path-components, and we shall show that they disconnect $X$. Since partition is immediate, it remains to show that these components are open. > > Take any $v \in V$ and its path-component $C_{v}$. Since $V$ itself is open, there is $\epsilon: B(v,\epsilon) \subseteq V$. To see that $B(v, \epsilon) \subseteq C_{v}$, fix any $u \in B(v,\epsilon)$ and $u,v$ can be joined with the path $p(\lambda)=\lambda u+(1-\lambda)v$. Hence the ball $B(a, \epsilon) \subseteq C_{a}$, the path-component is open. ## Sequential Compactness *Big idea: sequential compactness is the generalization of Bolzano-Weierstrass Theorem in $\mathbb{R}$ (that all bounded real sequences have a convergent subsequence).* * A metric space $X$ is **sequentially compact** if any sequence $(x_{n}) \subseteq X$ has a convergent subsequence. * For example, by Bolzano-Weierstrass Theorem in the reals, any closed, bounded subset of $\mathbb{R}$ is sequentially compact. ### Criteria for Sequential Compactness * A sequentially compact subspace $A \subseteq X$ must be bounded and closed; the converse is not true in general. > Proof: suppose $A$ is sequentially compact. > <u>Closedness</u>: if for contradiction $A$ is not closed, there is a limit point $a \not\in A$, and being a limit point, it has a sequence $A \supseteq (a_{n}) \to a$ in $X$. Then any subsequence $(a_{n_{k}}) \to a \not \in A$, a contradiction. > > <u>Boundedness</u>: If for contradiction $A$ is unbounded, then from an arbitrary point $p \in A$, for any distance $n \in \mathbb{N}$, there is a point further away: $\exists a_{n} \in A: d(p,a_{n})>n$. Then the sequence $(a_{n})$ has no convergent subsequence (any "limit" $a$ would have $d(a,a_{n})>d(a_{n},p) - d(p,a) \to \infty$). > > Counterexample to the converse: $(0,1)$ is closed and bounded *in itself*, but is not sequentially compact. * Sequential compactness is preserved by continuous maps. * In particular, <u>sequential compactness is shared by homeomorphic spaces</u>. > Proof: say $f: X \to Y$ continuous, and $X$ is sequentially compact. Take any $(y_{n}) \subseteq Y$, with preimage $(x_{n})\equiv(f^{-1}(y_{n}))$. Sequential compactness of $X$ gives subsequence $(x_{n_{k}}) \to x \in X$. > Continuity of $f$ then guarantees $y_{n_{k}}=f(x_{n_{k}}) \to f(x) \in Y$. Hence $(y_{n}) \subseteq Y$ has a convergent subsequence. * Products of sequentially compact spaces are also sequentially compact. > Proof: Take $X, Y$ sequentially compact and sequences $(x_{n})\subseteq X,(y_{n}) \subseteq Y$. > Then $X$ sequentially compact gives a convergent subsequence $(x_{n_{k}}) \to x$. Take $(\gamma_{k})=(y_{n_{k}}) \subseteq Y$, then sequential compactness of $Y$ gives $(\gamma_{k_{r}}) \to y$ convergent. > So $(x_{n_{k_{r}}},y_{n_{k_{r}}}) \to (x,y)$ is a convergent subsequence of $((x_{n}, y_{n}))$, so $X \times Y$ is sequentially compact. * **Bolzano-Weierstrass Theorem on** $\mathbb{R}^n$: any closed, bounded subset of $\mathbb{R}^n$ is sequentially compact. > Proof: say $X \subseteq \mathbb{R}^n$ closed and bounded in $[-M,M]^n$. Then by the previous result, $[-M,M]^n$ is sequentially compact. Since $X$ is a closed subset of it, $X$ is also sequentially compact. * **Heine-Cantor Theorem**: any continuous map from a sequentially compact space must be uniformly continuous. * in particular, any continuous map $f: X \to \mathbb{R}$, $X$ sequentially compact, must be uniformly continuous. > Proof: say there is a continuous map $f:X \to Y$, $X$ is sequentially compact. Suppose for contradiction $f$ is not uniformly continuous. > So there $\exists\epsilon>0$, for which any $\delta=1 / n, n \in \mathbb{N}$, there is exception $(a_{n},b_{n}):d_{X}(a_{n},b_{n})<\delta$, but $d_{Y}(f(a_{n}),f(b_{n})) \ge \epsilon$. > > By sequential compactness, there is a subsequence $(a_{n_{k}},b_{n_{k}}) \to (l,l)$, where the limits are both $l$ since $d_{X}(a_{n},b_{n}) \to 0$. But then continuity of $f$ requires $(f(a_{n_{k}}),f(b_{n_{k}})) \to (f(l),f(l))$, contradictory to $d_{Y}(f(a_{n}),f(b_{n})) \ge \epsilon$. ### Sequential Compactness and Completeness * Sequential compactness implies completeness and boundedness. > Proof: take $X$ sequentially compact and Cauchy sequence $(x_{k}) \subseteq X$ with convergent subsequence $(x_{k_{r}}) \to x$. Boundedness is already shown in the previous section. > > For completeness, we shall show that $(x_{n}) \to x$, the big idea being that since the sequence is Cauchy, the convergent subsequence wil "drag" the entire sequence with it towards the limit. > > Given $\epsilon >0$, take the indices where the subsequence grows close enough to the limit: $K=\{ k_{r}: d(x_{k_{r}},x) < \epsilon \}$. Cauchy-ness gives $l: \forall m,n \ge l, d(x_{m}, x_{n})< \epsilon$. In particular, take $m \in K$, so that $x_{m}$ can "drag" $x_{n}$ to the limit:$d(x,x_{n})<d(x,x_{m})+d(x_{n},x_{m}) < 2\epsilon$So $(x_{n}) \to x$, and the space is complete. - The converse is not true in general: in $\bar{B}(0,1) \subseteq (B(\mathbb{R}),d_{\infty})$ is bounded and complete, but not sequentially compact. > Proof: > <u>Boundedness</u> is immediate. > > It is <u>complete</u> is because of $\bar{B}(0,1)$ being a closed subset of $B(\mathbb{R})$, a complete metric space. > > It is <u>not sequentially compact</u> because the sequence indicator functions $f_{n}=\chi_{[n,n+1]}$ always has $d_{\infty}(f_{n},f_{m})=\delta_{mn}$, so there is no Cauchy (hence convergent) subsequence. * A space is **totally bounded** if for any radius $r>0$, the space can be covered by finitely many open balls of radius $r$: $\exists \text{ finite } \{ x_{i} \} \subseteq X:X \subseteq\bigcup_{i} B(x_{i}, r)$ * A space is sequentially compact $\iff$ it is complete and totally bounded. > Proof: ($\Rightarrow$ totally bounded) suppose for contradiction there is a radius $\epsilon>0$ such that the space cannot be covered by finitely many balls of radius $\epsilon$. > Then inductively taking an element $x_{n}$ from each ball gives a sequence $(x_{n})$ with no Cauchy subsequences (each element is at least $\epsilon$ from each other), hence no convergent subsequences, a contradiction. > > ($\Leftarrow$) Given a sequence $\sigma=(x_{n}) \subseteq X$, we construct a Cauchy subsequence explicitly, then completeness will guarantee its convergence. > For $n \in \mathbb{N}$, let $\mathcal{B}_{n}$ be the finite family of balls of radius $2^{-n}$ that covers the space. > Start with $n=0$, and at least one of the balls $B_{0} \in \mathcal{B}_{0}$ contains an infinite number of terms of $\sigma$, so take the subsequence $\sigma_{0}=\sigma \cap B_{0}$. > Now increment to $n=1$, and one of the balls $B_{1} \in \mathcal{B}_{1}$ contains infinitely many terms of $\sigma_{0}$, giving a new subsequence $\sigma_{1} =\sigma_{0} \cap B_{1}$. > Repeat for each $n \in \mathbb{N}$, and we get subsequences $(\sigma_{n})$ where $\sigma_{i+1} \subseteq \sigma_{i} \cap B_{i+1}$, and $\text{radius }(B_{i})=2^{-i}$. > Then we can construct a new subsequence $(\chi_{n}) \subseteq (x_{n})$ by taking the $n$th term of $\sigma_{n}$. Since $(\chi_{n \ge k}) \subseteq B_{k}$, they can only be at most $2^{k-1}$ apart, so this subsequence is Cauchy. Then completeness gives $(\chi_{n}) \to \chi$, a convergent subsequence of $(x_{n})$. ### Arzelà-Ascoli Theorem: Sequential Compactness in Function Spaces *Big idea: $(C(X),d_{\infty})$ is not sequentially compact, but some extra restrictions could make it so.* * The space of continuous functions over a sequentially compact spase $X$, $C(X)$ is not sequentially compact: in $C(\mathbb{R})$, * The supremum of the functions can tend to infinity: $(f_{n})=(n)$ has no convergent subsequence. * The functions can be increasingly steep, so they are all distant from each other under $d_{\infty}$: consider the piecewise linear functions $(f_{n}): f_{n}=\begin{cases}0 & \text{if }x \le \frac{1}{n+1} \\ n(n+1)(x-\frac{1}{n+1}) &\text{if } \frac{1}{n+1}<x \le \frac{1}{n}\\ 1 &\text{if }x> \frac{1}{n} \end{cases}$where $d_{\infty}(f_{m},f_{n})=1$ when $m \ne n$. * However, Arzelà-Ascoli states that as long as these two types of exceptions are removed, the space is sequentially compact. * A family of functions $\{ f_{n} \}$ is **uniformly bounded** if they share the same bound: $\exists M: \forall n,\, \sup|f_{n}| \le M$. This rules out the tending-to-infinity type of exceptions. * A family of continuous functions $\{ f_{n} \}$ is **equicontinuous** if given $\epsilon >0$, the same $\delta$ suffices for the $\epsilon-\delta$ definition of continuity for all $f_{n}$ at all $x,y \in X$: $\forall \epsilon>0,\, \exists \delta>0:\forall n,\, (d(x,y)<\delta) \Rightarrow |f_{n}(x)-f_{n}(y)| < \epsilon$This rules out the increasingly-steep type of exceptions. * **Arzelà-Ascoli**: over a sequentially compact space $X$, if $F \subseteq C(X)$ is uniformly bounded and equicontinuous, then any sequence in $F$ has a subsequence convergent in $C(X)$. Hence if $F$ is closed, it is also sequentially compact. > Proof is not examinable. ## Compactness * In a metric space $X$, a **cover** of $A \subseteq X$ is a family of subsets $\{ U_{i} \subseteq X \}$ where $A \subseteq \bigcup_{i}U_{i}$. * For example, $\{ B(k,2): k \in \mathbb{Z} \}$ is a cover of $\mathbb{R}$. * The set $\{ U_{i_{k}} \} \subseteq \{ U_{i} \}$ is a **subcover** if it is still a cover of $A$; if it has finitely many members, it is a **finite subcover**. * For example, $\{ B(2k,2) \}$ is a subcover of the previous example. * Note that finiteness referrs to the number of "patches", not the size: $\{ (-\infty, \infty) \}$ is a finite cover of $\mathbb{R}$. * A cover is an **open cover** if all its family members $U_{i}$ are open in $X$. * The previous examples are open covers since $B(k,2)$ is open in $\mathbb{R}$. * A subset $A$ is **compact** if every open cover has a finite subcover. * For example, $(0,1)$ is not compact in $\mathbb{R}$, since the open cover $\left\{ \left( \frac{1}{n}, 1 \right) : n \in \mathbb{Z}^+\right\}$ has no finite subcover. ### Criteria for Compactness - If $X$ is compact, and $f:X \to Y$ is continuous, then $f(X)$ is also compact. - In particular homeomorphic spaces share compactness. > Proof: let $\mathcal{C}$ be an open cover of $f(X)$. Then $f^{-1}(\mathcal{C})\equiv \{ f^{-1}(C)\,|\, C \in \mathcal{ C} \}$ is an open cover of $X$, since open sets $C \in \mathcal{C}$ have open preimages under $f$ open. Then compactness of $X$ gives a finite subcover $\mathcal{B} \subseteq f^{-1}(\mathcal{C})$, and so $f(\mathcal{B}) \subseteq \mathcal{C}$ is a finite subcover of $f(X)$. * Compact subsets are bounded. * Hence for example $\mathbb{R}$ is not compact. > Proof: take $A \subseteq X$, $A$ compact, but for contradiction assume that around $p$, any radius $n \in \mathbb{N}$ has $a_{n} \in A: d(p,a_{n}) >n$. > Then the set $\{ B(p,n): n \in \mathbb{N} \}$ is an open cover of $A$ that has no finite subcover, a contradiction. ### Compactness Equals Sequential Compactness * Compactness implies sequential compactness in metric spaces. > This a proof from Sutherland (2009). Take $(x_{n})$ from a compact space $X$. We will show that it has a convergent subsequence. > > Lemma: given sequence $(x_{n})$ with $x:\forall \epsilon>0,\, B(x,\epsilon)$ contains infinitely many terms of $(x_{n})$, then there is a subsequence $(x_{n_{k}}) \to x$. > > Proof: ![[CompactToSeqCompact.png]] > > We construct the subsequence inductively; start with $x_{n_{1}}\in B(x,1)$, which exists by assumption. > > Then we construct $x_{n_{k+1}}$ given $x_{n_{k}}$: since $(x_{n \ge n_{k}})$ has infinitely many terms within $B\left( x, \frac{1}{k+1} \right)$, we can take a $x_{n_{k+1}}$ from that. > > So $(x_{n_{k}}) \to x$, and it is a subsequence of $(x_{n})$. > > We will use its contrapositive: that if there are no convergent subsequences in $(x_{n})$, then $\forall x,\,\exists \epsilon>0: B(x,\epsilon)$ contains only finitely many of $(x_{n})$. > > Proof: assume for contradiction $(x_{n})$ has no convergent subsequence. Then by the lemma, all $x$ has $\epsilon: B_{x}=B(x,\epsilon)$ contains finitely many terms of $(x_{n})$. > The open cover $\{ B_{x}: x \in X \}$ has no finite subcover, since any finite subset contains only finitely many terms of $(x_{n})$, hence not covering it, a contradiction. * Sequential compactness implies compactness. > Proof is not examinable. ### Heine-Borel Theorem: Compactness in the Reals * **Heine Borel**: any closed, bounded interval $[a,b] \subset \mathbb{R}$ is compact. > Obviously $[a,b]$ is totally bounded and complete, hence sequentially compact, hence compact. Instead of this, Oxford wants the direct proof below. FML. > > Proof: given an open cover $\mathcal{U}=\{ U_{i} \}$, define the set $S= \big\{ c \in [a,b]: [a,c] \text{ has a finite subcover} \big\}$ and $s=\sup S$. We will show that $s=b$. ![[HeinBorelDiagram.png]] > Denote $U^{(x)} \in \mathcal{U}$ as some patch in the cover containing $x$. > Obviously $s> a$, since $\exists \epsilon>0: B(a,\epsilon) \subseteq U^{(a)}$, so $a+\frac{\epsilon}{2} \in S$. > Assume for contradiction that $s \ne b$. Then since $U^{(s)}$ open, so it contains $B(s, \eta)$ for some $|b-s|>\eta >0$. But then $s+ \frac{\eta}{2} \in S$, contradictory to the definition of $s=\sup S$. Hence $b = \sup S$. > There is $r:B(b,r) \subseteq U^{(b)}$. Since $b$ is $\sup S$, the approximation theorem gives $c \in S: |b-c|< r$. > Then $[a,c]$ has a finite subcover $\mathcal{U}_{[a,c]} \subseteq \mathcal{U}$. So the union $\mathcal{U}_{[a,c]} \cup \{ U^{(b)}\}$ is a finite subcover of $\mathcal{U}$.