I am trying to determine a general criteria in order to conclude whether a given metric $d$ induces a complete metric space $(ℝ,d)$. There seems to be the following result:
Let $d(x,y)=|f(x)−f(y)|$, where $f$ is an injective function defined on $ℝ$, with values in $ℝ$, and $|\cdot |$ is the usual absolute value function on $ℝ$. Then the image of $f$ is a closed set if and only if $(ℝ,d)$ is complete.
To prove this, one must show that a Cauchy sequence converges, i.e. that $f(x_n)$ converges if $|f(x_n)−f(x_m)|<ε$ for any $ε>0$, if $m$ and $n$ are large enough. Intuitively, if the image of $f$ is closed, it must contain all its limit points, including the limit of $f(x_n)$. But why does $f(x_n)$ converge in the first place? Why does $f$ have to be injective, and how is the converse true? Thank you for any help!
Example: consider the metric defined by $d(x,y)=|x^3-y^3|$. Let $f: ℝ \longrightarrow ℝ$ be the injective function defined by $f(x)=x^3$. The image of $f$ is $ℝ$ which is closed, so $(ℝ,d)$ is complete. On the other hand if $d(x,y)=|\arctan{x}-\arctan{y}|$, $Im(f)=]-\pi/2;\pi/2[$ is not closed, so $(ℝ,d)$ is not complete.
Note: this questions is in the continuity of this one: $(\mathbb{R},d)$ is not always a complete space?