The quadratic formula
One formula solves every quadratic equation. Here’s how to use it without sign errors, and why it works.
for
How to solve quadratic equations with the formula
- Get standard form. Move everything to one side so the other side is 0: .
- Read a, b and c with their signs. Here .
- Work out the discriminant first. . Doing it separately avoids most mistakes.
- Substitute, in brackets. .
- Split the ±. or .
What the discriminant tells you
| Roots | Graph | |
|---|---|---|
| Positive perfect square | Two rational roots, and it factors | Crosses the x-axis twice |
| Positive, not a square | Two irrational roots (with √) | Crosses twice |
| Zero | One repeated root, | Vertex touches the axis |
| Negative | No real roots, two complex | Never meets the axis |
Check any quadratic on the discriminant calculator, or solve it fully with the quadratic equation solver.
Where the quadratic formula comes from
Step through the derivation. Every line is ordinary algebra you already know.
Start with any quadratic (a ≠ 0).
Why the formula works
The formula isn’t a trick to memorise. It’s completing the square done once, on letters instead of numbers. Divide by , add the square of half the middle coefficient to both sides, take the square root, and you arrive at the formula.
That also explains its shape. is the x-coordinate of the parabola’s vertex, its line of symmetry. The part is how far each root sits to the left and right of that line. When the discriminant is 0 that distance shrinks to nothing and the two roots merge.
Completing the square is really a geometry trick wearing algebra clothes. The same urge to see the shape behind a formula runs through ahaboo’s narrated how-it-works explainers, from compound interest curves to the tilt that causes the seasons.
Symmetry: the roots sit equally either side of x = −b/2a
- Discriminant b² − 4ac
- 16
- Real roots
- -1, 3
- Vertex (h, k)
- (1, -4)
Discriminant > 0: the parabola crosses the x-axis twice, so there are two real roots. a > 0 opens it upward.
- y = ax² + bx + c