If the function \(f(x)=x^2\) is one-to-one and onto, then the domain D and range R of f(x) are respectively:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → D = \([0, \infty)\), R = \([0, \infty)\)
One-to-one: \(x^2\) gives the same value at x and −x, so the domain must not contain both a number and its negative. On \([0, \infty)\), \(x_1^2 = x_2^2\) gives \(x_1 = x_2\), so f is one-one.
Onto: the range R must be exactly the set of values taken. On \([0, \infty)\), \(x^2\) takes every value in \([0, \infty)\) (y = \((\sqrt{y})^2\)) and no negative value.
So D = \([0, \infty)\) and R = \([0, \infty)\).
Why the other options are incorrect
Option (1) D = [−1, 1], R = set of all real numbers — Incorrect. f(−1) = f(1), so f is not one-one, and it never takes negative values.
Option (2) D = set of all real numbers, R = \([0, \infty)\) — Incorrect. Onto, but not one-one: f(−2) = f(2) = 4.
Option (3) D = \([0, \infty)\), R = set of all real numbers — Incorrect. One-one, but not onto: no x gives a negative value such as −1.