Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Methods (Unit 1 & 2) Polynomials

Solving Cubic Equations

20 practice questions 1 video lesson Theory + worked examples

Learn to solve cubic equations for Queensland Year 11 Mathematical Methods (QCAA). A cubic equation can have up to three solutions, found by rearranging to equal zero.

You will learn to take out a common factor, factorise by grouping, apply the null factor law to read each solution from the factorised form, use technology to solve, and handle a repeated solution where the curve touches the x-axis — key QCAA techniques.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Solving Cubic Equations - Video - Solving cubic equations Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

In Year 11 Mathematical Methods (QCAA, Unit 1), a cubic equation is solved by first writing it as \(=0\) and factorising, then applying the null factor law: a product is zero only when a factor is zero. This page covers solving factorised cubics, taking out a common factor, grouping, repeated roots, and the factor theorem, with each root shown as an \(x\)-intercept.

A cubic equation has the form \(ax^3+bx^2+cx+d=0\) with \(a\neq0\); it has up to three real solutions, called roots. The key tool is the null factor law: if a product of factors equals zero, then at least one factor is zero.

So the plan is always the same: rearrange to \(=0\), factorise fully, then set each factor to zero and solve. The roots are exactly the \(x\)-intercepts of the graph \(y=ax^3+bx^2+cx+d\).

A repeated root (from a squared factor such as \((x-2)^2\)) gives one \(x\)-value where the curve touches the axis rather than crossing it. An irreducible quadratic factor (negative discriminant) contributes no further real roots.

Rearrange to zero first. The null factor law only works against zero: never divide both sides by \(x\) (you would lose the root \(x=0\)) — factor it out instead.
A cubic with three real rootsCubic crossing the x-axis three times, once for each factor, at minus one, one half and two. x y
A cubic with three linear factors cuts the \(x\)-axis at its three roots.
A cubic with one real rootCubic crossing the x-axis only once at minus two; the remaining quadratic factor has no real roots. x y
With one real linear factor and an irreducible quadratic, the graph crosses once.

The general cubic equation:

\[ax^3+bx^2+cx+d=0,\qquad a\neq0\]
ax3+bx2+cx+d=0

The null factor law (the engine of every solution):

\[PQR=0\iff P=0\ \text{or}\ Q=0\ \text{or}\ R=0\]
PQR=0

Reading roots straight off factors:

\[a(x-r_1)(x-r_2)(x-r_3)=0\ \Rightarrow\ x=r_1,\,r_2,\,r_3\]
x=r1,r2,r3
A squared factor is a repeated root. \((x-r)^2\) gives a single \(x=r\) where the curve touches the axis; count it once as a solution.

How to solve a cubic equation

  1. Set to zero: move every term to one side so the equation reads \(\dots=0\).
  2. Factorise fully: take out a common factor, then group or use the factor theorem, and factorise any remaining quadratic.
  3. Solve each factor: set every factor equal to zero by the null factor law and solve. Report a repeated root once, and note any irreducible quadratic gives no further real solutions.
Example 1 — Null factor law
Solve \((x+1)(x-2)(2x-1)=0\).
Solution

The product is already zero, so set each factor to zero (null factor law):

Solve each factor:

\(x+1\)\(=\)\(0\ \Rightarrow\ x=-1\)
\(x-2\)\(=\)\(0\ \Rightarrow\ x=2\)
\(2x-1\)\(=\)\(0\ \Rightarrow\ x=\dfrac{1}{2}\)

\(x=-1,\ \dfrac{1}{2},\ 2\).

Roots of (x+1)(x-2)(2x-1)=0Cubic crossing the x-axis at minus one, one half and two. x y
x=-1,12,2
Example 2 — Common factor first
Solve \(2x^3-2x^2-12x=0\).
Solution

Take out the common factor \(2x\):

\(2x^3-2x^2-12x\)\(=\)\(2x(x^2-x-6)\)

Factorise the quadratic:

\(2x(x^2-x-6)\)\(=\)\(2x(x-3)(x+2)\)

Set each factor to zero:

\(2x\)\(=\)\(0\ \Rightarrow\ x=0\)
\(x-3\)\(=\)\(0\ \Rightarrow\ x=3\)
\(x+2\)\(=\)\(0\ \Rightarrow\ x=-2\)

\(x=-2,\ 0,\ 3\).

Roots of 2x^3-2x^2-12x=0Cubic through the origin, also crossing at minus two and three. x y
x=-2,0,3
Example 3 — A repeated root
Solve \(x^3-4x^2+4x=0\).
Solution

Common factor \(x\), then factorise the quadratic:

\(x^3-4x^2+4x\)\(=\)\(x(x^2-4x+4)\)
\(=\)\(x(x-2)^2\)

Set each factor to zero:

\(x\)\(=\)\(0\ \Rightarrow\ x=0\)
\((x-2)^2\)\(=\)\(0\ \Rightarrow\ x=2\)

The factor \((x-2)^2\) gives a repeated root \(x=2\), where the graph touches the \(x\)-axis instead of crossing it.

\(x=0\) and \(x=2\) (a repeated root).

Repeated root of x(x-2)^2=0Cubic crossing at the origin and just touching the x-axis at x equals two, a repeated root. x y
x=0,2
Example 4 — Factor theorem, then solve
Solve \(x^3-2x^2-5x+6=0\).
Solution

There is no common factor or easy grouping, so test values. Try \(x=1\):

\((1)^3-2(1)^2-5(1)+6\)\(=\)\(1-2-5+6\)
\(=\)\(0\)

So \((x-1)\) is a factor. Dividing gives the quotient \(x^2-x-6\).

Factorise the quotient and set each factor to zero:

\(x^2-x-6\)\(=\)\((x-3)(x+2)\)
\(x-1\)\(=\)\(0\ \Rightarrow\ x=1\)
\(x-3\)\(=\)\(0\ \Rightarrow\ x=3\)
\(x+2\)\(=\)\(0\ \Rightarrow\ x=-2\)

\(x=-2,\ 1,\ 3\).

Roots of x^3-2x^2-5x+6=0Cubic crossing the x-axis at minus two, one and three, with y-intercept six. x y
x=-2,1,3

Common pitfalls

Dividing through by \(x\). Dividing \(x^3-4x^2+4x=0\) by \(x\) throws away the root \(x=0\). Always factor \(x\) out instead of cancelling it.
Not rearranging to zero. The null factor law needs a product equal to zero. Solve \(x^3=4x^2-4x\) only after moving everything to one side.
Sign slip reading a root. The factor \((x+2)\) gives \(x=-2\), not \(x=2\); set the factor to zero and solve.
Inventing roots from an irreducible quadratic. If a quadratic factor has \(\Delta\lt 0\), it gives no real roots; do not force it to factorise.

Frequently asked questions

How do you solve a cubic equation?

Rearrange so it reads \(=0\), factorise fully, then use the null factor law: set each factor to zero and solve for \(x\).

What is the null factor law?

If a product of factors equals zero, then at least one of the factors is zero. So \((x+1)(x-2)=0\) means \(x=-1\) or \(x=2\).

Why should you not divide a cubic by \(x\)?

Dividing by \(x\) discards the solution \(x=0\). Factor \(x\) out instead, so the root \(x=0\) is kept.

What is a repeated root of a cubic?

A root that comes from a squared factor such as \((x-2)^2\). The curve touches the \(x\)-axis there rather than crossing it; you report the \(x\)-value once.

How does the factor theorem help solve a cubic?

Test values until \(P(a)=0\); then \((x-a)\) is a factor. Divide it out to get a quadratic, factorise that, and solve all the factors.

What if a quadratic factor will not factorise?

If its discriminant is negative it is irreducible over the reals, so it contributes no further real solutions. Report only the roots you have.