Solve -x² + 6x - 7 = 0
The solutions of -x² + 6x - 7 = 0 are x = 3 + √2 or x = 3 - √2, that is x ≈ 1.5857864 and x ≈ 4.4142136.
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 = 6, c = -7.
- 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 ≈ 1.5857864 and x ≈ 4.4142136.
- 7
Check numerically: for x ≈ 1.5857864 the left side is -8.8817842e-16 (zero up to rounding) ✓
LaTeX source of the formulas on this page
\[ -x^2 + 6x - 7 = 0\ \Rightarrow\ x = 3 + \sqrt{2},\ 3 - \sqrt{2} \]
\[ -x^2 + 6x - 7 = 0 \]
\[ D = 6^2 - 4\cdot(-1)\cdot(-7) = 36 - 28 = 8 \]
\[ x = \frac{-b \pm \sqrt{D}}{2a} = \frac{-6 \pm \sqrt{8}}{-2} \]
\[ x = 3 + \sqrt{2}\quad\text{or}\quad x = 3 - \sqrt{2} \]The parabola y = -x² + 6x - 7
| x | y |
|---|---|
| 0 | -7 |
| 1 | -2 |
| 2 | 1 |
| 3 | 2 |
| 4 | 1 |
| 5 | -2 |
| 6 | -7 |
Questions
What are the solutions of -x² + 6x - 7 = 0?
The solutions of -x² + 6x - 7 = 0 are x = 3 + √2 or x = 3 - √2, that is x ≈ 1.5857864 and x ≈ 4.4142136.
Does -x² + 6x - 7 = 0 factor?
Not over the integers, because the discriminant 8 is not a perfect square. Use the quadratic formula.
What is the vertex of y = -x² + 6x - 7?
(3, 2). The parabola opens downwards, so this is the maximum.
What are the sum and product of the roots?
Sum = −b/a = 6, product = c/a = 7.