Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.12 · HL only

Polynomial functions, the factor and remainder theorems, and sums and products of roots

How do the roots of a polynomial, its factors, its coefficients and the shape of its graph determine one another?

What you will learn

  • HL Know how the degree, leading coefficient and roots of a polynomial fix the shape of its graph
  • HL Understand the factor and remainder theorems and how they link roots, factors and remainders
  • HL Know the sum and product of the roots of a polynomial equation of any degree
  • HL Understand that complex roots of a real polynomial come in conjugate pairs

You must be able to

  1. HL Use the factor and remainder theorems to find unknown coefficients
  2. HL Show that a linear expression is a factor, then factorise the polynomial fully
  3. HL Find the sum and product of the roots, and values of expressions in the roots without solving
  4. HL Find the remaining roots and coefficients given one complex root
  5. HL Sketch a polynomial from its factors, showing intercepts and the behaviour at repeated roots
  6. HL Write an equation from a graph or from given roots

In the exam. Paper 1, very often, 4 to 7 marks: "show that (x−2)(x - 2) is a factor", "find aa and bb", "factorise fully", "find the sum and product of the roots", often with complex roots from 1.14. Paper 2 uses the GDC for roots that do not come out cleanly. Paper 3 builds longer problems on the sum and product of roots.

1Polynomials and their graphs

A polynomial of degree nn is

P(x)=anxn+an−1xn−1+⋯+a1x+a0P(x) = a_{n}x^{n} + a_{n-1}x^{n-1} + \dots + a_{1}x + a_{0}, with an≠0a_{n} \ne 0

The powers must be 0,1,2,…0, 1, 2, \dots, so 1x\dfrac{1}{x} and x\sqrt{x} are not allowed.

  • Leading coefficient = ana_{n}.
  • Constant term = a0a_{0}. It is also the yy-intercept, because P(0)=a0P(0) = a_{0}.

The booklet writes this as ∑arxr\displaystyle\sum a_{r}x^{r}, summed from r=0r = 0 to nn.

Where the ends go

  • For large xx the highest power swamps the rest, so the ends copy anxna_{n}x^{n} (Figure 1).
  • Odd degree: the ends go opposite ways. Even degree: the same way. A positive leading coefficient sends the right-hand end up.
Figure 1 · The ends of a polynomial graph (a) odd degree, a > 0: y = x³ − 3x x y (b) odd degree, a < 0: y = −x³ + 3x x y (c) even degree, a > 0: y = x⁴ − 4x² + 1 x y (d) even degree, a < 0: y = −x⁴ + 3x² x y down on the left up on the right up on the left down on the right up on the left up on the right down on the left down on the right Only the degree and the sign of the leading coefficient decide where the two ends go. Odd degree: the ends go opposite ways. Even degree: the ends go the same way.
Figure 1 · The ends of a polynomial graph

How many roots and turns

  • Degree nn means at most nn real roots and at most n−1n - 1 turning points.
  • An odd-degree graph has its ends on opposite sides of the axis, so it must cross at least once. An even-degree graph need not cross at all: x4+1x^{4} + 1 never does.

Zeros, roots, factors

  • The zeros of PP, the roots of P(x)=0P(x) = 0 and the xx-intercepts of y=P(x)y = P(x) are the same numbers. Each real root aa gives a linear factor (x−a)(x - a).
  • A factor that appears twice, (x−a)2(x - a)^{2}, gives a double root: the root has multiplicity 2. Three times gives a triple root.
  • The multiplicity decides what the graph does at the root (Figure 2):
    • Single root: the graph crosses, because (x−a)(x - a) changes sign at aa.
    • Double root: the graph touches the axis and turns back. (x−a)2(x - a)^{2} is never negative, so the sign does not change and the root is a turning point on the axis.
    • Triple root: the graph crosses and flattens. (x−a)3(x - a)^{3} changes sign, but slowly, so the tangent is horizontal at the crossing.
  • In general an odd multiplicity crosses and an even multiplicity touches.
Figure 2 · What the graph does at a root (a) y = ½(x + 2)(x − 1)(x − 3) x y −2 1 3 (b) y = ½(x + 2)(x − 1)² x y −2 1 3 (c) y = ¼(x + 2)(x − 1)³ x y −2 1 3 every root crosses x = 1: touches, turns x = 1: flat, then crosses A single root crosses, a double root touches, a triple root flattens as it crosses.
Figure 2 · What the graph does at a root

Sketching from factors. Take y=−(x+2)(x−1)2(x−3)y = -(x + 2)(x - 1)^{2}(x - 3). Four readings give the whole sketch in Figure 3.

  1. Degree: 1+2+1=41 + 2 + 1 = 4, even. Leading coefficient −1-1, negative. Both ends go down.
  2. Roots: −2-2 (single, crosses), 1 (double, touches), 3 (single, crosses).
  3. yy-intercept: x=0x = 0 gives −(2)(1)(−3)=-(2)(1)(-3) = 66.
  4. Join up. From the bottom left, cross at −2-2, up to a maximum, down through (0,6)(0, 6) to touch at (1,0)(1, 0), up again, then down through 3.
Figure 3 · Sketching y = −(x + 2)(x − 1)²(x − 3) x y −1 2 10 15 (−2, 0) (3, 0) (1, 0) touches (0, 6) max ≈ (−1.15, 16.3) max ≈ (2.40, 5.17) Degree 4, leading coefficient −1: both ends down. Cross at −2 and 3, touch at 1.
Figure 3 · Sketching y = −(x + 2)(x − 1)²(x − 3)

A sketch is marked on shape, intercepts and behaviour at the roots. Exact turning points are not needed unless asked. On Paper 2 the GDC gives them, here about (−1.15,16.3)(-1.15, 16.3) and (2.40,5.17)(2.40, 5.17).

Writing the equation from the graph

  • Write a factor for every xx-intercept.
  • Square it if the graph touches there, and cube it if it flattens.
  • Put a constant kk in front, because the factors fix only the shape.
  • One more point, usually the yy-intercept, gives kk.

Suppose a graph touches the axis at −2-2, crosses at 44 and cuts the yy-axis at 3232.

y=k(x+2)2(x−4)y = k(x + 2)^{2}(x - 4)x=0, y=32:k(4)(−4)=32, so k=−2x = 0,\ y = 32: \quad k(4)(-4) = 32, \text{ so } k = -2y=−2(x+2)2(x−4)=−2x3+24x+32y = -2(x + 2)^{2}(x - 4) = -2x^{3} + 24x + 32

Check the sign of kk against the picture. Degree 3 with kk negative means the graph comes in from the top left and leaves at the bottom right. Leave the answer factorised unless told to expand.

2Dividing a polynomial by a linear factor

Dividing out a known factor leaves a polynomial one degree lower, often a quadratic you can finish.

Take P(x)=3x3+4x2−35x−12P(x) = 3x^{3} + 4x^{2} - 35x - 12 and the divisor (x−3)(x - 3). Any of three methods earns the marks.

Comparing coefficients. The quotient is a quadratic, so write P(x)=(x−3)(Ax2+Bx+C)P(x) = (x - 3)(Ax^{2} + Bx + C) and match terms.

x3:A=3x^{3}: \quad A = 3constant:−3C=−12, so C=4\text{constant}: \quad -3C = -12, \text{ so } C = 4x2:B−3A=4, so B=13x^{2}: \quad B - 3A = 4, \text{ so } B = 13check x:C−3B=4−39=−35matches, so the division is exact\text{check } x: \quad C - 3B = 4 - 39 = -35 \qquad \textcolor{#838c91}{\text{matches, so the division is exact}}P(x)=(x−3)(3x2+13x+4)=(x−3)(3x+1)(x+4)P(x) = (x - 3)(3x^{2} + 13x + 4) = (x - 3)(3x + 1)(x + 4)

The spare equation is a free check: if it fails, the divisor was not a factor or you slipped.

Synthetic division. Write the root 3 and the coefficients. Bring down the first coefficient. Multiply by 3 and add to the next. Repeat.

333344−35-35−12-12
9939391212
3\boldsymbol{3}13\boldsymbol{13}4\boldsymbol{4}0\boldsymbol{0}

The bottom row gives the quotient 3x2+13x+43x^{2} + 13x + 4 and, last, the remainder 0. If the divisor is not a factor, the working still runs and ends in a non-zero remainder.

Using root −2-2 on the same PP gives the bottom row 3, −2, −31, 503,\ -2,\ -31,\ 50, so P(x)=(x+2)(3x2−2x−31)+50P(x) = (x + 2)(3x^{2} - 2x - 31) + 50. The remainder 50 is P(−2)P(-2), as section 3 predicts.

A non-monic divisor such as (3x+1)(3x + 1) takes two steps.

  • Run the table with its root −13-\tfrac{1}{3} (bottom row 3, 3, −36, 03,\ 3,\ -36,\ 0). This divides by (x+13)\left(x + \tfrac{1}{3}\right).
  • Divide the quotient by 3, because (3x+1)=3(x+13)(3x + 1) = 3\left(x + \tfrac{1}{3}\right).

The quotient for (3x+1)(3x + 1) is x2+x−12x^{2} + x - 12. The remainder itself needs no adjustment.

Long division works as with numbers.

  • Divide the leading term of what is left by the divisor's leading term.
  • Write the result in the quotient.
  • Multiply it by the divisor and subtract.
  • Bring down the next term, and repeat.

It is slower, and needed only when the divisor is a quadratic you cannot split. Division stops when the remainder has lower degree than the divisor, so a quadratic divisor leaves a remainder ex+fex + f.

Take x4+2x3−5x+7x^{4} + 2x^{3} - 5x + 7 divided by x2+1x^{2} + 1, with a 00 written for each missing power so the columns line up.

x2+1  )x4‾x4‾x4‾x2 ⁣ ⁣x2+ 2x− 1x4+ 2x3+ 0x2− 5x+ 7−(x4‾+ 0x3‾+ x2)‾2x3− x2− 5x−(2x3‾+ 0x2‾+ 2x)‾−x2− 7x+ 7−(−x2‾+ 0x‾− 1)‾−7x+ 8\begin{array}{r} \\ x^{2} + 1\;\big) \\ \vphantom{\underline{x^{4}}} \\ \\ \vphantom{\underline{x^{4}}} \\ \\ \vphantom{\underline{x^{4}}} \\ \vphantom{x^{2}} \end{array}\!\!\begin{array}{rrrrr} & & x^{2} & +\,2x & -\,1 \\ \hline x^{4} & +\,2x^{3} & +\,0x^{2} & -\,5x & +\,7 \\ \underline{-(x^{4}} & \underline{+\,0x^{3}} & \underline{+\,x^{2})} & & \\ & 2x^{3} & -\,x^{2} & -\,5x & \\ & \underline{-(2x^{3}} & \underline{+\,0x^{2}} & \underline{+\,2x)} & \\ & & -x^{2} & -\,7x & +\,7 \\ & & \underline{-(-x^{2}} & \underline{+\,0x} & \underline{-\,1)} \\ & & & -7x & +\,8 \end{array}

Each subtracted line is one quotient term times x2+1x^{2} + 1: x2x^{2}, then 2x2x, then −1-1. The last line, −7x+8-7x + 8, has degree below 2, so it is the remainder.

x4+2x3−5x+7=(x2+1)(x2+2x−1)+(8−7x)x^{4} + 2x^{3} - 5x + 7 = (x^{2} + 1)(x^{2} + 2x - 1) + (8 - 7x)

A quadratic factor is divided out by comparing coefficients, with a quotient two degrees lower.

If (x2+x−6)(x^{2} + x - 6) is a factor of x4+px3−7x2+qx+12x^{4} + px^{3} - 7x^{2} + qx + 12, the quotient is a quadratic (x2+ux+v)(x^{2} + ux + v):

(x2+x−6)(x2+ux+v)=x4+(u+1)x3+(v+u−6)x2+(v−6u)x−6v(x^{2} + x - 6)(x^{2} + ux + v) = x^{4} + (u + 1)x^{3} + (v + u - 6)x^{2} + (v - 6u)x - 6vconstant:−6v=12, so v=−2\text{constant}: \quad -6v = 12, \text{ so } v = -2x2:v+u−6=−7, so u=1x^{2}: \quad v + u - 6 = -7, \text{ so } u = 1x3:p=u+1=2x:q=v−6u=−8x^{3}: \quad p = u + 1 = 2 \qquad x: \quad q = v - 6u = -8

Or split x2+x−6=(x+3)(x−2)x^{2} + x - 6 = (x + 3)(x - 2) and use the factor theorem twice. P(2)=0P(2) = 0 gives 8p+2q=08p + 2q = 0, and P(−3)=0P(-3) = 0 gives 27p+3q=3027p + 3q = 30. Both routes give p=2p = 2, q=−8q = -8.

3The remainder theorem

Divide any polynomial P(x)P(x) by (x−a)(x - a). The remainder has lower degree than the divisor, so it is a constant RR, and

P(x)=(x−a) Q(x)+RP(x) = (x - a)\,Q(x) + R

Put x=ax = a. The first term vanishes, since it contains (x−a)(x - a), leaving P(a)=RP(a) = R. That is the remainder theorem:

The remainder when P(x)P(x) is divided by (x−a)(x - a) is P(a)P(a).

You never need to divide to find a remainder. Evaluate.

For P(x)=x4+2x3−5x+7P(x) = x^{4} + 2x^{3} - 5x + 7 divided by (x+3)(x + 3), the remainder is P(−3)=81−54+15+7=P(-3) = 81 - 54 + 15 + 7 = 4949.

For a divisor (ax−b)(ax - b) the root is ba\dfrac{b}{a}, so the remainder is P ⁣(ba)P\!\left(\dfrac{b}{a}\right). Dividing the same PP by (2x−1)(2x - 1):

P ⁣(12)=116+28−52+7=116+416−4016+11216=7716P\!\left(\tfrac{1}{2}\right) = \frac{1}{16} + \frac{2}{8} - \frac{5}{2} + 7 = \frac{1}{16} + \frac{4}{16} - \frac{40}{16} + \frac{112}{16} = \frac{77}{16}

Figure 4 shows the remainder as the height of the graph at x=ax = a.

Figure 4 · The remainder is the height of the graph x y −1 1 2 3 4 6 10 P(4) = 10: remainder 10 P(2) = 0: (x − 2) is a factor y = P(x) P(x) = x³ − 4x² + x + 6. Dividing by (x − 4) leaves 10 = P(4); by (x − 2) leaves 0 = P(2). A factor is a root: the graph meets the x-axis there.
Figure 4 · The remainder is the height of the graph

Equal remainders. A question may say that two divisions leave the same remainder. Evaluate at both roots and set the values equal. If x3+kx2+2x−5x^{3} + kx^{2} + 2x - 5 leaves the same remainder on division by (x−2)(x - 2) and by (x+1)(x + 1).

P(2)=8+4k+4−5=4k+7P(−1)=−1+k−2−5=k−8P(2) = 8 + 4k + 4 - 5 = 4k + 7 \qquad P(-1) = -1 + k - 2 - 5 = k - 84k+7=k−8, so k=−5, and the common remainder is −134k + 7 = k - 8, \text{ so } k = -5, \text{ and the common remainder is } -13

4The factor theorem

The factor theorem is the remainder theorem with R=0R = 0:

(x−a)(x - a) is a factor of P(x)P(x) if and only if P(a)=0P(a) = 0.

"If and only if" means both directions:

  • A factor forces P(a)=0P(a) = 0.
  • P(a)=0P(a) = 0 proves the factor.

For a divisor (ax−b)(ax - b) the test is P ⁣(ba)=0P\!\left(\dfrac{b}{a}\right) = 0. The theorems hold for polynomials only, not for other functions.

In Figure 4 the root at (2,0)(2, 0) is the factor (x−2)(x - 2).

Finding a root to start with

  • On Paper 1 the first root comes from trial.
  • For integer coefficients, any rational root pq\dfrac{p}{q} in lowest terms has pp dividing the constant term a0a_{0} and qq dividing the leading coefficient ana_{n}. With leading coefficient 1 the candidates are just the integer factors of the constant. Try the small ones first.

Worked example 1 · show, then factorise fully. Let P(x)=4x3+8x2−3x−9P(x) = 4x^{3} + 8x^{2} - 3x - 9. Show that (2x+3)(2x + 3) is a factor, and hence factorise P(x)P(x) fully and state the roots.

P ⁣(−32)=4(−278)+8(94)+92−9=−272+18+92−9=0P\!\left(-\tfrac{3}{2}\right) = 4\left(-\tfrac{27}{8}\right) + 8\left(\tfrac{9}{4}\right) + \tfrac{9}{2} - 9 = -\tfrac{27}{2} + 18 + \tfrac{9}{2} - 9 = 0

So (2x+3)(2x + 3) is a factor, by the factor theorem. Compare coefficients with P(x)=(2x+3)(2x2+Bx+C)P(x) = (2x + 3)(2x^{2} + Bx + C):

  • The constant gives 3C=−93C = -9, so C=−3C = -3.
  • The x3x^{3} term is already right.
  • The x2x^{2} coefficient gives 2B+6=82B + 6 = 8, so B=1B = 1.

Then

P(x)=(2x+3)(2x2+x−3)=(2x+3)(2x+3)(x−1)=(2x+3)2(x−1)P(x) = (2x + 3)(2x^{2} + x - 3) = (2x + 3)(2x + 3)(x - 1) = (2x + 3)^{2}(x - 1)

The roots are −32-\tfrac{3}{2} (a double root) and 11. The graph touches the axis at −32-\tfrac{3}{2} and crosses at 1.

When the terms pair up, grouping is quicker than division: x3−3x2+2x−6=x2(x−3)+2(x−3)=(x−3)(x2+2)x^{3} - 3x^{2} + 2x - 6 = x^{2}(x - 3) + 2(x - 3) = (x - 3)(x^{2} + 2).

5Finding unknown coefficients

The most common Paper 1 question gives a polynomial with unknowns and facts about it. Each fact becomes one equation. Two unknowns need two facts.

Worked example 2. P(x)=2x3+px2+qx−15P(x) = 2x^{3} + px^{2} + qx - 15. (x−3)(x - 3) is a factor of P(x)P(x), and the remainder on division by (x+2)(x + 2) is 55. Find pp and qq, and hence solve P(x)=0P(x) = 0.

factor theorem:P(3)=54+9p+3q−15=0, so 3p+q=−13\text{factor theorem}: \quad P(3) = 54 + 9p + 3q - 15 = 0, \text{ so } 3p + q = -13remainder theorem:P(−2)=−16+4p−2q−15=5, so 2p−q=18\text{remainder theorem}: \quad P(-2) = -16 + 4p - 2q - 15 = 5, \text{ so } 2p - q = 18add:5p=5, so p=1, and q=−16\text{add}: \quad 5p = 5, \text{ so } p = 1, \text{ and } q = -16P(x)=2x3+x2−16x−15=(x−3)(2x2+7x+5)=(x−3)(2x+5)(x+1)P(x) = 2x^{3} + x^{2} - 16x - 15 = (x - 3)(2x^{2} + 7x + 5) = (x - 3)(2x + 5)(x + 1)

The roots are 33, −52-\tfrac{5}{2} and −1-1.

Two slips cost most of the marks here.

  • Using x=2x = 2 for the divisor (x+2)(x + 2), when its root is −2-2.
  • Setting the remainder equation equal to 0 instead of the given remainder.

6Complex roots of real polynomials

From 1.14, a polynomial of degree nn has exactly nn roots when complex roots are counted, each as often as its multiplicity. This is the fundamental theorem of algebra.

When all the coefficients are real, the non-real roots come in conjugate pairs. If 3−2i3 - 2i is a root, so is 3+2i3 + 2i. Each pair multiplies out to a real quadratic:

(x−(3−2i))(x−(3+2i))=(x−3)2−(2i)2=x2−6x+13(x - (3 - 2i))(x - (3 + 2i)) = (x - 3)^{2} - (2i)^{2} = x^{2} - 6x + 13

The factor theorem works for complex aa too: P(1+2i)=0P(1 + 2i) = 0 means (x−(1+2i))(x - (1 + 2i)) is a factor. Questions often write zz for xx.

Over the reals, "factorise fully" means a product of real linear factors and real quadratic factors with no real roots. Use one quadratic for each conjugate pair.

In Figure 5 the cubic x3−3x+kx^{3} - 3x + k has:

  • Three real roots for k=0k = 0.
  • A repeated root at k=2k = 2.
  • Only one crossing for k=4k = 4. The other two roots have become a conjugate pair.

A real cubic always has at least one real root, because complex roots arrive two at a time.

Figure 5 · Three real roots, a repeated root, or one real root (a) y = x³ − 3x x y −2 −1 1 2 three real roots (b) y = x³ − 3x + 2 x y −2 −1 1 2 roots −2, 1, 1 (c) y = x³ − 3x + 4 x y −2 −1 1 2 one real root, two complex The same cubic lifted up the page. When it no longer meets the axis twice, two roots become complex.
Figure 5 · Three real roots, a repeated root, or one real root

Building a polynomial from its roots. Multiply a factor for each root, using the real quadratic for any conjugate pair. A real cubic with roots 1+i1 + i and −3-3:

(x2−2x+2)(x+3)=x3+x2−4x+6(x^{2} - 2x + 2)(x + 3) = x^{3} + x^{2} - 4x + 6

The pair gave x2−(sum)x+productx^{2} - (\text{sum})x + \text{product}, with sum 22 and product 1+1=21 + 1 = 2.

Worked example 3 · a complex root given. z3+az2+bz−20=0z^{3} + az^{2} + bz - 20 = 0 with a,b∈Ra, b \in \mathbb{R} has a root 1+3i1 + 3i. Find the other roots, aa and bb.

The coefficients are real, so 1−3i1 - 3i is also a root. The pair gives the factor z2−2z+10z^{2} - 2z + 10 (sum 2, product 1+9=101 + 9 = 10).

The third factor is linear, so write z3+az2+bz−20=(z2−2z+10)(z+d)z^{3} + az^{2} + bz - 20 = (z^{2} - 2z + 10)(z + d).

constant:10d=−20, so d=−2\text{constant}: \quad 10d = -20, \text{ so } d = -2z2:a=d−2=−4z^{2}: \quad a = d - 2 = -4z:b=10−2d=14z: \quad b = 10 - 2d = 14

The roots are 1+3i1 + 3i, 1−3i1 - 3i and 22, with a=−4a = -4, b=14b = 14. Section 7 gives a second route.

7The sum and the product of the roots

Multiply out the factor form of a cubic with roots α\alpha, β\beta, γ\gamma.

a(x−α)(x−β)(x−γ)=a[x3−(α+β+γ)x2+(αβ+βγ+γα)x−αβγ]\begin{aligned} &a(x - \alpha)(x - \beta)(x - \gamma) \\[6pt] &= a\left[x^{3} - (\alpha + \beta + \gamma)x^{2} + (\alpha\beta + \beta\gamma + \gamma\alpha)x - \alpha\beta\gamma\right]\end{aligned}

Compare with ax3+bx2+cx+dax^{3} + bx^{2} + cx + d, term by term.

α+β+γ=−ba\alpha + \beta + \gamma = -\frac{b}{a} \qquadαβ+βγ+γα=ca\alpha\beta + \beta\gamma + \gamma\alpha = \frac{c}{a} \qquadαβγ=−da\alpha\beta\gamma = -\frac{d}{a}

The same expansion works at any degree, and the formula booklet gives the general result for anxn+an−1xn−1+⋯+a0=0a_{n}x^{n} + a_{n-1}x^{n-1} + \dots + a_{0} = 0:

sum of the roots =−an−1an= -\dfrac{a_{n-1}}{a_{n}} \qquad product of the roots =(−1)na0an= (-1)^{n}\dfrac{a_{0}}{a_{n}}

  • The sum uses the top two coefficients. The product uses the constant and the leading coefficient, with sign ++ for even degree and −- for odd.
  • For a quadratic these are α+β=−ba\alpha + \beta = -\dfrac{b}{a} and αβ=ca\alpha\beta = \dfrac{c}{a}.
  • The middle coefficients follow the same pattern: the sum of the products of the roots taken kk at a time is (−1)kan−kan(-1)^{k}\dfrac{a_{n-k}}{a_{n}}. The booklet lists only the sum and the product, so take the pair sum of a cubic or quartic from the expansion.

Four rules make the formulas safe. The first comes before any formula.

  • Make it a polynomial equal to zero first. Get zero on one side, clear fractions, then read the coefficients.
    • The graphs of y=x3+3xy = x^{3} + 3x and y=2x2−5y = 2x^{2} - 5 meet where x3−2x2+3x+5=0x^{3} - 2x^{2} + 3x + 5 = 0. So the xx-coordinates of the meeting points have sum 22 and product (−1)351=−5(-1)^{3}\dfrac{5}{1} = -5, with no solving.
  • Count every root, complex and repeated. x3−4x2+5x−9=0x^{3} - 4x^{2} + 5x - 9 = 0 has one real and two complex roots, but all three are in the sum, which is 44.
  • A missing term has coefficient 0. In x4+5x2−3x+8=0x^{4} + 5x^{2} - 3x + 8 = 0 there is no x3x^{3} term, so the four roots sum to 00. The product is (+1)81=(+1)\dfrac{8}{1} = 88.
  • Mind the sign for the degree. For 3x4−7x3+x−12=03x^{4} - 7x^{3} + x - 12 = 0, the sum is −−73=-\dfrac{-7}{3} = 73\tfrac{7}{3} and the product is (−1)4−123=(-1)^{4}\dfrac{-12}{3} = −4-4.

Worked example 4 · a condition on the roots. The equation x3−9x2+kx−15=0x^{3} - 9x^{2} + kx - 15 = 0 has three roots in arithmetic progression. Find kk and the roots.

Write the roots as α−d\alpha - d, α\alpha, α+d\alpha + d.

sum:3α=9, so α=3\text{sum}: \quad 3\alpha = 9, \text{ so } \alpha = 3product:3(9−d2)=15, so d2=4 and d=±2\text{product}: \quad 3(9 - d^{2}) = 15, \text{ so } d^{2} = 4 \text{ and } d = \pm 2roots:1, 3, 5\text{roots}: \quad 1,\ 3,\ 5k=αβ+βγ+γα=3+15+5=23k = \alpha\beta + \beta\gamma + \gamma\alpha = 3 + 15 + 5 = 23

Check with the factor theorem: P(3)=27−81+3k−15=0P(3) = 27 - 81 + 3k - 15 = 0 gives k=23k = 23.

Worked example 3 also falls to these formulas. The pair has sum 2 and product 10. All three roots multiply to −(−20)=20-(-20) = 20, so the third root is 22. The sum 4=−a4 = -a gives a=−4a = -4.

Expressions in the roots, without solving. Any expression that treats the roots alike can be rebuilt from the sum and the product. For a quadratic with roots α\alpha, β\beta:

α2+β2=(α+β)2−2αβ\alpha^{2} + \beta^{2} = (\alpha + \beta)^{2} - 2\alpha\beta1α+1β=α+βαβ\dfrac{1}{\alpha} + \dfrac{1}{\beta} = \dfrac{\alpha + \beta}{\alpha\beta}αβ+βα=α2+β2αβ\dfrac{\alpha}{\beta} + \dfrac{\beta}{\alpha} = \dfrac{\alpha^{2} + \beta^{2}}{\alpha\beta}α3+β3=(α+β)3−3αβ(α+β)\alpha^{3} + \beta^{3} = (\alpha + \beta)^{3} - 3\alpha\beta(\alpha + \beta)(α−β)2=(α+β)2−4αβ(\alpha - \beta)^{2} = (\alpha + \beta)^{2} - 4\alpha\beta

For a cubic, the extra identities are:

  • α2+β2+γ2=(α+β+γ)2−2(αβ+βγ+γα)\alpha^{2} + \beta^{2} + \gamma^{2} = (\alpha + \beta + \gamma)^{2} - 2(\alpha\beta + \beta\gamma + \gamma\alpha).
  • 1α+1β+1γ=αβ+βγ+γααβγ\dfrac{1}{\alpha} + \dfrac{1}{\beta} + \dfrac{1}{\gamma} = \dfrac{\alpha\beta + \beta\gamma + \gamma\alpha}{\alpha\beta\gamma}.

These work even when some roots are complex.

Worked example 5 · a quadratic. The equation x2−7x+3=0x^{2} - 7x + 3 = 0 has roots α\alpha and β\beta. Without solving it, find α2+β2\alpha^{2} + \beta^{2} and αβ+βα\dfrac{\alpha}{\beta} + \dfrac{\beta}{\alpha}, and find the equation with integer coefficients whose roots are α+2\alpha + 2 and β+2\beta + 2.

α+β=7,αβ=3\alpha + \beta = 7, \quad \alpha\beta = 3α2+β2=49−6=43\alpha^{2} + \beta^{2} = 49 - 6 = 43αβ+βα=433\dfrac{\alpha}{\beta} + \dfrac{\beta}{\alpha} = \dfrac{43}{3}new roots:sum=7+4=11,product=αβ+2(α+β)+4=3+14+4=21\text{new roots}: \quad \text{sum} = 7 + 4 = 11, \quad \text{product} = \alpha\beta + 2(\alpha + \beta) + 4 = 3 + 14 + 4 = 21x2−11x+21=0x^{2} - 11x + 21 = 0

A quadratic with roots pp and qq is x2−(p+q)x+pq=0x^{2} - (p + q)x + pq = 0, or any non-zero multiple. Multiply through if integer coefficients are asked for.

The second route is substitution. If the new roots are y=x+2y = x + 2, then x=y−2x = y - 2. Put that into the original: (y−2)2−7(y−2)+3=y2−11y+21=0(y - 2)^{2} - 7(y - 2) + 3 = y^{2} - 11y + 21 = 0.

The same trick handles other relations. For roots 2x2x, replace xx by y2\tfrac{y}{2}. For roots 1x\tfrac{1}{x}, replace xx by 1y\tfrac{1}{y} and clear fractions.

Solving the original and using decimals earns no method marks in a "without solving" question.

Worked example 6 · a cubic. The equation x3−2x2+5x−9=0x^{3} - 2x^{2} + 5x - 9 = 0 has roots α\alpha, β\beta, γ\gamma. Find α2+β2+γ2\alpha^{2} + \beta^{2} + \gamma^{2}, 1α+1β+1γ\dfrac{1}{\alpha} + \dfrac{1}{\beta} + \dfrac{1}{\gamma}, and the cubic whose roots are 2α2\alpha, 2β2\beta, 2γ2\gamma.

α+β+γ=2,αβ+βγ+γα=5,αβγ=9\alpha + \beta + \gamma = 2, \quad \alpha\beta + \beta\gamma + \gamma\alpha = 5, \quad \alpha\beta\gamma = 9α2+β2+γ2=22−2(5)=−6\alpha^{2} + \beta^{2} + \gamma^{2} = 2^{2} - 2(5) = -61α+1β+1γ=59\dfrac{1}{\alpha} + \dfrac{1}{\beta} + \dfrac{1}{\gamma} = \dfrac{5}{9}new roots:sum=4,pair sum=4×5=20,product=8×9=72\text{new roots}: \quad \text{sum} = 4, \quad \text{pair sum} = 4 \times 5 = 20, \quad \text{product} = 8 \times 9 = 72y3−4y2+20y−72=0y^{3} - 4y^{2} + 20y - 72 = 0

A negative sum of squares is possible only because two roots are complex. Real roots could never give it, so the sign proves the equation has non-real roots.

8With technology

Where no algebraic method fits (irrational roots, most quartics), Paper 2 questions expect the GDC for roots that do not come out exactly. Use the polynomial solver, or the zero tool on the graph. Give each root to 3 significant figures.

The sum and product still help. Once the GDC gives the two real roots of a quartic, the sum and product of all four give the quadratic for the other two. Q5 does this.

Practice questions

48 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.