If α,β,γ are the roots of the monic cubic x3+px2+qx+r=0, then f(x)≡(x−α)(x−β)(x−γ). Expanding the right side and matching coefficients with x3+px2+qx+r gives
S1=α+β+γ=−p,S2=αβ+βγ+γα=q,S3=αβγ=−r.
For the biquadratic x4+px3+qx2+rx+s=0 with roots α,β,γ,δ, expanding (x−α)(x−β)(x−γ)(x−δ) in the same way gives
S1=∑α=−p,S2=∑αβ=q,S3=∑αβγ=−r,S4=αβγδ=s.
In general, for the monic degree-n equation xn+p1xn−1+p2xn−2+⋯+pn=0 with roots α1,…,αn,
Sk=∑(products of the roots taken k at a time)=(−1)kpk,k=1,…,n. …