At first I want to say that I'm aware of that there is alot of threads regarding this topic. But I would like to Believe that my question differs from them.
So I'm given the claim that there is a complete metric space $(X, d_X)$ and a non complete metric space $(Y,d_Y)$. Naturally I to verify the claim I want to come up with an example. My question then is,
What would be an natural thought process to come up with such an example?
My thoughts Went something like this.
The function $f$ is a bijection, okey so I need to find two sets with the same cardinality.
$f$ is continuous, perhaps and can use some elementary function, and nothing to "weird"
the inverse function $f^-1$ is continuous, again perhaps I can use something elementary.
I know that $\mathbb{R}$ with $d(x,y) = |x-y|$ is complete, and I know that $(0,1)$ and $\mathbb{R}$ has same cardinality. How can I proceed to find a function $f$? Is it just trial and error, or is the a smart way?