An expression in the roots that does not change when you swap two roots is symmetric. Every symmetric polynomial in the roots can be written with e1, e2
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
write sums of squares, cubes and reciprocals of the roots through the coefficients;
find mixed sums such as ∑α2β;
use Newton's sums for any power of the roots.
You cannot solve it, but you can still answer
The cubic x3−2x2−3x+5=0 has three real roots. None of them is a nice number. Yet we can say at once that the sum of their squares is 10. How? The sum of the squares does not change if two roots swap places. Such an expression is called symmetric.
A theorem says that every symmetric polynomial in the roots is a polynomial in e1, e2 and e3. So it can be found from the coefficients alone.
Two roots
With α+β=s and αβ=p:
α2+β2=s2−2p,
α3+β3=s3−3ps,
(α−β)2=s2−4p.
Also α1+β1=ps, when p=0.
Three roots
Expand (α+β+γ)2. The square terms appear once and each pair twice. So
∑α2=e12−2e2.
For the reciprocals, put the fractions over αβγ:
∑α1=e3e2.
The mixed sum ∑α2β has six terms: α2β+α2γ+β2α+β2γ+γ2α+γ2β. Multiply e1 by e2. Each of the six terms appears once, and αβγ appears three times. So
∑α2β=e1e2−3e3.
Newton's sums
Write Sk=αk+βk+γk for the power sums, with S0=3. Take the cubic x3+px2+qx+r=0. Each root obeys it:
α3=−pα2−qα−r.
Multiply by αk−3, do the same for β and γ, and add:
Sk+pSk−1+qSk−2
+rSk−3=0.
This holds for k≥3. At the start, the first steps are S1+p=0 and S2+pS1+2q=0. The same idea works for any degree.
A row of boxes for the power sums S0 to S6 of the roots of a cubic. Three arrows run from the boxes S of k minus 3, S of k minus 2 and S of k minus 1 into the box S of k, labelled minus r, minus q and minus p: each power sum is built from the three before it.
A worked example
Take x3−2x2−3x+5=0, so p=−2, q=−3 and r=5.
First.S1=−p=2.
Second.S2=−pS1−2q=4+6=10.
Third.S3=−pS2−qS1−3r=20+6−15=11.
Fourth.S4=−pS3−qS2−rS1=22+30−10=42.
Check.S2=e12−2e2=4−2(−3)=10. The two ways agree.
Practise with new numbers
Try it in Python
The program finds the power sums of the roots by Newton's sums. Then it finds the roots with numpy and adds their powers directly.
Common mistakes
The square of the sum.∑α2 is not (∑α)2.
Too few terms.∑α2β has six terms, not three.
The first Newton step.S2+pS1+2q=0 has 2q, not qS0.
A zero root.∑α1 makes no sense when e3=0.
Remember these
∑α2=e12−2e2 and ∑α1=e3e2.
∑α2β=e1e2−3e3.
Newton: Sk+pSk−1+qSk−2+rSk−3=0.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
The roots of x2−5x+3=0 are α and β. Find α2+β2 and (α−β)2.
The roots of x3−4x2+2x+6=0 are α, β and γ. Find ∑α1.
For the same cubic, find ∑α2.
The roots of x3−3x+1=0 have S1=0 and S2=6. Find S3.
A student writes ∑α2β=e1e2−e3. Find the mistake.
References
H. S. Hall and S. R. Knight, Higher Algebra, the chapter on the theory of equations, the sections on symmetric functions of the roots.
Enroll free in Vieta's Formulas and Symmetric Functions
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.
, so it can be found from the coefficients without solving. The sums of powers follow Newton's sums, a short rule that gives each power sum from the earlier ones.
about 25 min1 simulation2 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.