From fbda70e8492219698209420f7707649d6c898bc6 Mon Sep 17 00:00:00 2001 From: Zheyuan Wu <60459821+Trance-0@users.noreply.github.com> Date: Mon, 20 Oct 2025 11:52:44 -0500 Subject: [PATCH] updates and test cross platform docker install --- Dockerfile | 2 +- content/Math4201/Math4201_L22.md | 163 +++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 content/Math4201/Math4201_L22.md diff --git a/Dockerfile b/Dockerfile index bf8fc7c..0565a1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN \ if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ elif [ -f package-lock.json ]; then npm ci; \ elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i; \ - else echo "Lockfile not found." && exit 1; \ + else echo "Lockfile not found, use default npm install" && npm i; \ fi diff --git a/content/Math4201/Math4201_L22.md b/content/Math4201/Math4201_L22.md new file mode 100644 index 0000000..3cc790b --- /dev/null +++ b/content/Math4201/Math4201_L22.md @@ -0,0 +1,163 @@ +# Math4201 Topology I (Lecture 22) + +## Connectedness of topological spaces + +### Connectedness + +#### Definition of separation + +A separate of a topological space $X$ is a pair of disjoint nonempty open subsets $U,V\subset X$ such that $X=U\cup V$. A space is connected if there is no separation. + +Otherwise, it is disconnected. + +
+Example of separation + +Let $X$ be an arbitrary set with trivial topology. (The only open sets are $\emptyset$ and $X$.) + +This space is connected. + +--- + +Let $X=\{a,b\}$ with discrete topology. Then $X$ is disconnected. + +A separation is given by $U=\{a\}$ and $V=\{b\}$. + +
+ +#### Theorem of separation and clopen sets + +Note that $U,V$ give a separation of $X$ if and only if $U=V^c$ and $V$ is open, then $U$ is closed and open. + +So if $X$ is connected, then there is a non-empty proper (not the same as $X$) closed and open set. + +The reverse is also true. (If the only clopen sets are $\emptyset$ and $X$, then $X$ is connected.) + +
+Example of connected and disconnected space in real numbers + +Let $X=[a,b]$ with subspace topology inherited from $\mathbb{R}$ is connected. + +Then other connected subspace of $\mathbb{R}$ are $(a,b)$, $[a,b)$, $(a,b]$, $(-\infty,b)$, $(-\infty,b]$, $(a,\infty)$, $[a,\infty)$, and $\mathbb{R}$. + +--- + +If $X\subseteq \mathbb{R}$ with the subspace topology such that there are $a + +#### Definition of totally disconnected space + +Any topological space that any subset of it with at least two elements is disconnected is called a totally disconnected space. + +
+Example of totally disconnected space + +In $\mathbb{R}$, any subset of rational numbers with at least two elements is disconnected. + +Because there is a irrational number between any two rational numbers. + +
+ +
+ +Example of disconnected space + +Let $X\subseteq \mathbb{R}^2$ and $X=U\cap V$, where $U=\{(x,y)\in \mathbb{R}^2\mid y=1/x\}$ and $V=\{(x,y)\in \mathbb{R}^2\mid x=0\}$. + +Then $X$ is disconnected since $U, V$ gives a separation of $X$ (In this case, $U$ and $V$ are closed sets in $\mathbb{R}^2$). + +
+ +#### Lemma of separated subsets + +Let $U,V$ give a separation of a topological space $X$. Let $Y\subseteq X$ with the subspace topology is connected. Then $Y$ is either contained in $U$ or $V$. + +
+Proof + +Consider $U'=U\cap Y$ and $V'=V\cap Y$. Then $U'$ and $V'$ are disjoint nonempty open subsets of $Y$. and $Y=U'\cup V'$. + +Since $Y$ is connected, then $U'$ or $V'$ are not a separation, so $U'$ or $V'$ is empty. + +
+ +#### Theorem of connectedness of union of connected subsets + +Let $X=\bigcup_{\alpha\in I} X_\alpha$ such that $\bigcap_{\alpha\in I} X_\alpha$ is non-empty. And $X_\alpha$ are connected. Then $X$ is also connected. + +
+Proof + +Let $x\in \bigcap_{\alpha\in I} X_\alpha$. By contradiction, suppose $U,V$ give a separation of $X$. Assume $x\in U$ and $x\notin V$, Applying the lemma to $Y=X_\alpha$ for each $\alpha\in I$, we have $X_\alpha\subseteq U$ or $X_\alpha\subseteq V$. + +Since $x\in X_\alpha$ is an element of $u$, the fist possibility holds, so $\bigcap_{\alpha\in I} X_\alpha\subseteq U$ implies $X\subseteq U$, then $U=x$, $V=\emptyset$, which is a contradiction. + +
+ +
+Example + +Let $X=S^1\subseteq \mathbb{R}^2$ with the subspace topology. Let $X_0=S^1\cap \{(x,y)\mid x\leq 0\}$ and $X_1=S^1\cap \{(x,y)\mid x\geq 0\}$. + +Then $X_0\cap X_1=\{(0,1), (0,-1)\}$. + +Note that both of them are homeomorphic to $[0,1]\subseteq \mathbb{R}$, which are known to be connected. + +
+ +#### Proposition of connectedness and homeomorphism + +Connectedness is a topological property (preserve under homeomorphism). + +i.e. If $X$ and $Y$ are homeomorphic, then $X$ is connected if and only if $Y$ is connected. + +
+Proof + +By contradiction, $U,V$ give a separation of $X$ let $\phi:X\to Y$ be a homeomorphism. Then $\phi(U)$ and $\phi(V)$ are disjoint nonempty open subsets of $Y$ whose union is $Y$. + +So $Y$ is disconnected. + +This contradicts the assumption that $Y$ is connected. + +Therefore, $X$ is connected. + +The reverse direction is similar. + +
+ +> [!NOTE] +> +> The connectedness of two topological spaces can be preserved under weaker conditions than homeomorphism. + +#### Proposition of connectedness and continuous map + +If $X$ is connected and $f:X\to Y$ is a continuous map, then $f(X)\subseteq Y$ with subspace topology is connected. + +
+Proof + +By contradiction, suppose $f(X)$ is disconnected. Then there are disjoint nonempty open subsets $U,V$ of $f(X)$ such that $f(X)=U\cup V$. + +Since $f$ is continuous, $f^{-1}(U)$ and $f^{-1}(V)$ are open in $X$ and $X=f^{-1}(U)\cup f^{-1}(V)$. + +Since $X$ is connected, then $f^{-1}(U)$ and $f^{-1}(V)$ are not a separation, so $f^{-1}(U)$ or $f^{-1}(V)$ is empty. + +This contradicts the assumption that $X$ is connected. + +Therefore, $f(X)$ is connected. + +
+ +