AL3, AL4 - Dividing polynomials and the factor theorem

AL3, AL4 - Dividing polynomials and the factor theorem

Polynomial division reverses the multiplication you already know. AL3 shows you how to find a quotient and remainder; AL4 turns a single substitution into a test for a linear factor. You will use the two ideas together to factorise cubics and find missing coefficients.

Quotients and remainders

Can one small calculation tell you whether a whole cubic has a factor? For example, substituting x=1x=1 into x3−2x2−5x+6x^3-2x^2-5x+6 gives 00. That will eventually reveal a bracket without any trial expansion. First, we need to see what division leaves behind.

You already know

Multiplying (x−2)(x2+4x+3)(x-2)(x^2+4x+3) gives x3+2x2−5x−6x^3+2x^2-5x-6. Subtract a whole polynomial by changing every sign in its bracket. A missing power has coefficient 00.

Ordinary division gives 23=5×4+323=5\times4+3: dividend equals divisor times quotient plus remainder. The polynomial version has the same structure. In long division, remove the highest remaining power at each step, then subtract the complete product.

Quotient and remainder

When a polynomial f(x)\mathrm{f}(x) is divided by a non-zero polynomial d(x)\mathrm{d}(x), write

f(x)≡d(x)q(x)+r(x)\mathrm{f}(x)\equiv\mathrm{d}(x)\mathrm{q}(x)+\mathrm{r}(x)

The polynomial q(x)\mathrm{q}(x) is the quotient. The remainder r(x)\mathrm{r}(x) is zero or has degree smaller than the divisor. A linear divisor therefore leaves a constant remainder; a quadratic divisor may leave a linear remainder.

The division identity is not on the formulae sheet: learn it. Dividing it by d(x)\mathrm{d}(x) gives a quotient plus a fraction, but that fraction is not itself the remainder.

Worked example 1: exact division

Question. Divide x3+2x2−5x−6x^3+2x^2-5x-6 by x−2x-2, stating the quotient and remainder.

Plan. Divide the leading terms, multiply the divisor by that result, subtract, then repeat.

x3÷x=x2first quotient term(x3+2x2−5x−6)−x2(x−2)=4x2−5x−6subtract the product4x2÷x=4xnext quotient term(4x2−5x−6)−4x(x−2)=3x−6subtract again3x÷x=3last quotient term(3x−6)−3(x−2)=0nothing remains\begin{aligned} x^3\div x&=x^2 && \text{first quotient term}\\ (x^3+2x^2-5x-6)-x^2(x-2)&=4x^2-5x-6 && \text{subtract the product}\\ 4x^2\div x&=4x && \text{next quotient term}\\ (4x^2-5x-6)-4x(x-2)&=3x-6 && \text{subtract again}\\ 3x\div x&=3 && \text{last quotient term}\\ (3x-6)-3(x-2)&=0 && \text{nothing remains} \end{aligned}

Why divide the leading terms? The chosen product cancels the highest power, so each subtraction reduces the degree of what remains.

Answer. Quotient x2+4x+3x^2+4x+3; remainder 00.

Check. (x−2)(x2+4x+3)=x3+2x2−5x−6(x-2)(x^2+4x+3)=x^3+2x^2-5x-6, recovering the dividend.

Now change only the constant term, from −6-6 to −2-2. The earlier cancellations stay the same, but the final subtraction no longer gives zero.

Worked example 2: a non-zero remainder

Question. Divide x3+2x2−5x−2x^3+2x^2-5x-2 by x−2x-2, stating the quotient and remainder.

Plan. Use the same leading-term cancellations and stop when the remainder is constant.

(x3+2x2−5x−2)−x2(x−2)=4x2−5x−2remove the cubic term(4x2−5x−2)−4x(x−2)=3x−2remove the quadratic term(3x−2)−3(x−2)=4remove the linear term\begin{aligned} (x^3+2x^2-5x-2)-x^2(x-2)&=4x^2-5x-2 && \text{remove the cubic term}\\ (4x^2-5x-2)-4x(x-2)&=3x-2 && \text{remove the quadratic term}\\ (3x-2)-3(x-2)&=4 && \text{remove the linear term} \end{aligned}

Why stop at 44? A constant has smaller degree than a linear divisor; another polynomial term cannot remove it.

Answer. Quotient x2+4x+3x^2+4x+3; remainder 44. Equivalently, for x≠2x\ne2,

x3+2x2−5x−2x−2=x2+4x+3+4x−2\frac{x^3+2x^2-5x-2}{x-2}=x^2+4x+3+\frac4{x-2}

Check. (x−2)(x2+4x+3)+4=x3+2x2−5x−2(x-2)(x^2+4x+3)+4=x^3+2x^2-5x-2.

The same leading-term method works with a quadratic divisor. For example, write a missing term explicitly before dividing:

x3+0x2−3x+5−x(x2+1)=−4x+5subtract the leading productx3−3x+5≡x(x2+1)+(−4x+5)degree 1 is below 2\begin{aligned} x^3+0x^2-3x+5-x(x^2+1)&=-4x+5 && \text{subtract the leading product}\\ x^3-3x+5&\equiv x(x^2+1)+(-4x+5) && \text{degree }1\text{ is below }2 \end{aligned}

Here the quotient is xx and the remainder is −4x+5-4x+5. A remainder need not be a number: its permitted degree depends on the divisor.

Watch out

Wrong: “The remainder in Worked example 2 is 4x−2\frac4{x-2}.” That is the fractional term after division. The remainder is 44, as the identity f(x)≡(x−2)q(x)+4\mathrm{f}(x)\equiv(x-2)\mathrm{q}(x)+4 shows. State the quotient and remainder separately when asked.

Try another change to the constant term; keep the final remainder separate from its fractional form.

Why a zero output reveals a factor

A factor means exact division, so a zero remainder is the link between substitution and factorisation.

Divide a polynomial by x−ax-a. Its remainder is a constant rr, giving

f(x)≡(x−a)q(x)+rdivision identityf(a)=(a−a)q(a)+r=rsubstitute x=a\begin{aligned} \mathrm{f}(x)&\equiv(x-a)\mathrm{q}(x)+r && \text{division identity}\\ \mathrm{f}(a)&=(a-a)\mathrm{q}(a)+r=r && \text{substitute }x=a \end{aligned}

The whole quotient disappears when x=ax=a. That is why a single substitution finds the remainder without doing the division. In particular, zero output means zero remainder.

Factor theorem

(x−a) is a factor of f(x)⟺f(a)=0(x-a)\text{ is a factor of }\mathrm{f}(x) \quad\Longleftrightarrow\quad \mathrm{f}(a)=0

This holds for a polynomial f(x)\mathrm{f}(x) and a real number aa. Both directions matter: a factor gives a zero output, and a zero output gives a factor.
Not on the formulae sheet: learn it.

For example, if f(−3)=0\mathrm{f}(-3)=0, the factor is x−(−3)=x+3x-(-3)=x+3. If f(2)=7\mathrm{f}(2)=7, then x−2x-2 is not a factor: division by it leaves remainder 77. The number substituted is a root, while the bracket is a factor; they are connected but are different objects.

A bracket such as 2x−32x-3 becomes zero at x=32x=\frac32, so test f(32)\mathrm{f}(\frac32). Since 2x−3=2(x−32)2x-3=2(x-\frac32), the same zero-output test applies; the factor's coefficient need not be 11.

Key idea

Set the proposed linear factor equal to zero to find the input to test. A zero output proves that factor; a non-zero output disproves it.

The sign inside the bracket is the common trap. Locate it in this attempted use of the theorem.

Finding all the factors of a cubic

Once a cubic has one linear factor, division leaves a quadratic, which you can factorise using GCSE methods.

For a monic polynomial with integer coefficients, any integer root divides the constant term. Indeed, if a3+ba2+ca+d=0a^3+ba^2+ca+d=0, then d=−a(a2+ba+c)d=-a(a^2+ba+c). Try the positive and negative divisors of dd first. This gives useful candidates, not a promise that every cubic has an integer root. If the constant term is zero, factor out xx immediately. This candidate rule is not on the formulae sheet: learn how to use it.

Worked example 3: a monic cubic

Question. Using the factor theorem, factorise f(x)=x3−2x2−5x+6\mathrm{f}(x)=x^3-2x^2-5x+6.

Plan. Test a divisor of 66, divide out the factor obtained, then factorise the quotient.

f(1)=1−2−5+6=0test a candidatef(x)≡(x−1)(x2−x−6)divide out x−1x2−x−6=(x−3)(x+2)product −6 and sum −1\begin{aligned} \mathrm{f}(1)&=1-2-5+6=0 && \text{test a candidate}\\ \mathrm{f}(x)&\equiv(x-1)(x^2-x-6) && \text{divide out }x-1\\ x^2-x-6&=(x-3)(x+2) && \text{product }-6\text{ and sum }-1 \end{aligned}

The division can be checked directly: x(x−1)x(x-1) is not the quotient; the quotient must be quadratic. Long division gives quotient terms x2x^2, −x-x, −6-6 and remainder 00.

Why test 11 first? It divides the constant and makes substitution quick. The written equality f(1)=0\mathrm{f}(1)=0 shows that the factor theorem, rather than an unsupported guess, produced the factor.

Answer. f(x)≡(x−1)(x−3)(x+2)\mathrm{f}(x)\equiv(x-1)(x-3)(x+2).

Check. Multiplying the last two brackets gives x2−x−6x^2-x-6; multiplying by x−1x-1 recovers the cubic.

The next example changes the leading coefficient from 11 to 22. The zero-input test is unchanged, but the remaining quadratic needs a non-monic factorisation.

Worked example 4: a non-monic quotient

Question. Using the factor theorem, factorise g(x)=2x3−x2−7x+6\mathrm{g}(x)=2x^3-x^2-7x+6.

Plan. Test 11, divide by x−1x-1, then split the middle term of the quadratic.

g(1)=2−1−7+6=0so x−1 is a factorg(x)≡(x−1)(2x2+x−6)polynomial division2x2+x−6=2x2+4x−3x−6split the middle term=2x(x+2)−3(x+2)factor each pair=(2x−3)(x+2)take out x+2\begin{aligned} \mathrm{g}(1)&=2-1-7+6=0 && \text{so }x-1\text{ is a factor}\\ \mathrm{g}(x)&\equiv(x-1)(2x^2+x-6) && \text{polynomial division}\\ 2x^2+x-6&=2x^2+4x-3x-6 && \text{split the middle term}\\ &=2x(x+2)-3(x+2) && \text{factor each pair}\\ &=(2x-3)(x+2) && \text{take out }x+2 \end{aligned}

Why split xx as 4x−3x4x-3x? The two coefficients add to 11 and multiply to 2×(−6)=−122\times(-6)=-12, allowing the same bracket to appear in each pair.

Answer. g(x)≡(x−1)(2x−3)(x+2)\mathrm{g}(x)\equiv(x-1)(2x-3)(x+2).

Check. g(32)=274−94−212+6=0\mathrm{g}(\frac32)=\frac{27}{4}-\frac94-\frac{21}{2}+6=0, consistent with the factor 2x−32x-3.

This answers the opening question: f(1)=0\mathrm{f}(1)=0 exposes the factor x−1x-1, and division exposes the rest. A further surprise is that x3−3x+2≡(x−1)2(x+2)x^3-3x+2\equiv(x-1)^2(x+2). A cubic can have only two distinct real roots because the same linear factor can occur twice. Testing 11 once establishes one factor; division is what reveals its repetition.

Watch out

Wrong: after finding f(1)=0\mathrm{f}(1)=0, writing x+1x+1 as the factor. Right: the factor is x−1x-1, because that bracket becomes zero at the tested input 11. Divide by the bracket established by the substitution, keeping its sign unchanged.

That first bracket starts the factorisation, but the quotient is still needed to justify the remaining factors.

Exam tip

When OCR says “Using the factor theorem” with detailed reasoning, show a substitution giving 00, identify its factor, and obtain the quadratic quotient before writing the full factorisation. A list of calculator roots does not show that argument.

Use the same chain with a new cubic. You may choose any successful candidate.

Using a factor to find a coefficient

A stated factor is an equation in disguise: substitute the input that makes the factor zero, then solve for the unknown coefficient.

Here the unknown is a coefficient such as kk, rather than a root. Keep those roles separate: the proposed factor already tells you the input to use.

Worked example 5: an unknown constant term

Question. Given that x−2x-2 is a factor of f(x)=x3−4x+k\mathrm{f}(x)=x^3-4x+k, determine kk.

Plan. Use f(2)=0\mathrm{f}(2)=0 to form a linear equation in kk.

f(2)=8−8+ksubstitute the known root0=kuse the stated factor\begin{aligned} \mathrm{f}(2)&=8-8+k && \text{substitute the known root}\\ 0&=k && \text{use the stated factor} \end{aligned}

Why set the output to zero? Exact divisibility by x−2x-2 means precisely f(2)=0\mathrm{f}(2)=0; it does not mean f(x)=2\mathrm{f}(x)=2.

Answer. k=0k=0.

Check. x3−4x=x(x−2)(x+2)x^3-4x=x(x-2)(x+2), which contains the stated factor.

Now move the unknown coefficient from the constant term to the xx term. It is multiplied by the substituted input, so it cannot be copied unchanged.

Worked example 6: an unknown linear coefficient

Question. Given that x−2x-2 is a factor of g(x)=x3+kx+6\mathrm{g}(x)=x^3+kx+6, determine kk.

Plan. Substitute 22 into every occurrence of xx and set the output equal to zero.

g(2)=8+2k+6=0factor theorem2k=−14collect the constantsk=−7divide by 2\begin{aligned} \mathrm{g}(2)&=8+2k+6=0 && \text{factor theorem}\\ 2k&=-14 && \text{collect the constants}\\ k&=-7 && \text{divide by }2 \end{aligned}

Why does kxkx become 2k2k? Only xx is replaced by 22; kk is the fixed coefficient we are trying to find.

Answer. k=−7k=-7.

Check. At x=2x=2, x3−7x+6=8−14+6=0x^3-7x+6=8-14+6=0. In fact, x3−7x+6≡(x−2)(x−1)(x+3)x^3-7x+6\equiv(x-2)(x-1)(x+3).

You can combine coefficient-finding with division if a question then asks for all the factors. First find the coefficient, replace it in the original polynomial, and only then divide. This prevents carrying an unnecessary unknown through the division.

Watch out

Wrong: for a factor x+3x+3, using f(3)=0\mathrm{f}(3)=0. Right: use f(−3)=0\mathrm{f}(-3)=0. Also keep powers and coefficients distinct: at x=−3x=-3, kx2=9kkx^2=9k, whereas kx=−3kkx=-3k.

The next coefficient lies on the square term, so decide its multiplier before solving.

Quick Recap

  • Division gives dividend equal to divisor times quotient plus remainder. Stop when the remainder's degree is smaller than the divisor's.
  • The remainder on dividing by x−ax-a is f(a)\mathrm{f}(a); it is a factor exactly when that output is 00.
  • To factorise a cubic, establish a linear factor, divide it out, then factorise the quadratic quotient.
  • A stated factor supplies an input and a zero output, giving an equation for a missing coefficient.

The opening calculation f(1)=0\mathrm{f}(1)=0 proves that x−1x-1 divides the entire cubic, leading to x3−2x2−5x+6≡(x−1)(x−3)(x+2)x^3-2x^2-5x+6\equiv(x-1)(x-3)(x+2).