Math Solver Free

Algebra

When to Use the Quadratic Formula (vs Factoring)

Math Solver Free Team

Students studying complex equations together on a classroom chalkboard
When to use the quadratic formula flowchart: first check for no x term, then easy factors, then completing the square, and use the quadratic formula for everything else

Every quadratic equation can be solved four ways — square roots, factoring, completing the square, and the quadratic formula — and every method gives the same answers. The real skill is not solving; it is choosing. The right method turns a five-minute struggle into thirty seconds; the wrong one is how marks are lost. This guide is the decision companion to our step-by-step solving guide: it teaches you when to use the quadratic formula, when a faster method beats it, and how the discriminant tells you the answer before you start.

When to use the quadratic formula: the 30-second decision check

First, put the equation in standard form, ax² + bx + c = 0. Then run these four checks in order — the whole answer to when to use the quadratic formula, in thirty seconds:

  1. Is there no x term (b = 0), or is the equation already a square equal to a number, like (x − h)² = k? Use square roots. Undo the square, remember the ±, and you are done in two lines.
  2. Does it factor with small whole numbers? Use factoring. If two numbers that multiply to c (or a × c) and add to b are visible within seconds, factoring is fastest.
  3. Is a = 1 with b even, or does the question ask for vertex form? Use completing the square. An even b keeps the arithmetic clean, and this method also hands you the vertex form (x − h)² + k.
  4. Anything else? Use the quadratic formula. Decimals, fractions, irrational answers, stubborn coefficients — the formula x = (−b ± √(b² − 4ac)) / 2a handles all of it, because the quadratic formula always works. When in doubt, this is the safe default.

The formula is last not because it is weak, but because it is the guarantee; the three checks before it look for a shortcut. If none appears, use the formula — our quadratic equation solver shows the substitution step by step.

When do you use the quadratic formula?

Students ask this most as: "When do you use the quadratic formula instead of just factoring?" Two-part answer: you may use it on any quadratic — it never fails — and you should reach for it in these situations:

  • Factoring does not show itself quickly. If ten seconds of factor-hunting produces nothing, the formula beats another minute of guessing.
  • The coefficients are decimals or fractions. Factoring 0.5x² − 1.7x + 0.6 = 0 by inspection is miserable; the formula does not care.
  • You expect irrational roots. If the answer involves a square root, like (5 ± √13) / 2, no factor pair exists.
  • You need a reliable check. Solved by factoring? Run the formula as a second method — two methods agreeing is the strongest verification there is, and our factoring calculator makes it quick.
  • The discriminant is negative. Only the formula (extended to complex numbers) can even state the answers then.

When is the quadratic formula used? Start with the discriminant

The sharpest answer to the shorter version — "When is the quadratic formula used?" — is: after a ten-second pre-check inside the formula itself. The discriminant, D = b² − 4ac, sits under the square root and predicts the whole problem:

  • D > 0: two different real roots.
  • D = 0: one repeated real root.
  • D < 0: no real roots. Never hunt for factors here.
  • D is a perfect square (0, 1, 4, 9, 16, 25, 36, …): with whole-number coefficients, the quadratic factors over the rationals — this predictor tells you factoring will succeed before you look.
  • D is positive but not a perfect square: the roots are irrational. Skip factoring and go straight to the formula.

Its sign tells you how many real answers exist; its being a perfect square tells you which method is quickest. The free OpenStax textbook works through this "choose the most appropriate method" routine in Solve Quadratic Equations Using the Quadratic Formula.

One worked example for each method — chosen on purpose

Each example below is begging for one method:

Square roots: (x − 4)² = 169

Already a square equal to a number, so check 1 fires. Take square roots, keeping both signs: x − 4 = 13 or x − 4 = −13, so x = 17 or x = −9. Check: (17 − 4)² = 13² = 169 ✓ and (−9 − 4)² = (−13)² = 169 ✓. The formula here would mean expanding the bracket first — wasted motion.

Factoring: x² + 5x + 6 = 0

Small whole numbers, and D = 25 − 24 = 1 is a perfect square — factoring will work. Two numbers that multiply to 6 and add to 5 are 2 and 3, so (x + 2)(x + 3) = 0, giving x = −2 or x = −3. Check: (−2)² + 5(−2) + 6 = 0 ✓ and (−3)² + 5(−3) + 6 = 0 ✓.

Completing the square: x² + 4x + 1 = 0

Here a = 1 and b = 4 is even, so check 3 applies — and D = 16 − 4 = 12 is not a perfect square, warning you off factor-hunting. Move the constant over: x² + 4x = −1. Add (4/2)² = 4 to both sides: x² + 4x + 4 = 3, which is (x + 2)² = 3. Take square roots: x + 2 = ±√3, so x = −2 ± √3 ≈ −0.268 or −3.732. This process, run generally, is how the formula is derived — the complete the square calculator shows each step.

Quadratic formula: x² − 5x + 3 = 0

No missing x term, no quick factor pair (D = 25 − 12 = 13, not a perfect square), b = −5 odd — formula territory. With a = 1, b = −5, c = 3: x = (5 ± √13) / 2, so x ≈ 4.303 or x ≈ 0.697. Check: 4.303² − 5(4.303) + 3 ≈ 18.516 − 21.515 + 3 ≈ 0 ✓. Irrational roots like these are what the formula exists for.

If 1/3 and −3/2 are the roots of a quadratic equation, then the equation is?

Forum questions sometimes run the problem backwards, giving the roots and asking for the equation. The tools are the sum and product of roots: for ax² + bx + c = 0, the sum is −b/a and the product is c/a. With roots 1/3 and −3/2:

  • Sum: 1/3 + (−3/2) = 2/6 − 9/6 = −7/6.
  • Product: (1/3) × (−3/2) = −1/2.
  • Build: every quadratic with these roots is a multiple of x² − (sum)x + (product) = x² + (7/6)x − 1/2 = 0.
  • Clear the fractions by multiplying through by 6: 6x² + 7x − 3 = 0.

Verify by solving it back: the discriminant is 49 + 72 = 121 = 11², so x = (−7 ± 11) / 12, giving x = 4/12 = 1/3 or x = −18/12 = −3/2 ✓. Both roots return, so the equation is right. For the full solving methods, see our companion guide, how to solve quadratic equations step by step.

Common mistakes when choosing and using the formula

  • Using the formula before setting the equation to zero. The formula reads a, b, and c from standard form only. For x² = 5x − 3, first write x² − 5x + 3 = 0.
  • Sign errors on −b. If b = −5, then −b = 5. Substitute b in brackets — (−5)², not −5².
  • Forgetting the ±. The ± produces both roots. Dropping it throws away half the answer — and half the marks.
  • Using the formula when square roots finish in two lines. For (x − 4)² = 169 or x² = 49, expanding is slow and error-prone.
  • Hunting for factors the discriminant already ruled out. If D is negative or not a perfect square, whole-number factors do not exist. Believe the pre-check.
  • Dividing only part of the numerator by 2a. The bar covers all of −b ± √(b² − 4ac); both terms are divided by 2a.
When to use the quadratic formula: the discriminant D = b^2 − 4ac predicts the roots — positive means two real roots, zero means one repeated root, negative means no real roots

The one-line summary

Square roots when the x term is missing or the square is already built; factoring when small whole numbers factor cleanly (the perfect-square discriminant promises they will); completing the square when a = 1, b is even, or you need vertex form; the quadratic formula for everything else — because it always works. Choose in that order, verify by substitution, and method choice will never cost you a problem again.

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team