Prove that $\mathbb{Q}$ is not closed

156 Views Asked by At

By definition, $\mathbb{Q}$ is closed iff $\mathbb{R}\setminus\mathbb{Q}$ -- the set of irrational real numbers, is an open set in $\mathbb{R}$.

If $\mathbb{R}\setminus\mathbb{Q}$ is open, then it has to be a union of open intervals (by definition).

Therefore, if $\mathbb{R}\setminus\mathbb{Q}$ is open, it must have some open interval $(a, b)$ as a subset.

The question is to show that every open interval $(a, b)$ must contain rational numbers.

Can anyone give me some hints on this problem? I was trying to use the definition of $\mathbb{Q}$ which is a number is rational if it can be written as $\frac{p}{q}$ for integers $p, q \in \mathbb{Z}$ and $q \neq 0$. But I don't think there's $\mathbb{Z}$ in $(a, b)$ since it's a subset of irrational real numbers? Am I thinking it wrong...

2

There are 2 best solutions below

0
On BEST ANSWER

Assume that $\mathbb{Q}$ is closed. Then $\mathbb{R}-\mathbb{Q}$ is open.

That implies that for each irrational a there is a neighborhood

$S(a,\epsilon)$ contained in $\mathbb{R}-\mathbb{Q}$.

But this is a clear contradiction because there are rationals in every

open neighborhood of any point in $\mathbb{R}$.

This comes from the construction of the real numbers.

0
On

If $\mathbb{Q}$ was closed, every sequence of rational numbers would converge to a rational number. You just need to show that this is not the case... Take any irrational number $z$ and denote by $x_n$ its decimal expansion up to $n$ decimal places. Although $(x_n)\subset \mathbb{Q}$, $\lim x_n = z \notin \mathbb{Q}$.


On a different direction, it is easy to show that every open set $(a,b)$ contains rational numbers. To see this, just choose an integer $m$ such that $(b-a) m > 1$ and observe that there must be some integer $n$ in the interval $(ma, mb)$, which means that $\frac nm \in (a,b)$.