#48

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by SMOJ.


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)+x)=xy+f(x)f(xf(y)+x)=xy+f(x).


P(1,y)P(1,y) gives f(f(y)+1)=y+f(1)f(f(y)+1)=y+f(1).

Now P(f(x)+1,y)P(f(x)+1,y) gives f((f(y)+1)(f(x)+1))=yf(x)+y+x+f(1)f((f(y)+1)(f(x)+1))=yf(x)+y+x+f(1).

Swapping xx and yy, yf(x)=xf(y)yf(x)=xf(y) for all x,yx,y, hence f(x)=cxf(x)=cx for some real constant cc. Checking, only c=1c=1 and c=−1c=-1 works.