Let x1,…,xnx_{1}, \ldots, x_{n}x1,…,xn be the roots of the polynomial
Prove that x1+x2+…+xn=−an−1x_{1}+x_{2}+\ldots+x_{n}=-a_{n-1}x1+x2+…+xn=−an−1,
and
(known as Vieta's formulas).