Show that the Modulus Function , given by , is neither one-one nor onto, where is , if is positive or and is , if is negative.
Exercise 1.2 · Question 4 of 12
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…
By definition,
is not one-one.
Take and . Since we use the second line, ; since we use the first, . So
Two different inputs have the same image, so is not one-one. (Any non-zero gives the same clash, because .)
is not onto.
For every real number we have , so the range of is , while the co-domain is the whole of .
Take in the co-domain. If it had a pre-image there would be a real with , which is impossible since a modulus is never negative. So has no pre-image, and is not onto.
Conclusion. The Modulus Function is neither one-one nor onto.

The dashed horizontal line at meets the V-shape at the two points and , which is the failure of one-one; no part of the graph lies below the -axis, which is the failure of onto.
