A cubic equation has no neat formula you need to learn. Find one root by the factor theorem, divide it out, and what is left is a quadratic you already know how to solve: by factorising, or by the formula when the roots are surds.
To solve a cubic: rearrange to \(p(x) = 0\); try factors of the constant term until \(p(a) = 0\), so \((x - a)\) is a factor; divide (or compare coefficients) to write \(p(x) = (x - a)(bx^{2} + cx + d)\); then solve the quadratic. Its discriminant decides the rest: positive gives two more roots (exact surds if it will not factorise), zero gives a repeated root, negative gives no more real roots, so \(x = a\) is the only one.
Fig. 1: the curve y = x³ − 2x² − 5x + 6. Since p(1) = 0, (x − 1) is a factor, and p(x) = (x − 1)(x + 2)(x − 3). The three roots of p(x) = 0 are the x-coordinates where the curve crosses the x-axis
Section 01
Find one root, then divide.
Every cubic equation in this course is solved the same way. First collect every term on one side so that it reads \(p(x) = 0\). Then use the factor theorem from the first lesson of this topic: if \(p(a) = 0\), then \((x - a)\) is a factor. Integer roots must divide the constant term, so try \(\pm 1, \pm 2, \pm 3, \dots\) from its factors. Once one factor is found, divide it out (as in the previous lesson) to leave a quadratic factor, and solve that.
Rearrange to \(p(x) = 0\) with the \(x^{3}\) term first.
Search: work out \(p(1), p(-1), p(2), p(-2), \dots\) until one is zero.
Divide: \(p(x) = (x - a)(bx^{2} + cx + d)\) by long division, synthetic division or comparing coefficients.
Try \(x = 1\): \(p(1) = 1 - 2 - 5 + 6 = 0\), so \((x - 1)\) is a factor.
Divide: \(x^{3} - 2x^{2} - 5x + 6 = (x - 1)(x^{2} - x - 6)\). Check: the constant term is \((-1)(-6) = 6\).
Factorise the quadratic: \(x^{2} - x - 6 = (x - 3)(x + 2)\).
So \((x - 1)(x - 3)(x + 2) = 0\), giving \(x = 1\), \(x = 3\) or \(x = -2\). These are where the curve in Fig. 1 crosses the \(x\)-axis.
Answer: \(x = -2,\ 1\) or \(3\)
Worked example A leading coefficient that is not 1
Solve \(2x^{3} + 3x^{2} - 8x + 3 = 0\).
Try \(x = 1\): \(2 + 3 - 8 + 3 = 0\), so \((x - 1)\) is a factor.
Compare coefficients: \(2x^{3} + 3x^{2} - 8x + 3 = (x - 1)(2x^{2} + bx - 3)\). The \(x^{2}\) terms give \(b - 2 = 3\), so \(b = 5\).
Check the \(x\) terms: \(-3 - 5 = -8\). Correct.
Factorise: \(2x^{2} + 5x - 3 = (2x - 1)(x + 3)\).
So \(x = 1\), \(x = \dfrac{1}{2}\) or \(x = -3\).
Answer: \(x = -3,\ \frac{1}{2}\) or \(1\)
Your turn
Solve \(x^{3} + 2x^{2} - 5x - 6 = 0\).
\(p(-1) = -1 + 2 + 5 - 6 = 0\), so \((x + 1)\) is a factor; \(p(x) = (x + 1)(x^{2} + x - 6) = (x + 1)(x + 3)(x - 2)\), giving \(x = -3,\ -1\) or \(2\).
Examiner trap
Never divide both sides by \(x\). In \(x^{3} = 4x\), dividing by \(x\) gives \(x^{2} = 4\) and loses the root \(x = 0\). Rearrange instead: \(x^{3} - 4x = x(x - 2)(x + 2) = 0\), so \(x = 0,\ 2\) or \(-2\). And a factor \((x + 2)\) gives the root \(x = -2\), not \(x = 2\).
Section 02
When the quadratic factor will not factorise.
The quadratic factor need not split into nice brackets. Check its discriminant \(b^{2} - 4ac\) before you hunt for factors: it tells you how many more roots there are. Paper 1 is non-calculator, so surd roots are left in exact form.
\(b^{2} - 4ac > 0\): two more real roots. If it is not a perfect square, use the formula and simplify the surd: three distinct roots in all.
\(b^{2} - 4ac = 0\): the quadratic is a perfect square, so one root is repeated. The curve touches the \(x\)-axis there instead of crossing it.
\(b^{2} - 4ac < 0\): no more real roots. The cubic has exactly one real root, the one you found first. (Every cubic has at least one.)
Worked example Exact surd roots
Solve \(x^{3} - 5x^{2} + 5x + 3 = 0\), giving your answers in exact form.
Factors of \(3\): try \(x = 3\): \(27 - 45 + 15 + 3 = 0\), so \((x - 3)\) is a factor.
A negative discriminant does not mean 'no solution': the root you found first is still a real answer, so the cubic has exactly one real root. With the formula, divide the WHOLE top by \(2a\): \(\dfrac{2 \pm 2\sqrt{2}}{2} = 1 \pm \sqrt{2}\), never \(2 \pm \sqrt{2}\) or \(2 \pm 2\sqrt{2}\).
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
Which of these is a factor of \(x^{3} - 4x^{2} + x + 6\)?
Quick check+10 XP
\(x^{3} - 2x^{2} - 3x + 10 = (x + 2)(x^{2} - 4x + 5)\). How many real roots does \(x^{3} - 2x^{2} - 3x + 10 = 0\) have?
Quick check+10 XP
Solve \(x^{3} = 9x\).
Quick check+10 XP
What are the roots of \((x - 2)(x^{2} - 4x + 1) = 0\)?
Section 03
Show, factorise, hence solve.
Exam questions build in steps. 'Show that \((x - a)\) is a factor' means work out \(p(a)\) and show it is zero. 'Factorise completely' means a product of linear factors, or one linear factor times a quadratic that will not factorise. 'Hence' means you must use the work you have just done: an equation that is the same cubic in disguise (with \(x\) replaced by \(2x\), say, or by \(e^{x}\)) has the same roots, now as values of \(2x\) or \(e^{x}\) instead of \(x\). In a real-world context, keep only the roots that make sense.
Worked example A full exam-style question
\(p(x) = 2x^{3} - 3x^{2} - 11x + 6\). (a) Show that \((x - 3)\) is a factor of \(p(x)\). (b) Factorise \(p(x)\) completely. (c) Hence solve \(p(x) = 0\). (d) Hence solve \(16y^{3} - 12y^{2} - 22y + 6 = 0\).
(a) \(p(3) = 54 - 27 - 33 + 6 = 0\), so by the factor theorem \((x - 3)\) is a factor.
An open box is made from a rectangular card 10 cm by 16 cm by cutting a square of side \(x\) cm from each corner and folding up the sides. The volume of the box is 112 cm3. Show that \(x^{3} - 13x^{2} + 40x - 28 = 0\) and find the possible values of \(x\), in exact form.
The base is \((16 - 2x)\) by \((10 - 2x)\) and the height is \(x\), so \(V = x(10 - 2x)(16 - 2x) = 4x^{3} - 52x^{2} + 160x\).
The card is only 10 cm wide, so \(0 < x < 5\). \(6 + 2\sqrt{2}\) is more than 5, so reject it. \(6 - 2\sqrt{2}\) is between 3 and 4 (since \(2\sqrt{2} = \sqrt{8}\) is between 2 and 3), so keep it.
Answer: \(x = 1\) or \(x = 6 - 2\sqrt{2}\)
Your turn
Show that \((x + 1)\) is a factor of \(p(x) = x^{3} - 4x^{2} + x + 6\), and hence solve \(p(x) = 0\).
\(p(-1) = -1 - 4 - 1 + 6 = 0\), so \((x + 1)\) is a factor. \(p(x) = (x + 1)(x^{2} - 5x + 6) = (x + 1)(x - 2)(x - 3)\), so \(x = -1,\ 2\) or \(3\).
Examiner trap
'Hence' is an instruction, not a hint: start from the roots you already have, or you lose the marks even with correct answers. Undo the substitution at the end (\(2y = 3\) gives \(y = \frac{3}{2}\), not \(y = 3\)), and reject only what is impossible: \(e^{t}\) is never negative, and a length must fit the card. Do not reject a negative root of an ordinary equation just because it is negative.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to IGCSE Additional Mathematics Paper 1 and Paper 2 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
\((x - 2)\) is a factor of \(p(x) = 2x^{3} + ax^{2} - 7x - 6\). Find \(a\) and solve \(p(x) = 0\).
Exam style+20 XP
Solve \(x^{3} - x^{2} - 7x + 3 = 0\), giving your answers in exact form.