2.12 · AHL · HL onlyPaper 1Paper 2Paper 3

Polynomial functions

In a minute

A is a sum of whole-number powers of xx, such as 2x3−5x+12x^{3} - 5x + 1. Its factors give its zeros and the shape of its graph. The factor and remainder theorems find factors without dividing, and the coefficients give the sum and product of the roots without solving.

You'll be able to

  • Read the zeros, yy-intercept and end shape of a polynomial graph from its factors, and build a polynomial from its graph.
  • Use the remainder and factor theorems to find remainders, test factors and find unknown coefficients.
  • Factorise a polynomial fully and solve polynomial equations, exactly or with your calculator, including complex roots.
  • Find the sum and product of the roots straight from the coefficients, and use them to find unknown roots and coefficients.
Before you start3 quick questions on what this builds on
Check yourself
Solve 2x2+x−6=02x^{2} + x - 6 = 0.
Check yourself
How many real roots does 3x2−2x+4=03x^{2} - 2x + 4 = 0 have?
Check yourself
Find (3+2i)(3−2i)(3 + 2\mathrm{i})(3 - 2\mathrm{i}).

Revise first: 1.12 Complex numbers and the Argand diagram and 2.7 Quadratic equations and inequalities

Polynomials, their zeros and their graphs

You already know two kinds of : straight lines y=mx+cy = mx + c and quadratics y=ax2+bx+cy = ax^{2} + bx + c. Allow higher powers of xx, such as x3x^{3} and x4x^{4}, and you get the whole family.

The nn is the highest power. ana_{n} is the and a0a_{0} is the constant term. For 4x3−x+74x^{3} - x + 7, the degree is 33, a3=4a_{3} = 4, a2=0a_{2} = 0 and a0=7a_{0} = 7.

Zeros, roots and factors are three views of one idea. If f(a)=0f(a) = 0, then aa is a of ff and a of f(x)=0f(x) = 0. The graph meets the xx-axis at (a,0)(a, 0), and (x−a)(x - a) is a factor of f(x)f(x).

So a polynomial written as factors shows its zeros at once. Set each bracket equal to 00: 2(x+1)(x−4)2(x + 1)(x - 4) has zeros −1-1 and 44.

The decides what the graph does at a zero. Look at y=(x+2)(x−1)2(x−3)y = (x + 2)(x - 1)^{2}(x - 3) below. Its roots −2-2 and 33 have multiplicity 11, and 11 has multiplicity 22.

Graph of y equals (x plus 2) times (x minus 1) squared times (x minus 3): it crosses the x-axis at x equals minus 2 and x equals 3 and touches it at x equals 1 x y −2 crosses 1 touches 3 crosses (0, −6)
y=(x+2)(x−1)2(x−3)y = (x + 2)(x - 1)^{2}(x - 3) crosses the axis at its single roots and touches it at the x=1x = 1.

A root of multiplicity 33 also crosses, but the curve flattens as it passes through. That point is a on the axis, like y=x3y = x^{3} at the origin.

The ends of the graph follow the leading term anxna_{n}x^{n}, which outweighs the rest when xx is large. Even degree: both ends point up if an>0a_{n} > 0, or both down if an<0a_{n} < 0. Odd degree: the ends point opposite ways, rising to the right if an>0a_{n} > 0.

Two more facts help you sketch. The is f(0)=a0f(0) = a_{0}. A polynomial of degree nn has at most nn real zeros and at most n−1n - 1 turning points.

Worked exampleLet f(x)=−2(x+3)(x−1)2f(x) = -2(x + 3)(x - 1)^{2}. Find the zeros of ff. Then describe the graph of y=f(x)y = f(x): its yy-intercept, what it does at each zero, and its two ends.

Try it first, then reveal one step at a time.

  1. Set each factor equal to 00. x+3=0x + 3 = 0 gives x=−3x = -3, and (x−1)2=0(x - 1)^{2} = 0 gives x=1x = 1.
Check yourself
At which zero does the graph of y=(x+2)3(x−4)2(x−1)y = (x + 2)^{3}(x - 4)^{2}(x - 1) touch the xx-axis without crossing it?

To go backwards from a graph, write a factor for each zero, with the right power. Then find the leading coefficient from one more point.

Worked exampleThe graph of a cubic y=f(x)y = f(x) crosses the xx-axis at x=−1x = -1 and touches it at x=3x = 3. It meets the yy-axis at (0,18)(0, 18). Find f(x)f(x).

Try it first, then reveal one step at a time.

  1. Crossing at x=−1x = -1 gives a single factor (x+1)(x + 1). Touching at x=3x = 3 gives a squared factor (x−3)2(x - 3)^{2}.
Check yourself
The cubic y=a(x+2)(x−1)(x−4)y = a(x + 2)(x - 1)(x - 4) passes through the point (2,12)(2, 12). Find aa.

The remainder and factor theorems

Divide 2323 by 44 and you get 55 remainder 33, because 23=4×5+323 = 4 \times 5 + 3. divide in the same way.

Divide f(x)f(x) by (x−a)(x - a). You get a quotient q(x)q(x), one lower than ff, and a remainder RR. The remainder is a constant, because its degree must be lower than that of x−ax - a.

Learn this
f(x)=(x−a) q(x)+Rf(x) = (x - a)\,q(x) + R

Now put x=ax = a. The first term becomes 0×q(a)=00 \times q(a) = 0, so f(a)=Rf(a) = R. You can find the remainder without dividing at all.

Always substitute the value that makes the divisor zero. For (x+2)(x + 2) use x=−2x = -2. For (2x−1)(2x - 1) use x=12x = \frac{1}{2}.

Check yourself
Find the remainder when 2x3+3x2−5x+42x^{3} + 3x^{2} - 5x + 4 is divided by (2x+1)(2x + 1).

To factorise fully, first find one factor (x−a)(x - a) with the factor theorem. Try small integers that divide the constant term: ±1\pm 1, ±2\pm 2, and so on.

Then write f(x)=(x−a)(…)f(x) = (x - a)(\ldots) and find the quadratic in the bracket by comparing coefficients. Long division gives the same quadratic, if you prefer it.

Worked exampleShow that (x−2)(x - 2) is a factor of f(x)=2x3+x2−13x+6f(x) = 2x^{3} + x^{2} - 13x + 6. Hence factorise f(x)f(x) fully.

Try it first, then reveal one step at a time.

  1. f(2)=2(8)+4−26+6=0f(2) = 2(8) + 4 - 26 + 6 = 0. So, by the factor theorem, (x−2)(x - 2) is a factor.

When coefficients are unknown, each fact about a factor or a remainder gives one equation. Two unknowns need two facts.

Worked exampleLet f(x)=2x3+ax2+bx−6f(x) = 2x^{3} + ax^{2} + bx - 6, where a,b∈Ra, b \in \mathbb{R}. (x+2)(x + 2) is a factor of f(x)f(x), and dividing f(x)f(x) by (2x−1)(2x - 1) leaves a remainder of −5-5. Find aa and bb.

Try it first, then reveal one step at a time.

  1. (x+2)(x + 2) is a factor, so f(−2)=0f(-2) = 0: −16+4a−2b−6=0-16 + 4a - 2b - 6 = 0. This simplifies to 2a−b=112a - b = 11.

A repeated factor needs one more step. If (x−a)2(x - a)^{2} is a factor, f(a)=0f(a) = 0 gives only one equation. Write f(x)=(x−a)2f(x) = (x - a)^{2} times the other factor, and compare coefficients.

Check yourself
(x−1)2(x - 1)^{2} is a factor of x3+px+qx^{3} + px + q. Find pp and qq.

Solving polynomial equations

To solve f(x)=0f(x) = 0, factorise f(x)f(x) and set each factor equal to zero. On Paper 1 that means the factor theorem, then a quadratic. On Paper 2 your calculator can find the .

When a quadratic factor has Δ<0\Delta < 0, its two roots are complex. They form a conjugate pair, p+qip + q\mathrm{i} and p−qip - q\mathrm{i}.

This is true for any polynomial with real coefficients: a non-real root always comes with its conjugate. You'll meet the reason in 1.14.

Worked exampleSolve z3−z2+3z+5=0z^{3} - z^{2} + 3z + 5 = 0, for z∈Cz \in \mathbb{C}.

Try it first, then reveal one step at a time.

  1. Try integers that divide 55. z=1z = 1 gives 1−1+3+5=81 - 1 + 3 + 5 = 8, which is not zero. z=−1z = -1 gives −1−1−3+5=0-1 - 1 - 3 + 5 = 0, so (z+1)(z + 1) is a factor.
Check yourself
How many real roots does x4+3x2−4=0x^{4} + 3x^{2} - 4 = 0 have?

On Paper 2, use your calculator when the roots aren't tidy numbers. Write down the equation you are solving first.

Worked exampleAn open box is made from a 2020 cm by 1212 cm sheet of card. A square of side xx cm is cut from each corner and the sides are folded up, so the volume is V=x(20−2x)(12−2x)V = x(20 - 2x)(12 - 2x). Use your calculator to find the values of xx for which V=200V = 200. Give your answers to 3 s.f.

Try it first, then reveal one step at a time.

  1. Every side must have a positive length, so x>0x > 0 and 12−2x>012 - 2x > 0. That gives 0<x<60 < x < 6.
Check yourself
Given that x=2x = 2 is a root, solve x3−3x2−10x+24=0x^{3} - 3x^{2} - 10x + 24 = 0.

Sum and product of the roots

Multiply out a quadratic from its α\alpha and β\beta: (x−α)(x−β)=x2−(α+β)x+αβ(x - \alpha)(x - \beta) = x^{2} - (\alpha + \beta)x + \alpha\beta. The coefficients carry the sum and the product of the roots.

So for ax2+bx+c=0ax^{2} + bx + c = 0, divide by aa and match terms: α+β=−ba\alpha + \beta = -\frac{b}{a} and αβ=ca\alpha\beta = \frac{c}{a}. You get both without solving.

A cubic works the same way: (x−α)(x−β)(x−γ)=x3−(α+β+γ)x2+(αβ+βγ+γα)x−αβγ(x - \alpha)(x - \beta)(x - \gamma) = x^{3} - (\alpha + \beta + \gamma)x^{2} + (\alpha\beta + \beta\gamma + \gamma\alpha)x - \alpha\beta\gamma. Now the product has a minus sign, from the three factors of −1-1.

The pattern holds for any . For anxn+an−1xn−1+⋯+a1x+a0=0a_{n}x^{n} + a_{n-1}x^{n-1} + \dots + a_{1}x + a_{0} = 0, with all nn roots counted:

In the formula booklet
Sum=−an−1an,product=(−1)na0an\text{Sum} = \dfrac{-a_{n-1}}{a_{n}}, \qquad \text{product} = \dfrac{(-1)^{n}a_{0}}{a_{n}}

This is in the formula booklet, so you don't need to memorise it. The sum uses the coefficient of the second-highest power. The product uses the constant term, and (−1)n(-1)^{n} flips its sign when nn is odd.

Worked exampleFor the equation 2x4−3x3+5x−8=02x^{4} - 3x^{3} + 5x - 8 = 0, SS is the sum of its roots and PP is their product. Find SS and PP.

Try it first, then reveal one step at a time.

  1. Read the coefficients: n=4n = 4, a4=2a_{4} = 2, a3=−3a_{3} = -3 and a0=−8a_{0} = -8. The missing x2x^{2} term doesn't matter.
Check yourself
Find the product of the roots of 5x3+2x2−x+15=05x^{3} + 2x^{2} - x + 15 = 0.

Many expressions in α\alpha and β\beta can be rewritten using only the sum and the product. For example, α2+β2=(α+β)2−2αβ\alpha^{2} + \beta^{2} = (\alpha + \beta)^{2} - 2\alpha\beta.

Check yourself
The roots of 3x2−6x+2=03x^{2} - 6x + 2 = 0 are α\alpha and β\beta. Find α2+β2\alpha^{2} + \beta^{2}.

Often the question tells you how the roots are related. Write the roots with as few letters as you can, then use the sum or the product.

Check yourself
The equation x3−3x2+kx+12=0x^{3} - 3x^{2} + kx + 12 = 0 has roots α\alpha, −α-\alpha and β\beta. Find kk.

With complex roots, use the conjugate pairs. The pair p±qip \pm q\mathrm{i} adds to 2p2p and multiplies to p2+q2p^{2} + q^{2}.

Worked exampleThe equation 2z3+bz2+cz+15=02z^{3} + bz^{2} + cz + 15 = 0, where b,c∈Rb, c \in \mathbb{R}, has a root 2−i2 - \mathrm{i}. Let rr be its real root. Find rr and bb.

Try it first, then reveal one step at a time.

  1. The coefficients are real, so the conjugate 2+i2 + \mathrm{i} is also a root. The three roots are 2−i2 - \mathrm{i}, 2+i2 + \mathrm{i} and rr.

Common mistakes

  • Using only f(a)=0f(a) = 0 when (x−a)2(x - a)^{2} is a factor. That is one equation, so write f(x)=(x−a)2f(x) = (x - a)^{2} times the other factor and compare coefficients.
  • Getting the sign of the product wrong for an odd degree. The product is (−1)na0an\frac{(-1)^{n}a_{0}}{a_{n}}, so for a cubic it is −a0an-\frac{a_{0}}{a_{n}}.
  • Stopping at a linear factor times a quadratic when the question asks for linear factors. Factorise the quadratic too.
  • Keeping values the question rules out. If it says k>0k > 0, or that the roots are real, test each answer against that condition and reject any that fail.
  • Pairing a complex root with the wrong partner. The conjugate of 2−i2 - \mathrm{i} is 2+i2 + \mathrm{i}, not −2+i-2 + \mathrm{i} or −2−i-2 - \mathrm{i}.

Exam tips

  • “Show that (x−a)(x - a) is a factor”: write out f(a)f(a) with the numbers substituted, show that it equals 00, then say that the factor theorem gives the result.
  • “Find the value of aa and of bb”: write each condition as an equation in aa and bb before you solve. Those equations earn method marks even if the solving slips.
  • On Paper 1, give exact roots, including complex ones such as 1±2i1 \pm 2\mathrm{i}. On Paper 2, write down the equation you solve, then give each root to 3 s.f.

Key takeaways

In bookletSum=−an−1an,product=(−1)na0an\text{Sum} = \dfrac{-a_{n-1}}{a_{n}}, \qquad \text{product} = \dfrac{(-1)^{n}a_{0}}{a_{n}}
Learn thisf(a)=0f(a) = 0 means aa is a zero of ff, (x−a)(x - a) is a factor, and the graph meets the xx-axis at (a,0)(a, 0).
Learn thisAt a root of odd multiplicity the graph crosses the axis. At a root of even multiplicity it touches and turns back.
Learn thisRemainder theorem: dividing f(x)f(x) by (x−a)(x - a) leaves remainder f(a)f(a). Factor theorem: (x−a)(x - a) is a factor exactly when f(a)=0f(a) = 0.
Learn thisDegree nn means nn roots, counting repeated and complex roots. With real coefficients, non-real roots come in conjugate pairs.
In bookletFor ax2+bx+c=0ax^{2} + bx + c = 0: α+β=−ba\alpha + \beta = -\frac{b}{a} and αβ=ca\alpha\beta = \frac{c}{a}.

Practise this

22 past-paper questions on 2.12 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 2.12 →