Toolkit 30
Vieta's Formula
Proof
For a quadratic polynomial with roots and ,
Expanding the right-hand side,
Comparing corresponding coefficients gives
and
Therefore,
For a cubic polynomial with roots ,
Expanding,
Comparing coefficients gives
and
More generally, suppose
We expand the right-hand side and compare corresponding coefficients term by term.
Coefficient of : choosing from every factor gives
Coefficient of : pick the constant term from exactly one factor and from all others. Summing over the choice of factor gives
so
Coefficient of : pick a constant term from exactly two factors and from all remaining factors. Summing over the pairs gives
so
Coefficient of : pick a constant term from exactly three factors and from all remaining factors. Summing over the triples gives
so
Continuing in the same way, the coefficient of (the case ) comes from picking the constant term from all but one factor:
and the constant term comes from picking the constant term from every factor: