Proof (metric space topology)
-
$\emptyset$ is open because there is no elements inside (vacuous truth). $X$ is open because for any $x\in X$, by picking any $\epsilon>0$, $B_\epsilon(x) = \sb{y\in X}{d(x,y)<\epsilon} \subseteq X$ trivially.
-
Suppose $x\in \bigcup_{i\in I} U_i$. So $x\in U_j$ in some $j\in I$.
Since $U_j$ is open, there exists $\epsilon>0$ such that $B_\epsilon(x)\subseteq U_j \subseteq \bigcup_{i\in I}U_i$. Hence $\bigcup_{i\in I} U_i$ is open.
-
Suppose $x\in\bigcap_{i\in I} U_i$ where $I$ is finite.
For each $i\in I$, since $U_i$ is open, there exists $\epsilon_i>0$ such that $B_{\epsilon_i}(x)\subseteq U_i$.
By letting $\epsilon = \min_{i\in I} \epsilon_i > 0$, we have $B_{\epsilon}(x)\subseteq U_i$ for all $i\in I$, and therefore $B_\epsilon(x) \subseteq \bigcap_{i\in I} U_i$.