Show that the Modulus Function f : R → R, given by f (x) = |x|, is neither one-one nor onto, where |x| is x, if x is positive or 0 and |x| is – x, if x is negative.
It is given that f : R → R, given by f (x) = | x|
We can see that f(-1) = |-1| = 1, f(1) = |1| = 1
⇒ f(-1) = f(1), but -1 ≠ 1.
⇒ f is not one-one.
Now, we consider -1 ϵ R.
We know that f(x) = |x| is always negative.
Therefore, there exist any element x in domain R such that f(x) = |x| = -1
⇒ f is not onto.
Therefore, modulus function is neither one-one nor onto.