✖

Factorising polynomials

A polynomial can be factorised into a product of polynomials. Suppose we have a polynomial

Pn(x)=anxn+an−1xn−1+…+a1x1+a0x0,

The constant n is the degree of the polynomial, that is, the highest index that appears in the polynomial with a non-zero coefficient. For example, the polynomial x3 − 4x2 − 5x has degree 3. All the other indices are either lower (the indices 2 and 1) or have a zero coefficient. Now we can say that if we find a root k of our polynomial, then there is another polynomial Qn − 1(x), of degree one lower, such that

Pn(x)=(x−k)⋅Qn−1(x).

That sounds complicated, but what it says is that if we know a root of the polynomial Pn(x), we can find another polynomial Qn − 1(x) which, when multiplied by (x − k), gives the original polynomial Pn(x), and Qn − 1(x) has degree one less than Pn(x). Looking at our polynomial P3(x) = x3 − 4x2 − 5x, we can see that one of its roots is k1 = 0 (because if we substitute zero for x, the whole expression is zero). So there must be a polynomial Q2(x) such that

P3(x)=(x−0)⋅Q2(x)

This is easy, because x − 0 is of course just x, so we get the equation

P3(x)=x⋅Q2(x)

We just need to take out the common factor x from the original polynomial P3(x) to get our new polynomial Q2(x):

P3(x)=x⋅(x2−4x−5)

That is the first factorisation of the polynomial into a product. We have factorised the original polynomial x3 − 4x2 − 5x as (x − 0) times x2 − 4x − 5, which is a polynomial of lower degree. But we can factorise x2 − 4x − 5 further. If we solve the quadratic equation

x2−4x−5=0

we find that its roots are k2 = 5 and k3 = −1. So we should be able to find a polynomial Q1(x) such that

Q2(x)=(x−5)⋅Q1(x)

Finding Q1(x) is not entirely straightforward, but we can use algebraic division to help. That tells us that the resulting polynomial is Q1(x) = x + 1, so we can write

x2−4x−5=(x−5)⋅(x+1)

The whole original polynomial P3(x) is therefore equal to:

P3(x)=x⋅(x−5)⋅(x+1)

Once we have factorised the whole polynomial like this, we can read off the roots easily. If any one of the factors in the product is zero, the whole expression is zero. So it is clear from this form that the roots of the polynomial are exactly the numbers k1 = 0, k2 = 5 and k3 = −1.

Chapters: Polynomials, Dividing a polynomial by a polynomial, Root of a polynomial, Factorising polynomials