In mathematics, Vieta's formulas are formulas that relate the coefficients of a polynomial to sums and products of its roots. Named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"), the formulas are used specifically in algebra.
Any general polynomial of degree n
(with the coefficients being real or complex numbers and an ≠ 0) is known by the fundamental theorem of algebra to have n (not necessarily distinct) complex roots r1, r2, ..., rn. Vieta's formulas relate polynomial's coefficients to signed sums of products of the roots r1, r2, ..., rn as follows:
Vieta's formulas can equivalently be written as
for k = 1, 2, ..., n (the indices ik are sorted in increasing order to ensure each product of k roots is used exactly once).
The left-hand sides of Vieta's formulas are the elementary symmetric functions of the roots.
Generalization to rings
Vieta's formulas are frequently used with polynomials with coefficients in any integral domain R. Then, the quotients belong to the ring of fractions of R (and possibly are in R itself if happens to be invertible in R) and the roots are taken in an algebraically closed extension. Typically, R is the ring of the integers, the field of fractions is the field of the rational numbers and the algebraically closed field is the field of the complex numbers.
Vieta's formulas are then useful because they provide relations between the roots without having to compute them.
For polynomials over a commutative ring which is not an integral domain, Vieta's formulas are only valid when is a non zero-divisor and factors as . For example, in the ring of the integers modulo 8, the polynomial has four roots: 1, 3, 5, and 7. Vieta's formulas are not true if, say, and , because . However, does factor as and as , and Vieta's formulas hold if we set either and or and .
Vieta's formulas applied to quadratic and cubic polynomial:
The roots of the quadratic polynomial satisfy
The first of these equations can be used to find the minimum (or maximum) of P; see Quadratic equation § Vieta's formulas.
The roots of the cubic polynomial satisfy
Vieta's formulas can be proved by expanding the equality
(which is true since are all the roots of this polynomial), multiplying the factors on the right-hand side, and identifying the coefficients of each power of
Formally, if one expands the terms are precisely where is either 0 or 1, accordingly as whether is included in the product or not, and k is the number of that are excluded, so the total number of factors in the product is n (counting with multiplicity k) – as there are n binary choices (include or x), there are terms – geometrically, these can be understood as the vertices of a hypercube. Grouping these terms by degree yields the elementary symmetric polynomials in – for xk, all distinct k-fold products of
As an example, consider the quadratic . Comparing identical powers of , we find , and , with which we can for example identify and , which are Vieta's formula's for .
As reflected in the name, the formulas were discovered by the 16th-century French mathematician François Viète, for the case of positive roots.
In the opinion of the 18th-century British mathematician Charles Hutton, as quoted by Funkhouser, the general principle (not only for positive real roots) was first understood by the 17th-century French mathematician Albert Girard:
...[Girard was] the first person who understood the general doctrine of the formation of the coefficients of the powers from the sum of the roots and their products. He was the first who discovered the rules for summing the powers of the roots of any equation.
- Newton's identities
- Elementary symmetric polynomial
- Symmetric polynomial
- Content (algebra)
- Properties of polynomial roots
- Gauss–Lucas theorem
- Rational root theorem
- "Viète theorem", Encyclopedia of Mathematics, EMS Press, 2001 
- Funkhouser, H. Gray (1930), "A short account of the history of symmetric functions of roots of equations", American Mathematical Monthly, Mathematical Association of America, 37 (7): 357–365, doi:10.2307/2299273, JSTOR 2299273
- Vinberg, E. B. (2003), A course in algebra, American Mathematical Society, Providence, R.I, ISBN 0-8218-3413-4