The function f: R → R defined by f(x) = x² is:
Aneither one-one nor onto
Bone-one but not onto
Conto but not one-one
Dboth one-one and onto
Show answer & solution
Correct answer: A. neither one-one nor onto
Solution: f(2) = f(−2) = 4, so f is not one-one. Its values are never negative, so the range is [0, ∞) and not all of R: f is not onto.