#282

solved

Find all functions f:R→Rf:\mathbb{R}\to\mathbb{R} such that

f(x2+f(x)f(y))=xf(x)+f(xy)f(x^2 + f(x)f(y)) = xf(x) + f(xy)

for any reals x,yx,y.

Known appearances

Solution

Note: we show the solution for the statement in the AoPS thread, which is f(f(x)f(y)+x2)=f(xy)+xf(x)f(f(x)f(y)+x^2)=f(xy)+xf(x).


Solution by Mr. C, gghx and jasperE3.


We claim the only solutions are f(x)≡xf(x)\equiv x, f(x)≡−xf(x)\equiv -x and f(x)≡0f(x)\equiv 0, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(f(x)f(y)+x2)=f(xy)+xf(x)f(f(x)f(y)+x^2)=f(xy)+xf(x).


Suppose f(u)=0f(u)=0. Then, P(u,y)P(u,y) gives f(u2)=f(uy)f(u^2)=f(uy), so if u≠0u\ne 0 then f(x)=0f(x)=0. Suppose from now on that ff is non-constant and hence injective at 0.

From P(−1,1)P(-1,1), f(f(−1)f(1)+1)=0f(f(-1)f(1)+1)=0, hence f(0)=0f(0)=0 and f(−1)f(1)=−1f(-1)f(1)=-1.

From P(x,0)P(x,0), f(x2)=xf(x)f(x^2)=xf(x), hence −xf(−x)=xf(x)-xf(-x)=xf(x) so ff is odd. This means that f(1)2=−f(−1)f(1)=1f(1)^2=-f(-1)f(1)=1,so f(1)=1f(1)=1 or −1-1.


Note that if ff is a solution, then so is −f-f. Hence, WLOG f(1)=1f(1)=1.

From P(x,−x)P(x,-x) and using injectivity at 0, f(x)f(−x)+x2=0f(x)f(-x)+x^2=0. From oddness, this implies that f(x)2=x2f(x)^2=x^2 so f(x)=xf(x)=x or −x-x for each real xx.

Suppose f(a)=af(a)=a and f(b)=−bf(b)=-b for non-zero reals a,ba,b.

P(a,b)⇒f(−ab+a2)=f(ab)+a2⇒(−ab+a2)2=(ab)2+2a2f(ab)+a4⇒f(ab)=−abP(a,b)\Rightarrow f(-ab+a^2)=f(ab)+a^2\Rightarrow (-ab+a^2)^2=(ab)^2+2a^2f(ab)+a^4\Rightarrow f(ab)=-ab.

P(b,a)⇒f(−ab+b2)=f(ab)−b2⇒(−ab+b2)2=(ab)2−2b2f(ab)+b4⇒f(ab)=abP(b,a)\Rightarrow f(-ab+b^2)=f(ab)-b^2\Rightarrow (-ab+b^2)^2=(ab)^2-2b^2f(ab)+b^4\Rightarrow f(ab)=ab.

So ab=0ab=0, contradiction. The only solutions now are f(x)=x\boxed{f(x)=x} and f(x)=−x\boxed{f(x)=-x}, which both work.