Solve the system of equations y = -x + 2 and y^2 = x + 4

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

Answer

\((5, -3) \text{ and } (0, 2)\)

Work

y = 2 - x \implies (2 - x)^2 = x + 4 \\ 4 - 4x + x^2 = x + 4 \\ x^2 - 5x = 0 \\ x(x - 5) = 0 \\ x = 0, x = 5 \\ y = 2 - 0 = 2, y = 2 - 5 = -3

Step-by-step solution

The linear equation is $y = -x + 2$. Substituting this into $y^2 = x + 4$ gives $(-x + 2)^2 = x + 4$, which simplifies to $x^2 - 4x + 4 = x + 4$, or $x^2 - 5x = 0$. Solving $x(x - 5) = 0$ gives $x=0$ and $x=5$. For $x=0, y=2$; for $x=5, y=-3$.