Let $ X = \mathbb{R}^2 - \{(0,0)\}$ the punctuated plane.
Let $ Y = \{(x,y,z) \in \mathbb{R}^3 | x^2 + y^2 =1\}$ the circular cylinder.
Prove that they are homeomorphic to each other.
To prove this, just check that the following function is a homeomorphism.
$ f: Y \to X, \quad f(x,y,z)=(xe^z,ye^z)$
My problem is that I don't know how to reverse this kind of functions.
We need a correct homeomorphism: $$f:\boxed{Y\to X},f(x,y,z)=(xe^z,ye^z)$$ Now given $(a,b)=(xe^z,ye^z)\in X$ first find $z$: $$\sqrt{a^2+b^2}=e^z\sqrt{x^2+y^2}=e^z\implies z=\log\sqrt{a^2+b^2}$$ Thus $$f^{-1}:X\to Y,f(a,b)=\left(\frac a{\sqrt{a^2+b^2}},\frac b{\sqrt{a^2+b^2}},\log\sqrt{a^2+b^2}\right)$$ and $f$ and $f^{-1}$ are in fact diffeomorphisms.