Maths WorkshopMaths problems with full solutions
Exercise 1936Algebra › PolynomialsOlympiadAdded 4 Nov 2026

Polynomials with P(x²) = P(x)²

#polynomial equation#degree argument#coefficients comparison

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 leading coefficients, then the second non-zero term of PP on both sides.

Show solutionHide solution

Solution

Constants. If PP is constant, c=c2c=c^2 gives P=0P=0 or P=1P=1.

Non-constant case. Let P(x)=axn+cxk+(terms of degree<k)P(x)=ax^n+cx^k+(\text{terms of degree}<k) with a≠0a\ne0, n≥1n\ge1, and k<nk<n the degree of the second non-zero term, if any.

*Leading coefficient.* Comparing coefficients of x2nx^{2n}: a=a2a=a^2, so a=1a=1.

*Second term.* Suppose PP has a second non-zero term, cxkcx^k with c≠0c\ne0, 0≤k<n0\le k<n. In P(x)2=x2n+2cxn+k+…P(x)^2=x^{2n}+2cx^{n+k}+\dots, the second-highest term is 2cxn+k2cx^{n+k}. In P(x2)=x2n+cx2k+…P(x^2)=x^{2n}+cx^{2k}+\dots, the second-highest degree is 2k<n+k2k<n+k. So the coefficient of xn+kx^{n+k} is 2c≠02c\ne0 on the left and 00 on the right: contradiction.

Hence P(x)=xnP(x)=x^n, and indeed P(x2)=x2n=(xn)2P(x^2)=x^{2n}=(x^n)^2 ✓.

Answer. P=0P=0, P=1P=1, or P(x)=xnP(x)=x^n for some integer n≥1n\ge1.

Lesson. In polynomial identities, compare leading terms first, then the next term; degrees often give an immediate contradiction.