(i) Let x >0, f(x) =
So, f(x1) = f(x2)
⇒ =
or x1(1 + x2) = x2(1 + x1)
or x1 + x1x2 = x2 + x1x2
⇒ x1 = x2
When x< 0, f(x) =
So, f(x1) = f(x2)
⇒ =
or x1(1 – x2) = x2(1 – x1)
or x1 – x1x2 = x2 – x2x1
⇒ x1 = x2
(ii) As -1 < x < 1, f(x) = lies between and – and When x >0, y = .
∴ (1 + x)y = x
or xy – x = – y
∴ x(y-1) = – y
or x = = .
When x < 0, f{x) = = y
∴ x = y – xy
x(1 + y) = y
∴ x =
In both cases, each value of y in codomain of f has a unique value in its domain.
Hence, f is onto.
Thus, f is one-one and onto.