Skip to content

Quadratic equations, solved step by step.

Learn to solve quadratic equations by factorising and the quadratic formula, use the discriminant, and avoid common mistakes, with solved examples.

Start learning

Free to start. Works in your browser, no download.

What is a quadratic equation?

A quadratic equation has the form ax² + bx + c = 0, where a is not zero. It has at most two roots. You can solve it by factorising, completing the square or the quadratic formula, and the discriminant b² − 4ac tells you how many real roots to expect.

Key formulas and facts

  • Standard form: ax² + bx + c = 0, with a ≠ 0
  • Quadratic formula: x = −b ± √(b² − 4ac) over 2a
  • Discriminant: D = b² − 4ac
  • D > 0 gives two real roots, D = 0 one repeated root, D < 0 no real roots
  • Sum of roots = −b over a and product of roots = c over a

How to solve any question on it

  1. 1Rearrange the equation so one side is 0, then read off a, b and c.
  2. 2Work out the discriminant to see how many real roots there are.
  3. 3Try factorising first; if the numbers do not split neatly, use the quadratic formula.
  4. 4Check each root by putting it back into the original equation.

Solved examples

Solving by factorising

Solve x² − 7x + 12 = 0.

  1. 1Look for two numbers that multiply to 12 and add up to −7: they are −3 and −4.
  2. 2Write the equation as (x − 3)(x − 4) = 0.
  3. 3A product is zero only if a factor is zero, so x − 3 = 0 or x − 4 = 0.
  4. 4Check x = 3: 9 − 21 + 12 = 0.

Answerx = 3 or x = 4

Using the discriminant

Find the nature of the roots of 3x² − 2x + 5 = 0.

  1. 1Read off a = 3, b = −2 and c = 5.
  2. 2D = b² − 4ac = (−2)² − 4 × 3 × 5 = 4 − 60 = −56.
  3. 3D is negative, so the equation has no real roots.

AnswerNo real roots, because D = −56

Mistakes to avoid

Questions students ask

What is the discriminant of a quadratic equation?

It is D = b² − 4ac. A positive D means two real roots, D = 0 means one repeated root, and a negative D means no real roots.

Which method should I use to solve a quadratic equation?

Try factorising first, because it is quickest when it works. If the numbers do not split neatly, the quadratic formula always works.

Maths homework help