Let $\mathbb{I}$ be the set of all irrational real numbers and $\mathbb{Q}$ be the set of all rational numbers as usual. As a subspace of the Euclidean plane $\mathbb{R}^2$, is the set $\mathbb{Q} \times \mathbb{Q} \cup \mathbb{I} \times \mathbb{I}$ disconnected?
The story is the following.
I was making a typical undergraduate level topology problem which concerns connectedness. The question which I concerned is the following. As a subspace of the Euclidean plane $\mathbb{R}^2$, is the set $\mathbb{Q} \times \mathbb{I} \cup \mathbb{I} \times \mathbb{Q}$ connected? What about the set $\mathbb{Q} \times \mathbb{Q} \cup \mathbb{I} \times \mathbb{I}$ ?
The former is relatively well known. For second, the solution which I had in mind turned out to be wrong. I guess lines of the form $y=qx$ where $q$ is some positive rationals will connect the set which is apparently wrong. Now I have no solution. Please give some help to resolve this problem.