James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 2: Functions › Sum & product of roots

Sum & product of roots

How the coefficients of a polynomial equation encode the sum and the product of its roots, and how to use this to evaluate symmetric expressions, build new equations and find unknown roots without solving.

AHL 2.12HL onlyPaper 1Paper 2≈ 60 min to work through
Before you start: factor and remainder theorems and complex conjugate roots. See Polynomials and Complex numbers.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Write down the sum and the product of the roots of a polynomial equationAHL 2.12
  • Explain where the formulae come from by expanding (x−α)(x−β)⋯AHL 2.12
  • Evaluate symmetric expressions such as α2+β2 and 1α+1βAHL 2.12
  • Form a new equation whose roots are related to the roots of a given oneAHL 2.12
  • Use conditions on the roots (arithmetic sequence, complex conjugates) to find unknownsAHL 2.12, 1.14

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

If you know the roots of a polynomial, you can write it in factorised form and expand. So the coefficients are built from the roots. Read backwards, this means the coefficients tell you combinations of the roots, such as their sum and their product, without you ever finding the roots themselves.

2.1 Quadratic equations

Suppose ax2+bx+c=0 has roots α and β. Then ax2+bx+c≡a(x−α)(x−β)=a(x2−(α+β)x+αβ). Comparing coefficients:

α+β=−baαβ=ca

Worked example 1Paper 1
The roots of 2x2−5x+3=0 are α and β. Without solving, find α2+β2 and 1α+1β.
α+β=52, αβ=32
α2+β2=(α+β)2−2αβ=254−3=134
(α+β)2=α2+2αβ+β2, so subtract 2αβ.
1α+1β=α+βαβ=5/23/2=53
The roots are 1 and 32, and 11+23=53 ✓.

2.2 The general result

Sum and product of roots In formula booklet

For anxn+an−1xn−1+…+a1x+a0=0 with roots α1,…,αn:

sum=−an−1anproduct=(−1)na0an

The sum uses the second coefficient and the product uses the constant term, both divided by the leading coefficient. The product picks up a factor (−1)n: it is +a0an for even degree and −a0an for odd degree. Roots are counted with multiplicity and include complex roots.

Why does this work?

Expand an(x−α1)(x−α2)⋯(x−αn). The xn−1 term comes from choosing x from all brackets but one, and −αi from that one: total −an(α1+…+αn). The constant comes from choosing −αi from every bracket: an(−1)nα1α2⋯αn. Setting these equal to an−1 and a0 gives the formulae.

For a cubic ax3+bx2+cx+d=0 there is also a middle result, not in the formula booklet but found the same way: the sum of the products of pairs is αβ+βγ+γα=ca.

Worked example 2Paper 1
For 2x3−3x2+4x−5=0 with roots α,β,γ, find α+β+γ, αβγ and α2+β2+γ2.
Sum =−−32=32
Product =(−1)3(−5)2=52
Odd degree: change the sign of a0/an.
Pairs: αβ+βγ+γα=42=2
α2+β2+γ2=(α+β+γ)2−2(αβ+βγ+γα)=94−4=−74
A negative sum of squares: so not all the roots are real.

2.3 Symmetric expressions

An expression is symmetric if swapping α and β leaves it unchanged. Every symmetric expression can be written using α+β and αβ. The useful identities:

ExpressionIn terms of α+β and αβ
α2+β2(α+β)2−2αβ
1α+1βα+βαβ
(α−β)2(α+β)2−4αβ
α3+β3(α+β)3−3αβ(α+β)
α4+β4(α2+β2)2−2(αβ)2
Worked example 3Paper 1
α and β are the roots of x2−3x+1=0. Find α3+β3 and α4+β4.
α+β=3, αβ=1
α3+β3=33−3(1)(3)=18
α2+β2=9−2=7, so α4+β4=72−2(1)2=47

2.4 New equations from old

To form an equation whose roots are, say, α2 and β2: find the new sum S and new product P, then write x2−Sx+P=0 and clear fractions.

Worked example 4Paper 1
α,β are the roots of 2x2−5x+3=0. Find a quadratic equation with integer coefficients whose roots are α2 and β2.
New sum =α2+β2=134 (from WE1)
New product =α2β2=(32)2=94
x2−134x+94=0⇒4x2−13x+9=0
Check: the roots of the original are 1 and 32; the new roots 1 and 94 satisfy 4x2−13x+9=(x−1)(4x−9).
Worked example 5 (faded)Paper 1
With the same α,β, find an equation with roots 1α and 1β.
Sum =53, product =1αβ= 2/3  ← you work this out
Equation: x2−53x+23=0, i.e. 3x2− 5x+2=0. Notice the coefficients of the original are reversed.  ← you work this out

2.5 Using conditions on the roots

Questions often give extra information about the roots: they form an arithmetic or geometric sequence, one is double another, or one is complex. Name the roots to match the condition, then use the sum and product.

Worked example 6Paper 1
The roots of x3−9x2+kx−15=0 form an arithmetic sequence. Find the roots and k.
Let the roots be a−d, a, a+d.
This naming makes the sum easy: the d terms cancel.
Sum: 3a=9⇒a=3
Product: (3−d)(3)(3+d)=15⇒9−d2=5⇒d=±2
Roots 1,3,5. Pairs: k=1(3)+3(5)+5(1)=23
Worked example 7Paper 1
One root of x3+px2+qx−10=0, where p,q∈ℝ, is 1+2i. Find the other roots, p and q.
Real coefficients, so 1−2i is also a root. Let the third root be r.
Conjugate root theorem.
Product: (1+2i)(1−2i)r=5r=−−101=10⇒r=2
(1+2i)(1−2i)=1+4=5.
Sum: 1+2i+1−2i+2=4=−p⇒p=−4
Pairs: 5+2(1+2i)+2(1−2i)=9=q
Check: (x2−2x+5)(x−2)=x3−4x2+9x−10 ✓
Which tool?
  • Sum: when the roots are named with a common difference or when most of the roots are known.
  • Product: when roots come as conjugate pairs or reciprocals, since those multiply to something simple.
  • Pairs (cubics): usually the last unknown coefficient.
  • Always write down the sign of each formula before substituting; most errors are sign errors.
On your TI-Nspire Calculator tricks →

Paper 2: check your values with Polynomial Tools → Find Roots, then add and multiply the roots on the calculator. For complex roots use Complex Polynomial Root Finder (cPolyRoots).

3Explore it

Choose three roots and a leading coefficient. The calculator expands the cubic, and you can check that −ba and −da always equal the sum and the product of the roots.

4Common mistakes & exam tips

Common mistakes

  • Sign errors: the sum is −an−1an, not an−1an.
  • Forgetting the (−1)n in the product: for a cubic, product =−da.
  • Not dividing by the leading coefficient when it is not 1.
  • Writing α2+β2=(α+β)2.
  • Forming the new equation as x2+Sx+P=0 instead of x2−Sx+P=0.

Exam tips

  • Write "α+β=…, αβ=…" at the start: it earns marks even if the rest goes wrong.
  • "Integer coefficients" means multiply through to clear fractions at the end.
  • If a question says "the coefficients are real" and gives a complex root, the conjugate is a root too: say so explicitly.
  • Check with a simple example where you know the roots, e.g. (x−1)(x−2)=x2−3x+2.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Write down the sum and product of the roots of 3x2+7x−6=0.
Sum −73, product −2.
FluencyP2
Write down the sum and product of the roots of 2x4−x3+5x−8=0.
Sum 12, product −82=−4 (even degree, no sign change).
FluencyP3
α,β are the roots of x2+4x−2=0. Find α2+β2.
16+4=20
FluencyP4
α,β are the roots of x2−6x+4=0. Find (α−β)2.
36−16=20
Problem solvingP5
α,β are the roots of x2−2x+5=0. Find a quadratic with roots α+2 and β+2.
Sum 6, product αβ+2(α+β)+4=13: x2−6x+13=0.
Problem solvingP6
The roots of x3−6x2+kx−8=0 form a geometric sequence. Find k.
Roots ar,a,ar: product a3=8, a=2. P(2)=8−24+2k−8=0⇒k=12. (Roots all equal 2.)

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

The roots of 2x2+3x−4=0 are α and β.

  • (a)Write down the value of α+β and the value of αβ.[2]
  • (b)Find the value of α2+β2.[2]
  • (c)Find a quadratic equation with integer coefficients whose roots are αβ and βα.[3]
(a)
α+β=−32A1
αβ=−2A1
(b)
(−32)2−2(−2)M1
254A1
(c)
sum =α2+β2αβ=−258, product =1M1A1
8x2+25x+8=0A1
Question 2Paper 1[6 marks]

The roots of x3−12x2+kx−28=0 form an arithmetic sequence.

  • (a)Find the three roots.[4]
  • (b)Find the value of k.[2]
(a)
roots a−d, a, a+dM1
3a=12⇒a=4A1
4(16−d2)=28⇒d=±3M1
1, 4, 7A1
(b)
k=1(4)+4(7)+7(1) or P(4)=0M1
k=39A1
Question 3Paper 1[5 marks]

The equation x4+px3+qx2+rx+s=0, where p,q,r,s∈ℝ, has roots 2i and 3−i.

  • (a)Write down the other two roots.[1]
  • (b)Find the value of p and the value of s.[4]
(a)
−2i, 3+iA1
(b)
sum =6=−pM1
p=−6A1
product =(2i)(−2i)(3−i)(3+i)=4×10M1
s=40A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
May 2022 · TZ1 · Paper 2Q8The product of the roots in terms of a parameter★★
Nov 2022 · Paper 1Q5A quartic with complex roots: using the product of all the roots★★★
May 2024 · TZ2 · Paper 1Q7Relationships between the roots of two cubics★★★
Nov 2025 · TZ1 · Paper 3Q1Using the sum or product of roots within an investigation★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake