Given the subspace $Y = \lbrace (x,\sin(\frac{1}{x})) : x > 0 \rbrace \subset \mathbb{R}^2$, I know that $Y$ is connected being the image of a connected of $\mathbb{R}$ (i.e. $(0,+\infty)$.), through a continuous function.
I know also that that the closure of a connected is connected, so $\overline{Y}$ is connected, but I'd like to prove that $\overline{Y} = Y \cup \lbrace (0,t) : \lvert t \rvert \leq 1 \rbrace$
Are there any simple method to prove it ?
Denote $Y_1= \lbrace (0,t) : \lvert t \rvert \leq 1 \rbrace$. We have $\overline{Y} = Y \cup Y_1$. Let's prove that $\mathbb R^2 \setminus \overline{Y}$ is open:
and concludes the proof.