#258

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by p_square and Supercali.


We claim the only solutions are f(x)≡xf(x)\equiv x and f(x)≡0f(x)\equiv 0, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(x2+yf(x))=xf(x)+xf(y)f(x^2+yf(x))=xf(x)+xf(y).


P(0,0)  ⟹  f(0)=0P(0,0) \implies f(0) = 0.

P(x,0)  ⟹  f(x2)=xf(x)P(x,0) \implies f(x^2) = xf(x) which further tells us that f(x)=−f(−x)f(x) = -f(-x).

If f(x)=0,x≠0f(x) = 0, x \neq 0, P(x,y)  ⟹  0=xf(y)P(x,y) \implies 0 = xf(y) and ff is constant 00 which is one function. We now assume ff isn’t constant.

P(x,−yf(x))+P(x,yf(x))  ⟹  f(x2−y)+f(x2+y)=2xf(x)=2f(x2)P(x,-\frac{y}{f(x)}) + P(x,\frac{y}{f(x)}) \implies f(x^2 - y) + f(x^2 + y) = 2xf(x) = 2f(x^2).

For z>0,f(z−y)+f(z+y)=2f(z)=f(2z)+f(0)=f(2z)z>0, f(z-y) + f(z+y) = 2f(z) = f(2z) + f(0) = f(2z). From oddness, this follows for negatives too, and ff is additive.


We have f((x+1)2)=(x+1)f(x+1)f((x+1)^2)=(x+1)f(x+1)   ⟹  f(x2)+2f(x)+f(1)=xf(x)+f(x)+xf(1)+f(1)\implies f(x^2)+2f(x)+f(1)=xf(x)+f(x)+xf(1)+f(1)   ⟹  f(x)=xf(1)\implies f(x)=xf(1)

for all xx. Substituting in the original, we get f(1)=0f(1)=0 or 11, which gives the required solutions.