[Math] Why is the set of integers in $\mathbb{R}$ closed

general-topologyreal-analysis

A point $p$ is a limit point of the set $E$ if every neighbourhood of $p$ contains a point $q \not= p$ such that $q \in E$. So there are no limit points in $\mathbb{Z} \in \mathbb{R}$. Is that why it's closed?

A point $p$ is an interior point of the set $E$ if there is a neighbourhood $N$ of $p$ such that $N \subset E$.

So every point in $\mathbb{Z} \in \mathbb{R}$ is an interior point. So shouldn't $\mathbb{Z}$ be open as well?

Best Answer

By definition, a set $F$ is closed in a topological space $X$ if its complement $X\setminus F$ is open. Notice that with the usual topology on $\mathbb{R}$, $\mathbb{R}\setminus\mathbb{Z}=\bigcup_{n\in\mathbb{Z}}(n,n+1)$, which is the union of open intervals (open sets).

Another way to look at it is, as you pointed out, by showing that $\mathbb{Z}$ contains all its limit points in $\mathbb{R}$. Let $\mathbb{Z}'$ be the set af all limit point of $\mathbb{Z}$ in $\mathbb{R}$. As you already noticed, $\mathbb{Z}'=\emptyset\subset\mathbb{Z}$. The conclusion follows from the obvious fact that $\emptyset\subset A$ for any $A\subset\mathbb{R}$.