#777

solved

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

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

for any reals x,yx,y.

Solution

Solution by NO_SQUARES.


The answer is f(x)≡xf(x)\equiv x and f(x)≡−xf(x)\equiv-x.

Claim. ff is injective.

Proof. Suppose that f(y1)=f(y2)=tf(y_1)=f(y_2)=t. Then P(1,y1)P(1,y_1) gives f(t+t)=f(1)t+y1f(t+t)=f(1)t+y_1 and P(1,y2)P(1,y_2) gives f(t+t)=f(1)t+y2f(t+t)=f(1)t+y_2, so y1=y2y_1=y_2. □\square

Note that P(y,x)P(y,x) gives f(yf(x)+f(yx))=f(y)f(x)+yx=f(x)f(y)+xy=f(xf(y)+f(xy))f(yf(x)+f(yx))=f(y)f(x)+yx=f(x)f(y)+xy=f(xf(y)+f(xy)). Since ff is injective, we obtain yf(x)+f(yx)=xf(y)+f(xy)yf(x)+f(yx)=xf(y)+f(xy) or yf(x)=xf(y)yf(x)=xf(y). Taking y=1y=1, we get f(x)=xf(1)=xaf(x)=xf(1)=xa (here a=f(1)a=f(1)) for all real numbers xx.

Now we have a(xay+axy)=axay+xya(xay+axy)=axay+xy, i.e. 2a2=a2+12a^2=a^2+1, so a=±1a=\pm1.