f(x) = -1 if -1 <= x < 0, -2 if 0 <= x < 1, -3 if 1 <= x < 2

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

Answer

B

Step-by-step solution

The function is defined as $f(x)=-1$ for $x \in [-1, 0)$, $f(x)=-2$ for $x \in [0, 1)$, and $f(x)=-3$ for $x \in [1, 2)$. This corresponds to a step function moving downwards as $x$ increases.