#723

solved

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

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

for any reals x,yx,y.

Solution

Solution by anakinwang.


We claim the solutions are precisely f(x)≡xf(x) \equiv x and f(x)≡−xf(x) \equiv -x. It is clear these work.

Clearly, f(x)≡0f(x) \equiv 0 fails by choosing x,y≠0x, y \neq 0, so assume there is some constant k∈Rk \in \mathbb{R} for which f(k)=r≠0f(k) = r \neq 0. Then f(2rx)=2kxf(2rx) = 2kx for any x∈Rx \in \mathbb{R}, so f(x)=cxf(x) = cx for all x∈Rx \in \mathbb{R}, where c=krc = \frac{k}{r} is fixed. We then have 2c2=f(2c)=22c^2 = f(2c) = 2, so c=±1c = \pm 1, as desired.