Maths WorkshopMaths problems with full solutions
Exercise 1969Algebra › PolynomialsOlympiadAdded 5 Nov 2026

P(x)P(x − 1) = P(x²)

#polynomial equation#roots#unit circle#functional equation

Statement

Find all polynomials PP with real coefficients such that P(x) P(x−1)=P(x2)P(x)\,P(x-1)=P(x^2) for all real xx.

Hint

Check that x2+x+1x^2+x+1 works, using (x2+x+1)(x2−x+1)=x4+x2+1(x^2+x+1)(x^2-x+1)=x^4+x^2+1. For the converse, show that if aa is a root then a2a^2 and (a+1)2(a+1)^2 are roots too, and use that the set of roots is finite.

Show solutionHide solution

Solution

Answer. P=0P=0 and P(x)=(x2+x+1)nP(x)=(x^2+x+1)^n for n≥0n\ge0.

These work. (x2+x+1)n((x−1)2+(x−1)+1)n=(x2+x+1)n(x2−x+1)n=(x4+x2+1)n=P(x2)(x^2+x+1)^n\bigl((x-1)^2+(x-1)+1\bigr)^n=(x^2+x+1)^n(x^2-x+1)^n=(x^4+x^2+1)^n=P(x^2).

Converse. Let P≠0P\ne0 be a solution and let RR be its (finite) set of complex roots. If R=∅R=\varnothing, PP is a constant cc with c2=cc^2=c, so c=1c=1. Assume R≠∅R\ne\varnothing and let a∈Ra\in R.

*Two closure properties.* Putting x=ax=a gives P(a2)=P(a)P(a−1)=0P(a^2)=P(a)P(a-1)=0, so a2∈Ra^2\in R. Putting x=a+1x=a+1 gives P((a+1)2)=P(a+1)P(a)=0P((a+1)^2)=P(a+1)P(a)=0, so (a+1)2∈R(a+1)^2\in R.

*Roots have modulus 00 or 11.* By the first property, a,a2,a4,…a,a^2,a^4,\dots all lie in the finite set RR, so a2j=a2ka^{2^j}=a^{2^k} for some j<kj<k. Taking moduli, ∣a∣2j=∣a∣2k|a|^{2^j}=|a|^{2^k}, so ∣a∣∈{0,1}|a|\in\{0,1\}. The same applies to the root (a+1)2(a+1)^2: either (a+1)2=0(a+1)^2=0 or ∣a+1∣=1|a+1|=1.

*00 and −1-1 are not roots.* If 0∈R0\in R, then (0+1)2=1∈R(0+1)^2=1\in R and then (1+1)2=4∈R(1+1)^2=4\in R, but ∣4∣∉{0,1}|4|\notin\{0,1\}: contradiction. If −1∈R-1\in R, then (−1+1)2=0∈R(-1+1)^2=0\in R, which we just excluded.

*All roots are ω,ωˉ\omega,\bar\omega.* So every root has ∣a∣=1|a|=1 and ∣a+1∣=1|a+1|=1. From ∣a+1∣2=∣a∣2+2Re⁡a+1=2+2Re⁡a=1|a+1|^2=|a|^2+2\operatorname{Re}a+1=2+2\operatorname{Re}a=1 we get Re⁡a=−12\operatorname{Re}a=-\tfrac12, so a=−12±32ia=-\tfrac12\pm\tfrac{\sqrt3}2i, the roots of x2+x+1x^2+x+1.

*Conclusion.* P(x)=c (x−ω)p(x−ωˉ)qP(x)=c\,(x-\omega)^p(x-\bar\omega)^q. Real coefficients force p=q=np=q=n, so P=c(x2+x+1)nP=c(x^2+x+1)^n. Comparing leading coefficients gives c2=cc^2=c, so c=1c=1. ■\blacksquare

Lesson. For P(f(x))P(f(x))-type equations, study how the equation moves roots around: it produces infinite orbits of roots, which a polynomial cannot have unless the orbit is finite.