I am wanting to show that $\mathbb{Q}$ is not compact on $[0,2]$ by describing an open cover for which there is no finite subcover. The cover I thought of is:
$\left(-1, \sqrt{2}-\frac{1}{n}\right) \cup\left(\sqrt{2}+\frac{1}{n} ,3\right)$ for $ n \in \mathbb{N}$
Does this cover work? Because there would be always be a rational number between$\sqrt{2}-\frac{1}{n}$ and $\sqrt{2}$ for any $ n \in \mathbb{N}$
Note I am defining $\mathbb{N}$ as all integers $\ge1$