Quadratic Formula vs Factoring: When to Use Each
Factoring is quick when it works, and the quadratic formula always works. The skill is knowing which to reach for before you waste a minute hunting for factors that don’t exist. There is a ten-second check that settles it: the discriminant.
A three-step decision
Step 1: look for a shortcut
- No constant term (c = 0), like 3x² − 12x = 0: factor out x to get 3x(x − 4) = 0.
- No x term (b = 0), like x² − 25 = 0: isolate x² and take square roots.
- Perfect square or difference of squares, like x² + 6x + 9 or x² − 49: factor on sight.
Step 2: otherwise, check the discriminant
Write the equation as ax² + bx + c = 0 and compute D = b² − 4ac. It also predicts the kind of answer you will get:
| Value of D | What it means | Best method |
|---|---|---|
| A perfect square (1, 4, 9, 25…) | Two rational roots; the quadratic factors | Factor, or use the formula for a sure result |
| Positive, not a perfect square | Two real roots, irrational | Quadratic formula (it will not factor neatly) |
| Zero | One repeated root | Factor as a perfect square, (x + k)² |
| Negative | No real roots; two complex roots | Quadratic formula (or stop, if only real roots are asked for) |
Step 3: factor only if it will factor, and it is easy
If D is a perfect square and the coefficients are small, especially when a = 1, factor. If a is not 1 and the numbers are large, the formula is faster than trial and error, and the discriminant has already told you the answer will be exact.
Worked examples
| Equation | b² − 4ac | Verdict | Solutions |
|---|---|---|---|
| x² − 5x + 6 = 0 | 1 | Perfect square: factor | (x − 2)(x − 3), so x = 2 or 3 |
| 6x² + x − 12 = 0 | 289 = 17² | Factorable, but hard to spot | (2x + 3)(3x − 4), so x = −3/2 or 4/3 |
| x² − 2x − 1 = 0 | 8 | Not a perfect square: use the formula | x = 1 ± √2 |
| x² + 6x + 9 = 0 | 0 | Perfect square trinomial | (x + 3)², so x = −3 |
| 3x² + 2x + 5 = 0 | −56 | No real roots: use the formula | x = (−1 ± i√14)/3 |
Why the discriminant saves time. Take 6x² + x − 12. Finding two numbers that multiply to 6 × (−12) = −72 and add to 1 means testing many pairs. But D = 1 + 288 = 289, which is 17², so the quadratic does factor. The formula gives x = (−1 ± 17)/12, which is 4/3 or −3/2, and those roots hand you the brackets: (3x − 4)(2x + 3).
Compare x² − 2x − 1. Here D = 8 is not a perfect square, so no amount of searching will find whole-number factors. Go straight to x = (2 ± √8)/2 = 1 ± √2.
When each method wins
- Factor when a = 1 with small integers, when a shortcut from Step 1 applies, or when you can see the factor pairs quickly.
- Use the quadratic formula when a is not 1 and the numbers are large, when the coefficients are fractions or decimals, when the roots are irrational or complex, or when you have spent half a minute on factoring with nothing to show.
- Complete the square when you need vertex form or the center and radius of a circle. It is also how the quadratic formula is derived.
Mistakes to avoid
- Not setting the equation to zero first. Both methods need ax² + bx + c = 0.
- Sign errors with −b. If b = −5, then −b = 5.
- Dividing only part of the numerator by 2a. The whole numerator −b ± √D is divided by 2a.
- Stopping at one root. Give both the + and the − solution unless D = 0.
- Reading “it doesn’t factor” as “no solution”. It may have perfectly good irrational roots.
To check any answer, the quadratic equation calculator shows the discriminant, every step of the formula, and the vertex. The full formula and its companions are on the algebra formulas cheat sheet.
Examples verified by substitution. Last reviewed October 2026.
Frequently Asked Questions
-
When should I use the quadratic formula instead of factoring?
Use the quadratic formula when the discriminant is not a perfect square, when the coefficients are large or fractional, or when factoring is taking more than about thirty seconds. Factor when a shortcut applies or when the numbers are small and the discriminant is a perfect square.
-
How do I know if a quadratic can be factored?
For a quadratic with whole-number coefficients, calculate the discriminant b squared minus 4ac. If it is a perfect square, such as 1, 4, 9, 16 or 25, the quadratic factors into brackets with whole-number coefficients. If it is not a perfect square, it will not factor that way.
-
Does factoring give the same answer as the quadratic formula?
Yes. Both methods find the same roots. Factoring is a faster route when the quadratic factors neatly, and the formula is a method that works for every quadratic.
-
Can the quadratic formula solve every quadratic equation?
Yes. If the discriminant is negative, the formula gives two complex roots involving i. If it is zero you get one repeated root, and if it is positive you get two real roots.