Help Solve x^2+2x-4=0

What is the solution

To solve the quadratic equation x^2 + 2x - 4 = 0, we can use the quadratic formula. The quadratic formula states that for an equation in the form of ax^2 + bx + c = 0, the solutions for x are given by:

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

In our equation x^2 + 2x - 4 = 0, we have a = 1, b = 2, and c = -4. Plugging these values into the quadratic formula, we get:

x = (-2 ± √(2^2 - 4*1*(-4))) / 2*1

Simplifying further:

x = (-2 ± √(4 + 16)) / 2

x = (-2 ± √20) / 2

Now, we can simplify the expression under the square root:

x = (-2 ± √(4 * 5)) / 2

x = (-2 ± 2√5) / 2

Finally, we can simplify the expression by canceling out a factor of 2:

x = -1 ± √5

So, the solutions to the equation x^2 + 2x - 4 = 0 are x = -1 + √5 and x = -1 - √5.