Every quadratic can be solved three ways: factoring, the quadratic formula, and completing the square. Most students learn all three, then face the unanswered question: given an equation, which one do you reach for? Picking badly can turn a thirty-second job into five minutes of forcing numbers that were never going to fit.

Factoring is a shortcut that exists only when the roots are visible. The formula is the machine that works on everything. Completing the square reveals the vertex. This guide compares the three on one equation and shows where the free Math Formula Reference and Solver on Ovatly fits: it runs the formula route and checks what the hand methods produce.

Contents

  • Quick answer
  • Three methods, three different jobs
  • Factoring: a shortcut that is sometimes there
  • The quadratic formula: the method that always works
  • Completing the square: the road to the vertex
  • How to choose and solve, step by step
  • Worked example: one equation, three ways
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Try factoring first only when two whole numbers obviously multiply to give c and add to give b. If nothing shows within a few seconds, use the quadratic formula: it solves every quadratic, and the Math Formula Reference and Solver runs it with discriminant, roots, vertex and steps shown. Choose completing the square when the question is really about the vertex, because it ends in vertex form. Check your roots against the solver before trusting them.

Three methods, three different jobs

The three methods are not rivals. They answer slightly different questions. Factoring answers "what are the roots?" for equations built from tidy whole numbers. The formula answers the same question for any equation at all, at the cost of more arithmetic. Completing the square answers "what does this parabola look like?" by rewriting the equation so the turning point can be read off, with the roots falling out.

That is why teachers keep all three: a student who only factors is stranded when the roots stop being whole numbers. Knowing which job each method does is the skill.

Factoring: a shortcut that is sometimes there

Factoring works backwards: if a quadratic came from multiplying two brackets, factoring unmultiplies it. For x^2 - 5x + 6 = 0 you look for two numbers that multiply to 6 and add to -5. The pair -2 and -3 fits, giving (x - 2)(x - 3) = 0 and roots 2 and 3.

When the pair is visible, nothing is faster. The trouble is that visibility is luck: change the constant slightly and the roots stop being whole numbers, and there is no pair to find. Students waste the most time hunting for factors that do not exist. Give it a short, honest look, ten or fifteen seconds, then move on.

The quadratic formula: the method that always works

The formula takes the coefficients a, b and c and returns the roots through the discriminant, D = b^2 - 4ac. The sign of D tells you what kind of roots to expect: positive, two real roots; zero, one repeated root; negative, no real roots, where the solver gives the complex roots instead.

This is the route the Math Formula Reference and Solver takes: enter a quadratic and it reports the discriminant, the roots, the vertex and a graph sketch, with working steps for each. That makes it two tools in one: a solver when you need the answer, a checker when you want to know whether your hand method survived.

Completing the square: the road to the vertex

Completing the square rewrites the quadratic as a squared bracket plus a constant. It is the longest method, with the most places to drop a sign or a half: why use it when the formula is shorter? Because of the form it produces. From (x - 2.5)^2 - 0.25 you can read the vertex (2.5, -0.25), because the squared part is zero at x = 2.5 and the constant is the height there.

So it is the right choice when the vertex is the point: sketching the graph, or finding a maximum or minimum. When only roots are needed, it is rarely the quickest road.

How to choose and solve, step by step

  1. Look at the equation briefly. Can you see two whole numbers that multiply to c and add to b? If yes, factor and read off the roots.
  2. If no pair appears, stop hunting. Take the formula route, on paper or in the Math Formula Reference and Solver, noting the discriminant first: its sign tells you what roots are coming.
  3. If the question asks for the vertex, a sketch or a maximum or minimum, complete the square and read the vertex off the squared form.
  4. Check your roots: substitute each back into the original equation, or compare them with the solver's. A correct root makes the equation balance to zero.
  5. Sanity-check: the vertex should sit midway between your roots. If it does not, something is wrong.

Worked example: one equation, three ways

Take x^2 - 5x + 6 = 0, the solver's worked example.

By factoring: -2 and -3 multiply to 6 and add to -5, so the equation is (x - 2)(x - 3) = 0 and the roots are x = 2 and x = 3.

By the formula: D = 25 - 24 = 1, so x = (5 + 1)/2 = 3 and x = (5 - 1)/2 = 2. Same roots, no luck required.

By completing the square: move the constant across, x^2 - 5x = -6. Half of -5 is -2.5; add its square, 6.25, to both sides: (x - 2.5)^2 = 0.25. Square roots give x - 2.5 = 0.5 or -0.5, so x = 3 and x = 2 again, and in vertex form this is (x - 2.5)^2 - 0.25, vertex (2.5, -0.25).

The solver reports exactly this: D = 1, roots 3 and 2, vertex (2.5, -0.25), plus the graph sketch. Three hand methods, one formula route, zero disagreements.

Limitations and honest tradeoffs

The solver does not factor quadratics and does not complete the square: those are hand methods, and if a course asks you to show them, the working has to be yours. It takes the formula route and shows its steps, which makes it a strong checker but not a substitute for the hand methods it checks.

It also does no units handling, so a problem must use one unit throughout, and it reports results to at most 10 significant digits.

Common mistakes

  • Hunting for factors that do not exist. If the roots are not whole numbers, no integer pair will multiply and add correctly. Give it a short look, then switch.
  • Completing the square for every problem. When only the roots are asked for, it is the slowest route. Save it for vertex questions.
  • Dropping the plus-or-minus. The square root in the formula produces two roots. Writing only the positive branch throws half the answer away.
  • Trusting an unchecked answer. Roots never substituted back or compared with the solver carry every slip into the final line.

FAQs

Does the Math Formula Reference and Solver factor quadratics or complete the square for me? No. Factoring and completing the square are hand methods you do on paper. The solver takes the formula route: it reports the discriminant, the roots, the vertex and a graph sketch with working steps, so it checks the answers your hand methods produce.

When is factoring the best method? When the roots are whole numbers that are easy to spot: two numbers that multiply to give c and add to give b. In x^2 - 5x + 6 = 0, -2 and -3 multiply to 6 and add to -5, so the factors are (x - 2)(x - 3) and the roots are 2 and 3. If no pair shows itself quickly, factoring becomes guessing.

Why learn completing the square if the formula exists? Because it produces the vertex form. Completing the square on x^2 - 5x + 6 gives (x - 2.5)^2 - 0.25, and the vertex (2.5, -0.25) can be read straight off it. The formula gives roots; completing the square gives the shape's turning point in the same move.

What does the solver show for a quadratic? The discriminant, the roots, the vertex and a graph sketch, each with working steps. For x^2 - 5x + 6 = 0 it reports D = 25 - 24 = 1, roots x = 3 and x = 2, and vertex (2.5, -0.25).

What if the discriminant is negative? Then the quadratic has no real roots. That is not a dead end: the solver gives the complex roots instead. A negative discriminant is information, not a sign that you chose the wrong method.

Conclusion

Factor when the roots are in plain sight, use the formula otherwise, and complete the square when the vertex is what you need. The Math Formula Reference and Solver covers the formula route with its steps shown, which makes it the natural referee for the other two methods. The mistakes that survive all three methods are usually sign slips, not method choices, and our companion guide on quadratic mistakes and the discriminant takes them apart one by one. For more guides in this series, see our Education and Research Tools guides.