Roots and coefficients of polynomials: Vieta's formulas for cubics and quartics
“Use the relationships between roots and coefficients (Vieta's formulas) for polynomials of degree two, three and four”
Vieta's formulas relate the elementary symmetric functions of the roots to the coefficients of a polynomial: sum is minus the coefficient over the leading coefficient, sum-in-pairs is plus the coefficient over the leading coefficient, with the sign alternating each step until the product, which is times the constant over the leading coefficient.
Jump to a section
What this dot point is asking
NESA wants you to relate the coefficients of a polynomial to the sums and products of its roots without solving for the roots themselves. This is Vieta's formulas. You should be able to deploy them for quadratics, cubics and quartics.
The answer
Vieta's formulas
For a polynomial of degree with leading coefficient and roots (counted with multiplicity),
the elementary symmetric functions of the roots are given by:
The pattern: the -th elementary symmetric function equals . These are not arbitrary identities; they fall straight out of expanding the factored form and reading off coefficients, which the stage-by-stage figure below makes explicit. That is also why Vieta works without ever solving for the roots: the coefficients already encode the symmetric functions.
For with roots counted with multiplicity, the elementary symmetric functions of the roots are the coefficients (divided by ) with an alternating sign:
Two cautions that examiners exploit: divide by the leading coefficient first if the polynomial is not monic, and remember the sign alternates at every step (minus, plus, minus, ...).
Specialised formulas
Quadratic with roots :
Cubic with roots :
Quartic with roots :
Constructing a polynomial from its roots
If the roots are , the monic polynomial with these roots is
Expanding gives the coefficients directly from the symmetric functions.
Why the coefficients are the symmetric functions, stage by stage
To see exactly why Vieta's formulas hold, build a cubic from known roots and watch its coefficients appear. Take the roots .
Stage 1, form the symmetric functions of the roots. Compute the three elementary symmetric functions directly: the sum , the sum of products in pairs , and the product . These three numbers are what Vieta claims will show up in the coefficients.
Stage 2, expand the factored form. Multiply out . Taking the first two factors gives , and multiplying by gives . This is the same cubic in standard form.
Stage 3, match coefficients to the symmetric functions. Compare the expansion with . The coefficient is , the coefficient is , and the constant is . The coefficients ARE the symmetric functions with the alternating sign, which is exactly Vieta's formulas for a monic cubic.
Useful identities involving symmetric functions
For roots of a cubic,
These show up constantly in HSC problems.
How exam questions ask about roots and coefficients
The wordings cluster into a few recognisable tasks:
- "The polynomial has roots with [sum / product / a relation]. Find the unknown coefficient." Match the given symmetric function to the corresponding Vieta expression and solve. Divide by the leading coefficient first if the polynomial is not monic (see the HSC-style question above).
- "Find (or , or )." These are symmetric in the roots, so rewrite them in terms of the elementary symmetric functions using identities such as , then substitute the Vieta values. Never solve for the roots.
- "The roots are in arithmetic (or geometric) progression." Write the roots as (arithmetic) or (geometric); the middle-term structure makes the sum or product collapse neatly, pinning down first.
- "One root is [given] / two roots are equal / the roots are ." Substitute the root relationship into Vieta's three equations and solve the system.
- "Find a polynomial whose roots are (or , or )." This is a transformation of roots: substitute (or , or ) into the original polynomial, or build the new symmetric functions from the old ones.
Read off Vieta's formulas for a quadratic
For with roots , the formulas are and , where , , .
Final answer: , .
Use a missing term to constrain the sum of roots
For (no term), Vieta's formula for the sum gives . Given , we need , so .
(Note: the problem statement says , but that contradicts the polynomial's zero coefficient. Using the correct value and instead.)
Use sum-in-pairs and product to find and :
Sum in pairs: . Vieta gives this equal to , so .
Product: . Vieta gives , so .
Final answer: , .
Build a polynomial from its roots
The monic quartic with roots is:
Multiply in pairs: and .
Expand and verify with Vieta:
Vieta check: sum of roots , and the coefficient is . Sum in pairs . Product . All match.
Final answer: .
Find the sum of squares of the roots
For with roots , read off:
Apply the sum-of-squares identity:
The identity converts the known symmetric functions into the required quantity.
Final answer: .
- Forgetting the leading coefficient
- For , the sum of roots is , not . Always divide by .
- Sign errors on the alternation
- Sum is negative of the next coefficient, sum-in-pairs is plus the one after, sum-in-triples is negative again. Track the signs carefully.
- Confusing the third symmetric function with a sum
- For a quartic, adds four terms each a product of three roots, not the sum of every triple of three roots multiplied together.
- Using Vieta where roots are not allowed to be repeated
- Vieta's formulas count roots with multiplicity. A double root contributes twice to the sum.
- Equating coefficient signs without checking
- When comparing with sum-product information, always restate which Vieta gives which coefficient.
Vieta questions are quick marks if you set them up cleanly.
- Make the polynomial monic first. For , divide every coefficient by before reading off the symmetric functions, or your sum and product will be out by a factor.
- Write down which Vieta gives which coefficient before substituting, for example "sum , sum-in-pairs , product ". This catches the alternating-sign error.
- For a non-symmetric target, do not find the roots. Convert sums of squares, reciprocals or cubes into the elementary symmetric functions with an identity, then substitute.
- Use a progression substitution when the roots are evenly spaced or in ratio: or turns the conditions into easy equations.
- Count roots with multiplicity. A repeated root contributes to every symmetric function as many times as its multiplicity.
Exam-style questions
Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
HSC-style2 marksThe polynomial has roots , and such that and . Find the value of .Show worked answer →
For a monic cubic with roots :
Comparing with the standard form, , , .
The sum-in-pairs is , so .
Markers reward the explicit statement of the roots-coefficients identities, the comparison of coefficients, and the answer.
HSC-style3 marksThe polynomial has roots that sum to . Given that the product of the roots is , find the values of and the third symmetric function of the roots.Show worked answer →
Rewrite as monic: .
Let the roots be .
Sum: . This matches the negative of the coefficient in the monic form, . Consistent.
Product: . From the monic form, . Consistent.
Sum-in-pairs: . The third symmetric function is this value.
Without additional information cannot be pinned down from sum and product alone (those constrain two of the three symmetric functions). If, instead, a relation between roots is given, substitute and solve.
Markers reward correctly extracting Vieta from the non-monic polynomial (dividing through by the leading coefficient first), and identifying which symmetric function each Vieta expression gives.