Let be a function whose domain is the set of all real numbers. If , what is the range of ?
Relations and Functions · Question 75 of 135
Let f be a function whose domain is the set of all real numbers. If f(x) = x - x , what is the range of f ?
Question 753 marksEasy
Solution:
Key idea: The modulus equals when and when . So we split the real line into these two cases, find the values takes in each, and combine them.
Step 1 — Case .
Here , so the two terms cancel.
Step 2 — Case .
Here , so the two terms add up.
Since is negative, is positive.
Step 3 — Check that every positive value is reached.
For any positive number , the input is negative, and the formula from Step 2 gives exactly .
Step 4 — Combine the two cases.
Step 1 gives the value and Steps 2–3 give every positive number, and never takes a negative value.
Therefore, the range of is , that is, .
