x² Topic guide
Factorising, the quadratic formula and completing the square: how each one works, and how to choose the right one for the question in front of you.
x = −b ± √b² − 4ac2a
Solves any quadratic ax² + bx + c = 0
On this page
The basics
A quadratic equation is one where the highest power of x is x². Every quadratic can be rearranged into the same standard form:
ax² + bx + c = 0, where a ≠ 0
The solutions (also called roots) are the values of x that make the equation true. On a graph, they’re where the curve y = ax² + bx + c crosses the x-axis. A quadratic can have two solutions, one repeated solution or no real solutions at all.
Key idea
Always rearrange so one side is 0 before you start. Every method relies on it.
Method 1
If the quadratic factorises, this is usually the quickest method. When a = 1, look for two numbers that multiply to give c and add to give b.
x² + 5x + 6 = 0
(x + 2)(x + 3) = 0
x = −2 or x = −3
This works because if two things multiply to make zero, one of them must be zero. So either x + 2 = 0 or x + 3 = 0.
Multiply a × c, find two numbers that multiply to that and add to b, then use them to split the middle term.
2x² + 7x + 3 = 0 (ac = 6: use 6 and 1)
2x² + 6x + x + 3 = 0
2x(x + 3) + 1(x + 3) = 0
(2x + 1)(x + 3) = 0 ⇒ x = −½ or x = −3
Method 2
The formula works for every quadratic, including ones that don’t factorise. Read off a, b and c carefully, signs included.
x = −b ± √b² − 4ac2a
For x² − 4x − 7 = 0: a = 1, b = −4, c = −7.
x = 4 ± √16 + 282 = 4 ± √442 = 2 ± √11
x ≈ 5.32 or x ≈ −1.32
Method 3
Rewrite the quadratic as a squared bracket plus a number. Halve the coefficient of x to get the bracket, then subtract that number squared:
x² + bx + c = (x + b2)² − (b2)² + c
For x² + 6x + 2 = 0:
(x + 3)² − 9 + 2 = 0
(x + 3)² = 7
x + 3 = ±√7 ⇒ x = −3 ± √7
Bonus
Completing the square also gives you the turning point. y = (x + 3)² − 7 has its minimum at (−3, −7).
How many solutions?
The part under the square root, b² − 4ac, is called the discriminant. It tells you how many real solutions there are before you solve anything:
The curve crosses the x-axis twice.
The curve just touches the x-axis.
The curve never reaches the x-axis.
Try it: move the sliders and watch the roots and the discriminant change together.
Δ = b² − 4ac = 16, so there are two distinct real roots: x = −1 and x = 3. Turning point (1, −4), a minimum.
Try first, then reveal
Have a go at each question yourself, then reveal the solution one step at a time.
Solve x² − x − 12 = 0.
Solve 3x² − 5x − 1 = 0, giving your answers to 2 decimal places.
Solve x⁴ − 5x² + 4 = 0.
Avoid these
Common mistake
Dividing by x: x² = 5x becomes x = 5, and the solution x = 0 is lost.
Do this instead
Rearrange and factorise: x² − 5x = 0, so x(x − 5) = 0 and x = 0 or 5.
Common mistake
Factorising before rearranging: trying to solve x² + 3x = 10 as it stands.
Do this instead
Make one side zero first: x² + 3x − 10 = 0, so (x + 5)(x − 2) = 0.
Common mistake
Forgetting the ± when square rooting: (x + 3)² = 7 gives only x = −3 + √7.
Do this instead
Write x + 3 = ±√7, which gives both x = −3 + √7 and x = −3 − √7.
Your turn
Work each one out on paper before you open the answer.
2 × 5 = 10 and 2 + 5 = 7, so (x + 2)(x + 5) = 0.
x = −2 or x = −5
Difference of two squares: (x − 3)(x + 3) = 0.
x = 3 or x = −3
ac = −12: use 4 and −3. 2x² + 4x − 3x − 6 = 2x(x + 2) − 3(x + 2) = (2x − 3)(x + 2).
x = 3/2 or x = −2
Complete the square: (x − 3)² − 9 + 4 = 0, so (x − 3)² = 5.
x = 3 ± √5
b² − 4ac = 9 + 20 = 29, so x = (−3 ± √29) ÷ 2.
x = 1.19 or x = −4.19
Equal roots means the discriminant is zero: k² − 4(1)(9) = 0, so k² = 36.
k = 6 or k = −6
Pick up every mark
Book a relaxed introductory chat, or send a message with any questions.