A brief note on Vieta and Symmetric Functions . Read it before a test. Try each question at the end before you open its answer.
Roots and coefficients Quadratic: α + β = − b a \alpha + \beta = -\dfrac{b}{a} α + β = − a b and α β = c a \alpha\beta = \dfrac{c}{a} α β = a c . Cubic, sum: e 1 = − b a e_1 = -\dfrac{b}{a} e 1 = − a b . Cubic, pairs: e 2 = c a e_2 = \dfrac{c}{a} e 2 = a c . Cubic, product: e 3 = − d a e_3 = -\dfrac{d}{a} e 3 = − a d . Any degree: e k = ( − 1 ) k a n − k a n e_k = (-1)^k\dfrac{a_{n-k}}{a_n} e k = ( − 1 ) k a n a n − k . Symmetric functions Squares: ∑ α 2 = e 1 2 − 2 e 2 \sum\alpha^2 = e_1^2 - 2e_2 ∑ α 2 = e 1 2 − 2 e 2 . Reciprocals: ∑ 1 α = e 2 e 3 \sum\dfrac{1}{\alpha} = \dfrac{e_2}{e_3} ∑ α 1 = e 3 e 2 . Six terms: ∑ α 2 β = e 1 e 2 − 3 e 3 \sum\alpha^2\beta = e_1e_2 - 3e_3 ∑ α 2 β = e 1 e 2 − 3 e 3 . Pair sums: ( α + β ) ( β + γ ) ( γ + α ) = e 1 e 2 − e 3 (\alpha + \beta)(\beta + \gamma)(\gamma + \alpha) = e_1e_2 - e_3 ( α + β ) ( β + γ ) ( γ + α ) = e 1 e 2 − e 3 . Newton: S k = − p S k − 1 − q S k − 2 − r S k − 3 S_k = -pS_{k-1} - qS_{k-2} - rS_{k-3} S k = − p S k − 1 − q S k − 2 − r S k − 3 . Conditions Arithmetic progression: the middle root is − p 3 -\dfrac{p}{3} − 3 p . Geometric progression: the middle root cubed is − r -r − r . Common root: subtract the equations. Repeated root: f ( α ) = f ′ ( α ) = 0 f(\alpha) = f'(\alpha) = 0 f ( α ) = f ′ ( α ) = 0 . A worked example The roots of x 3 − 6 x 2 + 11 x − 6 = 0 x^3 - 6x^2 + 11x - 6 = 0 x 3 − 6 x 2 + 11 x − 6 = 0 are α \alpha α , β \beta β , γ \gamma γ . Find ∑ α 3 \sum\alpha^3 ∑ α 3 .
The numbers. e 1 = 6 e_1 = 6 e 1 = 6 , e 2 = 11 e_2 = 11 e 2 = 11 , e 3 = 6 e_3 = 6 e 3 = 6 . The formula. ∑ α 3 = e 1 3 − 3 e 1 e 2 + 3 e 3 \sum\alpha^3 = e_1^3 - 3e_1e_2 + 3e_3 ∑ α 3 = e 1 3 − 3 e 1 e 2 + 3 e 3 . Work it out. 216 − 198 + 18 = 36 216 - 198 + 18 = 36 216 − 198 + 18 = 36 . The roots are 1 1 1 , 2 2 2 , 3 3 3 , and 1 + 8 + 27 = 36 1 + 8 + 27 = 36 1 + 8 + 27 = 36 . Practice with new numbers
A program to try The program checks Vieta's formulas on a cubic: it finds the roots with numpy and adds and multiplies them.
Read it first. Then run it. Do the three pairs of numbers agree?
1. Change the cubic to [2, -3, 0, 5]. Predict the three numbers before you run it.
Mistakes to avoid Signs. The signs alternate, starting with a minus for the sum. The leading coefficient. Divide by it first. Square of a sum. ∑ α 2 ≠ ( ∑ α ) 2 \sum\alpha^2 \ne \left(\sum\alpha\right)^2 ∑ α 2 = ( ∑ α ) 2 . Newton's start. S 2 = p 2 − 2 q S_2 = p^2 - 2q S 2 = p 2 − 2 q , with 2 q 2q 2 q . Check yourself Find the sum of the products in pairs of the roots of 3 x 3 − x 2 + 6 x − 2 = 0 3x^3 - x^2 + 6x - 2 = 0 3 x 3 − x 2 + 6 x − 2 = 0 . Stuck? Show a hint Show the answerThe roots of x 2 − 3 x + 1 = 0 x^2 - 3x + 1 = 0 x 2 − 3 x + 1 = 0 are α \alpha α and β \beta β . Find α 2 + β 2 \alpha^2 + \beta^2 α 2 + β 2 . Stuck? Show a hint Show the answerThe roots of x 3 + x − 2 = 0 x^3 + x - 2 = 0 x 3 + x − 2 = 0 are α \alpha α , β \beta β , γ \gamma γ . Find ∑ 1 α \sum\dfrac{1}{\alpha} ∑ α 1 . Stuck? Show a hint Show the answerAre the roots of x 3 − 9 x 2 + 24 x − 20 = 0 x^3 - 9x^2 + 24x - 20 = 0 x 3 − 9 x 2 + 24 x − 20 = 0 in arithmetic progression? Test it. Stuck? Show a hint Show the answerWhy must a repeated root of f f f also be a root of f ′ f' f ′ ? Stuck? Show a hint Show the answerSources H. S. Hall and S. R. Knight, Higher Algebra , the chapter on the theory of equations.