Olympiad Algebra IV: Symmetric Functions & the Pointwise Trap

Study Sheet

Olympiad Algebra IV: Symmetric Functions & the Pointwise Trap

Elementary symmetric polynomials, Newton's identities, interpolation with a forced zero, and the commonest functional-equation error

Symmetric functions and power sums

Tip
The elementary symmetric polynomials

For roots r1,…,rnr_1,\dots,r_n: e1=∑rie_1 = \sum r_i, e2=∑i<jrirje_2 = \sum_{i<j} r_ir_j, …, en=∏rie_n = \prod r_i, and ∏(x−ri)=xn−e1xn−1+e2xn−2−⋯\prod(x - r_i) = x^n - e_1x^{n-1} + e_2x^{n-2} - \cdots. The fundamental theorem of symmetric polynomials: every symmetric polynomial in the roots is a polynomial in e1,…,ene_1,\dots,e_n — with integer coefficients if the original had them.

That theorem is the licence for the whole method: the moment an expression is symmetric in the roots, it is computable from the coefficients without ever finding a root. If a+b+c=6a+b+c = 6, ab+bc+ca=11ab+bc+ca = 11, abc=6abc = 6, then a3+b3+c3=e13−3e1e2+3e3=216−198+18=36a^3+b^3+c^3 = e_1^3 - 3e_1e_2 + 3e_3 = 216 - 198 + 18 = 36 — and indeed the numbers are 1,2,31, 2, 3.

Tip
Newton's identities

With pk=∑rikp_k = \sum r_i^k: p1=e1p_1 = e_1, p2=e1p1−2e2p_2 = e_1p_1 - 2e_2, p3=e1p2−e2p1+3e3p_3 = e_1p_2 - e_2p_1 + 3e_3, and in general pk=e1pk−1−e2pk−2+⋯+(−1)k−1kekp_k = e_1p_{k-1} - e_2p_{k-2} + \cdots + (-1)^{k-1}ke_k.

For x3−5x2−8x+12x^3 - 5x^2 - 8x + 12: e1=5e_1 = 5, e2=−8e_2 = -8, e3=−12e_3 = -12, so p2=25+16=41p_2 = 25 + 16 = 41 and p3=205+40−36=209p_3 = 205 + 40 - 36 = 209. The practical version needs no memorised identity at all — every root satisfies r3=5r2+8r−12r^3 = 5r^2 + 8r - 12, so summing gives p3=5p2+8p1−36p_3 = 5p_2 + 8p_1 - 36, and the same trick pushes any pkp_k down to known ones. Use the recursion the polynomial itself hands you; quote Newton when you need the general shape.

Tip
Interpolation with a forced zero
xy123456102030x²p(x)
p agrees with x² at x = 1, …, 5; the extra condition p(6) = 0 bends it away and fixes c = −3/10.

If a polynomial of degree ≤n\le n agrees with a known pattern at nn points, subtract the pattern: the difference has those points as roots, so it is c∏(x−xi)c\prod(x - x_i) and one extra condition pins cc.

For pp of degree ≤5\le 5 with p(k)=k2p(k) = k^2 at k=1,…,5k = 1,\dots,5 and p(6)=0p(6) = 0: set q=p−x2q = p - x^2, so q=c(x−1)⋯(x−5)q = c(x-1)\cdots(x-5); then q(6)=−36=120cq(6) = -36 = 120c gives c=−310c = -\tfrac{3}{10} and p(7)=49−310⋅720=−167p(7) = 49 - \tfrac{3}{10}\cdot 720 = -167. Lagrange interpolation would get the same answer with six times the arithmetic; finite differences are the third route, and are the fastest when the given values are consecutive.

Example
Worked: USAMO 1977 Problem 3

If aa and bb are two of the roots of x4+x3−1=0x^4+x^3-1=0, prove that abab is a root of x6+x4+x3−x2−1=0x^6+x^4+x^3-x^2-1=0. (USAMO 1977/3)

Step 1 — let the other roots be c,dc,d and put s=a+bs=a+b, p=abp=ab, t=c+dt=c+d, q=cdq=cd. Then x4+x3−1=(x2−sx+p)(x2−tx+q)x^4+x^3-1=(x^2-sx+p)(x^2-tx+q), and comparing coefficients: s+t=−1s+t=-1, p+q+st=0p+q+st=0, pt+qs=0pt+qs=0, pq=−1pq=-1.

Step 2 — eliminate: q=−1pq=-\tfrac1p and t=−1−st=-1-s. The third equation becomes −p(1+s)−sp=0-p(1+s)-\tfrac sp=0, so s(p+1p)=−ps\left(p+\tfrac1p\right)=-p and s=−p2p2+1s=-\dfrac{p^2}{p^2+1}.

Step 3 — the second equation becomes p−1p−s−s2=0p-\tfrac1p-s-s^2=0. Substitute ss and multiply by p(p2+1)2p(p^2+1)^2:

(p2−1)(p2+1)2+p3(p2+1)−p5=p6+p4+p3−p2−1=0.(p^2-1)(p^2+1)^2+p^3(p^2+1)-p^5=p^6+p^4+p^3-p^2-1=0.

So p=abp=ab is a root of x6+x4+x3−x2−1x^6+x^4+x^3-x^2-1. (Here p≠0p\ne0 since pq=−1pq=-1, and p2+1≠0p^2+1\ne0 because otherwise p+1p=0p+\tfrac1p=0 and the third equation would give p=0p=0.)

How to find it. A statement about a pair of roots is a statement about a quadratic factor. Writing the quartic as a product of two quadratics turns it into four equations in four unknowns, and the target polynomial is what remains after eliminating everything except pp.

Side note
Where it goes wrong: Vieta with a leading coefficient

For 2x3−6x2+5x−72x^3-6x^2+5x-7, tempting: "e1=−(−6)=6e_1=-(-6)=6, e2=5e_2=5, e3=7e_3=7, so r2+s2+t2=36−10=26r^2+s^2+t^2=36-10=26."

Reminder — Vieta's formulas:  r1+r2=−ba,r1r2=car_1+r_2=-\frac{b}{a},\qquad r_1 r_2=\frac{c}{a}

Vieta's formulas e1=−an−1ane_1=-\tfrac{a_{n-1}}{a_n}, e2=an−2ane_2=\tfrac{a_{n-2}}{a_n}, e3=−an−3ane_3=-\tfrac{a_{n-3}}{a_n} divide by the leading coefficient. Here e1=3e_1=3, e2=52e_2=\tfrac52, e3=72e_3=\tfrac72, so r2+s2+t2=e12−2e2=9−5=4r^2+s^2+t^2=e_1^2-2e_2=9-5=4. Make the polynomial monic before reading off symmetric functions; every identity in this section assumes it.

Try it
Try it: a symmetric evaluation

If a+b=5a + b = 5 and ab=3ab = 3, compute a3+b3a^3 + b^3.

Show the answer

a3+b3=e13−3e1e2=125−45=80a^3 + b^3 = e_1^3 - 3e_1e_2 = 125 - 45 = 80. (Or: a2+b2=25−6=19a^2 + b^2 = 25 - 6 = 19, and a3+b3=(a+b)(a2−ab+b2)=5(19−3)=80a^3+b^3 = (a+b)(a^2 - ab + b^2) = 5(19 - 3) = 80.)

Functional equations: the pointwise trap

Tip
The trap

Deducing "f(x)=xf(x) = x or f(x)=−xf(x) = -x for each xx" does NOT give "f=id⁡f = \operatorname{id} or f=−id⁡f = -\operatorname{id}". The choice may differ from point to point until you prove it cannot.

The counterexample is one line: f(x)=xf(x) = x for rational xx and f(x)=−xf(x) = -x otherwise satisfies f(x)2=x2f(x)^2 = x^2 everywhere and is neither function. So a pointwise conclusion must be followed by a GLUING argument: assume f(a)=af(a) = a and f(b)=−bf(b) = -b with a,b≠0a, b \ne 0, feed the pair back into the original equation, and derive a contradiction. With additivity, f(a+b)=a−bf(a+b) = a - b must equal ±(a+b)\pm(a+b), forcing a=0a = 0 or b=0b = 0 — so exactly two functions survive. This is the single most common way to lose points on an olympiad functional equation.

Tip
Cauchy and its pathologies

f(x+y)=f(x)+f(y)f(x+y) = f(x) + f(y) forces f(qx)=qf(x)f(qx) = qf(x) for rational qq, hence f(x)=cxf(x) = cx on Q\mathbb{Q}. Over R\mathbb{R} that is all you get: any regularity — continuity at ONE point, monotonicity, boundedness on an interval or on a set of positive measure — upgrades it to f(x)=cxf(x) = cx everywhere, and without one there are non-measurable solutions built from a Hamel basis.

So the hypotheses in the problem statement are the solution's scaffolding: if the problem says monotone, the intended path is Cauchy plus monotonicity. The standard substitutions that reduce an equation to Cauchy are worth drilling: g(x)=f(x)−x22g(x) = f(x) - \tfrac{x^2}{2} turns f(x+y)=f(x)+f(y)+xyf(x+y) = f(x)+f(y)+xy into Cauchy, giving f(x)=x2+x2f(x) = \tfrac{x^2+x}{2} when f(1)=1f(1) = 1, so f(10)=55f(10) = 55.

Tip
The substitution playbook

Try x=y=0x = y = 0; y=xy = x; y=−xy = -x; x=0x = 0 alone; swapping xx and yy to exploit symmetry; and substituting a value that makes one side constant. Then chase injectivity (f(a)=f(b)⇒a=bf(a) = f(b)\Rightarrow a = b) and surjectivity — they unlock the substitutions that name a specific value.

A good write-up says what each substitution BUYS: "setting y=0y = 0 gives f(0)=0f(0) = 0", "so ff is injective, hence the cc found above is unique". Keep a list of established facts as you go, and end by verifying that every candidate function actually satisfies the original equation — an olympiad answer is incomplete without the check, and graders deduct for its absence.

Side note
Two functions, not infinitely many

The question "how many ff satisfy f(x)2=x2f(x)^2 = x^2 AND additivity?" has the answer 22 precisely because additivity glues the pointwise choice. Drop additivity and the answer is infinite. Knowing which hypothesis does the gluing is knowing the problem.

Try it
Try it: squares and products

Find all f:R→Rf:\mathbb R\to\mathbb R with f(x)2=x2f(x)^2=x^2 and f(xy)=f(x)f(y)f(xy)=f(x)f(y) for all real x,yx,y.

Show the answer

Pointwise, f(x)=ε(x)xf(x)=\varepsilon(x)x with ε(x)=±1\varepsilon(x)=\pm1 for x≠0x\ne0, and f(0)=0f(0)=0. Multiplicativity at x=y=1x=y=1 gives f(1)=f(1)2f(1)=f(1)^2, so f(1)=1f(1)=1. Gluing: for x≠0x\ne0, f(x2)=f(x)2=x2f(x^2)=f(x)^2=x^2, so ε=1\varepsilon=1 at every positive number. For x<0x<0 write x=(−1)⋅∣x∣x=(-1)\cdot|x|: f(x)=f(−1)f(∣x∣)=f(−1)∣x∣f(x)=f(-1)f(|x|)=f(-1)|x|, and f(−1)=±1f(-1)=\pm1. So f(x)=xf(x)=x (if f(−1)=−1f(-1)=-1) or f(x)=∣x∣f(x)=|x| (if f(−1)=1f(-1)=1). Both are multiplicative and satisfy f(x)2=x2f(x)^2=x^2; note that f(x)=−xf(x)=-x fails, since f(1)f(1) must be 11. Exactly two functions — the gluing here comes from squares being positive.

Proofs & Why It Matters

Tip
Proof: p3=e1p2−e2p1+3e3p_3 = e_1p_2 - e_2p_1 + 3e_3 for three variables

Newton's identity in the case the course uses most.

Each root satisfies r3=e1r2−e2r+e3r^3 = e_1r^2 - e_2r + e_3 (its own defining cubic). Summing over the three roots gives p3=e1p2−e2p1+3e3p_3 = e_1p_2 - e_2p_1 + 3e_3, the 33 appearing because the constant e3e_3 is added once per root. ■\blacksquare The same argument for a degree-nn polynomial gives pkp_k for k≥nk \ge n; the identities for k<nk < n need the combinatorial proof, which is why the recursion from the polynomial is the practical tool.

Tip
Proof: additivity glues the pointwise choice

If ff is additive and f(x)2=x2f(x)^2 = x^2 for all xx, then f=id⁡f = \operatorname{id} or f=−id⁡f = -\operatorname{id}.

Suppose f(a)=af(a) = a and f(b)=−bf(b) = -b with a,b≠0a, b \ne 0. Additivity gives f(a+b)=a−bf(a+b) = a - b, while the pointwise condition gives f(a+b)=±(a+b)f(a+b) = \pm(a+b). The plus case forces b=0b = 0, the minus case forces a=0a = 0 — both contradictions. So the sign is the same at every nonzero point, and both signs do give solutions. ■\blacksquare Significance: the contradiction used the equation at a NEW point, a+ba+b. That is always the shape of the gluing step.