#768

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

Case 1: f(1)≠0f(1)\ne0

P(1,x)⇒f(2f(x))=f(x)+xf(1)P(1,x)\Rightarrow f(2f(x))=f(x)+xf(1), so ff is injective.

P(x,y),P(y,x)⇒f(xf(y)+f(xy))=xf(y)+yf(x)=f(yf(x)+f(xy))P(x,y),P(y,x)\Rightarrow f(xf(y)+f(xy))=xf(y)+yf(x)=f(yf(x)+f(xy)) so by injectivity xf(y)=yf(x)xf(y)=yf(x) for all xx. Setting y=1y=1 and testing, we have the only solution in this case f(x)=x\boxed{f(x)=x}.

Case 2: f(1)=0f(1)=0

Suppose there is some jj with f(j)≠0f(j)\ne0.

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

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

P(1f(j),f(j))⇒f(1f(j))=−1f(j)P\left(\frac1{f(j)},f(j)\right)\Rightarrow f\left(\frac1{f(j)}\right)=-\frac1{f(j)}.

Plugging this into f(f(x))=f(x)f(f(x))=f(x), we have f(−1f(j))=−1f(j)f\left(-\frac1{f(j)}\right)=-\frac1{f(j)}.

P(−1,1f(j))⇒f(−1)=−1P\left(-1,\frac1{f(j)}\right)\Rightarrow f(-1)=-1.

P(−1,−1f(j))⇒f(−1)=1P\left(-1,-\frac1{f(j)}\right)\Rightarrow f(-1)=1.

Contradiction. Since no such jj exists, f(x)=0\boxed{f(x)=0} for all xx which is indeed a solution.