Show that $\Bbb Q^n \cup (\Bbb R-\Bbb Q)^n$ is connected

1.4k Views Asked by At

I have difficulty with this problem and I have not idea to show this. How can I show that $\Bbb Q^n \cup (\Bbb R-\Bbb Q)^n$ is connected? If $n=1$ it's obvious because the sum is $\Bbb R$
is connected. But in general?

2

There are 2 best solutions below

5
On BEST ANSWER

Hint: Let $E = \mathbb Q^n \cup (\mathbb R\setminus \mathbb Q)^n.$ For $x\in \mathbb R^n,$ let $L(x) = \{tx: t\in \mathbb R\}.$ ($L(x)$ is the line in $\mathbb R^n$ through the origin and $x.$) Verify that if $q = (q_1,\dots ,q_n)\in \mathbb Q^n$ and each $q_k \ne 0,$ then $L(q)\subset E.$ Consider the union of all of such lines.

0
On

All points from $\mathbb{Q}^n$ lay in one linear connectivity component. (Full line from $P_1$ to $P_2$ lays in your set, if $P_1$ and $P_2$ have no equals coordinates. Anyway, you can use rational point $P_3$ ).

So, to the contrary: Your set is union of open-close $X$ and $Y$. Let $P_1$ - rational point in $X$, $P_2$ - rational point in $Y$. QED.