The only subspace of $\mathbb{R}$ that is homeomorphic to $\mathbb{R}$ and complete (with the restricted metric) is $\mathbb{R}$.
My work-
Let $A$ be a subspace of $\mathbb{R}$ such that $A$ is homeomorphic to $\mathbb{R}$ and is complete. Let, $f : \mathbb{R}\to A$ be a homeomorphism. Since $A$ is complete, so it is closed in $\mathbb{R}$ which implies $f(A)$ is closed in $A$. Therefore, $f(A)$ is complete. Then, I want to prove that $f(A)=A$. I am stuck here. If I can prove this then it will easily show that $A^c=\emptyset$ as $f$ is bijective.
Thank you!
If $A$, with the induced metric, is a complete subspace of $\mathbb{R}$, then it is closed. Since $A$ is by assumption is homeomorphic to $\mathbb{R}$, it is an interval. A closed interval is of one of the following types:
Types 1, 2 and 3 are not homeomorphic to $\mathbb{R}$, because removing a point from $\mathbb{R}$ leaves a disconnected set.