3
$\begingroup$

I am having real difficulty to show that $f: \mathbb{R} \rightarrow (-1,1): x \mapsto \frac{x}{1+|x|}$ is a surjective function.

I have trouble seeing that every $y \in (-1,1)$ can be written as $\frac{x}{1+|x|}$ for some $x$. Could anyone give me a little hint?

  • 0
    Thanks, thats all I needed. Strange that I didn't figure that out myself-.-.2011-09-30

2 Answers 2

2

The sign of $f(x)$ is the sign of $x$. So, for $y>0$, solve $y=f(x)$ for $x>0$. For $y<0$, solve $y=f(x)$ for $x<0$.

2

Can you write an inverse? That is a function $g$ so that $f(g(x))=x$? Consider the function for $x>0$, $x\mapsto\frac{x}{1+x}$, and then the function for $x<0$, $x\mapsto\frac{x}{1-x}$.