Vieta's formulas

From HandWiki
Short description: Relating coefficients and roots of a polynomial
Error creating thumbnail: Unable to save thumbnail to destination
François Viète

In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta").

Basic formulas

Any general polynomial of degree n P(x)=anxn+an1xn1++a1x+a0 (with the coefficients being real or complex numbers and an ≠ 0) has n (not necessarily distinct) complex roots r1, r2, ..., rn by the fundamental theorem of algebra. Vieta's formulas relate the polynomial coefficients to signed sums of products of the roots r1, r2, ..., rn as follows:

{r1+r2++rn1+rn=an1an(r1r2+r1r3++r1rn)+(r2r3+r2r4++r2rn)++rn1rn=an2anr1r2rn=(1)na0an.

 

 

 

 

([[#equation_*|*]])

Vieta's formulas can equivalently be written as 1i1<i2<<ikn(j=1krij)=(1)kankan 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 polynomials of the roots.

Vieta's system (*) can be solved by Newton's method through an explicit simple iterative formula, the Durand-Kerner method.

Generalization to rings

Vieta's formulas are frequently used with polynomials with coefficients in any integral domain R. Then, the quotients ai/an belong to the field of fractions of R (and possibly are in R itself if an happens to be invertible in R) and the roots ri 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 that is not an integral domain, Vieta's formulas are only valid when an is not a zero-divisor and P(x) factors as an(xr1)(xr2)(xrn). For example, in the ring of the integers modulo 8, the quadratic polynomial P(x)=x21 has four roots: 1, 3, 5, and 7. Vieta's formulas are not true if, say, r1=1 and r2=3, because P(x)(x1)(x3). However, P(x) does factor as (x1)(x7) and also as (x3)(x5), and Vieta's formulas hold if we set either r1=1 and r2=7 or r1=3 and r2=5.

Example

Vieta's formulas applied to quadratic and cubic polynomials:

The roots r1,r2 of the quadratic polynomial P(x)=ax2+bx+c satisfy r1+r2=ba,r1r2=ca.

The first of these equations can be used to find the minimum (or maximum) of P; see Quadratic equation § Vieta's formulas.

The roots r1,r2,r3 of the cubic polynomial P(x)=ax3+bx2+cx+d satisfy r1+r2+r3=ba,r1r2+r1r3+r2r3=ca,r1r2r3=da.

Proof

Vieta's formulas can be proved by expanding the equality anxn+an1xn1++a1x+a0=an(xr1)(xr2)(xrn) (which is true since r1,r2,,rn are all the roots of this polynomial), multiplying the factors on the right-hand side, and identifying the coefficients of each power of x.

Formally, if one expands (xr1)(xr2)(xrn), the terms are precisely (1)nkr1b1rnbnxk, where bi is either 0 or 1, accordingly as whether ri is included in the product or not, and k is the number of ri that are included, so the total number of factors in the product is n (counting xk with multiplicity k) – as there are n binary choices (include ri or x), there are 2n terms – geometrically, these can be understood as the vertices of a hypercube. Grouping these terms by degree yields the elementary symmetric polynomials in ri – for xk, all distinct k-fold products of ri.

As an example, consider the quadratic f(x)=a2x2+a1x+a0=a2(xr1)(xr2)=a2(x2x(r1+r2)+r1r2).

Comparing identical powers of x, we find a2=a2, a1=a2(r1+r2) and a0=a2(r1r2), with which we can for example identify r1+r2=a1/a2 and r1r2=a0/a2, which are Vieta's formula's for n=2.

Alternate Proof (Mathematical Induction)

Vieta's formulas also formulas can be proven by induction.

Inductive Hypothesis:

Let P(x) be a n degree polynomial, with real or complex roots r1,r2,,rn.P(x)=anxn+an1xn1++a1x+a0=anxnan(r1+r2++rn)xn1++(1)n(an)(r1r2rn),an0Base Case, n=2 (quadratic):

Let a2,a1 be coefficients of the quadratic and a0be the constant term. Similarly, let r1,r2 be the roots of the quadratic:a2x2+a1x+a0=a2(xr1)(xr2)Expand the right side using distributive property:a2x2+a1x+a0=a2(x2r1xr2x+r1r2)Collect like terms:a2x2+a1x+a0=a2(x2(r1+r2)x+r1r2)Apply distributive property again:a2x2+a1x+a0=a2x2a2(r1+r2)x+a2(r1r2)The inductive hypothesis has now been proven true for n = 2.

Induction Step:

Assuming the inductive hypothesis holds true for all n2, it must be true for all n+1.P(x)=an+1xn+1+anxn++a1x+a0By the factor theorem, (xrn+1) can be factored out of P(x) leaving a 0 remainder. Note that the roots of the polynomial in the square brackets are r1,r2,,rn:P(x)=(xrn+1)[an+1xn+1+anxn++a1x+a0xrn+1]Factor out an+1, the leading coefficient P(x), from the polynomial in the square brackets:Failed to parse (syntax error): {\displaystyle {P(x)} ={(a_{n+{1}})}{(x-r_{n+1})} {\frac{{a_{n}} {x^{n}}}{(a_{n+{1}})}}+{\cdots}+{\frac {a_{1}}{(a_{n+{1}})} {x}}+ {{\frac{a_0}{{(a_{n+{1}})}}}}} {x- r_{n +1}}}]}} For simplicity sake, allow the coefficients and constant of polynomial be denoted as ζ:P(x)=(an+1)(xrn+1)[xn+ζn1xn1++ζ0]Using the inductive hypothesis, the polynomial in the square brackets can be rewritten as:P(x)=(an+1)(xrn+1)[xn(r1+r2++rn)xn1++(1)n(r1r2rn)]Using distributive property:P(x)=(an+1)(x[xn(r1+r2++rn)xn1++(1)n(r1r2rn)]rn+1[xn(r1+r2++rn)xn1++(1)n(r1r2rn)])After expanding and collecting like terms:P(x)=an+1xn+1an+1(r1+r2++rn+rn+1)xn++(1)n+1(r1r2rnrn+1)The inductive hypothesis holds true for n+1, therefore it must be true n

Conclusion:anxn+an1xn1++a1x+a0=anxnan(r1+r2++rn)xn1++(1)n(r1r2rn)By dividing both sides both sides by an, it proves the Vieta's formulas true.

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 restricted to 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

  1. (Funkhouser 1930)