NDA · Question 94
What is the range of the function f(x) = x + |x| if the domain is the set of real numbers?
Show answer & explanationShow explanation
Answer: (B) [0, ∞)
For x < 0, |x| = -x, so f(x) = x - x = 0. For x ≥ 0, |x| = x, so f(x) = 2x, which takes all values in [0, ∞). Combining both cases, the range of f(x) is [0, ∞).