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