Lantern Tutor Sign in

Add Maths · 3 Factors of polynomials

3 Factors of polynomials

Before you start

  • Expanding brackets such as (x−2)(x2+4x+3) and collecting like terms.
  • Factorising a quadratic, including one whose x2 coefficient is not 1, such as 2x2−7x+3=(2x−1)(x−3).
  • The quadratic formula (it is on the List of formulas), the discriminant b2−4ac, and simplifying surds such as 8=22.
  • Substituting negatives and fractions by hand: (−2)3=−8, (−2)2=4, (12)3=18.
Syllabus objectives covered (3)
  • Know and use the remainder and factor theorems.
  • Find factors of polynomials.
  • Solve cubic equations.

Part 1 of 7

Polynomials, and what p(a) means

  1. A polynomial in x is a sum of terms like axn where every power n is a whole number 0,1,2,…. Its degree is the highest power. In this topic it is almost always a cubic, degree 3, such as p(x)=x3+2x2−5x+1.
  2. Naming it p(x) lets you write 'substitute' in four characters. p(2) means replace every x by 2: p(2)=8+8−10+1=7.
  3. Put negatives in brackets, because the powers decide the sign: p(−2)=(−2)3+2(−2)2−5(−2)+1=−8+8+10+1=11. An odd power keeps the minus; an even power removes it.
  4. Two shortcuts: p(0) is just the constant term, and p(1) is the sum of the coefficients. Here p(1)=1+2−5+1=−1.

Part 2 of 7

Dividing a polynomial by (x − a)

  1. Algebraic long division copies long division of numbers: divide the leading terms, multiply back, subtract, bring down the next term, repeat. You end with a quotient and a remainder.
  2. Divide x3+2x2−5x+1 by (x−2). Leading terms first: x3÷x=x2. That is the first term of the quotient.
  3. Multiply the whole divisor by x2 and subtract. Write the bracket, because subtracting −2x2 is where signs go wrong.
    (x3+2x2)−(x3−2x2)=4x2
  4. Bring down −5x to get 4x2−5x. Then 4x2÷x=4x; multiply back, 4x(x−2)=4x2−8x; subtract: (4x2−5x)−(4x2−8x)=3x.
  5. Bring down +1 to get 3x+1. Then 3x÷x=3; multiply back, 3(x−2)=3x−6; subtract: (3x+1)−(3x−6)=7. Nothing is left to bring down, so 7 is the remainder.
  6. Write the result as an identity. Expanding the right-hand side gives the left, which is your check.
    x3+2x2−5x+1≡(x−2)(x2+4x+3)+7
  7. A missing power needs a placeholder. To divide x3−7x+6, first write it as x3+0x2−7x+6. Without the 0x2 the terms slide out of line and every later subtraction is wrong.

Part 3 of 7

The remainder theorem

  1. Look again at p(x)≡(x−2)(x2+4x+3)+7 and put x=2. The bracket (x−2) becomes 0, the whole product vanishes, and only the remainder survives: p(2)=7. That is the value you got by plain substitution in the first section.
  2. This works for every polynomial and every divisor (x−a). It is the remainder theorem. It is not on the List of formulas, so you must know it.
    When p(x) is divided by (x−a), the remainder is p(a).
  3. So you never need to divide just to find a remainder. Find the value of x that makes the divisor zero, and substitute it.
  4. The sign trap: dividing by (x+3) means x+3=0, so x=−3 and the remainder is p(−3), not p(3).
  5. The same idea works for a divisor like (2x+1). It is zero when x=−12, so the remainder is p(−12). For p(x)=4x3−2x+5 that is 4(−18)+1+5=112.
  6. Why is the remainder always a number, with no x in it? You keep dividing until what is left has a lower degree than the divisor, and anything of lower degree than (x−a) is a constant.

Part 4 of 7

The factor theorem

  1. A factor divides exactly, leaving remainder zero. Combine that with the remainder theorem and you get the factor theorem, which you must also recall.
    (x−a) is a factor of p(x)⟺p(a)=0
  2. It runs both ways. If p(a)=0, then (x−a) is a factor. If you are told (x−a) is a factor, you may write p(a)=0 as an equation.
  3. For a factor like (ax−b), test p(ba). So (2x−1) is a factor of p(x)=2x3−3x2−11x+6 because p(12)=14−34−112+6=0.
  4. The 'told it is a factor' direction is how unknown coefficients are found. Each fact you are given ('is a factor', 'leaves remainder 5') becomes one equation. Two unknowns need two facts, and then you solve the two equations simultaneously.
  5. When a question says Show that (x−a) is a factor, write p(a) out term by term, reach 0, and finish with the conclusion: 'so (x−a) is a factor'. The arithmetic alone does not show the result.

Part 5 of 7

Finding a first factor by trial

  1. To factorise a cubic from scratch you need one factor to start with. Find it by testing values of x, but not at random.
  2. If (x−a) is a factor and the x3 coefficient is 1, then a must divide the constant term. Here is why: in (x−a)(x2+bx+c) the constant term is −ac, which is a multiple of a.
  3. So list the factors of the constant, with both signs. For x3−4x2+x+6 the candidates are ±1,±2,±3,±6. Try the small ones first: the arithmetic is quicker.
  4. Try x=1: 1−4+1+6=4, not zero. Try x=−1: −1−4−1+6=0. So (x+1) is a factor. Stop there. One linear factor is enough, because the rest comes from the quadratic.
  5. If the x3 coefficient is not 1, a root can be a fraction: ±factor of the constantfactor of the x3 coefficient. For 2x3+⋯+6 that adds ±12 and ±32 to the list. Try the whole numbers first.
  6. A non-zero result is not wasted. It is the remainder for that divisor, and questions often ask for exactly that.

Part 6 of 7

From one factor to the quadratic factor

  1. The syllabus expects you first to write the cubic as a linear factor times a quadratic factor. There are two reliable ways to get the quadratic. Use the one you make fewer slips with.
  2. Method 1: algebraic long division, exactly as above. Divide by the factor you found. The remainder must come out as 0, which checks your arithmetic for free.
  3. Method 2: comparing coefficients. Take x3−7x+6. Since p(1)=1−7+6=0, (x−1) is a factor. Write the quadratic factor with unknown coefficients.
    x3+0x2−7x+6≡(x−1)(x2+bx+c)
  4. The bracket starts with x2 because x×x2 has to give the x3 on the left. Now match the constant terms: (−1)×c=6, so c=−6.
  5. Match the x2 terms. On the right they come from x×bx and (−1)×x2, giving b−1. The left has 0x2, so b−1=0 and b=1.
  6. Use the x terms as a check. On the right they are x×c and (−1)×bx, giving c−b=−6−1=−7. That matches the −7x on the left.
    x3−7x+6=(x−1)(x2+x−6)
  7. Factorise fully. In this syllabus that means you are not finished while any factor can still be split: x2+x−6=(x+3)(x−2), so x3−7x+6=(x−1)(x+3)(x−2).

Part 7 of 7

Solving a cubic equation

  1. To solve p(x)=0: make one side zero, factorise, then use the zero-product rule. A product is zero only if one of its factors is zero.
  2. Three linear factors give three roots. From (x−1)(x+3)(x−2)=0: x=1, x=−3 or x=2.
  3. The roots are where the curve y=p(x) crosses the x-axis, one crossing per linear factor. For 2x3−3x2−11x+6=(x+2)(2x−1)(x−3) the crossings are at x=−2, x=12 and x=3, and the curve meets the y-axis at the constant term, 6.
    xy−2−1123−20−101020(x + 2)(2x − 1)(x − 3)6
    Each linear factor is one crossing of the x-axis, and the y-intercept is the constant term.
  4. A cubic with a positive x3 coefficient comes up from the bottom left and leaves at the top right, so it has to cross the x-axis somewhere. That is why every cubic has at least one real root.
  5. If the quadratic factor does not factorise, use the quadratic formula on it and leave the roots as surds. Paper 1 has no calculator: 1+2 is the finished answer, not a decimal.
  6. If the quadratic factor has b2−4ac<0, it has no real roots, and the cubic has only the one root from the linear factor. Show the discriminant and say so. For (x−2)(x2+3)=0, the discriminant of x2+3 is 0−12=−12<0, so x=2 is the only real solution.
  7. **Never divide both sides by x** (or by a bracket) to shorten a cubic. Dividing x3=4x by x gives x2=4 and loses the root x=0. Instead write x3−4x=0, so x(x−2)(x+2)=0 and x=0, 2 or −2.

Worked examples

Example 1. Find the remainder when p(x)=2x3+5x2−4x+3 is divided by (a) (x+3) (b) (2x−1).

Show the working
  1. (a) The divisor is zero when x=−3, so by the remainder theorem the remainder is p(−3). Bracket the negative.
  2. Each power of −3 in turn: (−3)3=−27 and (−3)2=9.
    p(−3)=2(−27)+5(9)−4(−3)+3=−54+45+12+3=6
  3. (b) 2x−1=0 when x=12, so the remainder is p(12). Work the fractions by hand.
  4. (12)3=18 and (12)2=14.
    p(12)=28+54−2+3=14+54+1=52
  5. Neither remainder is zero, so neither divisor is a factor. That comes free with the answer.

Answer: (a) 6 (b) 52

Example 2. The polynomial p(x)=x3+ax2+bx−6 has (x−2) as a factor, and leaves a remainder of −12 when divided by (x+1). (a) Find a and b. (b) Solve p(x)=0.

Show the working
  1. Factor theorem: (x−2) is a factor, so p(2)=0. Simplify straight away.
    8+4a+2b−6=0⇒2a+b=−1
  2. Remainder theorem: dividing by (x+1) means substituting x=−1, and the result is −12.
    −1+a−b−6=−12⇒a−b=−5
  3. Solve the pair. The b terms have opposite signs, so add the equations: 3a=−6, giving a=−2. Then b=−1−2a=−1+4=3.
  4. So p(x)=x3−2x2+3x−6. Check both facts before moving on: p(2)=8−8+6−6=0 and p(−1)=−1−2−3−6=−12. Both hold.
  5. (b) You already know (x−2) is a factor. Use new letters for the quadratic, so they cannot be confused with a and b.
    x3−2x2+3x−6≡(x−2)(x2+qx+r)
  6. Constants: −2r=−6, so r=3. x2 terms: q−2=−2, so q=0. Check the x terms: r−2q=3, which matches +3x.
    p(x)=(x−2)(x2+3)
  7. The quadratic factor has discriminant 02−4(1)(3)=−12<0, so x2+3=0 has no real roots. Only the linear factor gives a solution.

Answer: (a) a=−2, b=3. (b) x=2 is the only real solution, since x2+3=0 has no real roots.

Example 3. Solve 2x3+x2−13x+6=0.

Show the working
  1. Candidates: the factors of 6, which are ±1,±2,±3,±6. Halves are possible too, because the x3 coefficient is 2. Start with the small whole numbers.
  2. p(1)=2+1−13+6=−4 and p(−1)=−2+1+13+6=18. Neither is zero.
  3. p(2)=16+4−26+6=0, so (x−2) is a factor.
  4. Divide by (x−2). First 2x3÷x=2x2; subtract 2x2(x−2)=2x3−4x2 from 2x3+x2 to leave 5x2, and bring down −13x.
  5. Next 5x2÷x=5x; subtract 5x(x−2)=5x2−10x to leave −3x, and bring down +6. Then −3x÷x=−3; subtract −3(x−2)=−3x+6 to leave 0. The zero remainder confirms the factor.
    2x3+x2−13x+6=(x−2)(2x2+5x−3)
  6. Factorise the quadratic. You need two numbers with product 2×(−3)=−6 and sum 5: they are 6 and −1. So 2x2+5x−3=(2x−1)(x+3).
    (x−2)(2x−1)(x+3)=0
  7. Check a root you did not test, x=−3: 2(−27)+9+39+6=0. Correct.

Answer: x=2, x=12 or x=−3.

Example 4. Solve x3+x2−7x−3=0, giving your answers in exact form.

Show the working
  1. The candidates are ±1 and ±3. p(1)=−8, p(−1)=4, p(3)=12, and p(−3)=−27+9+21−3=0. So (x+3) is a factor.
  2. Compare coefficients in x3+x2−7x−3≡(x+3)(x2+qx+r). Constants: 3r=−3, so r=−1. x2 terms: q+3=1, so q=−2.
  3. Check with the x terms: r+3q=−1−6=−7. It matches.
    x3+x2−7x−3=(x+3)(x2−2x−1)
  4. No pair of whole numbers multiplies to −1 and adds to −2, so x2−2x−1 does not factorise. Use the quadratic formula with a=1, b=−2, c=−1.
    x=2±4+42=2±222=1±2
  5. Simplify the surd fully (8=22) and cancel the 2. Leave the roots exact. On a non-calculator paper that is the finished answer.

Answer: x=−3, x=1+2 or x=1−2.

Where people go wrong

Mistake: Finding the remainder on division by (x+2) by working out p(2).

Instead: Set the divisor equal to zero: x+2=0 gives x=−2, so the remainder is p(−2).

The theorem says 'divided by (x−a), remainder p(a)', and (x+2) is (x−(−2)), so a=−2.

Mistake: Testing whether (2x−1) is a factor by working out p(1) or p(2).

Instead: 2x−1=0 when x=12, so test p(12).

Only the value that makes the divisor zero makes the product term vanish and leaves the remainder.

Mistake: Leaving out a missing power in long division, e.g. dividing x3−7x+6 with no x2 term.

Instead: Write x3+0x2−7x+6 before you start.

Each subtraction lines up terms of the same power. Without the placeholder, −7x ends up subtracted from an x2 term.

Mistake: Stopping at (x−1)(x2+x−6) when asked to factorise fully or to solve.

Instead: Check whether the quadratic factor splits: (x−1)(x+3)(x−2).

'Factorise' means factorise fully in this syllabus, and an unsplit quadratic hides up to two roots.

Mistake: Dividing both sides of x3=4x by x.

Instead: Bring everything to one side and take out the common factor: x(x2−4)=0.

Dividing by x quietly assumes x≠0, which throws away the solution x=0.

Check yourself

  1. Find the remainder when x3−2x+7 is divided by (x−3).
    AnswerSubstitute x=3: 27−6+7=28.
  2. Find the remainder when 4x3+x−1 is divided by (2x+1).
    AnswerSubstitute x=−12: 4(−18)−12−1=−12−12−1=−2.
  3. When x3+kx2−4 is divided by (x+2) the remainder is 8. Find k.
    Answerp(−2)=−8+4k−4=8, so 4k=20 and k=5.
  4. Show that (x+3) is a factor of x3+2x2−5x−6, and then factorise it fully.
    Answerp(−3)=−27+18+15−6=0, so (x+3) is a factor. Then x3+2x2−5x−6=(x+3)(x2−x−2)=(x+3)(x−2)(x+1).
  5. List the values of x worth testing to find a factor of x3−3x2−4x+12, then find one factor.
    Answer±1,±2,±3,±4,±6,±12. p(1)=6 and p(−1)=12, but p(2)=8−12−8+12=0, so (x−2) is a factor. (In full, it is (x−2)(x−3)(x+2).)
  6. Given that (x−1) is a factor of 3x3+2x2−7x+2, find the quadratic factor by comparing coefficients, then factorise fully.
    AnswerWrite (x−1)(3x2+qx+r). Constants: −r=2, so r=−2. x2 terms: q−3=2, so q=5. Check x terms: r−q=−7. So it is (x−1)(3x2+5x−2)=(x−1)(3x−1)(x+2).
  7. Explain why x3+x2+x−3=0 has exactly one real solution.
    Answerp(1)=0, so it factorises as (x−1)(x2+2x+3). The quadratic has discriminant 4−12=−8<0, so it has no real roots. The only real solution is x=1.
  8. Solve x3=9x.
    Answerx3−9x=0, so x(x−3)(x+3)=0 and x=0, 3 or −3. Dividing by x would have lost x=0.

Exam questions

Try each part first. Open the mark scheme after you have written your answer.

Question 1. p(x)=2x3+ax2+bx−10, where a and b are constants. It is given that (x−2) is a factor of p(x), and that when p(x) is divided by (x+1) the remainder is 12.

(a) Find the value of a and the value of b. 4 marks No calculator

Mark scheme
  • B1 p(2)=0 used: 16+4a+2b−10=0 oe
  • B1 p(−1)=12 used: −2+a−b−10=12 oe
  • M1 solves their two linear equations simultaneously to find one unknown
  • A1 a=7 and b=−17

(b) Using your values of a and b, factorise p(x) fully. 3 marks No calculator

Mark scheme
  • M1 divides p(x) by (x−2), or compares coefficients, to obtain a quadratic factor; FT their a and b
  • A1 2x2+11x+5
  • A1 (x−2)(2x+1)(x+5)

(c) Hence solve p(x)=0. 1 mark No calculator

Mark scheme
  • B1 x=2, x=−12, x=−5; FT their three linear factors

Question 2. q(x)=x3−4x2−2x+8

(a) Verify that (x−4) is a factor of q(x). 1 mark No calculator

Mark scheme
  • B1 q(4)=64−64−8+8=0 shown, with a conclusion that (x−4) is a factor

(b) Solve q(x)=0, giving your answers in exact form. 3 marks No calculator

Mark scheme
  • M1 obtains a quadratic factor by division, comparing coefficients or grouping
  • A1 x2−2
  • A1 x=4, x=2, x=−2 cao

(c) Find the remainder when q(x) is divided by (2x−1). 2 marks No calculator

Mark scheme
  • M1 substitutes x=12 into q(x)
  • A1 498 oe

Question 3. The polynomial f(x)=2x3+kx2−7x+3, where k is a constant, has (2x−1) as a factor.

(a) Show that k=1. 2 marks No calculator

Mark scheme
  • M1 substitutes x=12 and sets f(12)=0
  • A1 14+k4−72+3=0 simplified correctly to k=1; nfww

(b) Solve f(x)=0, giving your answers in exact form. 4 marks No calculator

Mark scheme
  • M1 divides by (2x−1), or compares coefficients, to obtain a quadratic factor
  • A1 x2+x−3
  • M1 applies the quadratic formula to their three-term quadratic
  • A1 x=12, x=−1+132, x=−1−132 cao

How this is examined

  • Turning 'is a factor' and 'leaves remainder R' into two equations for unknown coefficients: a four-mark Find at the start of a cubic question, usually followed by factorising or solving the same cubic Each condition written as an equation with the substitution visible, e.g. p(2)=0 and p(−1)=12 expanded term by term. Then the pair solved for both unknowns. Check both conditions with your values before going on, because a wrong coefficient spoils every later part.
  • Getting from one linear factor to the quadratic factor, then factorising fully: the middle part of a cubic question: Factorise fully, or Show that p(x)=(x−a)(…) The quadratic factor stated explicitly, found by long division (with the zero remainder shown) or by comparing coefficients, then the product of all the linear factors. Stopping at linear times quadratic, when the quadratic still splits, loses the final mark.
  • Solving the cubic and giving every root exactly: a Solve after the factorising, sometimes with a quadratic factor that needs the formula All roots listed from the factorised form, with surds simplified (e.g. 1±2). Where the quadratic factor has b2−4ac<0, the discriminant is shown and the single real root is stated.
  • The remainder for a divisor such as (2x+1): a one- or two-mark Find, with no division needed Substituting the value that makes the divisor zero, here x=−12, with the fractions worked by hand to a single exact value.
  • Proving a given linear expression is a factor: a one- or two-mark Show that or Verify p(a) written out term by term, evaluated to 0, and the conclusion stated: 'so (x−a) is a factor'.

Words to know

Polynomial
An expression made of terms axn with whole-number powers, such as 2x3−5x+1.
Degree
The highest power of x in a polynomial. A cubic has degree 3.
Quotient
The polynomial produced by a division, not counting the remainder.
Remainder theorem
When p(x) is divided by (x−a), the remainder is p(a).
Factor theorem
(x−a) is a factor of p(x) exactly when p(a)=0.
Root
A value of x that makes p(x)=0; on a graph, where y=p(x) meets the x-axis.
Comparing coefficients
Finding unknown coefficients by matching the number in front of each power of x on the two sides of an identity.