How do the coefficients of a polynomial relate to the sum and product of its roots?
Use the relationships between roots and coefficients (Vieta's formulas) for polynomials of degree two, three and four
A focused answer to the HSC Maths Extension 1 dot point on the relationships between roots and coefficients. Sum and product of roots, sum of roots taken in pairs, and applications to building polynomials from given root conditions, with worked examples.
✦ Generated by Claude Opus 4.8·13 min answer·
Reviewed by: AI editorial process; not yet individually human-reviewed
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 n with leading coefficient an and roots α1,α2,…,αn (counted with multiplicity),
P(x)=anxn+an−1xn−1+⋯+a1x+a0,
the elementary symmetric functions of the roots are given by:
∑αi=−anan−1,i<j∑αiαj=anan−2,
i<j<k∑αiαjαk=−anan−3,∏αi=(−1)nana0.
The pattern: the k-th elementary symmetric function equals (−1)kanan−k. These are not arbitrary identities; they fall straight out of expanding the factored form an(x−α1)…(x−αn) 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.
Specialised formulas
Quadraticax2+bx+c with roots α,β:
α+β=−ab,αβ=ac.
Cubicax3+bx2+cx+d with roots α,β,γ:
α+β+γ=−ab,αβ+αγ+βγ=ac,αβγ=−ad.
Quarticax4+bx3+cx2+dx+e with roots α,β,γ,δ:
∑=−ab,pairs∑=ac,triples∑=−ad,αβγδ=ae.
Constructing a polynomial from its roots
If the roots are α1,…,αn, the monic polynomial with these roots is
P(x)=(x−α1)(x−α2)…(x−αn).
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 1,2,3.
Stage 1, form the symmetric functions of the roots. Compute the three elementary symmetric functions directly: the sum 1+2+3=6, the sum of products in pairs 1⋅2+1⋅3+2⋅3=11, and the product 1⋅2⋅3=6. These three numbers are what Vieta claims will show up in the coefficients.
Stage 2, expand the factored form. Multiply out (x−1)(x−2)(x−3). Taking the first two factors gives x2−3x+2, and multiplying by (x−3) gives x3−6x2+11x−6. This is the same cubic in standard form.
Stage 3, match coefficients to the symmetric functions. Compare the expansion with x3+bx2+cx+d. The x2 coefficient is −6=−(sum), the x coefficient is 11=(sum in pairs), and the constant is −6=−(product). 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,
α2+β2+γ2=(α+β+γ)2−2(αβ+αγ+βγ).
α1+β1+γ1=αβγαβ+αγ+βγ.
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 2021 HSC question above).
"Find α2+β2+γ2 (or α1+β1+γ1, or α3+β3+γ3)." These are symmetric in the roots, so rewrite them in terms of the elementary symmetric functions using identities such as α2+β2+γ2=(∑α)2−2∑pairsαβ, then substitute the Vieta values. Never solve for the roots.
"The roots are in arithmetic (or geometric) progression." Write the roots as a−d,a,a+d (arithmetic) or ra,a,ar (geometric); the middle-term structure makes the sum or product collapse neatly, pinning down a 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 α+1,β+1,γ+1 (or 2α,2β,2γ, or α1,…)." This is a transformation of roots: substitute x→x−1 (or x→2x, or x→x1) into the original polynomial, or build the new symmetric functions from the old ones.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2023 HSC Q52 marksThe polynomial P(x)=x3−4x2+ax−6 has roots α, β and γ such that α+β+γ=4 and αβ+αγ+βγ=1. Find the value of a.
Show worked answer →
For a monic cubic x3+bx2+cx+d with roots α,β,γ:
α+β+γ=−b
αβ+αγ+βγ=c
αβγ=−d
Comparing P(x)=x3−4x2+ax−6 with the standard form, b=−4, c=a, d=−6.
The sum-in-pairs is c, so a=1.
Markers reward the explicit statement of the roots-coefficients identities, the comparison of coefficients, and the answer.
2021 HSC Q113 marksThe polynomial P(x)=2x3−x2+kx+4 has roots that sum to 21. Given that the product of the roots is −2, find the values of k and the third symmetric function of the roots.
Show worked answer →
Rewrite as monic: P(x)=2(x3−21x2+2kx+2).
Let the roots be α,β,γ.
Sum: α+β+γ=21. This matches the negative of the x2 coefficient in the monic form, 21. Consistent.
Product: αβγ=−2. From the monic form, αβγ=−2. Consistent.
Sum-in-pairs: αβ+αγ+βγ=2k. The third symmetric function is this value.
Without additional information k 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.