Skip to content

Mathematics · Ch 3 — Theory of Equations

Vieta's Formula for Cubic and Higher-Degree Equations

3.3.2.2

Vieta's Formula for Cubic and Higher-Degree Equations

Cubic case. Consider ax3+bx2+cx+d=0ax^3+bx^2+cx+d=0. By the Fundamental Theorem of Algebra it has exactly three roots α,β,γ\alpha,\beta,\gamma (with multiplicity), so

ax3+bx2+cx+d=a(x−α)(x−β)(x−γ)=ax3−a(α+β+γ)x2+a(αβ+βγ+γα)x−aαβγ.ax^3+bx^2+cx+d = a(x-\alpha)(x-\beta)(x-\gamma) = ax^3 - a(\alpha+\beta+\gamma)x^2 + a(\alpha\beta+\beta\gamma+\gamma\alpha)x - a\alpha\beta\gamma.

Comparing coefficients (valid since a≠0a\ne0):

α+β+γ=−ba,αβ+βγ+γα=ca,αβγ=−da.\alpha+\beta+\gamma=-\frac ba, \qquad \alpha\beta+\beta\gamma+\gamma\alpha=\frac ca, \qquad \alpha\beta\gamma=-\frac da.

For a monic cubic (a=1a=1) this reads especially cleanly:

coeff. of x2=−(α+β+γ),coeff. of x=αβ+βγ+γα,constant term=−αβγ.\text{coeff. of }x^2 = -(\alpha+\beta+\gamma), \qquad \text{coeff. of }x = \alpha\beta+\beta\gamma+\gamma\alpha, \qquad \text{constant term} = -\alpha\beta\gamma.

General degree n>3n>3. The same pattern continues for a monic degree-nn equation with roots α1,…,αn\alpha_1,\ldots,\alpha_n: writing ∑α1\sum\alpha_1 for the sum of all the roots, ∑α1α2\sum\alpha_1\alpha_2 for the sum of all pairwise products, ∑α1α2α3\sum\alpha_1\alpha_2\alpha_3 for the sum of all products taken three at a time, and so on (these are the elementary symmetric sums),

coeff. of xn−1=−∑α1,coeff. of xn−2=∑α1α2,coeff. of xn−3=−∑α1α2α3, …,constant term=(−1)n∑α1α2⋯αn.\text{coeff. of }x^{n-1}=-\textstyle\sum\alpha_1,\quad \text{coeff. of }x^{n-2}=\textstyle\sum\alpha_1\alpha_2,\quad \text{coeff. of }x^{n-3}=-\textstyle\sum\alpha_1\alpha_2\alpha_3,\ \ldots,\quad \text{constant term}=(-1)^n\textstyle\sum\alpha_1\alpha_2\cdots\alpha_n.

For 4 roots α,β,γ,δ\alpha,\beta,\gamma,\delta the notation simplifies to ∑α=α+β+γ+δ\sum\alpha=\alpha+\beta+\gamma+\delta, ∑αβ=αβ+αγ+αδ+βγ+βδ+γδ\sum\alpha\beta=\alpha\beta+\alpha\gamma+\alpha\delta+\beta\gamma+\beta\delta+\gamma\delta (all (42)=6\binom42=6 pairs), ∑αβγ\sum\alpha\beta\gamma (all (43)=4\binom43=4 triples), and ∑αβγδ=αβγδ\sum\alpha\beta\gamma\delta=\alpha\beta\gamma\delta (the single product of all four).

Tip

Repeated roots still count fully. If the roots of a cubic are 1,2,21,2,2 (i.e. 22 has multiplicity 22), then ∑α=1+2+2=5\sum\alpha=1+2+2=5 and ∑αβ=(1)(2)+(1)(2)+(2)(2)=8\sum\alpha\beta=(1)(2)+(1)(2)+(2)(2)=8 — each occurrence of the repeated root is used separately in every sum, exactly as if the roots were three different numbers. …