#104

solved

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

f(f(x)+yf(y))=x+f(y2)f(f(x) + yf(y)) = x + f(y^2)

for any reals x,yx,y.

Solution

Solution by maromex.


Let P(x,y)P(x,y) denote the given assertion f(f(x)+yf(y))=x+f(y2)f(f(x)+yf(y)) = x+f(y^2).

P(x,0):f(f(x))=x+f(0).P(x,0) : f(f(x)) = x+f(0).

Claim: ff is injective.

Proof: If f(a)=f(b)f(a)=f(b) for some reals a,ba,b, then a+f(0)=f(f(a))=f(f(b))=b+f(0)  ⟹  a=b.a+f(0) = f(f(a)) = f(f(b)) = b+f(0) \implies a=b. □\square

P(f(x2),y):f(x2+f(0)+yf(y))=f(x2)+f(y2)P(f(x^2), y): f(x^2+f(0)+yf(y)) = f(x^2) + f(y^2).

P(f(y2),x):f(y2+f(0)+xf(x))=f(y2)+f(x2)P(f(y^2),x) : f(y^2+f(0)+xf(x)) = f(y^2) + f(x^2).

As ff is injective, x2+f(0)+yf(y)=y2+f(0)+xf(x).x^2+f(0)+yf(y) = y^2+f(0)+xf(x). This means

x2=xf(x)+Cx^2 = xf(x) + C

for some real constant C.C. By plugging in x=0x=0, we get 0=C.0 = C. So x2=xf(x)x^2 = xf(x) for all real xx, which means f(x)=xf(x) = x for all x≠0.x \neq 0. As f(f(x))=x+f(0)f(f(x)) = x + f(0) we get f(0)=0f(0) = 0 as well.

So f(x)=xf(x) = x for all real x.x. This function works.