Show that if $U$ is open connected subspace of $\mathbb{R^2}$, then $U$ is path-connected.
You can see here but:
My Attempt:
Let $f:[a,b]\rightarrow \mathbb{R^2}$ be straight line paths joining $x,y$ such that $x,y\in U$.
Now if $f[a,b]\subset U$, we are done. If not, consider points $x_1,x_2,\dots,x_n\in U$ such that joint $x_i,x_{i+1}$ straight line will be inside $U$, also joining straight line$x,x_1$ and $x_n,y$ are in $U$. We can do this since $U$ is connected and open, then those paths must be a subset of $\text{int}\space U$. Those joining those straight line we will get a path from $x$ to $y$. Hence $U$ is path-connected.
Is this argument ok?
Solution using the hint given in the question:
Hint: Show that given $x_0\in U$, the set of points that can joined to $x_0$ by a path in $U$ is both open and closed in $U$.
My attempt:
Suppose $U_{x_0}$ is such same type of set described in hint. First note that $U_{x_0}$ is path-connected. $y\in \text{bd}\space U_{x_0}$. Now consider $U_y$ is same type of set described in hint. Then $U_y$ intersects $U_{x_0}$ since $U$ is open and connected. But since both $U_{x_0}$ and $U_y$ path-connected, hence $U_{x_0}\cup U_y$ is path-connected. Hence Hence $y\in U_{x_0}$ which implies $U_{x_0}$ is closed.
Again, $y\in U_{x_0}$. Let $V$ is a neighborhood of $y$. Then $V\subset U_y=U_{x_0}$. Hence $U_{x_0}$ is open.
Then $U_{x_0}$ is is a separation of $U$. But $U$ is connected. Hence $U=U_{x_0}$ which implies $U$ is path-connected.
Is this argument ok?