#667

solved

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

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

for any reals x,yx,y.

Solution

Solution by OronSH.


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

Assume ff is not constantly zero, so f(x)≠0f(x)\ne 0 for some xx. Then varying yy gives ff surjective, and plugging in for yy gives ff injective.

Fix some xx such that f(x)≠0f(x)\ne 0. Pick yy by surjectivity such that f(x2)+f(x)f(y)=x2f(x^2)+f(x)f(y)=x^2, which gives y=0y=0, so f(x2)+f(x)f(0)=x2f(x^2)+f(x)f(0)=x^2 whenever f(x)≠0f(x)\ne 0.

Since at most one value goes to zero, there exists nonzero xx such that f(x),f(−x)f(x),f(-x) are both nonzero. Then f(x2)+f(x)f(0)=f(x2)+f(−x)f(0)=x2f(x^2)+f(x)f(0)=f(x^2)+f(-x)f(0)=x^2, but f(x)≠f(−x)f(x)\ne f(-x), hence f(0)=0f(0)=0.

Hence for all nonzero xx we have f(x)≠0f(x)\ne 0 by injectivity, hence f(x2)=x2f(x^2)=x^2.

Now fix a negative kk and let f(y)=kf(y)=k. Choose xx positive with x>−kx>-k. Then f(f(x2)+f(x)f(y))=f(x2+xk)=x2+xk=f(x2)+yf(x)=x2+xyf(f(x^2)+f(x)f(y))=f(x^2+xk)=x^2+xk=f(x^2)+yf(x)=x^2+xy, hence k=yk=y and thus f(k)=kf(k)=k for all negatives.

Together we get f(x)=xf(x)=x for all xx, as desired.