I want to show that $\mathbb{R}$ is connected given that the unit interval is connected. I only know the definition of connectedness (a space $X$ is connected if the only separations of it are the trivial ones ) and I know that the \sim -equivalence class of $x$ in $X$ is connected where $x \sim y$ iff there is a connected subspace $C \subseteq X$ s.t. $x,y \in C$. Also, I know that the definition of trivial separation is that if $X = U \bigcup V$ then $X=U$ or $X=V.$ and a separation of a space $X$ in general means $X= U \bigcup V$ where $U \bigcap V = \emptyset,$ and $U,V$ are both open in $X.$
My Question is:
Knowing all the above definitions, still I do not know how to prove that $\mathbb{R}$ is connected through them, could anyone help me in proving this by the above tools?
I know that there is this question here Showing that $\mathbb{R}$ is connected but this does not prove the statement by the tools I want.