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

P(x²) = P(x)²

#polynomial equation#coefficients#degree#comparing terms

Statement

Find all real polynomials PP such that P(x2)=P(x)2P(x^2)=P(x)^2 for all real xx.

Hint

Compare the two highest-degree terms of PP. Where does the second-highest term of P(x)2P(x)^2 land, and can P(x2)P(x^2) have a term there?

Show solutionHide solution

Solution

Answer. P=0P=0 and P(x)=xnP(x)=x^n for n≥0n\ge0 (including P=1P=1).

These work. P(x2)=x2n=(xn)2P(x^2)=x^{2n}=(x^n)^2.

Converse. Let P≠0P\ne0 have degree nn and leading coefficient aa. Comparing the coefficients of x2nx^{2n}: a=a2a=a^2, so a=1a=1.

Suppose PP has another nonzero term, and let bxjbx^j (b≠0b\ne0, j<nj<n) be the highest of the remaining terms. Look at the coefficient of xn+jx^{n+j}.

*In P(x)2P(x)^2:* it is a sum of cici′c_ic_{i'} over pairs of exponents (i,i′)(i,i') with i+i′=n+ji+i'=n+j and both coefficients nonzero. If neither exponent is nn, both are ≤j\le j, and i+i′≤2j<n+ji+i'\le2j<n+j: impossible. So one exponent is nn and the other is jj, and the coefficient is 2⋅1⋅b=2b≠02\cdot1\cdot b=2b\ne0.

*In P(x2)P(x^2):* only even exponents 2e2e appear, where ee is an exponent of PP. For xn+jx^{n+j} we would need e=n+j2e=\frac{n+j}2, which lies strictly between jj and nn, and PP has no nonzero term there. So the coefficient is 00.

The two sides differ: contradiction. Hence PP has a single nonzero term, which is xnx^n. ■\blacksquare

Lesson. When comparing coefficients in a polynomial identity, look at the leading term and the *next* term: one of the two sides often cannot produce the exponent the other one does.