#631

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(f(x2)+yf(x))=x2+xf(y)f\left(f\left(x^2\right)+yf(x)\right)=x^2+xf(y).

P(0,−1)⇒f(0)=0P(0,-1)\Rightarrow f(0)=0.

P(x,0)⇒f(f(x))=xP\left(\sqrt x,0\right)\Rightarrow f(f(x))=x for all x≥0x\ge0.

If f(k)=0f(k)=0 for some k≠0k\ne0, then P(k,x)⇒f(x)=0P(k,x)\Rightarrow f(x)=0 for all xx which isn’t a solution, so x=0⇔f(x)=0x=0\Leftrightarrow f(x)=0.

P(1,−1)⇒f(−1)=−1P(1,-1)\Rightarrow f(-1)=-1.

P(−1,xf(1))⇒f(f(1)−xf(1))=1−f(xf(1))P(-1,xf(1))\Rightarrow f(f(1)-xf(1))=1-f(xf(1)).

P(1,−x)⇒f(f(1)−xf(1))=1+f(−x)P(1,-x)\Rightarrow f(f(1)-xf(1))=1+f(-x).

Comparing the last two, we obtain f(−x)=−f(xf(1))f(-x)=-f(xf(1)) and applying this twice, f(x)=−f(−xf(1))=f(xf(1)2)f(x)=-f(-xf(1))=f\left(xf(1)^2\right).

But then for x>0x>0 we have xf(1)2=f(f(xf(1)2))=f(f(x))=xxf(1)^2=f\left(f\left(xf(1)^2\right)\right)=f(f(x))=x so f(1)2=1f(1)^2=1.

If f(1)=−1f(1)=-1, P(1,0)⇒−1=1P(1,0)\Rightarrow-1=1, which is impossible, so we have to have f(1)=1f(1)=1.

P(1,x)⇒f(x+1)=f(x)+1P(1,x)\Rightarrow f(x+1)=f(x)+1.

P(x,y+1)⇒f(f(x2)+yf(x)+f(x))=x2+xf(y)+x=f(f(x2)+yf(x))+xP(x,y+1)\Rightarrow f\left(f\left(x^2\right)+yf(x)+f(x)\right)=x^2+xf(y)+x=f\left(f\left(x^2\right)+yf(x)\right)+x.

If x≠0x\ne0 then f(x2)+yf(x)f\left(x^2\right)+yf(x) can take any value, so f(y+f(x))=f(y)+xf(y+f(x))=f(y)+x for all x≠0x\ne0, but also true for x=0x=0.

Setting y=0y=0, we have f(f(x))=xf(f(x))=x for all xx, and setting x↦f(x)x\mapsto f(x), ff is additive.

Back in the original equation, it reduces to f(yf(x))=xf(y)f(yf(x))=xf(y), and when taking x↦f(x)x\mapsto f(x) again, we see that ff is multiplicative as well as additive, only solution f(x)=x\boxed{f(x)=x}, since f≡0f\equiv0 isn’t a solution.