# Vieta's formulas

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.

## Basic formulas

Any general polynomial of degree *n*

(with the coefficients being real or complex numbers and *a*_{n} ≠ 0) is known by the fundamental theorem of algebra to have *n* (not necessarily distinct) complex roots *r*_{1}, *r*_{2}, ..., *r*_{n}. Vieta's formulas relate the polynomial's coefficients { *a*_{k} } to signed sums of products of its roots { *r*_{i} } as follows:

Equivalently stated, the (*n* − *k*)th coefficient *a*_{n−k} is related to a signed sum of all possible products of *k* roots:

for *k* = 1, 2, ..., *n* (the indices *i*_{k} 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 .

## Example

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

## Proof

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 *x ^{k},* all distinct

*k*-fold products of

## History

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,[1] 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.

## See also

## References

- Hazewinkel, Michiel, ed. (2001) [1994], "Viète theorem",
*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4 - 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

- Djukić, Dušan; et al. (2006),
*The IMO compendium: a collection of problems suggested for the International Mathematical Olympiads, 1959–2004*, Springer, New York, NY, ISBN 0-387-24299-6