Complete the description of the piecewise function graphed below.

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

Answer

\(f(x) = \begin{cases} -4 & \text{if } -4 \le x \le -3 \\ 5 & \text{if } -3 < x \le 1 \\ -2 & \text{if } 1 < x \le 5 \end{cases}\)

Work

-4 \le x \le -3 \text{ for } y = -4
-3 < x \le 1 \text{ for } y = 5
1 < x \le 5 \text{ for } y = -2

Step-by-step solution

  1. Identify the first segment: The horizontal line at $y = -4$ spans from $x = -4$ to $x = -3$. Since both endpoints are closed dots, use inclusive inequalities: $-4 \le x \le -3$.
  2. Identify the second segment: The horizontal line at $y = 5$ spans from $x = -3$ to $x = 1$. The open circle at $x = -3$ means $x > -3$, and the closed dot at $x = 1$ means $x \le 1$. So, $-3 < x \le 1$.
  3. Identify the third segment: The horizontal line at $y = -2$ spans from $x = 1$ to $x = 5$. The open circle at $x = 1$ means $x > 1$, and the closed dot at $x = 5$ means $x \le 5$. So, $1 < x \le 5$.