Let be a function defined by . Then
is not one-one as f (0) = 0 and f (-1) = 0.
is also not onto as for there is no such that f (x) = 1.
If there is such a then clearly
For x > 0, this equation gives which is not possible. For x < 0,
the above equation gives which is also not possible .