$\mathbb{R}$ \ $\mathbb{Q}$ and $\mathbb{R}^2\setminus\mathbb{Q}^2$ disconnected?

If I want to prove that $\mathbb{R} \setminus \mathbb{Q}$ is disconnected, does it suffice to say that there are two open disjoint sets that cover $\mathbb{R}\setminus\mathbb{Q}$, namely:

$$(- \infty, 0), (0, \infty)\text{ ?}$$

Along the same lines, I want to prove or disprove that $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$ (points $(x, y) \in S$ that have at least one irrationais connected. I feel that it is also disconnected; does it suffice to say that there are two open disjoint sets that cover $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$, namely $((- \infty, - \infty), (0, 0))$ and $((0, 0), (\infty, \infty))$? (Very iffy on my assertion and my notation, sorry.)

Thanks!


Solution 1:

The answer to your first question is yes: $\{(\leftarrow,0),(0,\to)\}$ is a clopen partition of the irrationals, and its existence shows that they are not connected.

$\Bbb R^2\setminus\Bbb Q^2$, on the other hand, is connected, and even path connected: you can get from any point of it to any other point along a path lying entirely within $\Bbb R^2\setminus\Bbb Q^2$. In fact, you can do it alone straight line segments, using at most three of them; just make sure that each horizontal segment lies on a line $y=a$ with irrational $a$, and each vertical segment lies on a line $x=a$ with irrational $a$. See if you can work out the details for yourself; I’ve written them up below and left them spoiler-protected.

Suppose that $\langle a_,b\rangle$ is a point with at least one irrational coordinate. Without loss of generality let $a$ be irrational. Let $\langle c,d\rangle$ be any other point with at least one coordinate irrational. If $d$ is irrational, you can travel along the line $x=a$ to the point $\langle a,d\rangle$, and then travel along the line $y=d$ to $\langle c,d\rangle$; this path lies entirely in $\Bbb R^2\setminus\Bbb Q^2$. If $c$ is irrational, travel along the line $x=a$ to any $\langle a,u\rangle$ with irrational $u$, then along $y=u$ to the point $\langle c,u\rangle$, and finally along the line $x=c$ to the point $\langle c,d\rangle$; again the path lies entirely in $\Bbb R^2\setminus\Bbb Q^2$.

Solution 2:

As the others have noted, the second statement is wrong. One can arrive at a less direct, but maybe more elegant proof of its converse by proving the stronger fact that $\mathbb R^2\setminus A$ is path-connected for every countable set $A$. As far as I remember this simple proof is due to Cantor. I only do not give it here to not spoil anything, I hope that having said the word “countable” is a sufficient hint.

Solution 3:

You are right about the disconnectedness of $\Bbb R-\Bbb Q$.

The set $S$, on the other hand, is connected, even path connected. Choose irrational $\alpha,\beta$. Each point $(x,y)$ can be joined to the point $(\alpha,\beta)$ by the path $p:I\to\Bbb R^2-\Bbb Q^2$$$p(t)=\begin{cases} 2t(\alpha,y)+(1-2t)(x,y) &\text{ if }t\le\frac12\\ (2t-1)(\alpha,\beta)+(2-2t)(\alpha,y) &\text{ if }t\ge\frac12 \end{cases}$$ if $y$ is irrational, and $$p(t)=\begin{cases} 2t(x,\beta)+(1-2t)(x,y) &\text{ if }t\le\frac12\\ (2t-1)(\alpha,\beta)+(2-2t)(x,\beta) &\text{ if }t\ge\frac12 \end{cases}$$ if $x$ is irrational

Solution 4:

Actually, it is rather an obvious fact that the set of all rational numbers are disconnected under the subspace topology induced from $\mathbb R$, and even if $\mathbb Q$ is given under the order topology, the order being induced from $\mathbb R$, then also it is disconnected. As because, $\mathbb Q$ does not has the lub property. And any ordered set $X$ with the $order$ topology is connected $iff$ it is a linear continuum .