Whether you’re preparing for advanced maths study or in the midst of the mayhem, Beyond Maths can help you with tutorial-style posts like this one on how to factorise a cubic.
You’ll find step-by-step support on tried and trusted methodologies that are brought to life with worked examples, diagrams, grids, and practice questions that you can try out for yourself.
So let’s get into it…
To factorise a cubic expression, you need to do three things:
This all builds on what you learnt at GCSE. To practise some of this GCSE content, there’s a great resource here, along with multiple-choice quizzes to make sure you remember everything you need to use the factor theorem or polynomial division. Once you’re caught up with how to factorise cubics, try this challenge task.
1. Find a linear factor
A linear factor of a cubic will be in the form (x + b) or (ax + b). To factorise a cubic, you need the value of b (and sometimes a).
To find this factor, use the factor theorem. The factor theorem says that, for a function f(x):
- if is a factor, the ;
- if is a factor then .
For example, the cubic below has a factor of :
You can show this by calculating f(-2); if (x + 2) really is a factor, f(-2) will equal 0:
f(-2) = 0 so (x + 2) is a factor.
In that example, you were given a factor. What if you need to find one yourself?
Consider what happens when you expand a cubic:
The constant term, -30, is the result of multiplying the constant term from each bracket:
Therefore, the constant in any linear factor must be a factor of the constant in the cubic expression. This gives you a set of starting values to test for potential factors.
Be careful – each factor could be positive or negative. Even if the constant term is positive, it could still be made up of negative factors (for example, -3 × -5 × 2 = 30).
Say you want to factorise the cubic f(x) = 2x3 – 3x2 – 23x + 12; start by considering the values of f(x) when x is each of the (positive and negative) factors of 12:
In this case, f(-3) = 0 and f(4) = 0.
According to the factor theorem, if (x – b) is a factor then f(b) = 0.
Therefore, f(x) = 2x3 – 3x2 – 23x + 12 has factors of (x + 3) and (x – 4).
Normally, you would stop once you’ve found a single factor.
In some cases, you may be able to find all three factors this way and hence factorise the cubic directly, but this is not a reliable or efficient method of factorising; in expressions where the coefficient of x3 is not 0 it may be very time consuming and, where there is a repeated root (for example, (x + 2)2(x + 3)) you may spend time looking for a third factor where only 2 exist.
In some cubic expressions, all of the factors may be of the form (ax + b). In this case, you’ll have to apply the factor theorem to fractions, where the numerator is a factor of the constant term and the denominator is a factor of the coefficient of x3. For example, given a function where f() = 0, that function has a factor (3x + 2).
2. Divide the cubic by the factor to get a quadratic
Once you’ve found a linear factor, you need to divide the cubic expression by that factor. This will split the cubic into a linear expression (your factor) and a quadratic expression.
There are a number different ways to go about dividing a cubic expression by a linear one. There is no ‘best’ method – just use the one you are more comfortable with.
Consider the cubic from the example above, 2x3 – 3x2 – 23x + 12, and its factor, (x + 3).
We’ll use three different methods to divide this cubic expression by its linear factor – polynomial long division, the grid method and equating coefficients. You can choose which one you prefer.
a. Polynomial Long Division
Start as you would for normal short or long division:
Divide the first term of the cubic by the first term of your divisor (the linear expression):
Multiply your answer (2x2) by the divisor. Place this underneath the relevant powers of x:
Subtract this new line from the original cubic:
Continue as before – divide the first term of this new line by the first term of the divisor, then multiply your result by the divisor:
Subtract this new line from the line above:
Then repeat one more time:
At this point, the final two lines should be equal. If they are not equal, you’ve made a mistake – either in your long division or in finding your factor.
This gives you the result that:
b. The Grid Method
If you’re used to using the grid method for multiplying or for expanding brackets, you can use a grid and work backwards to divide. As before, we’ll divide 2x3 – 3x2 – 23x + 12 by x + 3.
First, draw a grid. To get a cubic, you multiply a linear expression by a quadratic one. You know the linear expression (the factor), but not the quadratic expression. For now, leave the coefficients blank:
Now, start to fill in the gaps. You have:
- two multiplications that could lead to an x2 term (the quadratic x2 term multiplied by 3 or the linear and quadratic x terms multiplied together);
- two multiplications that could lead to an x term (the quadratic x term multiplied by 3 and the quadratic constant multiplied by x);
- only one multiplication that could lead to an x3 term (the quadratic x2 term multiplied by x);
- only one multiplication that could lead to a constant term (the quadratic constant term multiplied by 3)
You therefore have enough information to add the constant and x3 terms into the grid:
You can see that the missing coefficient of x2 must be 2 and the missing constant must be 4:
This gives you have enough information to fill in two more gaps:
Finally, consider the green squares. The x2 term in the starting cubic expression was -3x2, so the terms in the two green squares must add to -3x2. This means the term in the empty green square must be -9x2.
Similarly, the x term in the starting cubic was -23x. Therefore, the term in the empty blue square must be -27x (as 4x – 27x = -23x).
You can use either of these two new values to find the value of the missing coefficient of x, -9, and hence find the quadratic expression that multiplies to 2x3 – 3x2 – 23x + 12:
c. Equating Coefficients
This final method is more algebraic. As before, we’ll divide 2x3 – 3x2 – 23x + 12 by its factor x + 3.
Like the grid method, this is based on the fact that a cubic can be made by multiplying a linear expression by a quadratic one. You have a linear expression, x + 3; you want to find the quadratic expression.
For now, write that quadratic in the form ax2 + bx + c. You can say that:
Multiplying out the brackets gives:
Now, compare the coefficients of x3 on the left side to the coefficients of x3 on the right, the coefficients of x2 on the left side to the coefficients of x2 on the right, and so on. This gives 4 simultaneous equations:
You now have the values of a (2) and c (4). To find the value of b, substitute the value of a into the second equation or the value of c into the third equation:
You can now say:
3. Factorise the quadratic
You’re nearly finished – the cubic is now in the form of a linear expression multiplied by a quadratic expression. The final step is to factorise the quadratic.
Depending on the context of the question, bear in mind that the quadratic may not be factorisable – it may be worth checking the discriminant (here, the discriminant is 49, so the quadratic has two real roots).
At this stage, you should be confident factorising quadratics. Using whichever method you prefer will give you:
Now, you can write the cubic in fully factorised form:
Can your cubic be factorised?
While all cubic expressions have a least one factor, if any factor(s) are irrational then the cubic cannot be fully factorised. Whether this is likely to be the case depends on the context of the question.
Here’s some to try yourself:
1) x3 – 4x2 – 7x + 10
2) 2x3 + 5x2 – 14x – 8
3) 3x3 + 14x2 + 3x – 36
4) x3 + 6x2 + 12x + 8
5) 6x3 – x2 – 4x – 1
6) 3x3 + 8x2 – 33x + 10
7) 21x – 4x3 – 4x2 – 9
8) 9x3 + 33x2 – 56x + 20
9) 6x3 – x2 – 46x – 15
10) 24x3 + 46x2 + 11x – 6
Don’t forget to read even more of our blogs here! You can also subscribe to Beyond for access to thousands of secondary teaching resources. You can sign up for a free account here and take a look around at our free resources before you subscribe too.