Exercise 4

Show that the Modulus Function \(f : \mathbb{R} \to \mathbb{R}\), given by \(f(x) = |x|\), is neither one-one nor onto,
where \(|x|\) is \(x\), if \(x\) is positive or 0 and \(|x| = -x\), if \(x\) is negative.