AA HL · Polynomials, rational functions and inequalities · course

Polynomials and their roots.

AA HL resourcesPDF

A polynomial of degree $n$ has at most $n$ real roots, and exactly $n$ complex ones counted with repetition. Two facts do most of the work: the value $P(a)$ is the remainder when $P(x)$ is divided by $x-a$, and the coefficients alone give the sum and the product of the roots — without finding a single root.

IThe factor and remainder theoremsAHL 2.12 · division, $P(a)$, factor $x-a$, real coefficients

I.1 Polynomial division

Definition 1

polynomial division

Dividing $P(x)$ by $x-a$ gives a quotient $Q(x)$, of degree one less, and a remainder $R$, a constant: $\displaystyle P(x)=(x-a)\,Q(x)+R.$ Dividing by a quadratic leaves a remainder of degree at most $1$.
Example 1

Divide $x^{3}+2x^{2}-5x+1$ by $x-2$.

What you do
What you write
Step 1 The form of the answer
$x^{3}+2x^{2}-5x+1=(x-2)(x^{2}+px+q)+R$
Step 2 Divide, term by termLong division, or the coefficients $1,\,2,\,-5,\,1$ with $2$: $1,\ 4,\ 3$, remainder $7$.
$Q(x)=x^{2}+4x+3$
Step 3 The remainder
$R=7$
Step 4 Write the identity
$x^{3}+2x^{2}-5x+1=(x-2)(x^{2}+4x+3)+7$

Apply

  1. Divide $2x^{3}-x+4$ by $x+1$.
    Answer$Q=2x^{2}-2x+1$, $R=3$

I.2 The remainder theorem

Property 1

the remainder theorem

Putting $x=a$ in $P(x)=(x-a)Q(x)+R$ gives $R=P(a)$: the remainder on division by $x-a$ is $P(a)$. On division by $ax-b$ it is $P\left(\frac ba\right)$.
Example 2

Find the remainder when $3x^{3}-4x+7$ is divided by $x+2$.

What you do
What you write
Step 1 The value of $x$ that makes the divisor $0$
$x+2=0$: $x=-2$
Step 2 Substitute
$P(-2)=-24+8+7$
Step 3 The remainder
$R=-9$

Apply

  1. $x^{4}+2x-5$ divided by $x-1$: the remainder.
    Answer$-2$
  2. $4x^{3}+x$ divided by $2x-1$: the remainder.
    Answer$P\left(\frac12\right)=1$

I.3 The factor theorem

Property 2

the factor theorem

$x-a$ is a factor of $P(x)$ if and only if $P(a)=0$. Two pieces of information (a factor, a remainder) give two equations for two unknown coefficients.
Example 3

Show that $x-1$ is a factor of $P(x)=x^{3}-2x^{2}-5x+6$, then factorise $P(x)$ fully.

What you do
What you write
Step 1 Factor: $P(1)=0$
$P(1)=1-2-5+6=0$
Step 2 Divide by the factor
$P(x)=(x-1)(x^{2}-x-6)$
Step 3 Factorise the quadratic
$P(x)=(x-1)(x+2)(x-3)$
Figure 1 — Example 3. The remainder is the height of the graph at $x=a$.
Watch out 1
The remainder on division by $x+1$ is $P(-1)$, not $P(1)$. And a cubic with real coefficients always has a real root, but its other two roots may be a conjugate pair.

Apply

  1. $x+3$ is a factor of $x^{3}+kx^{2}-2x+3$: find $k$.
    Answer$9k-18=0$: $k=2$
  2. $x^{3}+ax+b$ has the factor $x-1$, and remainder $9$ on division by $x-2$.
    Answer$a+b=-1$, $2a+b=1$: $a=2$, $b=-3$

IISums and products of rootsAHL 2.12 · $\sum\alpha=-\frac{a_{n-1}}{a_{n}}$, $\prod\alpha=\frac{(-1)^{n}a_{0}}{a_{n}}$

II.1 Sum and product of the roots

Property 3

sum and product of the roots

For $a_{n}x^{n}+a_{n-1}x^{n-1}+\cdots+a_{1}x+a_{0}=0$, with all $n$ roots counted (complex and repeated ones included): $\displaystyle \text{sum of the roots}=-\frac{a_{n-1}}{a_{n}},\qquad\text{product of the roots}=\frac{(-1)^{n}a_{0}}{a_{n}}.$ Both are in the formula booklet.
Example 4

Without solving, find the sum and the product of the roots of $x^{3}-6x^{2}+5x+12=0$.

What you do
What you write
Step 1 Read $n$, $a_{n}$, $a_{n-1}$, $a_{0}$
$n=3$, $a_{3}=1$, $a_{2}=-6$, $a_{0}=12$
Step 2 Sum
$-\dfrac{-6}{1}=6$
Step 3 Product, with $(-1)^{n}$The roots are $-1$, $3$, $4$: their sum is $6$, their product $-12$.
$\dfrac{(-1)^{3}\times12}{1}=-12$
Figure 2 — Example 4. The coefficients follow the sum and the product of the roots.
Watch out 2
The sign of the product alternates with the degree: $(-1)^{n}$. And a degree-$4$ equation has four roots in the formula, even if only two of them are real.

Apply

  1. $2x^{4}-3x^{3}+x-8=0$: sum and product of the roots.
    Answer$\frac32$; $-4$
  2. $x^{3}+5x-2=0$: sum and product.
    Answer$0$; $2$

II.2 Products in pairs

Property 4

why it works

For a cubic, $\displaystyle a(x-\alpha)(x-\beta)(x-\gamma)=a\left(x^{3}-(\alpha+\beta+\gamma)x^{2}+(\alpha\beta+\beta\gamma+\gamma\alpha)x-\alpha\beta\gamma\right):$ compare the coefficients. The middle one gives the sum of the products in pairs, $\frac{a_{1}}{a_{3}}$, useful for $\alpha^{2}+\beta^{2}+\gamma^{2}=\left(\sum\alpha\right)^{2}-2\sum\alpha\beta$.
Example 5

The roots of $x^{3}-4x^{2}+x+6=0$ are $\alpha$, $\beta$, $\gamma$. Find $\alpha^{2}+\beta^{2}+\gamma^{2}$.

What you do
What you write
Step 1 Sum
$\sum\alpha=4$
Step 2 Products in pairs
$\sum\alpha\beta=\frac11=1$
Step 3 Squares from sum and pairsCheck: the roots are $-1$, $2$, $3$, and $1+4+9=14$.
$4^{2}-2\times1=14$

Apply

  1. $x^{3}+2x^{2}-3x-1=0$: $\alpha^{2}+\beta^{2}+\gamma^{2}$.
    Answer$4+6=10$
  2. The roots of $x^{3}-12x^{2}+39x-28=0$ are $a-d$, $a$, $a+d$: find them.
    Answer$3a=12$, $a=4$; $4(16-d^{2})=28$: $1,\ 4,\ 7$

IIIExam-style questionsfrom the shortest to the longest · every one in steps, with its marks

A The factor and remainder theorems

Exam-style question 1Paper 1 · no calculator · [Maximum mark: 7]

Let $P(x)=2x^{3}+ax^{2}+bx-6$, where $a,b\in\mathbb{R}$. The polynomial $x-2$ is a factor of $P(x)$, and when $P(x)$ is divided by $x+1$ the remainder is $-6$.

(a)Find the value of $a$ and the value of $b$.[4]
(b)Hence show that the equation $P(x)=0$ has exactly one real root.[3]
More questions like this

Working (a)

What you do
What you write
Step 1 Factor: $P(2)=0$
$P(2)=0$: $16+4a+2b-6=0$
Using the factor theorem.
Step 2 Remainder: $P(-1)=-6$
$P(-1)=-6$: $-2+a-b-6=-6$
Using the remainder theorem.
Step 3 Two equations
$2a+b=-5$ and $a-b=2$
Step 4 Solve
$a=-1$, $b=-3$

Working (b)

What you do
What you write
Step 1 Divide by the factor
$P(x)=(x-2)\left(2x^{2}+3x+3\right)$
M1 for dividing by $x-2$ or comparing coefficients.
Step 2 Discriminant of the quadratic
$\Delta=9-24=-15\lt 0$: the quadratic has no real root, so $x=2$ is the only real root

Play this question in Mark it: find each mark yourself →

B Sums and products of roots

Exam-style question 2Paper 1 · no calculator · [Maximum mark: 6]

The roots of the equation $x^{3}+px^{2}+qx-64=0$, where $p,q\in\mathbb{R}$, are $\alpha$, $2\alpha$ and $4\alpha$.

(a)Find the value of $\alpha$.[3]
(b)Hence find the value of $p$ and the value of $q$.[3]
More questions like this

Working (a)

What you do
What you write
Step 1 Product of the roots
product of the roots $=\alpha\times2\alpha\times4\alpha=8\alpha^{3}$
Step 2 The formula for the product
$8\alpha^{3}=\frac{(-1)^{3}(-64)}{1}=64$
The product formula with the correct sign.
Step 3 Solve
$\alpha=2$

Working (b)

What you do
What you write
Step 1 Sum of the roots
sum $2+4+8=14=-p$: $p=-14$
Step 2 Products in pairs
$q=2\times4+4\times8+2\times8$
The sum of the products in pairs.
Step 3 Compute
$q=56$

Play this question in Mark it: find each mark yourself →

C On the GDC (Paper 2)

Exam-style question 3Paper 2 · calculator · [Maximum mark: 6]

Consider the equation $x^{4}-2x^{3}-7x^{2}+8x+5=0$, with roots $\alpha$, $\beta$, $\gamma$ and $\delta$.

(a)Find the four roots.[2]
(b)Write down the value of $\alpha\beta\gamma\delta$.[1]
(c)Find the value of $\alpha^{2}+\beta^{2}+\gamma^{2}+\delta^{2}$.[3]
More questions like this

Working (a)

What you do
What you write
Step 1 Roots on the GDC
$-2.25$, $-0.466$, $1.47$, $3.25$
A1 for two or three correct roots.

Working (b)

What you do
What you write
Step 1 Product of the roots
$\alpha\beta\gamma\delta=\frac{(-1)^{4}\times5}{1}=5$

Working (c)

What you do
What you write
Step 1 Sum and pairs
$\sum\alpha=2$, $\sum\alpha\beta=-7$
Step 2 Squares from sum and pairs
$2^{2}-2\times(-7)$
Step 3 Compute
$=18$

Play this question in Mark it: find each mark yourself →

IVWhich method? Read the questionthe whole topic on one page

The question says
You write
The question says that “$x-a$ is a factor” of a polynomial with unknown coefficients: $P(a)=0$.
one equation in the unknown coefficients P2
The question says that “the remainder when divided by $x-a$ is $R$”: $P(a)=R$.
by $x+1$: $P(-1)$ P1
After finding a factor, the question says “hence factorise” or “hence solve”: divide by the known factor.
then the quadratic: its discriminant D1
You must find “the sum of the roots” of a polynomial: $-\frac{a_{n-1}}{a_{n}}$.
no need to find them P3
You must find “the product of the roots” of a polynomial: $\frac{(-1)^{n}a_{0}}{a_{n}}$.
watch the sign P3
You must find $\alpha^{2}+\beta^{2}+\cdots$ from the roots, without finding them: $\left(\sum\alpha\right)^{2}-2\sum\alpha\beta$.
pairs from the next coefficient P4
In the exam 1

command terms

Hence show that … exactly one real root: the factor, then the discriminant of the quadratic and a sentence. Find the value of: an exact value, from the coefficients. Write down: a sum or a product read straight from the equation.