Vieta’s formulas are identities connecting the coefficients of a polynomial with sums and products of its roots. For a polynomial of degree , they express each coefficient, after division by the leading coefficient, as a signed elementary symmetric sum of the roots, counted with multiplicity. Named after the French mathematician François Viète, the formulas apply to real and complex roots and, more generally, to roots in a field over which the polynomial factors completely.
General statement
Let
and suppose that
The roots are listed with multiplicity: a root corresponding to a factor appears times.
Vieta’s formulas state that, for ,
In particular,
and
The left-hand sides are the elementary symmetric polynomials in the roots. Writing these as , with , the factorization becomes
Each sum includes every choice of distinct root positions exactly once. Equal root values still occupy separate positions when their multiplicities exceed one.
Why the formulas hold
The formulas follow by expanding
and comparing coefficients.
To obtain a term of degree , one selects the constant term from exactly factors and selects from all remaining factors. Each selection contributes
Adding all such contributions gives
which yields the stated identity.
The argument uses only multiplication and coefficient comparison; it does not require the roots to be distinct or real. A binomial coefficient counts the number of products in the -th sum: there are .
Domain of validity
For polynomials with complex coefficients, the fundamental theorem of algebra guarantees a factorization into linear factors over the complex numbers. Thus a degree- complex polynomial always has roots counted with multiplicity.
More generally, if the coefficients belong to a field , the identities hold in any extension field in which the polynomial splits into linear factors. They remain valid in positive characteristic, with signs and arithmetic interpreted in that field.
Over the real numbers, a polynomial need not factor completely into real linear factors. Its complex roots must nevertheless all be included when applying the formulas.
Low-degree cases
Quadratic polynomials
For the quadratic equation
with roots and ,
For example,
has roots and , satisfying
These identities often reveal information without requiring the quadratic formula. If the roots are known to be real, a negative product means they have opposite signs. A positive product means they are both nonzero and have the same sign; their sum then determines whether they are positive or negative.
The formulas also give
connecting the difference of the roots with the discriminant.
Cubic polynomials
For
with roots ,
For example,
so the elementary symmetric sums are , , and , respectively.
Quartic polynomials
For
with roots ,
The alternating signs are governed by the number of roots multiplied in each term, not by whether the degree of the polynomial is odd or even.
Applications
Constructing polynomials from roots
Given a list of roots and a nonzero leading coefficient, Vieta’s formulas determine the polynomial uniquely. In particular, the unique monic polynomial—one whose leading coefficient is —with roots is
For instance, roots , , and give
Here
which explains the missing -term.
Conversely, if a list of numbers satisfies all Vieta relations for a given degree- polynomial, expanding the corresponding product reproduces that polynomial. The list is therefore exactly its roots, including multiplicities.
Evaluating symmetric expressions
Many expressions involving roots can be evaluated without finding the roots individually. For a quadratic,
If neither root is zero,
More generally, when ,
The fundamental theorem of symmetric polynomials states that every symmetric polynomial in the roots can be expressed as a polynomial in . Vieta’s formulas therefore translate such expressions into formulas involving the coefficients.
Power sums and Newton’s identities
The sums
are related to the elementary symmetric sums by Newton’s identities. The first three relations are
where for .
For a monic polynomial
the power sums satisfy
for . For , they satisfy the recurrence relation
These identities allow sums of high powers of roots to be computed directly from the coefficients.
Integer and rational constraints
In number theory, Vieta’s formulas constrain possible integer or rational roots.
For example, integer roots of
must form a pair whose sum is and whose product is . Searching among divisor pairs of can therefore determine whether integer roots exist.
In some Diophantine equations, treating one variable as a quadratic unknown allows a known integer root to be paired with a second integer root using their sum or product. This observation underlies the method called Vieta jumping.
Eigenvalues of matrices
For an matrix , its characteristic polynomial is
Its roots are the eigenvalues , counted with algebraic multiplicity. Vieta’s formulas yield
relating eigenvalues to the trace and determinant. These identities do not require the matrix to be diagonalizable.
Limitations and common errors
Vieta’s formulas describe the complete collection of roots rather than providing a general procedure for finding each root. Their symmetry means that they cannot distinguish one ordering of the roots from another.
Several qualifications are important:
- All roots must be included. Using only the real roots of a polynomial with nonreal roots generally gives incorrect coefficient relations.
- Multiplicity matters. A repeated root must appear as often as its factor occurs.
- The leading coefficient must be accounted for. The coefficient ratios simplify to coefficients themselves only for monic polynomials.
- Signs alternate. The sum of roots is , while their product is .
- A partial set of relations may be insufficient. For degree greater than two, matching only the sum and product does not generally establish the full root list.
The identities are exact algebraic statements, but their direct numerical use can encounter numerical stability problems. Products may overflow or underflow, and sums of terms with opposing signs may suffer cancellation. Agreement of a few computed symmetric sums with the coefficients is therefore not, by itself, a guarantee that every approximate root is accurate.
Historical context
The formulas bear the name of François Viète, a sixteenth-century French mathematician whose work helped establish systematic symbolic algebra. Relations between roots and coefficients were known in special cases before Viète, particularly for quadratic equations. His work developed such relationships in a more general algebraic setting.
The modern formulation uses arbitrary degree, complex roots, and explicit multiplicities. It is broader in language and scope than the setting in which Viète originally worked, when negative and complex roots did not yet have their present uniform status in algebra.