Worked Example · Factors of Polynomials · Paper 2 · 5 marks

A Cubic with Two Unknown Coefficients

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

Two unknowns need two equations. Each factor of a polynomial gives one equation via the factor theorem (f(k)=0f(k) = 0), so two factors give two simultaneous equations in the unknowns.

The polynomial f(x)=x3+ax2+bx6f(x) = x^3 + ax^2 + bx - 6 has (x1)(x - 1) and (x+2)(x + 2) as factors. Find the values of aa and bb. [5]

The working

Step 1, apply the factor theorem to (x1)(x - 1), so f(1)=0f(1) = 0: f(1)=1+a+b6=0    a+b=5(M1, A1)f(1) = 1 + a + b - 6 = 0 \;\Rightarrow\; a + b = 5 \quad \text{(M1, A1)}

Step 2, apply it to (x+2)(x + 2), so f(2)=0f(-2) = 0: f(2)=(2)3+a(2)2+b(2)6=8+4a2b6=0    4a2b=14    2ab=7(M1, A1)f(-2) = (-2)^3 + a(-2)^2 + b(-2) - 6 = -8 + 4a - 2b - 6 = 0 \;\Rightarrow\; 4a - 2b = 14 \;\Rightarrow\; 2a - b = 7 \quad \text{(M1, A1)}

Step 3, solve simultaneously. Add a+b=5a + b = 5 and 2ab=72a - b = 7 (the bb cancels): 3a=12    a=4,then b=54=1(A1)3a = 12 \;\Rightarrow\; a = 4, \qquad \text{then } b = 5 - 4 = 1 \quad \text{(A1)}

So a=4a = 4 and b=1b = 1.

Where the marks are won and lost

  • Two factors, two equations. Each factor (xk)(x - k) gives f(k)=0f(k) = 0; use both, not just one.
  • Signs in f(2)f(-2): (2)3=8(-2)^3 = -8 and a(2)2=4aa(-2)^2 = 4a (positive), b(2)=2bb(-2) = -2b. A sign slip here corrupts the second equation.
  • Solve the pair by elimination (adding cancels bb here), cleaner than substitution.

Common mistakes

  • Using only one factor and trying to guess the second unknown.
  • Sign errors evaluating f(2)f(-2).
  • Arithmetic slips solving the simultaneous equations.

Full method: Factor Theorem notes. Topic home: Factors of Polynomials pillar.

Common questions

How do I find two unknowns in a polynomial?
You need two pieces of information, usually two given factors or two known values. Each factor (x − k) gives the equation f(k) = 0 by the factor theorem, so two factors give two equations in the two unknowns, which you solve simultaneously. The method is: apply the factor theorem twice to build the equations, then solve the pair. One factor alone can't fix two unknowns.

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.