#238

solved

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

f(x2+xf(y))=xf(x)+xf(y)f(x^2 + xf(y)) = xf(x) + xf(y)

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(x2+xf(y))=xf(x)+xf(y)f\left(x^2+xf(y)\right)=xf(x)+xf(y).

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

P(x,0)⇒f(x2)=xf(x)P(x,0)\Rightarrow f\left(x^2\right)=xf(x) so ff is odd.

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

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

If f(1)≠1f(1)\ne1, this simplifies to f(x)=0\boxed{f(x)=0} which is indeed a solution. Otherwise, assume f(1)=1f(1)=1.

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

P(−x−f(y),y)⇒f(x2+xf(y))=(x+f(y))f(x+f(y))−xf(y)−f(y)2P(-x-f(y),y)\Rightarrow f\left(x^2+xf(y)\right)=(x+f(y))f(x+f(y))-xf(y)-f(y)^2.

Comparing with P(x,y)P(x,y), we obtain:

(x+f(y))f(x+f(y))=xf(x)+2xf(y)+f(y)2.(x+f(y))f(x+f(y))=xf(x)+2xf(y)+f(y)^2.

Set y=−xy=-x, this becomes:

(x−f(x))f(x−f(x))=f(x)2−xf(x),(x-f(x))f(x-f(x))=f(x)^2-xf(x),

so f(x−f(x))=−f(x)f(x-f(x))=-f(x) for all xx such that f(x)≠xf(x)\ne x.

In particular, if f(x)≠xf(x)\ne x then x≠0x\ne0 and so:

P(x,1)⇒f(x2+x)=xf(x)+x≠x2+xP(x,1)\Rightarrow f\left(x^2+x\right)=xf(x)+x\ne x^2+x and f(x2)=xf(x)≠x2f\left(x^2\right)=xf(x)\ne x^2 so substituting x2x^2 and x2+xx^2+x into f(x−f(x))=−f(x)f(x-f(x))=-f(x) we have:

x2⇒f(x2−xf(x))=−xf(x),x^2\Rightarrow f\left(x^2-xf(x)\right)=-xf(x), x2+x⇒f(x2−xf(x))=−xf(x)−x.x^2+x\Rightarrow f\left(x^2-xf(x)\right)=-xf(x)-x.

Comparing, we obtain x=0x=0, contradiction.

Therefore no such xx exists, so we must have f(x)=x\boxed{f(x)=x} for all xx.