#434

solved

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

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

for any reals x,yx,y.

Solution

Solution by OronSH.


We claim the solutions are f(x)=0f(x)=0 and f(x)=xf(x)=x, which we can see work.

Denote the assertion by P(x,y)P(x,y). Note that P(−f(0),0)P(-f(0),0) gives f(f(0)2)=0f(f(0)^2)=0, and P(0,0)P(0,0) gives f(f(0)2)=2f(0)f(f(0)^2)=2f(0), hence f(0)=0f(0)=0. Thus P(x,0)P(x,0) gives f(xf(x))=f(x2)f(xf(x))=f(x^2).

Suppose f(a)=f(b)f(a)=f(b). Comparing P(a,y)P(a,y) and P(b,y)P(b,y) gives f(ay)=f(by)f(ay)=f(by) for any yy. Hence, by taking a=xf(x),b=x2,y=1xa=xf(x),b=x^2,y=\frac1x we get f(f(x))=f(x)f(f(x))=f(x). In particular f(yf(x))=f(xy)f(yf(x))=f(xy) for all x,yx,y.

Note that f(f(x)2)=f(xf(x))=f(x2)f(f(x)^2)=f(xf(x))=f(x^2). Hence comparing P(x,y)P(x,y) with P(f(x),y)P(f(x),y) we get f(xf(x)+f(x)f(y))=f(f(x)2+f(x)f(y))f(xf(x)+f(x)f(y))=f(f(x)^2+f(x)f(y)). By scaling both insides by 1f(x)\frac1{f(x)}, we get f(x+f(y))=f(f(x)+f(y))f(x+f(y))=f(f(x)+f(y)), which by symmetry equals f(f(x)+y)f(f(x)+y). Scaling back up by f(x)f(x) inside gives that f(f(x)2+yf(x))=f(xf(x)+f(x)f(y))=f(x2)+f(xy)f(f(x)^2+yf(x))=f(xf(x)+f(x)f(y))=f(x^2)+f(xy). However from f(yf(x))=f(xy)f(yf(x))=f(xy) we get f(f(x)2+yf(x))=f(xf(x)+xy)f(f(x)^2+yf(x))=f(xf(x)+xy).

Note that if f(x)=0f(x)=0 and x≠0x\ne 0 then from f(yf(x))=f(xy)f(yf(x))=f(xy) we get ff is constantly zero, so assume ff is injective at zero. In our previous equation, force xf(x)+xy=x2xf(x)+xy=x^2 when x≠0x\ne 0, which implies f(xy)=0f(xy)=0, hence xy=0xy=0 and thus y=x−f(x)=0y=x-f(x)=0, so f(x)=xf(x)=x as desired.