I'm struggling with the following homework assignment.

Let $X = \{x \in \mathbb{R}: -1 < x < 1\}$. We define $g: X \rightarrow \mathbb{R}$ by $g(x) = \frac{x}{1-|x|}$.

We must prove that $g$ is a bijection.

First, we prove $g$ is injective.

By definition of injection, $g$ is injective iff whenever $x_1,x_2 \in X$ and $g(x_1) = g(x_2)$, then $x_1 = x_2$.

Let $x_1,x_2 \in X$ and $g(x_1) = g(x_2)$. Want to show $x_1 = x_2$.

We have $\frac{x_1}{1-|x_1|} = \frac{x_2}{1-|x_2|} \Leftrightarrow x_1(1-|x_2|) = x_2(1-|x_1|)$

$\Leftrightarrow x_1-x_1|x_2|=x_2-|x_1|x_2$.

For cases $x_1,x_2 > 0$ and $x_1,x_2 < 0$ we get $x_1 = x_2$

But for the remaining two cases, how should I proceed?

Thanks in advance!

  • 1
    $\begingroup$ The best way to prove a function is a bijection is to find its inverse function. $\endgroup$ – Lord Shark the Unknown Aug 18 '18 at 2:18

$\frac x{1-|x|}$ always has the same sign as $x$ when $x\in X$ (since the denominator is positive), so if $x_1$ and $x_2$ have different signs, then $g(x_1)$ and $g(x_2)$ also have different signs -- in particular they can't be equal.


One can compute an explicit inverse:

Let $y = {x \over 1-|x|}$.

Note that $\operatorname{sgn} y = \operatorname{sgn} y$.

If $y = 0$ then $x=0$.

If $y>0$, then $(1-x)y = x$ or $x(1+y) = y$ which gives $x = {y \over 1+y}$.

If $y<0$, then $(1+x)y = x$ or $x(1-y) = y$ which gives $x = {y \over 1-y}$.

Hence we see that $y=x = {y \over 1+|y|}$.


you can do it like this you have

$$ x_1(1-|x_2|) = x_2(1-|x_1|)$$

there are two cases

case 1) $x_1=x_2$ and $1-|x_2|=1-|x_1|$ gives $x_1=x_2$

case 2) $x_1=1-|x_1|$ and $1-|x_2|=x_2$ now if $x_1 <0$ and $x_2<0$

it gives $x_1=1+x_1$ and $1+x_2=x_2$ $\to$ 1=0

which is not true

  • $\begingroup$ It is an injective function! $\endgroup$ – copper.hat Aug 19 '18 at 2:34
  • $\begingroup$ sorry I meant bijection $\endgroup$ – Deepesh Meena Aug 19 '18 at 2:42
  • $\begingroup$ It is a bijection. $\endgroup$ – copper.hat Aug 19 '18 at 2:43
  • $\begingroup$ but g(x_1)=g(x_2) doesn't give us x_1=x_2 then how?? can you please tell me $\endgroup$ – Deepesh Meena Aug 19 '18 at 2:44
  • $\begingroup$ Look at my answer? $\endgroup$ – copper.hat Aug 19 '18 at 2:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.