Determine the piecewise function for the given graph with vertex (0,2).

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

Answer

\(y = \begin{cases} 0.5x + 2 & x \ge 0 \\ -3x + 2 & x < 0 \end{cases}\)

Work

Vertex $(0,2)$. Right branch: $(0,2)$ to $(2,3)$, $m = \frac{3-2}{2-0} = 0.5$. Left branch: $(0,2)$ to $(-1,5)$, $m = \frac{5-2}{-1-0} = -3$.

Step-by-step solution

The graph shows an absolute value function with a vertex at $(0, 2)$. The right branch has a slope of $1/2$, and the left branch has a slope of $-3$. The equation is $y = |x - 0| + 2$ modified by the slopes: $y = 2|x| + 2$ is incorrect; based on the branches, the function is $y = 0.5x + 2$ for $x \ge 0$ and $y = -3x + 2$ for $x < 0$, which is $y = 1.25|x| - 1.75x + 2$.