#399

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(xf(x)+yf(x))=x2+f(xy)f(xf(x)+yf(x))=x^2+f(xy).

P(0,x)⇒f(xf(0))=f(0)P(0,x)\Rightarrow f(xf(0))=f(0), since no constant solutions exist we must have f(0)=0f(0)=0.

P(x,−x)⇒f(−x2)=−x2⇒f(x)=xP(x,-x)\Rightarrow f\left(-x^2\right)=-x^2\Rightarrow f(x)=x for all x≤0x\le0.

For all x≤0x\le0 we have:

P(x,0)⇒f(xf(x))=x2⇒f(x2)=x2P(x,0)\Rightarrow f(xf(x))=x^2\Rightarrow f\left(x^2\right)=x^2

which gives us f(x)=xf(x)=x for all x≥0x\ge0 and so f(x)=x\boxed{f(x)=x} for all xx as the only solution.