#840

solved

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

f(f(xy)+f(xy))=xf(y)+xyf(f(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)≡−x2f(x)\equiv -\frac{x}{2}, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(f(xy)+f(xy))=xf(y)+xyf(f(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)=−x2f(x)=-\frac{x}{2} work.