Vieta's Formula #
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 MvPolynomial.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 MvPolynomial
: 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
.