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
HL Use the factor and remainder theorems to find unknown coefficients
HL Show that a linear expression is a factor, then factorise the polynomial fully
HL Find the sum and product of the roots, and values of expressions in the roots without solving
HL Find the remaining roots and coefficients given one complex root
HL Sketch a polynomial from its factors, showing intercepts and the behaviour at repeated roots
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) is a factor", "find a and b", "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 degreen is
P(x)=anxn+an−1xn−1+⋯+a1x+a0, with an=0
The powers must be 0,1,2,…, so x1 and x are not allowed.
Leading coefficient = an.
Constant term = a0. It is also the y-intercept, because P(0)=a0.
The booklet writes this as ∑arxr, summed from r=0 to n.
Where the ends go
For large x the highest power swamps the rest, so the ends copy anxn (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
How many roots and turns
Degree n means at most n real roots and at most n−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+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).
A factor that appears twice, (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) changes sign at a.
Double root: the graph touches the axis and turns back. (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 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
Sketching from factors. Take y=−(x+2)(x−1)2(x−3). Four readings give the whole sketch in Figure 3.
Degree: 1+2+1=4, even. Leading coefficient −1, negative. Both ends go down.
Join up. From the bottom left, cross at −2, up to a maximum, down through (0,6) to touch at (1,0), up again, then down through 3.
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) and (2.40,5.17).
Writing the equation from the graph
Write a factor for every x-intercept.
Square it if the graph touches there, and cube it if it flattens.
Put a constant k in front, because the factors fix only the shape.
One more point, usually the y-intercept, gives k.
Suppose a graph touches the axis at −2, crosses at 4 and cuts the y-axis at 32.
y=k(x+2)2(x−4)x=0,y=32:k(4)(−4)=32, so k=−2y=−2(x+2)2(x−4)=−2x3+24x+32
Check the sign of k against the picture. Degree 3 with k 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−12 and the divisor (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) and match terms.
x3:A=3constant:−3C=−12, so C=4x2:B−3A=4, so B=13check x:C−3B=4−39=−35matches, so the division is exactP(x)=(x−3)(3x2+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.
3
3
4
−35
−12
9
39
12
3
13
4
0
The bottom row gives the quotient 3x2+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 on the same P gives the bottom row 3,−2,−31,50, so P(x)=(x+2)(3x2−2x−31)+50. The remainder 50 is P(−2), as section 3 predicts.
A non-monic divisor such as (3x+1) takes two steps.
Run the table with its root −31 (bottom row 3,3,−36,0). This divides by (x+31).
Divide the quotient by 3, because (3x+1)=3(x+31).
The quotient for (3x+1) is x2+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+f.
Take x4+2x3−5x+7 divided by x2+1, with a 0 written for each missing power so the columns line up.
Figure 4 shows the remainder as the height of the graph at x=a.
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−5 leaves the same remainder on division by (x−2) and by (x+1).
P(2)=8+4k+4−5=4k+7P(−1)=−1+k−2−5=k−84k+7=k−8, so k=−5, and the common remainder is −13
4The factor theorem
The factor theorem is the remainder theorem with R=0:
(x−a) is a factor of P(x) if and only if P(a)=0.
"If and only if" means both directions:
A factor forces P(a)=0.
P(a)=0 proves the factor.
For a divisor (ax−b) the test is P(ab)=0. The theorems hold for polynomials only, not for other functions.
In Figure 4 the root at (2,0) is the factor (x−2).
Finding a root to start with
On Paper 1 the first root comes from trial.
For integer coefficients, any rational root qp in lowest terms has p dividing the constant term a0 and q dividing the leading coefficient an. 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−9. Show that (2x+3) is a factor, and hence factorise P(x) fully and state the roots.
P(−23)=4(−827)+8(49)+29−9=−227+18+29−9=0
So (2x+3) is a factor, by the factor theorem. Compare coefficients with P(x)=(2x+3)(2x2+Bx+C):
The roots are −23 (a double root) and 1. The graph touches the axis at −23 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).
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−15. (x−3) is a factor of P(x), and the remainder on division by (x+2) is 5. Find p and q, and hence solve P(x)=0.
factor theorem:P(3)=54+9p+3q−15=0, so 3p+q=−13remainder theorem:P(−2)=−16+4p−2q−15=5, so 2p−q=18add:5p=5, so p=1, and q=−16P(x)=2x3+x2−16x−15=(x−3)(2x2+7x+5)=(x−3)(2x+5)(x+1)
The roots are 3, −25 and −1.
Two slips cost most of the marks here.
Using x=2 for the divisor (x+2), when its root is −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 n has exactly n 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−2i is a root, so is 3+2i. Each pair multiplies out to a real quadratic:
(x−(3−2i))(x−(3+2i))=(x−3)2−(2i)2=x2−6x+13
The factor theorem works for complex a too: P(1+2i)=0 means (x−(1+2i)) is a factor. Questions often write z for x.
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+k has:
Three real roots for k=0.
A repeated root at k=2.
Only one crossing for k=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
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+i and −3:
(x2−2x+2)(x+3)=x3+x2−4x+6
The pair gave x2−(sum)x+product, with sum 2 and product 1+1=2.
Worked example 3 · a complex root given.z3+az2+bz−20=0 with a,b∈R has a root 1+3i. Find the other roots, a and b.
The coefficients are real, so 1−3i is also a root. The pair gives the factor z2−2z+10 (sum 2, product 1+9=10).
The third factor is linear, so write z3+az2+bz−20=(z2−2z+10)(z+d).
constant:10d=−20, so d=−2z2:a=d−2=−4z:b=10−2d=14
The roots are 1+3i, 1−3i and 2, with a=−4, b=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 α, β, γ.
The same expansion works at any degree, and the formula booklet gives the general result for anxn+an−1xn−1+⋯+a0=0:
sum of the roots =−anan−1 product of the roots =(−1)nana0
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 α+β=−ab and αβ=ac.
The middle coefficients follow the same pattern: the sum of the products of the roots taken k at a time is (−1)kanan−k. 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+3x and y=2x2−5 meet where x3−2x2+3x+5=0. So the x-coordinates of the meeting points have sum 2 and product (−1)315=−5, with no solving.
Count every root, complex and repeated. x3−4x2+5x−9=0 has one real and two complex roots, but all three are in the sum, which is 4.
A missing term has coefficient 0. In x4+5x2−3x+8=0 there is no x3 term, so the four roots sum to 0. The product is (+1)18=8.
Mind the sign for the degree. For 3x4−7x3+x−12=0, the sum is −3−7=37 and the product is (−1)43−12=−4.
Worked example 4 · a condition on the roots. The equation x3−9x2+kx−15=0 has three roots in arithmetic progression. Find k and the roots.
Write the roots as α−d, α, α+d.
sum:3α=9, so α=3product:3(9−d2)=15, so d2=4 and d=±2roots:1,3,5k=αβ+βγ+γα=3+15+5=23
Check with the factor theorem: P(3)=27−81+3k−15=0 gives k=23.
Worked example 3 also falls to these formulas. The pair has sum 2 and product 10. All three roots multiply to −(−20)=20, so the third root is 2. The sum 4=−a gives a=−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 α, β:
Worked example 5 · a quadratic. The equation x2−7x+3=0 has roots α and β. Without solving it, find α2+β2 and βα+αβ, and find the equation with integer coefficients whose roots are α+2 and β+2.
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.
Practice · 2.12 Polynomial functions, the factor and remainder theorems, and sums and products of roots