Symmetric functions of roots

You rarely need the roots of a polynomial, only sums and products of them. Here is how to get those straight from the coefficients.

Level: STEP 2. Uses A-level Mathematics only.

The idea

Many STEP questions are about the roots of a polynomial you cannot solve. The trick is that you seldom need the roots themselves. You need expressions such as the sum of their squares, and any expression that is unchanged when you shuffle the roots can be found from the coefficients alone.

Where the formulas come from

Suppose the cubic x3+px2+qx+rx^3+px^2+qx+r has roots α\alpha, β\beta and γ\gamma. Then it factorises as (x−α)(x−β)(x−γ)(x-\alpha)(x-\beta)(x-\gamma). Expanding and comparing coefficients gives

α+β+γ=−p,αβ+βγ+γα=q,αβγ=−r.\begin{aligned}\alpha+\beta+\gamma&=-p,\\[6pt]\alpha\beta+\beta\gamma+\gamma\alpha&=q,\\[6pt]\alpha\beta\gamma&=-r .\end{aligned}

These three expressions are the building blocks. Every symmetric expression in the roots can be written in terms of them.

Sums of powers

Write SnS_n for αn+βn+γn\alpha^n+\beta^n+\gamma^n. The first two come from the formulas above:

S1=−p,S2=(α+β+γ)2−2(αβ+βγ+γα)=p2−2q.\begin{aligned}S_1&=-p,\\[6pt]S_2&=(\alpha+\beta+\gamma)^2-2(\alpha\beta+\beta\gamma+\gamma\alpha)\\&=p^2-2q .\end{aligned}

For higher powers there is a better route than expanding. Each root satisfies the equation, so α3=−pα2−qα−r\alpha^3=-p\alpha^2-q\alpha-r, and multiplying by αn\alpha^{n} gives αn+3=−pαn+2−qαn+1−rαn\alpha^{n+3}=-p\alpha^{n+2}-q\alpha^{n+1}-r\alpha^n. Adding the same equation for all three roots,

Sn+3=−pSn+2−qSn+1−rSn,S_{n+3}=-pS_{n+2}-qS_{n+1}-rS_n ,

with S0=3S_0=3. The power sums obey the same recurrence as the polynomial.

Worked example

Let α\alpha, β\beta and γ\gamma be the roots of

x3−2x+5=0.x^3-2x+5=0 .

Here p=0p=0, q=−2q=-2 and r=5r=5, so the sum of the roots is 0, the sum of their products in pairs is −2, and their product is −5.

Sum of squares.

S2=02−2(−2)=4.\begin{aligned}S_2&=0^2-2(-2)\\&=4 .\end{aligned}

Sum of cubes. Each root satisfies α3=2α−5\alpha^3=2\alpha-5, so

S3=2S1−15=−15.\begin{aligned}S_3&=2S_1-15\\&=-15 .\end{aligned}

Sum of reciprocals. Put the fractions over a common denominator:

1α+1β+1γ=αβ+βγ+γααβγ=−2−5=25.\begin{aligned}\frac1\alpha+\frac1\beta+\frac1\gamma&=\frac{\alpha\beta+\beta\gamma+\gamma\alpha}{\alpha\beta\gamma}\\&=\frac{-2}{-5}\\&=\frac25 .\end{aligned}

A cubic whose roots are the squares. We want an equation satisfied by y=α2y=\alpha^2. From α3−2α+5=0\alpha^3-2\alpha+5=0, write α(α2−2)=−5\alpha(\alpha^2-2)=-5 and square both sides to make every power of α\alpha even:

α2(α2−2)2=25,soy(y−2)2=25.\begin{aligned}\alpha^2(\alpha^2-2)^2&=25,\\[6pt]\text{so}\quad y(y-2)^2&=25 .\end{aligned}

Expanding, α2\alpha^2, β2\beta^2 and γ2\gamma^2 are the roots of

y3−4y2+4y−25=0.y^3-4y^2+4y-25=0 .

A quick check: the sum of these roots is 4, which matches S2S_2 above. Checks like this cost seconds and catch most slips.

When to reach for it

  • The question names the roots of a polynomial with Greek letters and asks for a combination of them.
  • You are asked to "find a polynomial equation whose roots are ...". Substitute, then rearrange so that only the new variable appears.
  • The roots are messy but the question is symmetric in them. Work with sums and products, never with the roots one at a time.

Try this

The roots of x3−x−1=0x^3-x-1=0 are α\alpha, β\beta and γ\gamma. Show that

α5+β5+γ5=5.\alpha^5+\beta^5+\gamma^5=5 .
Hint

Each root satisfies α3=α+1\alpha^3=\alpha+1. Find the recurrence for SnS_n and start from S0S_0, S1S_1 and S2S_2.

Solution

Here p=0p=0, q=−1q=-1 and r=−1r=-1, so S1=0S_1=0 and S2=0−2(−1)=2S_2=0-2(-1)=2, with S0=3S_0=3. Since αn+3=αn+1+αn\alpha^{n+3}=\alpha^{n+1}+\alpha^n for each root,

Sn+3=Sn+1+Sn.S_{n+3}=S_{n+1}+S_n .

So

S3=S1+S0=3,S4=S2+S1=2,S5=S3+S2=5.\begin{aligned}S_3&=S_1+S_0\\&=3,\\[6pt]S_4&=S_2+S_1\\&=2,\\[6pt]S_5&=S_3+S_2\\&=5 .\end{aligned}

Want more like this? STEP 2 Pure: Practice Paper 1 teaches ideas of this kind in depth, with exercises and a full STEP question. The STEP Starter Pack has all four modules and three practice papers. Or start free with the STEP sample question.