Solve x² + 6x + 4 = 0
Quadratic equation, worked out line by line the way a teacher would write it.
Answer
| Solutions | x = −3 − √5, x = √5 − 3 |
Step-by-step solution
8 steps-
1 Givenx^{2} + 6 x + 4 = 0
Solve for x.
-
2 This is a quadratic in standard form ax² + bx + c = 0
Every quadratic equation can be arranged as ax² + bx + c = 0. Reading off a = 1, b = 6 and c = 4, signs included, shows which method fits: factoring, taking a square root or the quadratic formula.
a = 1,\quad b = 6,\quad c = 4 -
3 Apply the quadratic formula
The quadratic formula solves any equation ax² + bx + c = 0. It comes from completing the square on the general equation, so it always works, even when the trinomial does not factor.
x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a} -
4 Substitute a, b and cx = \frac{-6 \pm \sqrt{6^{2} - 4 \cdot 1 \cdot 4}}{2 \cdot 1}
-
5 Compute the discriminant D = b² − 4ac
D = b² − 4ac is the part under the square root in the formula. If it is positive there are two real solutions, if it is 0 there is one, and if it is negative its square root is not a real number, so there is no real solution.
D = 20Positive discriminant: two distinct real solutions.
-
6 Evaluate the square root and the denominatorx = \frac{-6 \pm 2 \sqrt{5}}{2}
-
7 Simplifyx = -3 - \sqrt{5}\quad \text{or} \quad x = \sqrt{5} - 3
-
8 Check\begin{aligned}x = -3 - \sqrt{5}:\quad 0 = 0\quad\checkmark\\ x = \sqrt{5} - 3:\quad 0 = 0\quad\checkmark\end{aligned}
Substituting each solution back makes both sides equal.
Check by substitution
| x | Left side | Right side | |
|---|---|---|---|
| −3 − √5 | 0 | 0 | ✓ |
| √5 − 3 | 0 | 0 | ✓ |
Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.