Graph the piecewise function f(x) = 2/5x - 7 for 0 < x < 5, -4 for x = 5, -x + 2 fo...

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

Answer

A piecewise graph with an open segment from $(0, -7)$ to $(5, -5)$, a point at $(5, -4)$, and an open ray starting at $(5, -3)$ going through $(6, -4)$.

Work

  1. $x=0, y=-7$ (open); $x=5, y=-5$ (open). Segment: $(0,-7)$ to $(5,-5)$.
  2. $x=5, y=-4$ (closed point).
  3. $x=5, y=-3$ (open); $x=6, y=-4$ (ray).

Step-by-step solution

  1. Graph the first piece $f(x) = \frac{2}{5}x - 7$ for $0 < x < 5$. Plot open circles at $(0, -7)$ and $(5, -5)$, then connect them with a line segment.
  2. Plot the point $(5, -4)$ as a closed circle to represent $f(5) = -4$.
  3. Graph the third piece $f(x) = -x + 2$ for $x > 5$. Start with an open circle at $(5, -3)$ and draw a ray extending down and to the right through $(6, -4)$ and $(7, -5)$.