Yes, I can solve the quadratic equation (x^2 + 2x - 5 = 0). Here's the step-by-step solution using the quadratic formula:
Step 1: Identify the coefficients
The equation is in the form (ax^2 + bx + c = 0).
- (a = 1) (coefficient of (x^2))
- (b = 2) (coefficient of (x))
- (c = -5) (constant term)
Step 2: Write the quadratic formula
The quadratic formula is:
[x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}]
Step 3: Calculate the discriminant
The discriminant ((D)) is (b^2 - 4ac):
[
D = (2)^2 - 4(1)(-5) = 4 + 20 = 24
]
Since (D > 0), there are two distinct real roots.
Step 4: Substitute into the formula
Plug (a = 1), (b = 2), and (D = 24) into the quadratic formula:
[
x = \frac{-2 \pm \sqrt{24}}{2(1)}
]
Step 5: Simplify (\sqrt{24})
[
\sqrt{24} = \sqrt{4 \cdot 6} = 2\sqrt{6}
]
So the equation becomes:
[
x = \frac{-2 \pm 2\sqrt{6}}{2}
]
Step 6: Simplify the expression
Factor out 2 in the numerator and divide by the denominator:
[
x = \frac{-2 \pm 2\sqrt{6}}{2} = \frac{-2}{2} \pm \frac{2\sqrt{6}}{2} = -1 \pm \sqrt{6}
]
Step 7: Write the solutions
The two roots are:
[
\boxed{x = -1 + \sqrt{6}} \quad \text{and} \quad \boxed{x = -1 - \sqrt{6}}
]
Verification (Optional)
- Check (x = -1 + \sqrt{6}):
[
(-1 + \sqrt{6})^2 + 2(-1 + \sqrt{6}) - 5 = (1 - 2\sqrt{6} + 6) + (-2 + 2\sqrt{6}) - 5 = (7 - 2\sqrt{6}) - 2 + 2\sqrt{6} - 5 = 0
]
- Check (x = -1 - \sqrt{6}):
[
(-1 - \sqrt{6})^2 + 2(-1 - \sqrt{6}) - 5 = (1 + 2\sqrt{6} + 6) + (-2 - 2\sqrt{6}) - 5 = (7 + 2\sqrt{6}) - 2 - 2\sqrt{6} - 5 = 0
]
Both solutions satisfy the equation.