The domain of the piecewise function is (-inf, inf). f(x) = {-x if x < 0, x if x >=...

Check the final answer first, then review the worked steps.

Answer

B

Reasoning

f(x) = -x for x < 0 (line with slope -1, quadrant II)
f(x) = x for x >= 0 (line with slope 1, quadrant I)
Combined, this is the absolute value function f(x) = |x|.

Step-by-step solution

The function $f(x) = |x|$ is defined as $-x$ for $x < 0$ and $x$ for $x \geq 0$, which corresponds to a V-shaped graph opening upwards with its vertex at $(0,0)$.