# Thread: Show f(x) is injective

1. ## Show f(x) is injective

I want to show f(x) =x/(x+2) is injective.
I know I need to assume a is not equal to a' but f(a)=f(a') and find contradiction.

Here is my start:
Assume a not equal to a'.
f(a)=a/(a+2)
f(a')=a'/(a'+2)

Now I'm not sure where to go with this?

2. Originally Posted by kathrynmath
I want to show f(x) =x/(x+2) is injective.
I know I need to assume a is not equal to a' but f(a)=f(a') and find contradiction.

Here is my start:
Assume a not equal to a'.
f(a)=a/(a+2)
f(a')=a'/(a'+2)

Now I'm not sure where to go with this?
Now assume that:

$f(a)=f(a')$

and that $a\ne -2$ and $a' \ne -2$ so:

$\frac{a}{a+2}=\frac{a'}{a'+2}$

then:

$a(a'+2)=a'(a+2)$

$aa'+a=a'a+a'$

but multiplication is comutative so aa'=a'a, and so:

$a=a'$

The case where either equals $-2$ can easily be shown to imply the other also equals $-2$ since otherwise one side is undefined while the other is defined.