Home › Algebraic Equations › Lesson 7

Symmetric Polynomials and Vieta's Formulas

Lesson 7 of 13

Key idea of this section

every symmetric polynomial is a unique polynomial in e₁, …, eₙ
Newton:  k eₖ = ∑j=1k (−1)j−1 eₖ₋ⱼ pⱼ

Let R be a commutative ring and x₁, …, xₙ indeterminates. The symmetric group Sₙ acts on R[x₁, …, xₙ] by permuting the variables, and a polynomial is symmetric if it is fixed by every permutation. The elementary symmetric polynomials eₖ are defined by the generating identity

(1 + x₁t)(1 + x₂t)⋯(1 + xₙt) = 1 + e₁t + e₂t² + ⋯ + eₙtⁿ

so e₁ = ∑ xᵢ, e₂ = ∑i<j xᵢxⱼ, …, eₙ = x₁x₂⋯xₙ. Equivalently, (X − x₁)⋯(X − xₙ) = Xⁿ − e₁Xⁿ⁻¹ + e₂Xⁿ⁻² − ⋯ + (−1)ⁿeₙ.

Vieta's formulas

If f = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ⋯ + a₀ factors over some field as aₙ(x − α₁)⋯(x − αₙ), comparing coefficients gives Vieta's formulas (Viète, 1591, in partial form; Girard, 1629, in general):

eₖ(α₁, …, αₙ) = (−1)ᵏ aₙ₋ₖ / aₙ,   k = 1, …, n

So the elementary symmetric functions of the roots are known rationally from the coefficients, even when the roots themselves are not. The next theorem extends this to every symmetric expression.

Theorem 7.1 (Fundamental theorem on symmetric polynomials). Every symmetric f ∈ R[x₁, …, xₙ] can be written as g(e₁, …, eₙ) for a unique g ∈ R[y₁, …, yₙ].

Proof. Order monomials xα = x₁α₁⋯xₙαₙ lexicographically: xα > xβ if the first nonzero entry of α − β is positive. This is a total order compatible with multiplication, and it is a well-order on ℕⁿ. Existence: let f ≠ 0 be symmetric with leading monomial c xα. Since f is symmetric, every permutation of α is also an exponent of f, and since xα is the largest, α₁ ≥ α₂ ≥ ⋯ ≥ αₙ. The leading monomial of eₖ is x₁x₂⋯xₖ, so the leading monomial of

e₁α₁−α₂ e₂α₂−α₃ ⋯ eₙ₋₁αₙ₋₁−αₙ eₙαₙ

is x₁α₁ x₂α₂ ⋯ xₙαₙ = xα with coefficient 1. Subtracting c times this product from f gives a symmetric polynomial whose leading monomial is strictly smaller. Every monomial that appears has total degree at most deg f, and there are only finitely many such monomials, so the process terminates, expressing f as a polynomial in the eₖ. Uniqueness: it suffices to show that g(e₁, …, eₙ) ≠ 0 whenever g ≠ 0. The monomial yβ of g contributes a product of the eₖ whose leading monomial is xα with αᵢ = βᵢ + βᵢ₊₁ + ⋯ + βₙ. This map β ↦ α is injective, so among the monomials of g, the one producing the lex-largest α contributes a leading term that nothing else cancels. ∎

The proof is an algorithm. Example, n = 3: f = ∑i≠j xᵢ²xⱼ (six terms) has leading monomial x₁²x₂, exponent (2, 1, 0), so we subtract e₁1 e₂1. Since e₁e₂ = ∑i≠j xᵢ²xⱼ + 3x₁x₂x₃, we find f = e₁e₂ − 3e₃. Check at (1, 2, 3): f = 2 + 3 + 4 + 12 + 9 + 18 = 48 and e₁e₂ − 3e₃ = 6 · 11 − 18 = 48.

Corollary 7.2. If f ∈ K[x] has roots α₁, …, αₙ in an extension field and h ∈ K[x₁, …, xₙ] is symmetric, then h(α₁, …, αₙ) ∈ K.

This corollary is the algebraic heart of many classical arguments. Kronecker used it to show that sums and products of algebraic integers are algebraic integers: if α has conjugates αᵢ and β has conjugates βⱼ, the polynomial ∏i,j(x − αᵢ − βⱼ) has coefficients symmetric in each set of conjugates, hence integers. It also proves that the discriminant of a polynomial over K lies in K, and it is the key step of the algebraic proof of the fundamental theorem of algebra sketched in Lesson 9.

Power sums and Newton's identities

The power sums pₖ = x₁ᵏ + ⋯ + xₙᵏ are symmetric, and Newton's identities give them recursively. Write E(t) = ∏(1 + xᵢt). Taking the logarithmic derivative, which is legitimate in the formal power series ring R[[t]] since each 1 + xᵢt is a unit,

t E′(t) / E(t) = ∑ᵢ xᵢt/(1 + xᵢt) = ∑k≥1 (−1)k−1 pₖ tᵏ

Multiplying by E(t) and comparing coefficients of tᵏ yields:

k eₖ = eₖ₋₁p₁ − eₖ₋₂p₂ + ⋯ + (−1)k−1 e₀pₖ,   with e₀ = 1 and eₖ = 0 for k > n

The first cases are p₁ = e₁, p₂ = e₁p₁ − 2e₂ = e₁² − 2e₂, and p₃ = e₁p₂ − e₂p₁ + 3e₃ = e₁³ − 3e₁e₂ + 3e₃. Example: the roots of x³ − 6x² + 11x − 6 are 1, 2, 3, and e₁ = 6, e₂ = 11, e₃ = 6 give p₂ = 36 − 22 = 14 = 1 + 4 + 9 and p₃ = 6 · 14 − 11 · 6 + 18 = 36 = 1 + 8 + 27. Over ℚ the identities can be inverted, so the pₖ with k ≤ n also generate the ring of symmetric polynomials with rational coefficients; over ℤ they do not (e₂ = (p₁² − p₂)/2 requires dividing by 2). In characteristic p, Newton's identities cannot be solved for eₖ when p divides k.

Rational symmetric functions of roots

Corollary 7.2 also covers symmetric rational functions. For the roots of t³ + pt + q (so e₁ = 0, e₂ = p, e₃ = −q):

∑ 1/tᵢ = e₂/e₃ = −p/q,     ∑ 1/tᵢ² = (e₂² − 2e₁e₃)/e₃² = p²/q²

Lagrange's 1770 analysis, the bridge from Vieta to Galois, studied rational functions of the roots that are not symmetric, and counted how many distinct values each takes under permutations. A function taking k values satisfies an equation of degree k over the coefficient field, whose coefficients are symmetric functions of those values. Galois's theory turns this counting into the correspondence between subgroups and intermediate fields.

Exercise

  • (a)
    Let α, β, γ be the roots of x³ − 2x² + 3x − 5. Compute α² + β² + γ².
  • (b)
    Let α, β, γ be the roots of x³ − x − 1. Compute α⁴ + β⁴ + γ⁴.
Show solution

Answers: (a) e₁ = 2 and e₂ = 3, so p₂ = e₁² − 2e₂ = 4 − 6 = −2. (A negative sum of squares shows that two of the roots are non-real.) (b) Here e₁ = 0, e₂ = −1, e₃ = 1. Then p₁ = 0, p₂ = 0 − 2(−1) = 2, p₃ = e₁p₂ − e₂p₁ + 3e₃ = 3, and p₄ = e₁p₃ − e₂p₂ + e₃p₁ − 4e₄ = 0 + 2 + 0 − 0 = 2. Alternatively, x⁴ = x² + x for each root, so p₄ = p₂ + p₁ = 2.

V.3.1