Show if $Q ∩[0,1]$ is compact.
It is bounded. It contains it limit point $1$, therefore it is closed = > compact.
What is wrong with this conclusion?
Show if $Q ∩[0,1]$ is compact.
It is bounded. It contains it limit point $1$, therefore it is closed = > compact.
What is wrong with this conclusion?
It is not compact. Take any irrational point $p$ in $(0,1)$. Then $p\in\overline{\mathbb{Q}\cap(0,1)}$, but $p\notin\mathbb{Q}\cap(0,1)$. Therefore, $\mathbb{Q}\cap(0,1)$ is not a closed subset of $\mathbb R$ and so it cannot be compact.