#318

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

Claim: f(0)=0f(0)=0.

Suppose otherwise.

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

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

P(−x,0)⇒f(x2+f(0))=−xf(−x)−xf(0)P(-x,0)\Rightarrow f\left(x^2+f(0)\right)=-xf(-x)-xf(0), so for all x≠0x\ne0 we have f(x)+f(−x)+2f(0)=0f(x)+f(-x)+2f(0)=0.

In particular, f(−f(0))=−2f(0)f(-f(0))=-2f(0) and f(1)+f(−1)+2f(0)=0f(1)+f(-1)+2f(0)=0.

P(f(0),1)⇒f(f(0)2)=f(0)f(1)P(f(0),1)\Rightarrow f\left(f(0)^2\right)=f(0)f(1).

P(−f(0),−1)⇒f(f(0)2)=2f(0)2−f(0)f(−1)P(-f(0),-1)\Rightarrow f\left(f(0)^2\right)=2f(0)^2-f(0)f(-1).

Subtracting these, f(0)f(1)+f(0)f(−1)=2f(0)2f(0)f(1)+f(0)f(-1)=2f(0)^2. Now we can divide by f(0)f(0) to get f(1)+f(−1)=2f(0)f(1)+f(-1)=2f(0), but this contradicts f(1)+f(−1)+2f(0)=0f(1)+f(-1)+2f(0)=0.

Using the claim, if f(k)=0f(k)=0 for some k≠0k\ne0 then for all x≠0x\ne0:

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

P(x,kx)⇒f(x2)=xf(x)+xf(kx)P\left(x,\frac kx\right)\Rightarrow f\left(x^2\right)=xf(x)+xf\left(\frac kx\right), so f(kx)=0f\left(\frac kx\right)=0 which implies f(x)=0f(x)=0 for all x≠0x\ne0 and so f(x)=0\boxed{f(x)=0} for all xx which is indeed a solution.

Otherwise, assume f(x)≠0f(x)\ne0 for all x≠0x\ne0. From f(x2)=xf(x)f\left(x^2\right)=xf(x) we get that ff is odd, so:

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

Hence, f(x)=xf(x)=x for all x≥0x\ge0, and since ff is odd, f(x)=x\boxed{f(x)=x} for all xx.