Vieta's Formula #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
The main result is multiset.prod_X_add_C_eq_sum_esymm
, which shows that the product of
linear terms X + λ
with λ
in a multiset s
is equal to a linear combination of the
symmetric functions esymm s
.
From this, we deduce mv_polynomial.prod_X_add_C_eq_sum_esymm
which is the equivalent formula
for the product of linear terms X + X i
with i
in a fintype σ
as a linear combination
of the symmetric polynomials esymm σ R j
.
For R
be an integral domain (so that p.roots
is defined for any p : R[X]
as a multiset),
we derive polynomial.coeff_eq_esymm_roots_of_card
, the relationship between the coefficients and
the roots of p
for a polynomial p
that splits (i.e. having as many roots as its degree).
A sum version of Vieta's formula for multiset
: the product of the linear terms X + λ
where
λ
runs through a multiset s
is equal to a linear combination of the symmetric functions
esymm s
of the λ
's .
Vieta's formula for the coefficients of the product of linear terms X + λ
where λ
runs
through a multiset s
: the k
th coefficient is the symmetric function esymm (card s - k) s
.
Vieta's formula for the coefficients and the roots of a polynomial over an integral domain with as many roots as its degree.
Vieta's formula for split polynomials over a field.
A sum version of Vieta's formula for mv_polynomial
: viewing X i
as variables,
the product of linear terms λ + X i
is equal to a linear combination of
the symmetric polynomials esymm σ R j
.