To do this, we can show that $Y$ can be written as the union of two non-empty disjoint open sets.
Since $S_1$ and $S_2$ are subsets of $\mathbf{R}^2$, their closures in $\mathbf{R}^2$ are disjoint. This means that there exists an open set $U_1$ containing $S_1$
Show more…