Functions (ME-F1, ME-F2)

NSWMaths Extension 1Syllabus dot point

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 OpusReviewed by Better Tuition Academy8 min answer

Have a quick question? Jump to the Q&A page

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 nn with leading coefficient ana_n and roots α1,α2,,αn\alpha_1, \alpha_2, \dots, \alpha_n (counted with multiplicity),

P(x)=anxn+an1xn1++a1x+a0,P(x) = a_n x^n + a_{n - 1} x^{n - 1} + \dots + a_1 x + a_0,

the elementary symmetric functions of the roots are given by:

αi=an1an,i<jαiαj=an2an,\sum \alpha_i = -\frac{a_{n - 1}}{a_n}, \qquad \sum_{i < j} \alpha_i \alpha_j = \frac{a_{n - 2}}{a_n},

i<j<kαiαjαk=an3an,αi=(1)na0an.\sum_{i < j < k} \alpha_i \alpha_j \alpha_k = -\frac{a_{n - 3}}{a_n}, \qquad \prod \alpha_i = (-1)^n \frac{a_0}{a_n}.

The pattern: the kk-th elementary symmetric function equals (1)kankan(-1)^k \frac{a_{n - k}}{a_n}.

Specialised formulas

Quadratic ax2+bx+ca x^2 + b x + c with roots α,β\alpha, \beta:

α+β=ba,αβ=ca.\alpha + \beta = -\frac{b}{a}, \qquad \alpha \beta = \frac{c}{a}.

Cubic ax3+bx2+cx+da x^3 + b x^2 + c x + d with roots α,β,γ\alpha, \beta, \gamma:

α+β+γ=ba,αβ+αγ+βγ=ca,αβγ=da.\alpha + \beta + \gamma = -\frac{b}{a}, \qquad \alpha \beta + \alpha \gamma + \beta \gamma = \frac{c}{a}, \qquad \alpha \beta \gamma = -\frac{d}{a}.

Quartic ax4+bx3+cx2+dx+ea x^4 + b x^3 + c x^2 + d x + e with roots α,β,γ,δ\alpha, \beta, \gamma, \delta:

=ba,pairs=ca,triples=da,αβγδ=ea.\sum = -\frac{b}{a}, \qquad \sum_{\text{pairs}} = \frac{c}{a}, \qquad \sum_{\text{triples}} = -\frac{d}{a}, \qquad \alpha \beta \gamma \delta = \frac{e}{a}.

Constructing a polynomial from its roots

If the roots are α1,,αn\alpha_1, \dots, \alpha_n, the monic polynomial with these roots is

P(x)=(xα1)(xα2)(xαn).P(x) = (x - \alpha_1)(x - \alpha_2) \dots (x - \alpha_n).

Expanding gives the coefficients directly from the symmetric functions.

Useful identities involving symmetric functions

For roots α,β,γ\alpha, \beta, \gamma of a cubic,

α2+β2+γ2=(α+β+γ)22(αβ+αγ+βγ).\alpha^2 + \beta^2 + \gamma^2 = (\alpha + \beta + \gamma)^2 - 2(\alpha \beta + \alpha \gamma + \beta \gamma).

1α+1β+1γ=αβ+αγ+βγαβγ.\frac{1}{\alpha} + \frac{1}{\beta} + \frac{1}{\gamma} = \frac{\alpha \beta + \alpha \gamma + \beta \gamma}{\alpha \beta \gamma}.

These show up constantly in HSC problems.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

2023 HSC Q52 marksThe polynomial P(x)=x34x2+ax6P(x) = x^3 - 4 x^2 + a x - 6 has roots α\alpha, β\beta and γ\gamma such that α+β+γ=4\alpha + \beta + \gamma = 4 and αβ+αγ+βγ=1\alpha \beta + \alpha \gamma + \beta \gamma = 1. Find the value of aa.
Show worked answer →

For a monic cubic x3+bx2+cx+dx^3 + b x^2 + c x + d with roots α,β,γ\alpha, \beta, \gamma:

  • IMATH_2
  • IMATH_3
  • IMATH_4

Comparing P(x)=x34x2+ax6P(x) = x^3 - 4 x^2 + a x - 6 with the standard form, b=4b = -4, c=ac = a, d=6d = -6.

The sum-in-pairs is cc, so a=1a = 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)=2x3x2+kx+4P(x) = 2 x^3 - x^2 + k x + 4 has roots that sum to 12\frac{1}{2}. Given that the product of the roots is 2-2, find the values of kk and the third symmetric function of the roots.
Show worked answer →

Rewrite as monic: P(x)=2(x312x2+k2x+2)P(x) = 2 \left( x^3 - \frac{1}{2} x^2 + \frac{k}{2} x + 2 \right).

Let the roots be α,β,γ\alpha, \beta, \gamma.

Sum: α+β+γ=12\alpha + \beta + \gamma = \frac{1}{2}. This matches the negative of the x2x^2 coefficient in the monic form, 12\frac{1}{2}. Consistent.

Product: αβγ=2\alpha \beta \gamma = -2. From the monic form, αβγ=2\alpha \beta \gamma = -2. Consistent.

Sum-in-pairs: αβ+αγ+βγ=k2\alpha \beta + \alpha \gamma + \beta \gamma = \frac{k}{2}. The third symmetric function is this value.

Without additional information kk 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.

Related dot points