In Are Singleton sets in $\mathbb{R}$ both closed and open?, the best answer says that
The notion of "open" and "closed" depends on a topology you are considering.
Therefore, for example:
- In $\mathbb{R}$, the singleton $\{0\}$ is closed.
Now consider the new topological space $A = \{0\} \cup [1,2]$. As in the first paragraph of wiki, the singleton {0} is an open set in the topological space $A$.
Why? I try to answer this in two ways:
- $\exists \ \ r$ such that the circle $B_r(0) \in \{0\}$, since we consider only $A$ now.
- Since the complement of the open set is closed, $\{0\} = A-[1,2] = [1,2]^c$ is open.
By 1., or 2. we prove that $\{0\}$ is open in the topological space $A$.
My problem is:
If $A = \{0\} \cup (1,2)$, then $\{0\}$ is open or closed?
From 1., it seems open; however, from 2., it seems closed. (Or the reasoning is not correct? )