Algebra

How to Solve Quadratic Equations — Three Methods

Factorising, completing the square and the quadratic formula — when each method works, and what the discriminant tells you before you start.

8 min readBy MathematicsCalculator TeamReviewed by MathematicsCalculator TeamLast updated: 21 November 2026

A quadratic equation has the form ax² + bx + c = 0. There are three standard ways to solve one — and one quick check that tells you what kind of answer to expect.

First: the discriminant

D = b² − 4ac. If D > 0 there are two real roots; D = 0 means one repeated root; D < 0 means no real roots (the solutions are complex). Ten seconds of arithmetic that prevents wasted effort.

Method 1 — Factorising (fastest, when it works)

x² − 5x + 6 = 0

Find two numbers that multiply to +6 and add to −5: −2 and −3.

(x − 2)(x − 3) = 0 → x = 2 or x = 3

Method 2 — The quadratic formula (always works)

x = (−b ± √(b² − 4ac)) ÷ 2a. Substitute carefully — most errors here are sign errors on b or forgetting that the whole numerator divides by 2a. For x² − 5x + 6: x = (5 ± √(25 − 24)) ÷ 2 = (5 ± 1) ÷ 2 → 3 or 2. Same answer, guaranteed route.

Method 3 — Completing the square

Rewrite as (x + p)² = q, then take square roots. Slower for solving, but it is how the formula is derived and how you find a parabola's vertex — worth learning once, properly.

The graph connection

The roots are where the parabola crosses the x-axis; the vertex sits exactly halfway between them at x = −b ÷ 2a. If a question asks for a maximum or minimum, it is asking for the vertex, not the roots.

Always check: substitute each root back into the original equation. Both sides should balance — a 20-second habit that catches nearly every slip.

Now try it with your numbers

The guide showed the method — the Quadratic Equation Solver applies it instantly, with the same steps written out for your values.

Open the Quadratic Equation Solver →

Keep learning

← All 12 guides