#829

solved

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

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

for any reals x,yx,y.

Solution

This is a trivial problem.


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


Comparing P(x,y)P(x,y) and P(y,x)P(y,x), f(x)x\frac{f(x)}{x} is constant. Checking, only f(x)=xf(x)=x and f(x)=−xf(x)=-x work.