topic badge

1.09 Factorise cubic polynomials

Lesson

The cubic function can be written down in standard polynomial form as $y=ax^3+bx^2+cx+d$y=ax3+bx2+cx+d.

In this form we can immediately notice a few things about the function's graph. Notwithstanding the presence of local maxima and minima, we know from the sign of the leading term $a$a whether it generally increases or decreases. We also know its $y$y-intercept (the coefficient $d$d). Also with a quick calculation, we can locate the point of inflection at the point where $x=-\frac{b}{3a}$x=b3a

What we can't do though is immediately determine its zeros, and this is why the function's factorised form is so important.

 

How to factorise cubics 

Theoretically all cubic functions (with real coefficients) have at least one real root. Visualise the graph of a cubic equation, it must have at least one $x$x-intercept and therefore, at least one real root. A cubic equation can have $1$1$2$2 or $3$3 solutions, the number depends on the quadratic in the factorisation. Say $r$r is a root of a cubic then we know $\left(x-r\right)$(xr) is a factor of the cubic and hence, we could express the cubic function in the form:

 $y=\left(x-r\right)\times\left(Ax^2+Bx+C\right)$y=(xr)×(Ax2+Bx+C), we can see we have one linear factor and a quadratic factor. 

This means that we could then further factorise the cubic depending on the factorisation of $Ax^2+Bx+C$Ax2+Bx+C

Some strategies for factorising cubics include:

  • Looking for special patterns, such as difference of two cubics, sum of two cubics
  • Factorise by grouping in pairs
  • Given one linear factor, find the quadratic factor by expansion and equating coefficients
  • Given one linear factor, find the quadratic factor by polynomial division
  • Find a linear factor using the remainder theorem or technology and then find the quadratic factor using one of the previous two methods above

Once you have found a quadratic factor you can use our techniques from previous chapters to factorise this part of the equation if possible.

Let's look at examples of each of these techniques.

 

Factorising special cases

Previously we've looked at some special factorising rules, such as the difference of two squares. It is useful to be able to spot a few special cases for cubics too. Let's look at these now.

Special cases for factorising cubics

Sum of two cubes: $a^3+b^3=\left(a+b\right)\left(a^2-ab+b^2\right)$a3+b3=(a+b)(a2ab+b2)

Difference of two cubes: $a^3-b^3=\left(a-b\right)\left(a^2+ab+b^2\right)$a3b3=(ab)(a2+ab+b2)

Some people use the mnemonic "SOAP" to help remember the order of the signs in these formulae. The letters stand for:

SAME as the sign in the middle of the original expression

OPPOSITE sign to the original expression

ALWAYS POSITIVE

Now let's look at some examples and see this process in action!

 

Practice questions

Question 1

Factorise $x^3-1000$x31000.

Question 2

Simplify $\frac{125x^3+8}{5x+2}$125x3+85x+2.

 

Factorising in pairs

Sometimes a cubic polynomial can be factorised using a pairing strategy.

For example the polynomial $y=4x^3-4x^2-9x+9$y=4x34x29x+9 can be factorised as follows:

$y$y $=$= $4x^3-4x^2-9x+9$4x34x29x+9
  $=$= $4x^2\left(x-1\right)-9\left(x-1\right)$4x2(x1)9(x1)
  $=$= $\left(x-1\right)\left(4x^2-9\right)$(x1)(4x29)
  $=$= $\left(x-1\right)\left(2x-3\right)\left(2x+3\right)$(x1)(2x3)(2x+3)

This means that the function $y=4x^3-4x^2-9x+9$y=4x34x29x+9 can be rewritten as $y=\left(x-1\right)\left(2x-3\right)\left(2x+3\right)$y=(x1)(2x3)(2x+3). This function then has the three zeros $1,\frac{3}{2},-\frac{3}{2}$1,32,32

 

Practice question

Question 3

Factorise the following expression:

$17x^3+5x^2+17x+5$17x3+5x2+17x+5

 

Factorisation when one linear factor is known

If we know that one of the factors is, say $\left(x-r\right)$(xr), then we can use expansion and equate coefficients or use polynomial division to find the other factor or factors. Remember that a cubic polynomial will factorise into a linear factor and a quadratic factor. Then, the quadratic factor may (or may not) be able to be factorised into two linear factors itself.

 

Worked example

example 1

Suppose we wish to factorise the polynomial $y=x^3-6x^2+12x-35$y=x36x2+12x35 and have been given it has the linear factor $\left(x-5\right)$(x5)

Therefore, we have that $x^3-6x^2+12x-35=\left(x-5\right)\left(Ax^2+Bx+C\right)$x36x2+12x35=(x5)(Ax2+Bx+C)

We can expand the right hand side and equate coefficients. This can often be done quickly by observation. For example, on the right the coefficient of $x^3$x3 is $1$1 and if we expand on the right we can see that this means $A=1$A=1

Let's do this example in full and with some practice you might recognise some short cuts.

$x^3-6^2+12x-35$x362+12x35 $=$= $\left(x-5\right)\left(Ax^2+Bx+C\right)$(x5)(Ax2+Bx+C)  
  $=$= $Ax^3+Bx^2+Cx-5Ax^2-5Bx-5C$Ax3+Bx2+Cx5Ax25Bx5C  
  $=$= $Ax^3+\left(B-5A\right)x^2+\left(C-5B\right)x-5C$Ax3+(B5A)x2+(C5B)x5C   By collecting like terms.

Equating coefficients on the left with those on the right we can first solve for $A$A and $C$C:

$A$A $=$= $1$1    and      $-5C$5C $=$= $-35$35
        $C$C $=$= $7$7

Then solving for the coefficient of the $x^2$x2 term we can find $B$B:

$B-5$B5 $=$= $-6$6
$B$B $=$= $-1$1

Hence, we can write  $x^3-6x^2+12x-35$x36x2+12x35 in the form $\left(x-5\right)\left(x^2-x+7\right)$(x5)(x2x+7)

The quadratic factor here cannot be further factorised into linear factors with real roots (the discriminant $b^2-4ac=-27$b24ac=27) and this means that the function has only one real zero at $x=5$x=5.

 

Practice question

Question 4

The polynomial $x^3+5x^2+2x-8$x3+5x2+2x8 has a factor of $x-1$x1.

  1. By observation, find the quadratic factor of $x^3+5x^2+2x-8$x3+5x2+2x8.

    $x^3+5x^2+2x-8=\left(x-1\right)$x3+5x2+2x8=(x1)$($($\editable{}$$)$)

  2. Hence factorise the polynomial completely.

Factorisation by polynomial division

We can divide one polynomial by another polynomial of the same or lower degree, using a process similar to long division. If we know a linear factor $\left(x-r\right)$(xr) of a cubic $ax^3+bx^2+cx+d$ax3+bx2+cx+d, we can use polynomial division to find the quadratic factor. 

Let's look at the process, then try some examples.

 

The process using long division

Solve: $\left(3x^3+2x^2-6\right)\div\left(x+2\right)$(3x3+2x26)÷​(x+2) using long division

The dividend: $3x^3+2x^2-6$3x3+2x26

The divisor: $x+2$x+2

It's helpful to write the dividend like this: $3x^3+2x^2+0x-6$3x3+2x2+0x6.

Then we can use long division to solve the problem.

1. Divide the first term of the dividend by the highest term of the divisor (meaning the one with the highest power of $x$x, which in this case is $x$x). Place the result above the bar ($3x^3\div x=3x^2$3x3÷​x=3x2). 

2. Multiply the divisor by the number you just wrote above the top line. Write the result under the first two terms of the dividend. ($3x^2\times\left(x+2\right)=3x^3+6x^2$3x2×(x+2)=3x3+6x2). 

3. Subtract these terms from the from those in the original dividend, making sure you pay attention to the positive and negative signs ($3x^3+2x^2-\left(3x^3+6x^2\right)=-4x^2+0x$3x3+2x2(3x3+6x2)=4x2+0x). 

4. Repeat the previous three steps, except this time use the two terms that have just been written as the dividend (ie. divide $-4x^2+0x$4x2+0x by $x+2$x+2). 

5. Repeat step 4. Keep going until there is nothing to "pull down".

The polynomial above the bar is the quotient, and the number left over, $-22$22, is the remainder.

From this we can write: $3x^3+2x^2-6=\left(x+2\right)\left(3x^2-4x+8\right)-22$3x3+2x26=(x+2)(3x24x+8)22. If the remainder was zero we would have successfully factorised the cubic expression into a linear factor and a quadratic factor.

Practice questions

Question 5

Consider the division $\left(x^2-6x+1\right)\div\left(x+3\right)$(x26x+1)÷​(x+3).

  1. What term needs to be brought down to move onto the next step in the algorithm?

              $x$x    
    $x$x $+$+ $3$3 $x^2$x2 $-$ $6x$6x $+$+ $1$1
          $x^2$x2 $+$+ $3x$3x    
            $-$ $9x$9x    
  2. What is the remainder of this division?

              $x$x $-$ $9$9
    $x$x $+$+ $3$3 $x^2$x2 $-$ $6x$6x $+$+ $1$1
          $x^2$x2 $+$+ $3x$3x    
            $-$ $9x$9x $+$+ $1$1
            $-$ $9x$9x $-$ $27$27
  3. Without including the remainder, what is the quotient of this division?

  4. Rewrite $x^2-6x+1$x26x+1 in terms of the divisor, the quotient and the remainder.

    $x^2-6x+1$x26x+1$=$=$\left(x+\editable{}\right)\left(x-\editable{}\right)+\editable{}$(x+)(x)+

Question 6

Consider the following division:

$\left(3x^3-15x^2+2x-10\right)\div\left(x-5\right)$(3x315x2+2x10)÷​(x5)

  1. Fill in the gaps to complete the long division process below.

        $\editable{}$ $+$+ $0x+$0x+ $\editable{}$
    $x-5$x5 $3x^3$3x3 $-$$15x^2$15x2 $+$+$2x$2x $-$$10$10
      $\editable{}$    
          $\editable{}$
          $\editable{}$
          $\editable{}$
  2. State the quotient and remainder when $3x^3-15x^2+2x-10$3x315x2+2x10 is divided by $x-5$x5.

    Quotient = $\editable{}$

    Remainder = $\editable{}$

 

 

The remainder theorem

To divide two polynomials, say $P\left(x\right)$P(x) divided by $D\left(x\right)$D(x), we need the degree of the divisor polynomial $D\left(x\right)$D(x) to be less than or equal to the degree of the dividend polynomial $P\left(x\right)$P(x)

As an example, suppose we divide $P\left(x\right)=x^2-5x+6$P(x)=x25x+6 by the polynomial $D\left(x\right)=x-1$D(x)=x1. We proceed in a manner similar to long division given as follows:

Thus we state:

$\frac{P\left(x\right)}{D\left(x\right)}=\frac{x^2-5x+6}{x-1}=\left(x-4\right)+\frac{2}{x-1}$P(x)D(x)=x25x+6x1=(x4)+2x1

We can express the result slightly differently by multiplying both sides by the divisor so that:

$P\left(x\right)=x^2-5x+6=\left(x-1\right)\left(x-4\right)+2$P(x)=x25x+6=(x1)(x4)+2

Stating the result like this is known as the division transformation.

In general, dividing $P\left(x\right)$P(x) by $\left(x-a\right)$(xa) will always produce a result that looks like:

$P\left(x\right)=\left(x-a\right)Q\left(x\right)+R$P(x)=(xa)Q(x)+R

Here, $Q\left(x\right)$Q(x) is the quotient polynomial of one less degree than $P\left(x\right)$P(x) and $R$R is the remainder.

This last equation holds the key to the remainder theorem. Because the polynomial holds true for all values of $x$x, by putting $x=a$x=a into this general result we see that:

$P\left(a\right)=\left(a-a\right)Q\left(a\right)+R=R$P(a)=(aa)Q(a)+R=R

This means that substituting $x=a$x=a into $P\left(x\right)$P(x) before dividing will reveal the remainder. It's a little mathematical magic! We can actually know the remainder even before the division by $\left(x-a\right)$(xa) is done. This nice result is known as the remainder theorem.

Let's try it with our example. With $P\left(x\right)=x^2-5x+6$P(x)=x25x+6 and $D\left(x\right)=x-1$D(x)=x1, before dividing note that $P\left(1\right)=\left(1\right)^2-5\left(1\right)+6=2$P(1)=(1)25(1)+6=2 and this is indeed the remainder!

The remainder theorem

If a polynomial $P\left(x\right)$P(x) is divided by $x-a$xa, the remainder is a constant $R$R, and

$P\left(x\right)=\left(x-a\right)Q\left(x\right)+R$P(x)=(xa)Q(x)+R,

where $Q\left(x\right)$Q(x) is a polynomial with degree one less than $P\left(x\right)$P(x).

 

The factor theorem

The factor theorem is an extension of the remainder theorem. 

If a polynomial equation $P(x)=0$P(x)=0 has a root $x=a$x=a, meaning $P(a)=0$P(a)=0, then $x-a$xa must be a factor of $P(x)$P(x). We could write $P(x)=(x-a)Q(x)$P(x)=(xa)Q(x) where $Q$Q is a polynomial of degree one less than the degree of $P$P.

This means that if we can find by any means a number $a$a such that $P(a)=0$P(a)=0, then we know immediately that $x-a$xa is a factor of $P$P.

The factor theorem

The binomial $x-a$xa is a factor of the polynomial $P(x)$P(x) if and only if $P(a)=0$P(a)=0.

 

Finding linear factors

We are often asked to find a linear factor of $p\left(x\right)$p(x). Using trial and error, we will substitute in values until we find a factor, that is a value such that $p\left(a\right)=0$p(a)=0.

For $p\left(x\right)=ax^n+...+c$p(x)=axn+...+c, we should start our trial and error with factors of $c$c and then move on to $\frac{\text{factors of }c}{\text{factors of }a}$factors of cfactors of a.

For example, for the polynomial $p\left(x\right)=x^3-x^2-x-2$p(x)=x3x2x2 we would want to try $x=1$x=1, $x=-1$x=1, $x=2$x=2 and$x=-2$x=2.

 

Worked example

example 2

Factorise $p(x)=x^3-x^2-x-2$p(x)=x3x2x2.

Think: Using the factor theorem, we know we are looking for a value $a$a such that $p\left(a\right)=0$p(a)=0. By trial and error, we find that $p(2)=0$p(2)=0. Therefore, $p(x)=(x-2)q(x)$p(x)=(x2)q(x).

Do: We can use the division algorithm to calculate $q(x)$q(x). That is, we divide $p(x)$p(x) by $x-2$x2. In this way, we find that $q(x)=x^2+x+1$q(x)=x2+x+1 which is a prime polynomial. So, $p(x)=x^3-x^2-x-2=(x-2)(x^2+x+1)$p(x)=x3x2x2=(x2)(x2+x+1) is the fully factored form of $p\left(x\right)$p(x).

 

Practice questions

Question 7

Christa wants to test whether various linear expressions divide exactly into $P\left(x\right)$P(x), or whether they leave a remainder. For each linear expression below, state the value of $x$x that needs to be substituted into $P\left(x\right)$P(x) to find the remainder.

  1. $x+3$x+3

  2. $8-x$8x

  3. $5+4x$5+4x

  4. $6-x$6x

 
Question 8

Consider the cubic $x^3+9x^2+26x+24$x3+9x2+26x+24.

  1. State one linear factor of the cubic.

  2. Hence factorise the cubic.

Question 9

When $3x^3-2x^2-4x+k$3x32x24x+k is divided by $x-3$x3, the remainder is $47$47. Find the value of $k$k.

Outcomes

1.2.4.4

use the factor theorem to factorise cubic polynomials in cases where a linear factor is easily obtained

What is Mathspace

About Mathspace