Solve -x² + 12x - 8 = 0
The solutions of -x² + 12x - 8 = 0 are x = 6 + 2√7 or x = 6 - 2√7, that is x ≈ 0.70849738 and x ≈ 11.291503.
Change a, b or c (whole numbers, a not 0) and the exact solutions follow.
How to work it out
- 1
Write it in standard form a x² + b x + c = 0 and read off the coefficients: a = -1, b = 12, c = -8.
- 2
Work out the discriminant D = b² − 4ac. Its sign tells you how many real solutions there are.
- 3
D is positive, so there are two different real solutions.
- 4
The quadratic formula works for every quadratic:
- 5
Simplify (pull the square out of the root) to get the solutions:
- 6
As decimals: x ≈ 0.70849738 and x ≈ 11.291503.
- 7
Check numerically: for x ≈ 0.70849738 the left side is -2.6645353e-15 (zero up to rounding) ✓
LaTeX source of the formulas on this page
\[ -x^2 + 12x - 8 = 0\ \Rightarrow\ x = 6 + 2\sqrt{7},\ 6 - 2\sqrt{7} \]
\[ -x^2 + 12x - 8 = 0 \]
\[ D = 12^2 - 4\cdot(-1)\cdot(-8) = 144 - 32 = 112 \]
\[ x = \frac{-b \pm \sqrt{D}}{2a} = \frac{-12 \pm \sqrt{112}}{-2} \]
\[ x = 6 + 2\sqrt{7}\quad\text{or}\quad x = 6 - 2\sqrt{7} \]The parabola y = -x² + 12x - 8
| x | y |
|---|---|
| 3 | 19 |
| 4 | 24 |
| 5 | 27 |
| 6 | 28 |
| 7 | 27 |
| 8 | 24 |
| 9 | 19 |
Questions
What are the solutions of -x² + 12x - 8 = 0?
The solutions of -x² + 12x - 8 = 0 are x = 6 + 2√7 or x = 6 - 2√7, that is x ≈ 0.70849738 and x ≈ 11.291503.
Does -x² + 12x - 8 = 0 factor?
Not over the integers, because the discriminant 112 is not a perfect square. Use the quadratic formula.
What is the vertex of y = -x² + 12x - 8?
(6, 28). The parabola opens downwards, so this is the maximum.
What are the sum and product of the roots?
Sum = −b/a = 12, product = c/a = 8.