Take the stipulated polynomial roots . Their first three elementary symmetric polynomials are
Their monic polynomial is therefore
The constant coefficient is , while the product of the three roots of a polynomial is : for a cubic polynomial, these have opposite signs. Expanding the factors directly verifies the same polynomial identity.
Figure 1.
The roots determine the signed coefficients of a cubic
. An original exact calculation: the graph shows the stipulated polynomial, and the ledger groups choices of one, two or three root positions into elementary symmetric polynomials. The alternating factors convert these values into monic polynomial coefficients. Details.
For the nonmonic polynomial , the same ratios give sum , pairwise-product sum , and product . It is times the monic polynomial above, so its roots of a polynomial are the same. Checking only the sum and product would leave the middle elementary symmetric polynomial unchecked; all three are needed to recover a monic polynomial of polynomial degree three.
Vieta's formulas Created 2026-10-18 Updated 2026-10-20
Vieta's formulas connect two descriptions of a polynomial: its coefficients and its roots of a polynomial. They let us read the sum and product of the roots of a polynomial without finding the individual roots of a polynomial, and turn a proposed factorization of polynomials into checkable coefficient identities. The key is that coefficients encode elementary symmetric polynomials, which are unchanged by a permutation of the roots of a polynomial.
For a polynomial of polynomial degree , with nonzero leading coefficient , write its factorization of polynomials in a splitting field as
List every root of a polynomial according to its multiplicity of a root. Then
In particular, and . With coefficients in the real numbers or complex numbers, the fundamental theorem of algebra ensures that a list of roots of a polynomial in the complex numbers exists when multiplicity of a root is counted.[ref]
For a monic polynomial, this is the familiar convention
where is the th elementary symmetric polynomial in the roots of a polynomial; in particular, . The ratio by in the general statement matters: multiplying every coefficient by the same nonzero scalar preserves both the roots of a polynomial and these ratios.
A short derivation explains every alternating sign. In the product , a term of polynomial degree arises by choosing from distinct factor positions and from the others. Summing the resulting products gives . Values at different positions may coincide: the selection is of positions, not distinct root values. Matching coefficients gives the formula. This is the distributive property organized by the number of chosen root factors.
Weak composition of an integer Created 2026-10-14 Updated 2026-10-20
A weak composition of an integer into parts is an ordered tuple of nonnegative integers with sum . Zero parts retain their positions: and differ. Fixing the length is essential when applying stars and bars, since inserting extra zero parts creates further tuples. [ref]
For a finite list of real numbers and nonnegative weights of positive total , the weighted mean uniquely minimizes the weighted sum of squared deviations
Expanding around and using gives
Every displacement from the weighted mean increases the objective. This is the simplest one-parameter weighted least squares problem: represent all entries by one common value.
For the weighted values and with weights and ,
Thus , while . The minimum is defined by this squared-error criterion; a different loss can select a different summary, such as a median under unweighted absolute deviations.
Figure 1.
The weighted mean is the unique minimum of a squared-error objective
. For , the minimum is at . Moving to increases the objective by . Details.
In the average of partial sums , the term occurs exactly times. Reordering this finite sum gives the displayed identity. Early terms have weights closer to one, and the newest term has weight . The triangular weight expresses the cumulative averaging rule; it is not a claim that one may freely rearrange an infinite series.