This whole subtopic is higher level. Nothing in it is on an SL paper.
Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 2 Functions · 2.12 Polynomial functions, the factor and remainder theorems, and sums and products of roots
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Recognise a polynomial, its degree and leading coefficient, and sketch its graph from its factors | HL | "Sketch the graph of y = −(x + 2)(x − 1)²(x − 3), showing the intercepts" (3 to 4 marks) |
| Link zeros, roots and factors, including repeated roots and what the graph does at each | HL | "Write down the roots"; "state the multiplicity"; a sketch that crosses or touches correctly |
| Divide a polynomial by a linear factor | HL | The working behind "factorise fully" (2 to 3 marks) |
| Use the remainder theorem | HL | "Find the remainder when P(x) is divided by (2x − 1)" (2 marks) |
| Use the factor theorem, including to find unknown coefficients | HL | "Given that (x − 2) is a factor and the remainder on division by (x + 1) is −12, find a and b" (5 to 6 marks) |
| Use the sum and product of the roots of a polynomial equation of any degree | HL | "Write down the sum of the roots" (1 to 2 marks); longer problems in which the roots satisfy a condition |
| Use real coefficients to pair up complex roots | HL | "Given that 2 − i is a root, find the other roots" (5 to 6 marks) |
| Solve polynomial equations with technology where algebra will not do | HL | Paper 2: "Find the real roots of p(x) = 0" |
Before you start
You need quadratics from 2.6 and 2.7: factorising, the quadratic formula and the discriminant. You need the key features of a graph from 2.4. Complex numbers from 1.12 to 1.14 appear in the last sections, where the roots of a polynomial with real coefficients turn out to come in conjugate pairs.
1The idea in one paragraph
A polynomial is a sum of whole-number powers of x with constant coefficients, such as 2x³ − 3x² − 11x + 6. Every polynomial can in principle be written as a product of linear factors, one for each root, and the two forms carry the same information. The factor theorem says that (x − a) is a factor exactly when P(a) = 0, so finding a root and finding a factor are the same job. The remainder theorem says that dividing P(x) by (x − a) leaves the remainder P(a), so a remainder is just a value of the function. And when the product of factors is multiplied out, the coefficients turn out to be built from the roots, which is why the sum of the roots and the product of the roots can be read straight off the equation without solving it.
2Polynomials and their graphs
A polynomial of degree n is
P(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₁x + a₀, with aₙ ≠ 0
The powers are whole numbers 0, 1, 2, …, so 1/x and √x are not allowed. aₙ is the leading coefficient and a₀ is the constant term, which is also the y-intercept, since P(0) = a₀. The formula booklet writes the same thing as a sum, ∑ aᵣxʳ from r = 0 to n.
Where the ends go. For large x the highest power swamps everything else, so the ends of the graph behave like aₙxⁿ. Figure 1 shows the four cases. An odd degree sends the two ends in opposite directions; an even degree sends them the same way. A positive leading coefficient sends the right-hand end up.
How many roots and turns. A polynomial of degree n has at most n real roots and at most n − 1 turning points. An odd-degree polynomial must cross the x-axis at least once, because its ends are on opposite sides of it. An even-degree polynomial need not cross at all: x⁴ + 1 never does.
Zeros, roots, factors. The zeros of P, the roots of P(x) = 0 and the x-intercepts of y = P(x) are the same numbers. Each real root a gives a linear factor (x − a). If a factor appears twice, (x − a)², the root a is a double root (a repeated root, of multiplicity 2); three times, a triple root.
The multiplicity decides what the graph does at the root, as Figure 2 shows:
- Single root: the graph crosses the axis. The factor (x − a) changes sign at a.
- Double root: the graph touches the axis and turns back. (x − a)² is never negative, so there is no change of sign; the root is a turning point on the axis.
- Triple root: the graph crosses and flattens as it does so. (x − a)³ changes sign, but slowly, so the curve has a horizontal tangent at the crossing.
Sketching from factors. Take y = −(x + 2)(x − 1)²(x − 3). Four readings give the whole sketch in Figure 3.
- Degree: 1 + 2 + 1 = 4, even. Leading coefficient: −1, negative. So both ends go down.
- Roots: −2 (single, crosses), 1 (double, touches), 3 (single, crosses).
- y-intercept: x = 0 gives −(2)(1)(−3) = 6.
- Join them up. Coming in from the bottom left, the curve crosses at −2, rises through (0, 6), comes down to touch at (1, 0), rises again, and crosses down through 3 to the bottom right.
A sketch is marked on shape, intercepts and behaviour at the roots. The exact height of the turning points is not needed unless it is asked for; on Paper 2 the GDC gives it, here about (−1.15, 16.3) and (2.40, 5.17).
3Dividing a polynomial by a linear factor
If you know one factor, dividing it out leaves a polynomial one degree lower, which is often a quadratic you can finish. Take P(x) = 2x³ − 3x² − 11x + 6 and the factor (x − 3). There are three standard methods. They give the same answer, and any of them earns the marks.
Comparing coefficients. The quotient must be a quadratic, so write P(x) = (x − 3)(Ax² + Bx + C) and match terms.
Synthetic division. Write the root 3 and the coefficients. Bring down the first coefficient; multiply by 3 and add to the next; repeat.
| 3 | 2 | −3 | −11 | 6 |
|---|---|---|---|---|
| 6 | 9 | −6 | ||
| 2 | 3 | −2 | 0 |
The bottom row gives the quotient 2x² + 3x − 2 and, in the last place, the remainder 0.
Long division works exactly like numerical long division, dividing the leading term at each stage; it is slower on the page but the same idea.
So P(x) = (x − 3)(2x − 1)(x + 2), and the roots are 3, ½ and −2.
4The remainder theorem and the factor theorem
Divide any polynomial P(x) by (x − a). The remainder has a lower degree than (x − a), so it is a constant R, and
P(x) = (x − a)·Q(x) + R
Put x = a. The first term vanishes, because it contains (x − a), and what is left is P(a) = R. That is the remainder theorem:
The remainder when P(x) is divided by (x − a) is P(a).
So you never need to divide to find a remainder. Evaluate. For P(x) = x⁴ − 3x² + 2x − 5 divided by (x + 2), the remainder is P(−2) = 16 − 12 − 4 − 5 = −5.
For a divisor (ax − b), the root is x = b/a, so the remainder is P(b/a). Dividing the same P(x) by (2x − 1):
The factor theorem is the case R = 0:
(x − a) is a factor of P(x) if and only if P(a) = 0.
Figure 4 makes both theorems visible. The remainder on dividing by (x − a) is the height of the graph at x = a; a factor is a root, where that height is zero.
Finding a root to start with. On Paper 1 the first root must be found by trial. For a polynomial with integer coefficients and leading coefficient 1, any integer root divides the constant term, so for x³ − 7x − 6 try ±1, ±2, ±3, ±6. With a leading coefficient other than 1, fractions p/q are possible, where p divides a₀ and q divides aₙ; that is how ½ turned up above. Try the small ones first.
5Finding unknown coefficients
The most common Paper 1 question gives you a polynomial with two unknown coefficients and two facts about it. Each fact becomes one equation, and you solve the pair.
Worked example 1. P(x) = x³ + ax² + bx − 6. (x − 2) is a factor of P(x), and the remainder when P(x) is divided by (x + 1) is −12. Find a and b, and hence factorise P(x).
The quadratic x² + 3 has no real roots. So P(x) = 0 has one real root, x = 2, and two complex roots, x = ±i√3.
Two slips account for most lost marks here: substituting x = 1 for the divisor (x + 1), when the root is −1, and forgetting to set the remainder equation equal to −12 rather than 0.
6Complex roots of real polynomials
From 1.14, a polynomial of degree n has exactly n roots when you count complex roots and count each repeated root as often as it is repeated. When the coefficients are all real, the non-real roots come in conjugate pairs: if 2 − i is a root, so is 2 + i. That is because each pair multiplies out to a real quadratic:
Figure 5 shows what this means on a graph. The cubic x³ − 3x + k has three real roots for k = 0, a repeated root at k = 2, and for k = 4 only one crossing; the other two roots have become a complex conjugate pair. A cubic with real coefficients always has at least one real root, because complex roots arrive two at a time.
7The sum and the product of the roots
Multiply out the factor form of a cubic with roots α, β and γ:
Compare with ax³ + bx² + cx + d. The x² coefficients give b = −a(α + β + γ), and the constants give d = −aαβγ. So
The same expansion works for any degree, and the formula booklet gives the general result. For aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₀ = 0:
sum of the roots = −aₙ₋₁ ÷ aₙ product of the roots = (−1)ⁿ a₀ ÷ aₙ
In words: the sum comes from the top two coefficients, and the product from the constant and the leading coefficient, with a sign that is + for even degree and − for odd degree. For a quadratic ax² + bx + c = 0 these are the familiar α + β = −b/a and αβ = c/a.
Three rules make the formulas safe to use.
- Count every root, complex ones and repeated ones included. x³ − 2x² + 3x − 6 = 0 has roots 2, i√3 and −i√3. Their sum is 2 = −(−2)/1 and their product is 2 × 3 = 6 = (−1)³(−6)/1. Both check.
- A missing term has coefficient 0. For x⁴ + 3x² − 2x + 7 = 0 the x³ term is missing, so the sum of the four roots is 0, and the product is (+1)(7)/1 = 7.
- Mind the sign for the degree. For 2x⁴ − 5x³ + x − 6 = 0, the sum is −(−5)/2 = 5/2 and the product is (−1)⁴(−6)/2 = −3.
Worked example 2 · a condition on the roots. The equation x³ − 3x² + kx + 12 = 0 has two roots that add up to zero. Find k and all three roots.
Call the roots α, −α and β.
Check: (x + 2)(x − 2)(x − 3) = (x² − 4)(x − 3) = x³ − 3x² − 4x + 12. That is the equation, with k = −4.
Worked example 3 · a complex root given. x³ + px² + qx + 10 = 0, with p and q real, has a root 1 − 2i. Find the other roots and the values of p and q.
The coefficients are real, so 1 + 2i is also a root. Call the third root γ.
The roots are 1 − 2i, 1 + 2i and −2, with p = 0, q = 1. The pair (x² − 2x + 5) came from the pair of roots, the same way as in section 6.
8With technology
Paper 2 may give a polynomial whose roots are not rational, or ask for roots of a quartic. Use the polynomial solver or the zero tool on the graph, one root at a time, and give each to 3 significant figures. The guide expects HL candidates to use technology whenever no analytic method is appropriate. The sum and product still help: if the GDC gives the two real roots of a quartic, the sum and product of all four roots let you build the quadratic whose roots are the other two, as Q5 below does.
9Where marks are lost
Using the wrong sign for the root. Dividing by (x + 1) means evaluating P(−1), not P(1). The root of (x − a) is +a; the root of (x + a) is −a; the root of (2x − 1) is ½.
Setting a remainder equal to zero. Only a factor gives zero. "The remainder is −12" means P(−1) = −12.
Forgetting complex or repeated roots in the sum and product. The formulas cover all n roots, counted with multiplicity. A cubic with only one real root still has three roots in its sum.
Getting the sign of the product wrong. It is (−1)ⁿa₀ ÷ aₙ. For a cubic the product is −d/a; for a quadratic or a quartic it is +a₀ ÷ aₙ.
Treating a missing term as absent from the formula. No x³ term in a quartic means aₙ₋₁ = 0 and the roots sum to zero.
Assuming the conjugate is a root when the coefficients are not real. Conjugate pairs are guaranteed only for real coefficients. The question will say "a, b ∈ ℝ" when you may use it; quote that as your reason.
Drawing a double root as a crossing. At a repeated root of even multiplicity the graph touches and turns. A sketch that crosses there loses the shape mark.
Stopping at "(x − 2) is a factor". "Factorise fully" means every factor, down to linear ones or quadratics with no real roots.
10Work it right
- Write the polynomial in descending powers, with a 0 for every missing term.
- For a factor or a remainder, evaluate P at the root of the divisor; never divide just to find a remainder.
- For two unknowns, turn each fact into one equation, then solve simultaneously.
- Divide out a known factor by comparing coefficients, synthetic division or long division, and check the remainder is 0.
- For sums and products, identify n, aₙ, aₙ₋₁ and a₀ first, then apply −aₙ₋₁ ÷ aₙ and (−1)ⁿa₀ ÷ aₙ.
- With a complex root and real coefficients, write down the conjugate at once and say why.
- For a sketch, read the degree and sign of the leading coefficient for the ends, then cross, touch or flatten at each root, and mark the y-intercept.
11Try it
Marks in brackets. Q1 to Q4 are Paper 1 style, no calculator. Q5 is Paper 2 style, with a GDC.
Q1. Let P(x) = x³ − 7x − 6.
(a) Show that (x + 1) is a factor of P(x). 2 marks
(b) Hence factorise P(x) fully. 3 marks
(c) Sketch the graph of y = P(x), showing its intercepts with the axes. 3 marks
Q2. Let f(x) = 2x³ + ax² + bx − 4, where a, b ∈ ℝ. The factor (x − 2) is a factor of f(x), and when f(x) is divided by (x + 1) the remainder is −6.
(a) Find the values of a and b. 5 marks
(b) Show that the equation f(x) = 0 has exactly one real root. 3 marks
Q3. The roots of the equation x³ − 6x² + kx − 6 = 0 are α, 2α and 3α. Find the value of α and the value of k. 5 marks
Q4. The equation x³ + ax² + bx + 15 = 0, where a, b ∈ ℝ, has a root 2 − i. Find the other two roots, and the values of a and b. 6 marks
Q5. Let p(x) = x⁴ − x³ − 13x + 5.
(a) Write down the sum and the product of the four roots of p(x) = 0. 2 marks
(b) Use technology to find the two real roots of p(x) = 0. 2 marks
(c) Hence find the two non-real roots. 4 marks
12In one breath
A polynomial of degree n is a sum of powers up to xⁿ; its ends behave like the leading term, so odd degree means ends on opposite sides and even degree means ends on the same side, and it has at most n real roots and n − 1 turns. Every real root a gives a factor (x − a): a single root crosses the axis, a double root touches, a triple root flattens as it crosses. The remainder on dividing P(x) by (x − a) is P(a), and by (ax − b) it is P(b/a); the factor theorem is the case where that is zero. Unknown coefficients come from one equation per fact. Divide out a known factor by comparing coefficients or synthetic division. With real coefficients, complex roots come in conjugate pairs that multiply to a real quadratic, so a cubic always has a real root. Counting every root, complex and repeated, the sum of the roots is −aₙ₋₁ ÷ aₙ and the product is (−1)ⁿa₀ ÷ aₙ, both in the formula booklet.
Answers
Q1. (a) P(−1) = −1 + 7 − 6 = 0, so by the factor theorem (x + 1) is a factor. M1 for evaluating P(−1), R1 for the conclusion citing P(−1) = 0.
(b) Comparing coefficients: x³ − 7x − 6 = (x + 1)(x² + Bx + C). Constant: C = −6. x²: B + 1 = 0, so B = −1. So P(x) = (x + 1)(x² − x − 6) = (x + 1)(x + 2)(x − 3). M1 for a method of division, A1 for the quotient x² − x − 6, A1 for the full factorisation.
(c) A cubic with positive leading coefficient: down on the left, up on the right. It crosses the x-axis at (−2, 0), (−1, 0) and (3, 0) and the y-axis at (0, −6). A1 for the shape with the correct ends, A1 for the three x-intercepts, A1 for the y-intercept.
Q2. (a) f(2) = 16 + 4a + 2b − 4 = 0, so 2a + b = −6. f(−1) = −2 + a − b − 4 = −6, so a − b = 0. Then a = b and 3a = −6, so a = −2 and b = −2. M1 for using f(2) = 0, A1 for 2a + b = −6, M1 for using f(−1) = −6, A1 for a − b = 0, A1 for both values.
(b) f(x) = 2x³ − 2x² − 2x − 4 = 2(x − 2)(x² + x + 1). The quadratic x² + x + 1 has discriminant 1 − 4 = −3 < 0, so it has no real roots, and the only real root of f(x) = 0 is x = 2. M1 for dividing out (x − 2), A1 for the quadratic factor, R1 for the discriminant argument.
Q3. Sum: α + 2α + 3α = 6α = −(−6)/1 = 6, so α = 1. The roots are 1, 2 and 3. Product check: 1 × 2 × 3 = 6 = (−1)³(−6)/1. Then P(1) = 1 − 6 + k − 6 = 0 gives k = 11. M1 for using the sum of the roots, A1 for α = 1, A1 for the three roots, M1 for a valid method for k (substituting a root, or expanding (x − 1)(x − 2)(x − 3)), A1 for k = 11.
Q4. The coefficients are real, so 2 + i is also a root. (2 − i)(2 + i) = 5. Product of the roots: 5γ = (−1)³ × 15 = −15, so the third root is γ = −3. Sum: (2 − i) + (2 + i) − 3 = 1 = −a, so a = −1. Expanding (x + 3)(x² − 4x + 5) = x³ − x² − 7x + 15, so b = −7. R1 for the conjugate with the reason "real coefficients", A1 for 2 + i, M1 for using the product (or the sum) of the roots, A1 for −3, A1 for a = −1, A1 for b = −7.
Q5. (a) Sum = −(−1)/1 = 1. Product = (−1)⁴ × 5 / 1 = 5. A1 for each.
(b) Using the GDC: x = 0.382 and x = 2.62 (3 s.f.). A1 for each.
(c) The real roots have sum 3 and product 1 (exactly (3 ± √5)/2, but the stored values give the same). So the non-real pair has sum 1 − 3 = −2 and product 5 ÷ 1 = 5, and they are the roots of z² + 2z + 5 = 0. Then z = (−2 ± √(4 − 20))/2 = −1 ± 2i. M1 for using the sum and product of all four roots with the real roots, A1 for sum −2 and product 5, M1 for forming and solving the quadratic, A1 for −1 ± 2i. Using the GDC's complex root finder directly scores A1 A1 for the values but no marks for method where "hence" is set.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 2.12 Polynomial functions, the factor and remainder theorems, and sums and products of roots. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.