Question

x^2+2x-8=0 solve and explain

Answers

GPT 3.5
To solve the equation x^2 + 2x - 8 = 0, we can use the quadratic formula:

x = (-b ± √(b^2 - 4ac)) / 2a

In this equation, a = 1, b = 2, and c = -8. Plugging these values into the formula, we get:

x = (-2 ± √(2^2 - 4*1*(-8))) / 2*1
x = (-2 ± √(4 + 32)) / 2
x = (-2 ± √36) / 2
x = (-2 ± 6) / 2

Now we have two possible solutions:
x1 = (-2 + 6) / 2 = 4 / 2 = 2
x2 = (-2 - 6) / 2 = -8 / 2 = -4

Therefore, the solutions to the equation x^2 + 2x - 8 = 0 are x = 2 and x = -4.

Related Questions