About the Quadratic Formula Calculator
Any equation of the form ax² + bx + c = 0 can be solved with the quadratic formula, even when it will not factor neatly. The trouble is the arithmetic: one dropped minus sign under the square root and the answer is wrong.
This calculator shows every step, from the discriminant to the roots, and gives the exact simplified form, such as (−2 ± √10) / 2, next to the decimals. It also plots the parabola and marks its vertex, so you can see why an equation has two, one or no real solutions.
How to use it
- Rearrange your equation so one side is 0, for example x² − 3x = 10 becomes x² − 3x − 10 = 0.
- Enter a (the number in front of x²), b (in front of x) and c (the constant). Keep the signs.
- Read the roots, then follow the steps to check your own working.
- Use the vertex, axis of symmetry and graph for sketching questions.
The formula
x = (−b ± √(b² − 4ac)) ÷ 2a
The part under the root, D = b² − 4ac, is the discriminant. If D > 0 there are two real roots, if D = 0 there is one repeated root, and if D < 0 the roots are complex. The vertex is at x = −b ÷ 2a.
Worked examples
Two whole-number roots
x² − 3x − 10 = 0: D = 9 + 40 = 49, √49 = 7, x = (3 ± 7) ÷ 2, so x = 5 or x = −2.
Roots with a square root
2x² + 4x − 3 = 0: D = 16 + 24 = 40 = 4 × 10, so √40 = 2√10. x = (−4 ± 2√10) ÷ 4 = (−2 ± √10) ÷ 2, about 0.581 and −2.581.
Complex roots
x² + 2x + 5 = 0: D = 4 − 20 = −16, √−16 = 4i, x = (−2 ± 4i) ÷ 2 = −1 ± 2i. The parabola sits entirely above the x-axis.
Frequently asked questions
What happens if a = 0?
Then there is no x² term and the equation is linear, bx + c = 0. The calculator solves it as x = −c ÷ b and tells you it is not a quadratic.
What is the discriminant used for?
It tells you how many real solutions there are before you finish the formula, and whether the parabola crosses, touches or misses the x-axis.
Can I enter decimals or fractions?
Decimals, yes. For a fraction such as 1/2, type 0.5. The exact simplified form appears when a, b and c are whole numbers.
When should I factor instead?
If the roots are whole numbers, factoring is often faster on a test. The formula always works, which makes it the safe choice when factors are not obvious.
What does "i" mean in the answer?
i is the imaginary unit, the square root of −1. Complex roots come in pairs like −1 + 2i and −1 − 2i.