A quadratic equation has four common solving methods. Factoring is fastest when the numbers split cleanly. The quadratic formula,
solving quadratic equations
How to Solve Quadratic Equations: Factoring, the Quadratic Formula, Completing the Square and Graphing
On this page
- How to solve a quadratic equation: pick the method first
- Solving by factoring
- The quadratic formula, step by step
- Completing the square to solve
- Solving by square roots and by graphing
- Quadratic equation examples, solved
- Word problems that become quadratics
- Check the roots by substitution
- When the quadratics set is due
How to solve a quadratic equation: pick the method first
How to solve a quadratic equation depends on what the numbers actually look like, not on memorizing one universal recipe and forcing every equation through it. Solving quadratic equations quickly means learning which method an equation is asking for before writing anything down — the four methods below all reach the same roots, but three of them are faster than the fourth whenever the numbers cooperate. This page is about the solving side only; if what you actually need is standard, vertex and factored form, compared side by side, that's a separate page, because reading information off an equation and solving it for its roots are two different skills that happen to share the same starting expression.
| What you see | Method | Why |
|---|---|---|
| splits into two integers that add to | Factoring | Fastest, no formula needed |
| The question asks for the vertex, maximum or minimum | Completing the square | Reads the vertex straight off |
| The equation has no term () | Square roots | Isolate , then root both sides |
| Nothing factors and the numbers are ugly | The quadratic formula | Works for any , , — including irrational or complex roots |
That triage is how to solve quadratic equations by formula only when the formula is actually the fastest route on offer — glance at and first, and reach for the formula last, not first. None of the four methods is more "correct" than the others: every one of them, applied to the same equation, lands on the identical pair of roots, because each method is just a different route through the same underlying algebra. The only thing that changes from method to method is how many lines it takes to get there — and on a timed test, lines saved are the entire point of choosing well.
Solving by factoring
a = 1: two numbers that multiply to c and add to b
For , find two numbers that multiply to and add to : those are and . So
a ≠ 1: the AC method
For , multiply , then find two numbers that multiply to and add to : those are and . Split the middle term and factor by grouping:
Both examples work because of the same underlying idea: multiplying two binomials always produces a middle term that's a sum, so factoring is really just running FOIL backward. The AC method exists only to handle the case where makes that sum harder to spot by eye — split the middle term using the pair you found, then group and factor each half, and the same binomial appears in both groups every time the numbers were chosen correctly.
The quadratic formula, step by step
What is the quadratic formula?
The quadratic formula solves any quadratic equation written in standard form, :
It always works, even when factoring stalls or the roots turn out to be irrational or complex — the one method guaranteed to work regardless of what , and turn out to be, which is exactly why it's the fallback rather than the first move in the table above.
How do you solve quadratic equations using the quadratic formula? Five moves, applied to the same equation every time.
Identify a, b and c (sign errors start here)
For : , , . The most common error at this step is dropping a negative sign when or is negative — write them down before substituting, don't carry them in your head.
Substitute into the formula
Solving quadratic equations using the quadratic formula starts with a direct substitution:
Simplify the discriminant
Two roots, one root, or none: what b² − 4ac tells you
The discriminant tells you what kind of roots you're about to get, before you finish solving — it's worth computing on its own, as a quick preview, before running the rest of the formula, especially on a timed test where a negative result means the remaining arithmetic will involve an imaginary number.
- Positive ( above): two distinct real roots.
- Zero: exactly one real root (a repeated root, the vertex touches the x-axis).
- Negative: no real roots — two complex roots instead. For , the discriminant is , so the roots are .
A full worked solve with irrational roots
Continuing : simplify the radical first, , then reduce:
Notice that doesn't factor over the integers — there's no pair of whole numbers that multiplies to 1 and adds to 4 — which is exactly the signal from the method table above to reach for the formula instead of hunting for factors that don't exist. The formula never needs that judgment call; it produces the same two roots whether an equation factors neatly or not, which is the whole reason it's the guaranteed fallback.
Completing the square to solve
Completing the square solves a quadratic without factoring and without the formula, by rebuilding one side into a perfect square. Take :
- Isolate the variable terms: .
- Take half of () and square it ().
- Add 1 to both sides:
. - The left side is now a perfect square: .
- Square root both sides: .
- Solve: , giving or .
Check:
Solving by square roots and by graphing
x² = k: isolate and root
When an equation has no term at all, isolate and take the square root of both sides — remembering the , since both a positive and a negative number square to the same result. For : add 27, ; divide by 3, ; root both sides, . Check:
Reading roots from a graph
A graphed parabola crosses the x-axis exactly at its roots, so once the curve is drawn accurately, the roots can be read off directly without any algebra. For , a table of points shows where the curve crosses zero:
| -3 | -2 | -1 | 0 | 1 | 2 | 3 | |
|---|---|---|---|---|---|---|---|
| 5 | 0 | -3 | -4 | -3 | 0 | 5 |
Scroll the table sideways to see every column.
The curve crosses at and — the same two roots factoring gives for
Quadratic equation examples, solved
These quadratic equation examples run through every method above on fresh numbers, so you can match a new problem to the method it needs on sight. One of the examples below (5) needs the quadratic formula outright and one (7) has no real roots; the rest factor, root out directly, or reduce to one repeated root.
- — factors:
, so . Check: ; . - — a perfect square: , so (a repeated root). Check: .
- — AC method, , numbers and :
, so . Check: ; . - — factor out : , so . Check: ; .
- — formula: discriminant , so . Check (decimal): ;
. - — multiply by first: , so
, giving . Check in the original: ; . - — no real solution: , so . The discriminant is , negative, which flags the complex roots before any solving happens.
- — square roots: , so . Check:
.
Read back through the eight: four factor over the integers (1, 2, 4, 6), one needs the AC method (3), one is genuinely irrational (5), one has no real solution (7), and one roots out directly with no factoring at all (8). That spread is deliberate — a real problem set rarely sticks to one method for every item, and recognizing which case an equation belongs to, before picking up a pencil, is most of the actual skill this page teaches, more than any single method's mechanics.
Word problems that become quadratics
A word problem becomes a quadratic the moment two quantities get multiplied together and one of them depends on the other — length times width, or velocity and time both feeding into a height formula. The algebra afterward is identical to every worked example above; the only new step is translating the sentence into an equation in the first place.
Projectile height: when does it land?
A ball is thrown upward from a 6-foot platform with an initial velocity of 32 ft/s:
Area: find the missing dimension
A rectangular garden's length is 3 feet more than its width, and its area is 70 square feet. Let the width be , so the length is : , giving . Factoring:
Both word problems above turn a sentence into a quadratic and then solve it, which is one direction of a wider pattern worth noticing: many relationships that start out linear turn quadratic the moment area, or the square of a variable, enters the picture. Compare that with direct and quadratic variation, where the same question — does one quantity depend on the square of another — gets asked about tables, graphs and equations instead of word problems.
Check the roots by substitution
Checking a quadratic's roots uses the identical method as checking any other equation's solution: substitute the value back into the original equation and confirm both sides match, which is checking a root by substitution applied to a squared variable instead of a linear one. Example 6 above did exactly this in the original, unmultiplied equation, , rather than the flipped version used to factor it — substituting into the original is what actually confirms the answer, since a sign error in the flip would otherwise go undetected. Every worked example on this page ends the same way, with a substitution check, for the same reason a solving method by itself only tells you an answer is plausible; the check is what actually tells you it's right, not merely reasonable-looking. Decimal roots, like example 5's , only check approximately once rounded — the exact surd form checks exactly, which is why it's kept as the primary answer and the decimal is offered only as a sanity check.
When the quadratics set is due
Four methods are learnable in an evening once you know which one a given equation is asking for — the triage table near the top of this page, applied a dozen times, is usually enough to make the choice automatic. A problem set with thirty quadratics — mixed methods, word problems, and a few with complex roots — due by tomorrow is a different kind of task, and it's where most students go looking for a math set worked with every step shown instead of grinding through every item by hand. GradeDraft's math desk, part of our homework help across math and science, solves sets like this with every step shown, not just a final boxed answer, priced from $25 per problem after a quick look at the set.
Send the assignment or a photo of it. You'll get a per-problem quote back within 2 hours (8 am–11 pm ET) and full worked steps with the delivery, the same format used above.
Get my quadratics set solvedFAQ
Quadratic equation questions
Replies within 2 hours, 8 am–11 pm ET, 7 days a week
01What is the quadratic formula?
The quadratic formula,
02How do you solve a quadratic equation?
Pick the method the numbers suggest: factor if splits cleanly into two integers that add to , complete the square if the question wants the vertex, isolate and root if there's no term, and use the quadratic formula whenever nothing else applies cleanly. All four methods reach the same roots; they differ only in speed for a given equation, and a graph, while slower, confirms any of the other three visually if the algebra is in doubt.
03What is a quadratic equation?
A quadratic equation is any equation that can be written as with — an equation where the highest power of the variable is 2. Solving it means finding the x-values that make it true, which are also the points where the related parabola, , crosses the x-axis. Drop the squared term entirely and the equation is linear instead; raise the highest power to 3 and it becomes cubic — quadratic sits specifically at power 2, no higher and no lower.
04Can a quadratic equation have no real solution?
Yes. When the discriminant is negative, the parabola never crosses the x-axis, and the two solutions are complex numbers instead of real ones, as in example 7 above. The equation still has exactly two solutions — they simply aren't points that plot on an ordinary x-y grid. Graphically, a negative discriminant means the whole parabola sits above the x-axis (if it opens upward) or entirely below it (if it opens downward), never touching zero anywhere.
05When should you use the quadratic formula instead of factoring?
Use the formula the moment factoring stalls past a few seconds of trying — when doesn't split into two integers that add to , or when the roots turn out to be irrational or complex. Factoring is faster whenever the numbers cooperate, but the formula is the only method guaranteed to work on every quadratic, ugly numbers included, so it's worth reaching for once a factoring attempt has failed rather than testing three or four more integer pairs on guesswork.