#755

solved

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

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

for any reals x,yx,y.

Solution

Solution by gghx.


We claim the only solutions are f(x)≡xf(x)\equiv x and f(x)≡−xf(x)\equiv -x, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(xf(y)+xy)=xf(y)+xyf(xf(y)+xy)=xf(y)+xy.


Case 1: f(y)+y=0f(y)+y=0 for all yy, which implies f(x)=−xf(x)=-x.

Case 2: f(u)+u≠0f(u)+u\ne 0 for some real uu.

Then, P(xf(u)+u,u):f(x)=xP(\frac{x}{f(u)+u},u): f(x)=x.