f(x) = { 2 if -5 < x <= -1, 4 if -1 < x <= 2, 6 if 2 < x <= 5 }
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
The function $f(x)$ is a step function with values $y=2$ for $x \in (-5, -1]$, $y=4$ for $x \in (-1, 2]$, and $y=6$ for $x \in (2, 5]$. Option D correctly displays these horizontal segments at heights 2, 4, and 6 with the correct open/closed circle endpoints.