A polynomial in several variables is symmetric if it is unchanged under any permutation of its variables. For example, r2+s2 is symmetric (swapping gives s2+r2, which is identical), but r+2s is not (swapping gives s+2r=r+2s). Symmetric polynomials arise naturally from polynomial roots: every expression Vieta's formulas produce is symmetric in the roots by construction.
Elementary Symmetric Polynomials
The elementary symmetric polynomialsSk in variables x1,…,xn are defined as the sum of all distinct products of exactly k variables:
The number of terms in Sk is (kn), since each term chooses k variables from n.
Generating function interpretation. The elementary symmetric polynomials are the coefficients in the expansion
∏i=1n(1+xit)=1+S1t+S2t2+⋯+Sntn
Fundamental Theorem of Symmetric Polynomials
Theorem. Every symmetric polynomial with integer (or rational, or real) coefficients can be written uniquely as a polynomial in S1,S2,…,Sn.
Key Techniques
The s–p Substitution (Two Variables)
For two variables x,y, set s=x+y and p=xy. Then:
Expression
In terms of s,p
x2+y2
s2−2p
x3+y3
s3−3sp=s(s2−3p)
x4+y4
s4−4s2p+2p2
x2y+xy2
sp
(x−y)2
s2−4p
The key is (x+y)k expands with cross terms that must be subtracted; never guess the formula, always expand.
For three variables, the analogous substitution is u=x+y+z, v=xy+yz+zx, w=xyz.
Palindromic (Even Symmetric) Polynomials
For a degree-2n palindromic polynomial such as ax4+bx3+cx2+bx+a=0, divide by xn and substitute y=x+x−1:
x2+x−2=y2−2,x3+x−3=y3−3y,xk+x−k=Tk(y)
where Tk satisfies the same recurrence Tk=y⋅Tk−1−Tk−2. This reduces a degree-2n polynomial to a degree-n polynomial in y.
Constructing Polynomials with Shifted Roots
To evaluate (r1+c)(r2+c)⋯(rn+c) where ri are roots of f(x): substitute x=y−c to get a new polynomial g(y)=f(y−c) whose roots are ri+c. The product equals ±g(0)/an by Vieta's.
Worked Examples
Example 1. Express x2+y2+z2 in terms of S1,S2,S3.
By Vieta's for g, the product of its roots is −(−4)/1=4.
Example 4. Solve x4+x3+x2+x+1=0.
The coefficients are symmetric (palindromic). Divide by x2:
x2+x+1+x−1+x−2=0
Group: (x2+x−2)+(x+x−1)+1=0. Let u=x+x−1, so x2+x−2=u2−2:
(u2−2)+u+1=0⟹u2+u−1=0⟹u=2−1±5
For each value of u, solve x+x−1=u, i.e., x2−ux+1=0, giving the four roots of the original.
Example 5 (Discriminant). Determine whether a polynomial has a repeated root using only its coefficients.
A polynomial f(x) with roots x1,…,xn has a repeated root iff Δ=∏i<j(xi−xj)2=0. Since Δ is symmetric in the roots, the Fundamental Theorem guarantees it is a polynomial in S1,…,Sn. By Vieta's, each Sk is a coefficient of f up to sign. Therefore Δ — the discriminant — is computable purely from the coefficients of f using arithmetic operations.
Common Pitfalls
Asymmetric expressions. An expression must be unchanged under every variable permutation, not just one specific swap. r+2s is not symmetric and cannot be expressed in Sk alone.
Sign errors in Vieta's.S1=−an−1/an (negative when an−1>0); S2=+an−2/an (positive); signs alternate. This is the most common arithmetic error.
Wrong s–p expansions.x3+y3=s3. The correct identity is x3+y3=s3−3sp. Always expand carefully.
Palindromic substitution cross-term. When substituting y=x+x−1, do not write x2+x−2=y2. The correct identity is x2+x−2=y2−2 (the cross term 2⋅x⋅x−1=2 must be subtracted).
Root multiplicity. If every root of g(x) is also a root of f(x), this does not mean g∣f. You must verify that the multiplicity of each shared root in g does not exceed its multiplicity in f.