Skip to content
IB Diploma ProgrammeSL & HL

Polynomial functions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Polynomial functions notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Polynomial functions notes as text: skim, search, and jump between subtopics.

~14 min read

1. Zeros, roots and factors

A polynomial function has the form p(x) = anxⁿ + … + a₁x + a₀ with an ≠ 0. The highest power n is its degree.

A zero of p is a value a with p(a) = 0. It is a root of the equation p(x) = 0 and an x-intercept of the graph. Each zero a gives a factor (x - a).

p(x) = anxⁿ + an₋₁xⁿ⁻¹ + … + a₁x + a₀

p(a) = 0 iff x = a is a root of p(x) = 0

Worked example 14 marks

Given that x = 1 is a zero of p(x) = x³ - 2x² - 5x + 6, find all the zeros of p.

  1. 1

    p(1) = 1 - 2 - 5 + 6 = 0, so (x - 1) is a factor (R1) [1]

  2. 2

    divide p(x) by (x - 1) (M1) [1]

  3. 3

    p(x) = (x - 1)(x² - x - 6) (A1) [1]

  4. 4

    = (x - 1)(x - 3)(x + 2), so the zeros are 1, 3 and -2 (A1) [1]

2. The remainder theorem

When a polynomial p(x) is divided by (x - a), the remainder is p(a). You find it by substitution. No long division is needed.

When the divisor is (ax - b), set ax - b = 0. The remainder is p(b/a).

A remainder is a number. The question gives its value, so you set p(a) equal to that value and solve.

p(x) = (x - a)q(x) + p(a)

divisor (ax - b) ⇒ remainder p(b/a)

Worked example 13 marks

The polynomial p(x) = 2x³ - 5x² + kx + 4 leaves remainder 6 when divided by (x - 2). Find the value of k.

  1. 1

    by the remainder theorem the remainder is p(2), so p(2) = 6 (M1) [1]

  2. 2

    2(8) - 5(4) + 2k + 4 = 6, so 2k = 6 (A1) [1]

  3. 3

    k = 3 (A1) [1]

3. The factor theorem

(x -a) is a factor of p(x) if and only if p(a) = 0. It is the remainder theorem with remainder 0.

To use it, substitute the value that makes the factor zero. For (x + 2) that value is x = -2. Each factor gives one equation for the unknown coefficients.

To factorise a cubic, find one zero by testing values, divide to leave a quadratic, then factorise the quadratic.

(x - a) is a factor of p(x) iff p(a) = 0

Worked example 17 marks

The polynomial p(x) = x³ + ax² + bx - 6 has factors (x - 1) and (x + 2). Find the values of a and b, and hence factorise p(x) completely.

  1. 1

    (x - 1) is a factor, so p(1) = 0 (M1) [1]

  2. 2

    1 + a + b - 6 = 0, so a + b = 5 (A1) [1]

  3. 3

    (x + 2) is a factor, so p(-2) = 0 (M1) [1]

  4. 4

    -8 + 4a - 2b - 6 = 0, so 2a - b = 7 (A1) [1]

  5. 5

    adding the equations gives 3a = 12, so a = 4 and b = 1 (A1) [1]

  6. 6

    p(x) = x³ + 4x² + x - 6; the constants of the three factors multiply to -6, and (-1)(2)(3) = -6 (M1) [1]

  7. 7

    p(x) = (x - 1)(x + 2)(x + 3) (A1) [1]

4. Sum and product of the roots

For the equation sum_r=0ⁿ a_rx^(r) = 0 the sum of the roots is (-an₋₁)/an and the product of the roots is ((-1)ⁿ a₀)/an.

Count every root, complex ones included. A polynomial equation of degree n has n roots.

For odd n the product is (-a₀)/an. For even n it is a₀/an. The sum uses an₋₁, the coefficient of the second-highest power.

sum of roots = (-an₋₁)/an

product of roots = ((-1)ⁿ a₀)/an

n = 2: α + β = -b/a, αβ = c/a

Worked example 14 marks

Two roots of the equation 2x³ - 3x² - 11x + 6 = 0 are -2 and 3. Find the third root, and use the product of the roots to check your answer.

  1. 1

    let the third root be r; the sum of the roots is (-(-3))/2 = 3/2 (M1) [1]

  2. 2

    -2 + 3 + r = 3/2 (A1) [1]

  3. 3

    r = 1/2 (A1) [1]

  4. 4

    product = ((-1)³(6))/2 = -3 and (-2)(3)(1/2) = -3, so the check holds (R1) [1]

5. Real coefficients and complex roots

When the coefficients are real, complex roots occur in conjugate pairs (AHL 1.14). If a - i is a root, so is a + i. A given root can hide a second root.

List all n roots before you use the sum and the product. Then write the polynomial as the leading coefficient times one factor for each root.

A conjugate pair gives a real quadratic factor z² - 2az + (a² + b²), so the polynomial factorises over the reals into linear and quadratic factors.

(z - (a + bi))(z - (a - bi)) = z² - 2az + (a² + b²)

p(z) = an(z - r₁)(z - r₂)⋯(z - rn)

Worked example 18 marks

Consider the polynomial p(z) = 3z⁵ - 7z⁴ + cz³ + dz² + ez - 26, where z ∈ C and c, d, e ∈ R.

Three of the roots of p(z) are 1/3, a - i, 2 + bi, where a, b ∈ R, b > 1.

(a) By considering the sum and the product of the roots of p(z),

(i) show that a = -1;

(ii) find the value of b. [5]

(b) Show that p(z) = (Az + B)(z² + Cz + D)(z² + Ez + F), where A, B, C, D, E, F are integers to be determined. [3]

  1. 1

    (a)(i) real coefficients, so the other two roots are a + i and 2 - bi (A1) [1]

  2. 2

    sum of the roots 7/3 = 1/3 + (a -i) + (a +i) + (2 - bi) + (2 + bi) = 1/3 + 2a + 4, so a = -1 (A1)(AG) [1]

  3. 3

    (ii) attempt to use the product of the roots, ((-1)⁵(-26))/3 = 26/3: 26/3 = 1/3(-1 + i)(-1 - i)(2 + bi)(2 - bi) (M1) [1]

  4. 4

    26 = 2(4 + b²) (A1) [1]

  5. 5

    b = 3 (A1) [1]

  6. 6

    (b) 3(z - 1/3) = 3z - 1, so A = 3, B = -1 (A1) [1]

  7. 7

    (z - (-1 + i))(z - (-1 - i)) = z² + 2z + 2, so C = 2, D = 2 (A1) [1]

  8. 8

    (z - (2 + 3i))(z - (2 - 3i)) = z² - 4z + 13, so E = -4, F = 13 (A1) [1]

Recap

  • A zero of p is a value a with p(a) = 0. It is a root of p(x) = 0 and an x-intercept of the graph.
  • Remainder theorem: dividing p(x) by (x - a) leaves remainder p(a). For (ax - b) use p(b/a).
  • Factor theorem: (x - a) is a factor of p(x) if and only if p(a) = 0. For (x + 2) substitute x = -2.
  • Sum of the roots = (-an₋₁)/an. Product of the roots = ((-1)ⁿ a₀)/an.
  • Real coefficients mean complex roots come in conjugate pairs: list all n roots before using the sum and the product.
  • A conjugate pair a ± bi gives the real factor z² - 2az + (a² + b²).

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the remainder when p(x) = x³ - 4x + 5 is divided by (x - 3).1 mark
    Answer
    1. By the remainder theorem the remainder is p(3).
    2. p(3) = 27 - 12 + 5 = 20.

    Trap: p(-3) = -10 is the remainder for (x + 3): the divisor (x - 3) means substitute x = 3.

  2. Do not use a calculator. Determine whether (x + 2) is a factor of p(x) = x³ + 2x² - 5x - 6.2 marks
    Answer
    1. (x + 2) is a factor if and only if p(-2) = 0.
    2. p(-2) = -8 + 8 + 10 - 6 = 4.
    3. p(-2) ≠ 0, so (x + 2) is not a factor.

    Trap: p(2) = 8 + 8 - 10 - 6 = 0 tempts a "yes", but that shows (x - 2) is a factor. (x + 2) needs x = -2.

  3. State the sum of the roots and the product of the roots of the equation 3x³ - 6x² + 2x - 9 = 0.2 marks
    Answer
    1. Sum = (-(-6))/3 = 2.
    2. Product = ((-1)³(-9))/3 = 3.

    Trap: Leaving out (-1)ⁿ gives -3: for a cubic the product is (-a₀)/an, so the sign changes.

  4. Do not use a calculator. Find the remainder when p(x) = 4x³ - 2x² + x + 3 is divided by (2x - 1).3 marks
    Answer
    1. Set 2x - 1 = 0, so x = 1/2.
    2. The remainder is p(1/2) = 4(1/8) - 2(1/4) + 1/2 + 3.
    3. = 1/2 - 1/2 + 1/2 + 3 = 7/2.

    Trap: Substituting x = 2 because the divisor is (2x - 1) gives p(2) = 29: the value that makes the divisor zero is x = 1/2.

  5. The equation 2x³ - 7x² + kx + 3 = 0 has roots 1, 3 and r. Find the value of r and the value of k.4 marks
    Answer
    1. Sum of the roots = (-(-7))/2 = 7/2.
    2. 1 + 3 + r = 7/2, so r = -1/2.
    3. x = 1 is a root, so 2 - 7 + k + 3 = 0 and k = 2.
    4. Check with x = 3: 54 - 63 + 3k + 3 = 3k - 6 = 0, so k = 2.

    Trap: A sum of -7/2 comes from forgetting the minus in (-an₋₁)/an: the coefficient is -7, so the sum is +7/2.

  6. Do not use a calculator. The polynomial p(x) = x³ + ax² + bx - 4 leaves remainder -6 when divided by (x - 1) and remainder -2 when divided by (x + 1). Find the values of a and b.5 marks
    Answer
    1. p(1) = -6: 1 + a + b - 4 = -6, so a + b = -3.
    2. p(-1) = -2: -1 + a - b - 4 = -2, so a - b = 3.
    3. Adding: 2a = 0, so a = 0 and b = -3.
    4. Check: p(x) = x³ - 3x - 4, p(1) = -6 and p(-1) = -2.

    Trap: The divisor (x + 1) needs p(-1), not p(1), and the remainder is the given value, not 0.

  7. Do not use a calculator. The polynomial p(x) = x³ - 5x² + kx + 6 has a factor (x - 3). (a) Find the value of k. [2] (b) Hence solve p(x) = 0. [3]5 marks
    Answer
    1. (a)
    2. p(3) = 0: 27 - 45 + 3k + 6 = 0, so 3k = 12 and k = 4.
    3. (b)
    4. p(x) = x³ - 5x² + 4x + 6 = (x - 3)(x² - 2x - 2).
    5. x² - 2x - 2 = 0 gives x = (2 ± √12)/2 = 1 ± √3.
    6. The roots are 3, 1 + √3 and 1 - √3.

    Trap: Using p(-3) = 0 gives -27 - 45 - 3k + 6 = 0 and k = -22: the factor (x - 3) means p(3) = 0.

  8. The equation z⁴ - 6z³ + 18z² - 30z + 25 = 0 has real coefficients. Two of its roots are 1 + 2i and 2 + qi, where q > 0. (a) State the other two roots. [1] (b) Use the product of the roots to find the value of q. [3] (c) Write down z⁴ - 6z³ + 18z² - 30z + 25 as a product of two quadratic factors with real coefficients. [2]6 marks
    Answer
    1. (a)
    2. The coefficients are real, so the other roots are 1 - 2i and 2 - qi.
    3. (b)
    4. Product = ((-1)⁴(25))/1 = 25.
    5. 25 = (1 + 2i)(1 - 2i)(2 + qi)(2 - qi) = 5(4 + q²).
    6. 4 + q² = 5, so q² = 1 and q = 1.
    7. (c)
    8. (z² - 2z + 5)(z² - 4z + 5), from the sum 2 and product 5 of the pair 1 ± 2i, and sum 4 and product 5 of the pair 2 ± i.

    Trap: Using only the two named roots gives a product of (1 + 2i)(2 + qi), which is not real: the product needs all four roots.

  9. Do not use a calculator. A rectangular sheet of card measures 12 cm by 8 cm. A square of side x cm is cut from each corner, and the sides are folded up to make an open box of volume 64 cm³. (a) Show that x³ - 10x² + 24x - 16 = 0. [2] (b) Hence find every possible exact value of x. [4]6 marks
    Answer
    1. (a)
    2. The base is (12 - 2x) by (8 - 2x) and the height is x, so x(12 - 2x)(8 - 2x) = 64.
    3. x(4x² - 40x + 96) = 64, so 4x³ - 40x² + 96x - 64 = 0. Dividing by 4 gives x³ - 10x² + 24x - 16 = 0.
    4. (b)
    5. Let p(x) = x³ - 10x² + 24x - 16 and test factors of 16: p(1) = -1, p(2) = 8 - 40 + 48 - 16 = 0, so (x - 2) is a factor.
    6. x³ - 10x² + 24x - 16 = (x - 2)(x² - 8x + 8).
    7. x² - 8x + 8 = 0 gives x = (8 ± √32)/2 = 4 ± 2√2.
    8. The side 8 - 2x must be positive, so 0 < x < 4 and 4 + 2√2 is rejected.
    9. x = 2 or x = 4 - 2√2.

    Trap: The factor theorem needs the equation rearranged to = 0 before testing values, and the root 4 + 2√2 must be rejected because it makes the side 8 - 2x negative.

  10. Do not use a calculator. Consider the polynomial p(z) = 2z⁴ - 5z³ + cz² + dz - 15, where c, d ∈ R. Two of the roots of p(z) are 3/2 and 1 + qi, where q ∈ R, q > 0. The fourth root, r, is real. (a) Use the sum of the roots to find the value of r. [3] (b) Use the product of the roots to find the value of q. [3] (c) Hence determine the values of c and d, writing p(z) as a product of factors with integer coefficients. [4]10 marks
    Answer
    1. (a)
    2. The coefficients are real, so 1 - qi is also a root.
    3. Sum = (-(-5))/2 = 5/2 = 3/2 + (1 + qi) + (1 - qi) + r = 7/2 + r.
    4. r = -1.
    5. (b)
    6. Product = ((-1)⁴(-15))/2 = -15/2.
    7. -15/2 = 3/2(-1)(1 + qi)(1 - qi) = -3/2(1 + q²), so 1 + q² = 5.
    8. q = 2.
    9. (c)
    10. p(z) = 2(z - 3/2)(z + 1)(z² - 2z + 5) = (2z - 3)(z + 1)(z² - 2z + 5).
    11. (z + 1)(z² - 2z + 5) = z³ - z² + 3z + 5.
    12. (2z - 3)(z³ - z² + 3z + 5) = 2z⁴ - 5z³ + 9z² + z - 15, so c = 9 and d = 1.

    Trap: Leaving out the conjugate 1 - qi makes the sum not real, and a linear factor (z - 3/2) left without the 2 earns A0 in the markscheme: write (2z - 3).

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
p(z) = (z - 1/3)(z² + 2z + 2)(z² - 4z + 13), with the factor 1/3 left in the answerp(z) = (3z - 1)(z² + 2z + 2)(z² - 4z + 13): the 3 is multiplied into the linear factor so A and B are integers
Using only the three roots the question names, 1/3, a - i and 2 + biFive roots: the other two roots a + i and 2 - bi are found first, because the coefficients are real
The product of the roots is a₀/an = (-26)/3 for a polynomial of degree 5Product = ((-1)ⁿ a₀)/an = ((-1)⁵(-26))/3 = 26/3
Sum of the roots = (an₋₁)/an = (-7)/3Sum = (-an₋₁)/an = (-(-7))/3 = 7/3

Frequently asked questions

What is the remainder theorem and how do I use it?
When p(x) is divided by (x - a) the remainder is p(a), found by substitution with no long division. For a divisor (ax - b) the remainder is p(b/a). For p(x) = 2x³ - 5x² + kx + 4 with remainder 6 on division by (x - 2), the equation p(2) = 6 gives k = 3.
How do I tell whether x + 2 is a factor of a polynomial?
(x - a) is a factor of p(x) if and only if p(a) = 0. For (x + 2) substitute x = -2. Each factor gives one equation for the unknown coefficients. For p(x) = x³ + ax² + bx - 6 with factors (x - 1) and (x + 2), the equations a + b = 5 and 2a - b = 7 give a = 4 and b = 1.
How do I find the sum and product of the roots of a cubic equation?
For sum a_r x^(r) = 0, the sum of the roots is (-an₋₁)/an and the product is ((-1)ⁿ a₀)/an. Count every root, complex ones included. For 2x³ - 3x² - 11x + 6 = 0 with roots -2 and 3, the sum 3/2 gives the third root 1/2, and the product -3 checks it.
How do I factorise a polynomial that has complex roots, using only real factors?
With real coefficients, complex roots come in conjugate pairs, so list all n roots first. A pair a ± bi gives the real quadratic factor z² - 2az + (a² + b²). Write the polynomial as the leading coefficient times one factor for each root. Then combine the factors, so that the polynomial factorises over the reals into linear and quadratic factors.
Why is the product of the roots of my cubic the wrong sign?
For 3z³ - 6z² + 2z - 9 = 0 the product is ((-1)³(-9))/3 = 3. Leaving out the (-1)ⁿ gives -3, which is wrong, because for a cubic the product is (-a₀)/an. The sum is found the same way: the coefficient -6 gives a sum of 2.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters