Polynomials & quadratic roots · Lesson 1 of 3

Dividing, factorising and finding unknowns

The General Maths remainder and factor theorems, pushed further: synthetic division, factorising a cubic completely, a factor and a remainder together, dividing by a quadratic, and a quadratic from three of its values.

  1. 1
  2. 2
  3. 3

In General Maths you divided polynomials by long division and used two facts about dividing by x−ax - a (see polynomials):

  • The remainder theorem: the remainder is f(a)f(a).
  • The factor theorem: if f(a)=0f(a) = 0, then x−ax - a is a factor.

Further Maths questions use the same two facts, but ask for more with them: all three factors of a cubic, two unknowns from a factor and a remainder, or a missing coefficient after dividing by a quadratic. This lesson starts with a faster way to divide, then takes each type in turn.

Adding and taking away polynomials

Add or take away like terms only: x3x^3 terms with x3x^3 terms, x2x^2 terms with x2x^2 terms, and so on. When a whole polynomial is multiplied by a number and then taken away, every one of its terms is multiplied, and every sign changes.

For example, with P(x)=4x3−2x2+5x−1P(x) = 4x^3 - 2x^2 + 5x - 1 and Q(x)=x2−3x+2Q(x) = x^2 - 3x + 2, to find P(x)−3Q(x)P(x) - 3Q(x):

  • Multiply every term of QQ by 3: 3Q(x)=3x2−9x+6{3Q(x) = 3x^2 - 9x + 6}.
  • Take away term by term: 4x3+(−2−3)x2+(5+9)x+(−1−6){4x^3 + (-2 - 3)x^2 + (5 + 9)x + (-1 - 6)}.
  • Simplify: P(x)−3Q(x)=4x3−5x2+14x−7{P(x) - 3Q(x) = 4x^3 - 5x^2 + 14x - 7}.

More: adding and taking away

Synthetic division

Long division works, but it is slow. Synthetic division does the same job when dividing by x−ax - a, using only the coefficients:

212−51
286
1437
quotient x² + 4x + 3, remainder 7
Bring down the 1. Then × 2, write it under the next number, and add
Synthetic division(x³ + 2x² − 5x + 1) ÷ (x − 2): quotient x² + 4x + 3, remainder 7
  1. Write the coefficients in order of power, with 0 for any missing power.
  2. On the left, write aa, the value that makes x−ax - a zero. For x+2x + 2, that is −2-2.
  3. Bring the first coefficient straight down.
  4. Multiply it by aa, write the product under the next coefficient, and add. Repeat to the end.
  5. The last number is the remainder. The others are the coefficients of the quotient, which is one power lower than the polynomial.

Step through it:

Synthetic divisionStep through
32−3−116
Set upstep 0 of 5
Write the coefficients in order of power. On the left, write the value that makes x − 3 zero: 3.

The remainder always agrees with the remainder theorem. In the figure, f(2)=8+8−10+1=7f(2) = 8 + 8 - 10 + 1 = 7. So synthetic division gives you f(a)f(a) and the quotient in one go.

More: quotients and remainders

Factorising a cubic completely

To factorise a cubic, you need one factor to start with. The question may give it to you, as "f(−1)=0f(-1) = 0". If not, try the factors of the constant term in f(a)f(a) until one gives 0. Then:

  1. divide that factor out (synthetic division is quickest), leaving a quadratic;
  2. factorise the quadratic (see factorising);
  3. write f(x)f(x) as the product of all three brackets.

Worked example · WAEC 2011

WAEC 2011 · Paper 2 · Q1

If f(x)=6x3+13x2+2x−5f(x) = 6x^3 + 13x^2 + 2x - 5 and f(−1)=0f(-1) = 0, find the factors of f(x)f(x).

  1. The first factor

    • f(−1)=0f(-1) = 0, so by the factor theorem x−(−1)x - (-1) is a factor.
    • That is x+1{x + 1}.

    Think first. f(−1) = 0. Which bracket does that give?

  2. Divide it out

    • Write −1-1 on the left and the coefficients 6, 13, 2, −5{6,\ 13,\ 2,\ -5}.
    • Bring down the 6.
    • 6×(−1)=−6{6 \times (-1) = -6}, and 13−6=7{13 - 6 = 7}.
    • 7×(−1)=−7{7 \times (-1) = -7}, and 2−7=−5{2 - 7 = -5}.
    • −5×(−1)=5{-5 \times (-1) = 5}, and −5+5=0{-5 + 5 = 0}: remainder 0, as expected.
    • So the quotient is 6x2+7x−5{6x^2 + 7x - 5}.

    Think first. Synthetic division with −1 on the left: what is the bottom row?

  3. Factorise the quadratic

    • The numbers are 10 and −3-3.
    • Split the middle term: 6x2+10x−3x−5{6x^2 + 10x - 3x - 5}.
    • Take out common factors in pairs: 2x(3x+5)−1(3x+5){2x(3x + 5) - 1(3x + 5)}.
    • So 6x2+7x−5=(2x−1)(3x+5){6x^2 + 7x - 5 = (2x - 1)(3x + 5)}.

    Think first. Which two numbers multiply to 6 × (−5) = −30 and add to 7?

  4. All three factors

    • f(x)=(x+1)(2x−1)(3x+5){f(x) = (x + 1)(2x - 1)(3x + 5)}.
    • The factors are (x+1)(x + 1), (2x−1)(2x - 1) and (3x+5)(3x + 5).

More: factorising cubics

A factor and a remainder together

Each fact you are given turns into one equation:

  • ”x−ax - a is a factor” gives f(a)=0f(a) = 0;
  • “the remainder on dividing by x−ax - a is RR” gives f(a)=Rf(a) = R.

Two unknowns need two facts. Solve the two equations simultaneously.

Worked example · WAEC 2018

WAEC 2018 · Paper 2 · Q11 (b)

The polynomial x3+qx2+rx+9x^3 + qx^2 + rx + 9, where qq and rr are constants, has (x+1)(x + 1) as a factor and has a remainder of −17-17 when divided by (x+2)(x + 2). Find the values of qq and rr.

  1. The factor

    • x+1x + 1 is a factor, so f(−1)=0{f(-1) = 0}.
    • Substitute: (−1)3+q(−1)2+r(−1)+9=0{(-1)^3 + q(-1)^2 + r(-1) + 9 = 0}.
    • Work out the powers: −1+q−r+9=0{-1 + q - r + 9 = 0}.
    • Simplify: q−r=−8{q - r = -8}.

    Think first. (x + 1) is a factor. So f(what) = 0?

  2. The remainder

    • The remainder on dividing by x+2x + 2 is −17-17, so f(−2)=−17{f(-2) = -17}.
    • Substitute: (−2)3+q(−2)2+r(−2)+9=−17{(-2)^3 + q(-2)^2 + r(-2) + 9 = -17}.
    • Work out the powers: −8+4q−2r+9=−17{-8 + 4q - 2r + 9 = -17}.
    • Simplify: 4q−2r=−18{4q - 2r = -18}.
    • Divide by 2: 2q−r=−9{2q - r = -9}.

    Think first. Dividing by (x + 2) leaves −17. So f(what) = −17?

  3. Solve together

    • (2q−r)−(q−r)=−9−(−8){(2q - r) - (q - r) = -9 - (-8)}.
    • So q=−1{q = -1}.
    • Then r=q+8=7{r = q + 8 = 7}.

    Think first. Take the first equation from the second.

  4. Check

    • f(−2)=−8+4(−1)−2(7)+9{f(-2) = -8 + 4(-1) - 2(7) + 9}.
    • =−8−4−14+9=−17{= -8 - 4 - 14 + 9 = -17} ✓. So q=−1q = -1 and r=7r = 7.

More: two unknowns

Dividing by a quadratic: compare coefficients

For any division, the polynomial equals the divisor times the quotient, plus the remainder. This is true for every value of xx:

17 = 5 × 3 + 2
f(x) = divisor × quotient + remainder
The remainder has a lower degree than the divisor
Division as multiplicationf(x) = divisor × quotient + remainder

So when a question gives you the divisor, the quotient and the remainder, multiply out the right-hand side. Then match the coefficients of each power of xx with those of f(x)f(x).

Worked example · WAEC 2016

WAEC 2016 · Paper 2 · Q4

When f(x)=2x3+mx2+nx+11f(x) = 2x^3 + mx^2 + nx + 11 is divided by x2+5x+1x^2 + 5x + 1, the quotient is 2x−52x - 5 and the remainder is 30x+1630x + 16. Find the values of mm and nn.

  1. Write the identity

    2x3+mx2+nx+11=(x2+5x+1)(2x−5)+(30x+16)\begin{aligned} &2x^3 + mx^2 + nx + 11 \\ &= (x^2 + 5x + 1)(2x - 5) + (30x + 16) \end{aligned}

    Think first. Put the divisor, quotient and remainder together.

  2. Multiply out

    • x2(2x−5)=2x3−5x2{x^2(2x - 5) = 2x^3 - 5x^2}.
    • 5x(2x−5)=10x2−25x{5x(2x - 5) = 10x^2 - 25x}.
    • 1(2x−5)=2x−5{1(2x - 5) = 2x - 5}.
    • Add them: 2x3+5x2−23x−5{2x^3 + 5x^2 - 23x - 5}.

    Think first. Multiply each term of x² + 5x + 1 by 2x − 5.

  3. Add the remainder

    • 2x3+5x2−23x−5+30x+16{2x^3 + 5x^2 - 23x - 5 + 30x + 16}.
    • =2x3+5x2+7x+11{= 2x^3 + 5x^2 + 7x + 11}.
  4. Compare coefficients

    • The x2x^2 terms: m=5{m = 5}.
    • The xx terms: n=7{n = 7}.
    • The constants are both 11, which checks the working.

    Think first. Match the x² terms and the x terms.

More: dividing by a quadratic

A quadratic from three of its values

f(x)=px2+qx+rf(x) = px^2 + qx + r has three unknowns, so it takes three facts to find them. Each value such as f(2)=7f(2) = 7 gives one equation. Take one equation from another to get rid of a letter, just as with two unknowns.

For example, if f(1)=2f(1) = 2, f(−1)=6f(-1) = 6 and f(2)=3f(2) = 3 for f(x)=ax2+bx+cf(x) = ax^2 + bx + c:

  • f(1)=2f(1) = 2 gives a+b+c=2{a + b + c = 2}.
  • f(−1)=6f(-1) = 6 gives a−b+c=6{a - b + c = 6}.
  • f(2)=3f(2) = 3 gives 4a+2b+c=3{4a + 2b + c = 3}.
  • Take the second from the first: 2b=−4{2b = -4}, so b=−2{b = -2}.
  • Put b=−2b = -2 in the first: a+c=4{a + c = 4}.
  • Put b=−2b = -2 in the third: 4a+c=7{4a + c = 7}.
  • Take a+c=4{a + c = 4} from 4a+c=7{4a + c = 7}: 3a=3{3a = 3}, so a=1{a = 1}.
  • Then c=4−1=3{c = 4 - 1 = 3}, and f(x)=x2−2x+3{f(x) = x^2 - 2x + 3}.

Your turn

WAEC 2018 · Paper 2 · Q10 (a)✱✱

  1. (a)

    The function f(x)=px2+qx+rf(x) = px^2 + qx + r, where pp, qq and rr are constants. If f(1)=0f(1) = 0, f(−1)=4f(-1) = 4 and f(2)=7f(2) = 7, find the: (i) values of pp, qq and rr; (ii) factors of f(x)f(x).

    Separate values with commas, e.g. 3, −2

Worked solution (try it first)

(a)(i)

  1. Each value gives an equation: f(1)=p+q+r=0f(1) = p + q + r = 0, f(−1)=p−q+r=4f(-1) = p - q + r = 4 and f(2)=4p+2q+r=7f(2) = 4p + 2q + r = 7.
  2. Take the second equation from the first: 2q=−42q = -4, so q=−2q = -2.
  3. Put q=−2q = -2 in the first: p+r=2p + r = 2.
  4. Put it in the third: 4p+r=114p + r = 11.
  5. Take p+r=2p + r = 2 from 4p+r=114p + r = 11: 3p=93p = 9, so p=3p = 3.
  6. Then r=2−3=−1r = 2 - 3 = -1.

Report a problem with this question