#461

solved

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

f(xf(x)+f(xy))=xf(x)+yf(x)f(xf(x) + f(xy)) = xf(x) + yf(x)

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(xf(x)+f(xy))=xf(x)+yf(x).f(xf(x)+f(xy))=xf(x)+yf(x).

P(−1,1)⇒f(0)=0P(-1,1)\Rightarrow f(0)=0.

P(x,0)⇒f(xf(x))=xf(x)P(x,0)\Rightarrow f(xf(x))=xf(x).

P(1,xf(x))⇒f(xf(x)+f(1))=xf(x)f(1)+f(1)P(1,xf(x))\Rightarrow f(xf(x)+f(1))=xf(x)f(1)+f(1).

P(x,1x)⇒f(xf(x)+f(1))=xf(x)+f(x)xP\left(x,\frac1x\right)\Rightarrow f(xf(x)+f(1))=xf(x)+\frac{f(x)}x.

Comparing, we obtain f(x)(x2−x2f(1)+1)=xf(1)f(x)\left(x^2-x^2f(1)+1\right)=xf(1) for all x≠0x\ne0, but it’s clearly also true for x=0x=0. Setting x=1x=1, this is f(1)∈{0,1}f(1)\in\{0,1\}. If f(1)=0f(1)=0 this simplifies to f(x)(x2+1)=0f(x)\left(x^2+1\right)=0 and so f(x)=0\boxed{f(x)=0},while if f(1)=1f(1)=1 this simplifies to f(x)=x\boxed{f(x)=x}, easy to verify that both are solutions.