#767

solved

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

f(xf(y)+f(xy))=xf(y)+xf(y)f(xf(y) + f(xy)) = xf(y) + xf(y)

for any reals x,yx,y.

Solution

Solution by OronSH.


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

Assume f(y)≠0f(y)\ne 0 for some yy, otherwise we get the first solution. Then vary xx giving ff surjective. Now P(1,y)P(1,y) gives f(2f(y))=2f(y)f(2f(y))=2f(y). Since 2f(y)2f(y) can take any real value by surjectivity, we get f(x)=xf(x)=x for all xx as desired.