Factor Theorem
Theory
The factor theorem says \(x-a\) is a factor of \(P(x)\) exactly when \(P(a)=0\). This Year 11 Mathematics Extension 1 page shows how to test for factors, find unknown coefficients, factorise polynomials fully by long division or by comparing coefficients, and solve \(P(x)=0\).
The factor theorem: \(x-a\) is a factor of a polynomial \(P(x)\) if and only if \(P(a)=0\).
So every zero gives a linear factor, and every linear factor gives a zero. If \(P(a)=0\) then \(P(x)=(x-a)\,Q(x)\), where the quotient \(Q(x)\) has degree one less than \(P(x)\).
The theorem comes straight from the remainder theorem: dividing by \(x-a\) leaves remainder \(P(a)\), and \(x-a\) is a factor exactly when that remainder is \(0\).
For a factor \(ax-b\), test \(x=\dfrac{b}{a}\): \(ax-b\) is a factor when \(P\!\left(\dfrac{b}{a}\right)=0\).
When the coefficients are integers, an integer zero must divide the constant term. So to find a first zero, test the factors of the constant term: \(\pm1,\ \pm2,\ \dots\)
To factorise fully, find one factor, divide it out (by long division or by comparing coefficients), then factorise the quotient. A quadratic factor with \(\Delta=b^2-4ac\lt 0\) has no real zeroes, so it has no linear factors over the real numbers.
The factor theorem, and its form for \(ax-b\):
Two families that follow from the theorem, for a positive integer \(n\):
For \(n=3\) these are the difference and sum of two cubes:
How to factorise a polynomial fully
- Test the factors of the constant term: find \(P(1),\ P(-1),\ P(2),\ \dots\) until one is \(0\).
- Write the factor: \(P(a)=0\), so \(x-a\) is a factor.
- Divide \(P(x)\) by \(x-a\) with long division, or write \(P(x)\equiv(x-a)(px^2+bx+c)\) and compare: \(p\) from the leading terms, \(c\) by letting \(x=0\), then \(b\) by letting \(x=1\).
- Factorise the quadratic quotient. If it will not factorise, solve it with the quadratic formula, or show \(\Delta\lt 0\) (no more real linear factors).
- Write \(P(x)\) as the product of all the factors, and solve \(P(x)=0\) if asked.
Questions built on the same skill
- Is it a factor? Substitute the zero of the factor: \(x+3\) means find \(P(-3)\).
- Unknown coefficient: "\(x-2\) is a factor" gives the equation \(P(2)=0\). Two factors (or a quadratic factor \((x-p)(x-q)\)) give two equations, labelled (1) and (2).
- Factor and remainder together: a factor gives \(P(a)=0\); a remainder gives \(P(a)=r\).
- A fraction zero: for \(2x^3-x^2-8x+4\), \(P\!\left(\dfrac12\right)=0\), so \(2x-1\) is a factor: \(2x^3-x^2-8x+4=(2x-1)(x-2)(x+2)\).
- Proofs: show \(P(a)=0\) for a general \(a\), as in \(P(x)=x^n-a^n\), \(P(a)=a^n-a^n=0\).
Test factors of \(6\):
| \(P(1)\) | \(=\) | \(1-4+1+6=4\ne 0\) |
| \(P(-1)\) | \(=\) | \(-1-4-1+6=0\) |
\(\therefore x+1\) is a factor. Divide:
| \(x^2\) | \(-5x\) | \(+6\) | ||
| \(x+1\) | \(x^3\) | \(-4x^2\) | \(+x\) | \(+6\) |
| \(-\) | \(x^3\) | \(+x^2\) | ||
| \(-5x^2\) | \(+x\) | \(+6\) | ||
| \(-\) | \(-5x^2\) | \(-5x\) | ||
| \(6x\) | \(+6\) | |||
| \(-\) | \(6x\) | \(+6\) | ||
| \(0\) |
| \(P(x)\) | \(=\) | \((x+1)(x^2-5x+6)\) |
| \(=\) | \((x+1)(x-2)(x-3)\) |
\(\therefore\ \boldsymbol{P(x)=(x+1)(x-2)(x-3)}\)
By the factor theorem, \(P(-3)=0\):
| \(-27+9k-12+12\) | \(=\) | \(0\) |
| \(9k\) | \(=\) | \(27\) |
| \(k\) | \(=\) | \(3\) |
\(x^3+3x^2+4x+12\equiv(x+3)(x^2+bx+c)\)
| \(\text{Let } x=0\quad 12\) | \(=\) | \(3c\) |
| \(c\) | \(=\) | \(4\) |
| \(\text{Let } x=1\quad 20\) | \(=\) | \(4(1+b+4)\) |
| \(b\) | \(=\) | \(0\) |
\(P(x)=(x+3)(x^2+4)\). For \(x^2+4\): \(\Delta=0^2-4\times1\times4=-16\lt 0\), so it has no real zeroes and no linear factors.
\(\therefore\ \boldsymbol{k=3}\), and \(x+3\) is the only linear factor over the real numbers.
Test factors of \(2\): \(P(-1)=-3-4+5+2=0\), so \(x+1\) is a factor.
The leading term is \(3x^3\), so write
\(3x^3-4x^2-5x+2\equiv(x+1)(3x^2+bx+c)\)
| \(\text{Let } x=0\quad 2\) | \(=\) | \(c\) |
| \(\text{Let } x=1\quad -4\) | \(=\) | \(2(3+b+2)\) |
| \(-2\) | \(=\) | \(5+b\) |
| \(b\) | \(=\) | \(-7\) |
| \(P(x)\) | \(=\) | \((x+1)(3x^2-7x+2)\) |
| \(=\) | \((x+1)(3x-1)(x-2)\) |
\(\therefore\ \boldsymbol{P(x)=(x+1)(3x-1)(x-2)}\)
\(x^2-x-6=(x-3)(x+2)\), so \(P(3)=0\) and \(P(-2)=0\).
| \(P(3)=81+27a-63+3b+6\) | \(=\) | \(0\) |
| \(9a+b\) | \(=\) | \(-8\ \ \ldots(1)\) |
| \(P(-2)=16-8a-28-2b+6\) | \(=\) | \(0\) |
| \(4a+b\) | \(=\) | \(-3\ \ \ldots(2)\) |
| \((1)-(2)\quad 5a\) | \(=\) | \(-5\) |
| \(a\) | \(=\) | \(-1\) |
| \(\text{In }(2)\quad b\) | \(=\) | \(1\) |
Divide \(x^4-x^3-7x^2+x+6\) by \(x^2-x-6\):
| \(x^2\) | \(-1\) | ||||
| \(x^2-x-6\) | \(x^4\) | \(-x^3\) | \(-7x^2\) | \(+x\) | \(+6\) |
| \(-\) | \(x^4\) | \(-x^3\) | \(-6x^2\) | ||
| \(-x^2\) | \(+x\) | \(+6\) | |||
| \(-\) | \(-x^2\) | \(+x\) | \(+6\) | ||
| \(0\) |
| \(P(x)\) | \(=\) | \((x^2-x-6)(x^2-1)\) |
| \(=\) | \((x-3)(x+2)(x-1)(x+1)\) |
\(\therefore\ \boldsymbol{a=-1,\ b=1}\) and \(\boldsymbol{x=-2,\ -1,\ 1,\ 3}\).
Common pitfalls
Frequently asked questions
What is the factor theorem?
\(x-a\) is a factor of a polynomial \(P(x)\) if and only if \(P(a)=0\). For example, \(P(x)=x^3-4x^2+x+6\) has \(P(-1)=0\), so \(x+1\) is a factor.
How do you factorise a cubic polynomial?
Test factors of the constant term until \(P(a)=0\). Then \(x-a\) is a factor. Divide it out to get a quadratic, then factorise the quadratic.
Which values should I test first?
Factors of the constant term, starting with \(\pm1\) and \(\pm2\). An integer zero of a polynomial with integer coefficients always divides the constant term.
What is the difference between the factor theorem and the remainder theorem?
The remainder theorem says the remainder on dividing by \(x-a\) is \(P(a)\). The factor theorem is the special case where that remainder is \(0\), so \(x-a\) divides \(P(x)\) exactly.
Is x + 1 a factor of x^5 + 1?
Yes. \(P(-1)=(-1)^5+1=0\). In general \(x+a\) is a factor of \(x^n+a^n\) when \(n\) is odd. For even \(n\) it is not: \(x^4+1\) at \(x=-1\) gives \(2\).