Formula
Quadratic formula
Also written: quadratic equation formula · solving quadratics formula
The quadratic formula gives both solutions of any equation in the form ax² + bx + c = 0, whether or not it factors.
What each part means
- the coefficient of x², and never zero
- the coefficient of x
- the constant term
- read the formula twice, once with plus and once with minus
When to use it
The equation is quadratic and either does not factor or would take too long to try. It always works, so it is the fallback when factoring stalls.
Before you use it
Rearrange the equation so one side is zero. The formula reads , and off the standard arrangement , and reading them off anything else gives the wrong answer.
Keep the signs with the numbers. In , the value of is .
Where the formula comes from
It is completing the square, done once on the general equation instead of every time on numbers.
Start from , divide by , then move the constant across:
Add the square of half the coefficient to both sides:
The left side is now a perfect square, and the right side goes over a common denominator:
Take the square root of both sides, which is where appears, and subtract :
Full walkthrough in completing the square.
Worked examples
Solve .
Here , , .
So or .
Solve .
Here , , .
This one does not factor over the whole numbers, which is exactly when the formula earns its place.
The part under the root
is the discriminant. Computing it first tells you how many real solutions to expect, and warns you before you take the root of a negative.
Lessons that teach this
- Square Roots: What They Mean and How to Estimate Them
What a square root is, why √25 means 5 and not ±5, how to recognise perfect squares, and how to estimate a root like √50 to one decimal place without a calculator.
- The Quadratic Formula: How and Why It Works
Learn the quadratic formula, where it comes from, and how to use it to solve any quadratic equation, with worked examples and practice problems.
- Completing the Square, Step by Step
Learn completing the square: why the method works geometrically, how to handle a leading coefficient, and how it produces vertex form and the quadratic formula.