Salam Academy
Quadratics · Subtopic 2 of 5

Solving Quadratic Equations

Three ways to solve ax2+bx+c=0ax^2+bx+c=0 (factorising, completing the square and the formula), choosing the quickest, giving exact answers, and spotting quadratics in disguise such as x4−5x2+4=0x^4-5x^2+4=0.

Cambridge 9709 Paper 1Edexcel 9MA0 Paper 1Edexcel 9MA0 Paper 2AQA 7357 Paper 1AQA 7357 Paper 2AQA 7357 Paper 3≈ 45 minRevision 5 · updated 2026-10-27
Section 1 of 15

Learning objectives

  • Rearrange an equation into the form ax2+bx+c=0ax^2+bx+c=0 and solve it by factorising.
  • Solve by completing the square or by the quadratic formula, giving exact answers with surds.
  • Choose the quickest method for a given equation.
  • Solve equations that are quadratic in x2x^2, x\sqrt x, axa^x or a bracket, and reject impossible values.
Pause and think

If A×B=0A\times B=0, what can you say about AA and BB? Is the same true if A×B=6A\times B=6?

Section 2 of 15

Core idea

Start hereThe garden puzzle

A rectangular vegetable patch is 33 m longer than it is wide, and its area must be exactly 4040 m². How wide should it be? Call the width xx. Then the length is x+3x+3 and the area is x(x+3)=40x(x+3)=40. You can't just "divide to get xx", because xx appears twice (x2+3xx^2+3x). Trial and error might find 55, but would you be sure there isn't another answer, or that 55 isn't really 4.984.98? This lesson gives three methods that find every solution, with certainty.

The big idea

To solve a quadratic equation, first rearrange it to ax2+bx+c=0ax^2+bx+c=0. Then use one of three methods: factorise (fast when it works), complete the square, or use the quadratic formula x=−b±b2−4ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} (always works). The solutions are called roots; on a graph they are where the curve meets the xx-axis.

1. What "solving" means

A root (or solution) of an equation is a value of xx that makes it true. For x2+3x−40=0x^2+3x-40=0, x=5x=5 is a root because 25+15−40=025+15-40=0. A quadratic equation has at most two real roots. Graphically, the roots of ax2+bx+c=0ax^2+bx+c=0 are the xx-coordinates where y=ax2+bx+cy=ax^2+bx+c crosses the xx-axis (where y=0y=0).

The roots are where the curve meets the x-axis
12345−11234560xyy = x² − 5x + 6x = 2x = 3
On the xx-axis, y=0y=0. So the points where the graph crosses the axis are exactly the solutions of x2−5x+6=0x^2-5x+6=0.
Key takeawayAlways get zero on one side first Every method below needs the form ax2+bx+c=0ax^2+bx+c=0. For the garden: x(x+3)=40x(x+3)=40 becomes x2+3x=40x^2+3x=40, then x2+3x−40=0x^2+3x-40=0 (subtract 4040 from both sides).

2. The zero-product property

Factorising works because of one simple fact about multiplication:

If AB=0AB=0, then A=0A=0 or B=0B=0
  1. AB=0AB=0
    Suppose two numbers multiply to zero.
  2. If A≠0:ABA=0A\text{If }A\neq0:\quad\frac{AB}{A}=\frac0A
    We are allowed to divide by AA because it isn't zero.
  3. B=0B=0
    Simplify both sides.
So either A=0A=0 already, or (if not) BB must be 00. Zero is the only number with this property: if AB=6AB=6, AA and BB could be anything.
Common misconception(x−2)(x+5)=6(x-2)(x+5)=6 does not mean x−2=6x-2=6 The zero-product property only works with zero. Expand and rearrange first: x2+3x−10=6⇒x2+3x−16=0x^2+3x-10=6\Rightarrow x^2+3x-16=0.

3. Method 1: factorising (when a = 1)

Expanding (x+m)(x+n)(x+m)(x+n) shows what to look for:

The pattern behind factorising
  1. (x+m)(x+n)=x2+nx+mx+mn(x+m)(x+n)=x^2+nx+mx+mn
    Multiply out: four products.
  2. =x2+(m+n)x+mn=x^2+(m+n)x+mn
    Collect the two xx terms.
To factorise x2+bx+cx^2+bx+c, find two numbers mm and nn that multiply to cc and add to bb.
Worked exampleThe garden: x2+3x−40=0x^2+3x-40=0

Solve x2+3x−40=0x^2+3x-40=0 and find the garden's width.

Goal
Find all roots, then choose the one that makes sense.
Strategy
Look for two numbers with product −40-40 and sum 33.
  1. Factor pairs of −40-40: (1,−40),(−1,40),(2,−20),(−2,20),(4,−10),(−4,10),(5,−8),(−5,8)(1,-40),(-1,40),(2,-20),(-2,20),(4,-10),(-4,10),(5,-8),(-5,8). Only −5+8=3-5+8=3.

    One number must be negative since the product is negative.
  2. (x−5)(x+8)=0(x-5)(x+8)=0
    m=−5m=-5, n=8n=8.
  3. x−5=0orx+8=0x-5=0\quad\text{or}\quad x+8=0
    Zero-product property.
  4. x=5orx=−8x=5\quad\text{or}\quad x=-8
    Solve each linear equation.
AnswerRoots 55 and −8-8. A width can't be negative, so the garden is 55 m wide (and 88 m long).
✓ Check5×8=405\times8=40 ✓. Also (−8)2+3(−8)−40=64−24−40=0(-8)^2+3(-8)-40=64-24-40=0 ✓, so −8-8 is a genuine root, just not a sensible width.

4. Factorising when a ≠ 1: splitting the middle term

For ax2+bx+cax^2+bx+c, multiply a×ca\times c. Find two numbers that multiply to acac and add to bb; use them to split bxbx into two terms, then factorise in pairs. Why does this work? (px+q)(rx+s)=prx2+(ps+qr)x+qs(px+q)(rx+s)=prx^2+(ps+qr)x+qs, and the two middle parts psps and qrqr multiply to pqrs=(pr)(qs)=acpqrs=(pr)(qs)=ac.

Worked example2x2+7x+3=02x^2+7x+3=0

Solve 2x2+7x+3=02x^2+7x+3=0 by factorising.

Goal
Write the left side as two brackets, then use the zero-product property.
Strategy
ac=6ac=6; find a pair with product 66 and sum 77.
  1. 66 and 11: 6×1=66\times1=6, 6+1=76+1=7 ✓.

  2. 2x2+6x+x+3=02x^2+6x+x+3=0
    Split 7x7x into 6x+x6x+x.
  3. 2x(x+3)+1(x+3)=02x(x+3)+1(x+3)=0
    Factor each pair; the brackets must match.
  4. (2x+1)(x+3)=0(2x+1)(x+3)=0
    Take out the common bracket (x+3)(x+3).
  5. x=−12orx=−3x=-\tfrac12\quad\text{or}\quad x=-3
    Set each bracket to zero.
Answerx=−12x=-\frac12 or x=−3x=-3.
✓ Checkx=−12x=-\frac12: 2⋅14−72+3=12−72+3=02\cdot\frac14-\frac72+3=\frac12-\frac72+3=0 ✓.

5. Method 2: completing the square

This works even when factorising fails. Write the quadratic as (x+p)2+q(x+p)^2+q, move qq across, and square-root.

Worked examplex2+6x−2=0x^2+6x-2=0

Solve x2+6x−2=0x^2+6x-2=0, exactly.

Goal
Roots in surd form.
Strategy
Integer factor pairs of −2-2 don't add to 66, so complete the square.
  1. (x+3)2−9−2=0(x+3)^2-9-2=0
    Halve 66, square, take away.
  2. (x+3)2=11(x+3)^2=11
    Add 1111 to both sides.
  3. x+3=±11x+3=\pm\sqrt{11}
    Square root, both signs.
  4. x=−3±11x=-3\pm\sqrt{11}
    Subtract 33.
Answerx=−3+11≈0.317x=-3+\sqrt{11}\approx0.317 or x=−3−11≈−6.317x=-3-\sqrt{11}\approx-6.317.
✓ CheckSum of roots =−6=−b=-6=-b and product =9−11=−2=c=9-11=-2=c ✓ (for a=1a=1 the roots always add to −b-b and multiply to cc, from section 3).

6. Method 3: the quadratic formula

Quadratic formulaax2+bx+c=0  ⟹  x=−b±b2−4ac2aax^2+bx+c=0\;\Longrightarrow\;x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
where
±\pm
"plus or minus": there are two answers, one with ++ and one with −-.
b2−4acb^2-4ac
the discriminant; it must be ≥0\ge0 for real roots (next lesson).

It comes from completing the square on ax2+bx+c=0ax^2+bx+c=0 in general (proved fully in the completing-the-square lesson), so it always works.

Worked example3x2−5x−1=03x^2-5x-1=0

Solve 3x2−5x−1=03x^2-5x-1=0, giving answers to 3 significant figures.

Goal
Two decimal roots.
Strategy
Identify a,b,ca,b,c carefully (with signs) and substitute.
  1. a=3a=3, b=−5b=-5, c=−1c=-1.

  2. b2−4ac=(−5)2−4(3)(−1)=25+12=37b^2-4ac=(-5)^2-4(3)(-1)=25+12=37
    Work out the discriminant first; brackets protect the signs.
  3. x=−(−5)±372×3=5±376x=\frac{-(-5)\pm\sqrt{37}}{2\times3}=\frac{5\pm\sqrt{37}}6
    −b=+5-b=+5.
  4. x=5+6.0836=1.85orx=5−6.0836=−0.180x=\frac{5+6.083}{6}=1.85\quad\text{or}\quad x=\frac{5-6.083}6=-0.180
    37≈6.083\sqrt{37}\approx6.083.
Answerx=1.85x=1.85 or x=−0.180x=-0.180.
✓ Check3(1.847)2−5(1.847)−1=10.23−9.24−1≈03(1.847)^2-5(1.847)-1=10.23-9.24-1\approx0 ✓.
Common misconceptionSign slips with negative b With b=−5b=-5, −b=+5-b=+5 and b2=+25b^2=+25. Writing −52-5^2 on a calculator gives −25-25; always use brackets: (−5)2(-5)^2.
y = x² − 5x + c as c increases
12345−4−22460xy
Two roots, then one (the curve just touches), then none. The number under the square root in the formula, 25−4c25-4c, decides which.

7. Choosing a method

Which method should I use?

All three methods give the same roots. Pick the quickest that works; the formula is the universal fallback.

Common misconceptionNever divide both sides by xx From x2=5xx^2=5x, dividing by xx gives only x=5x=5 and loses x=0x=0. Instead rearrange: x2−5x=0⇒x(x−5)=0⇒x=0x^2-5x=0\Rightarrow x(x-5)=0\Rightarrow x=0 or 55.

8. Disguised quadratics

Worked examplex4−5x2+4=0x^4-5x^2+4=0

Solve x4−5x2+4=0x^4-5x^2+4=0.

Goal
All real xx.
Strategy
x4=(x2)2x^4=(x^2)^2, so substitute u=x2u=x^2 to get an ordinary quadratic.
  1. u2−5u+4=0u^2-5u+4=0
    Let u=x2u=x^2, so x4=u2x^4=u^2.
  2. (u−1)(u−4)=0(u-1)(u-4)=0
    Product 44, sum −5-5: −1,−4-1,-4.
  3. u=1oru=4u=1\quad\text{or}\quad u=4
    Zero-product property.
  4. x2=1⇒x=±1;x2=4⇒x=±2x^2=1\Rightarrow x=\pm1;\qquad x^2=4\Rightarrow x=\pm2
    Undo the substitution; remember both square roots.
Answerx=−2,−1,1,2x=-2,-1,1,2 (four roots: a quartic can have up to four).
✓ Checkx=2x=2: 16−20+4=016-20+4=0 ✓; x=−1x=-1: 1−5+4=01-5+4=0 ✓.
Pause and think

Solve x−5x+6=0x-5\sqrt x+6=0.

Summary

  • Rearrange to =0=0 first.
  • Zero-product property: AB=0⇒A=0AB=0\Rightarrow A=0 or B=0B=0.
  • Factorise: numbers multiplying to acac and adding to bb.
  • Complete the square or use the formula when factorising fails.
  • Substitute uu for disguised quadratics; never divide by xx.
Key words
Root
A value that makes the equation true; where the graph meets the x-axis.
Factorise
Write as a product of brackets.
Zero-product property
If AB=0AB=0 then A=0A=0 or B=0B=0.
Discriminant
b2−4acb^2-4ac.
HistoryA rule in verse. In 628 CE the Indian mathematician Brahmagupta described, in words, a rule for solving quadratic equations that is equivalent to the formula we use today. Mathematicians in that era often wrote their rules as poetry so that students could memorise them.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, quadratics in disguise, explore the graph, common mistakes, exam tip and more. Your answers are checked and your progress is saved.