solve the system of equations: x^2 + y = 20 and -8x + 4y = -16
- User
solve the system of equations: x^2 + y = 20 and -8x + 4y = -16
- Assistant
To solve the system of equations:
- x^2 + y = 20
- -8x + 4y = -16
Let's solve equation 2) for x in terms of y:
-8x + 4y = -16 -8x = -4y - 16 x = (4y + 16)/-8 x = -(y + 4)/2
Substitute this expression for x in equation 1):
(-(y + 4)/2)^2 + y = 20 (y^2 + 8y + 16)/4 + y = 20 y^2 + 8y + 16 + 4y = 80 y^2 + 12y + 16 = 80 y^2 + 12y - 64 = 0
We can factorize this quadratic equation:
(y - 4)(y + 16) = 0
Setting each factor equal to zero, we get:
y - 4 = 0 or y + 16 = 0
Solving these equations, we find:
y = 4 or y = -16
Now substitute each value of y back into the expression for x we derived earlier:
if y = 4: x = -(4 + 4)/2 = -8/2 = -4 if y = -16: x = -(-16 + 4)/2 = -(-12)/2 = 6
So the solutions to the system of equations are: (x, y) = (-4, 4), (6, -16)