#404

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


We solve the general equation f(g(x)+yf(x))=xf(x)+f(xy)f(g(x)+yf(x))=xf(x)+f(xy).


If f(k)=0f(k)=0 for some kk:

P(k,x)⇒f(g(k))=f(kx)P(k,x)\Rightarrow f(g(k))=f(kx), so ff is constant, only solution f(x)=0\boxed{f(x)=0} which fits.

Otherwise assume f(x)≠0f(x)\ne0 for all x≠0x\ne0.


If f(k)≠kf(k)\ne k for some kk:

P(k,g(k)k−f(k))⇒kf(k)=0P\left(k,\frac{g(k)}{k-f(k)}\right)\Rightarrow kf(k)=0.

If k≠0k\ne0 then f(k)=0f(k)=0 so k=0k=0, contradiction. Only option is k=0k=0, we’re left with f(x)=xf(x)=x for all x≠0x\ne0.


For x≠0x\ne0:

P(x,0)⇒f(g(x)+xy)=x2+f(0)P(x,0)\Rightarrow f(g(x)+xy)=x^2+f(0) so (f(0),∞)⊆f(R)(f(0),\infty)\subseteq f(\mathbb{R}).

P(x,−g(x)f(x))⇒f(−xg(x)f(x))=−x2+f(0)P\left(x,-\frac{g(x)}{f(x)}\right)\Rightarrow f\left(-\frac{xg(x)}{f(x)}\right)=-x^2+f(0) so (−∞,f(0))⊆f(R)(-\infty,f(0))\subseteq f(\mathbb{R})

so ff is surjective (since f(0)∈f(R)f(0)\in f(\mathbb{R})), and therefore f(k)=0f(k)=0 for some kk so k=0k=0 and our solution is f(x)=x\boxed{f(x)=x}.