[Math] Homeomorphism from $(0,1)$ to $\mathbb{R}$

analysismetric-spaces

I want to show that $(0,1)$ is homeomorphic to $\mathbb{R}$ by finding a homeomorphism between the two. I think the function will be related to $tan(x)$ but I'm stuck on how to modify it to fit the domain $(0,1)$.

Any help would be appreciated!

Best Answer

$\tan:(-\frac{\pi}{2},\frac{\pi}{2})\to\mathbb{R}$ is a homeomorphism between $(-\pi/2,\pi/2)$ and $\mathbb{R}$. Define $f:(0,1)\to(-\pi/2,\pi/2)$ by $f(t)=-(1-t)\frac{\pi}{2}+t\frac{\pi}{2}=-\frac{\pi}{2}+t\pi$. Then, $f$ is a homemorphism between $(0,1) $ and $(-\pi/2,\pi/2)$. Therefore, $h:(0,1)\to\mathbb{R}$ given by $h(t)=\tan(f(t))=\tan(-\frac{\pi}{2}+\pi t)$ works.