Graph the piecewise function f(x) = { (1/2)x + 3 for -4 < x < 2; -2 for x = 2; 2x -...

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

Answer

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

Work

  1. Segment 1: $y = 0.5x + 3$ for $x \in (-4, 2)$. Endpoints: $(-4, 1)$ and $(2, 4)$, both open.
  2. Point: $(2, -2)$ is a closed circle.
  3. Segment 2: $y = 2x - 2$ for $x \in (2, 5]$. Endpoints: $(2, 2)$ open, $(5, 8)$ closed.

Step-by-step solution

The function is defined in three pieces: a line segment from $x=-4$ to $x=2$ (open circles at endpoints), a point at $(2, -2)$, and a line segment from $x=2$ to $x=5$ (open circle at $x=2$, closed circle at $x=5$).