#179

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by Anonymous/alexander.


Clearly the functions f(x)=cxf(x) = cx work, so we prove that they are the only ones.

Let P(x,y)P(x,y) denote the assertion f(x2+y2)=xf(x)+yf(y)f(x^2 + y^2) = xf(x) + yf(y).

P(x,0):f(x2)=xf(x)P(x, 0): f(x^2) = xf(x).

P(x,y):f(x2+y2)=xf(x)+yf(y)=f(x2)+f(y2)P(x,y): f(x^2+y^2) = xf(x)+yf(y) = f(x^2) + f(y^2).

By f(x2)=xf(x)f(x^2) = xf(x) we can easily see that f(0)=0f(0) = 0 and f(−x)=−f(x)f(-x) = -f(x) for nonzero xx, so ff is odd. With the second equation, we can also see that ff is additive. Therefore

f((x+1)2)=(x+1)f(x+1)  ⟺  f(x2)+f(2x)+f(1)=xf(x)+xf(1)+f(x)+f(1)  ⟺  xf(x)+2f(x)+f(1)=xf(x)+xf(1)+f(x)+f(1)  ⟺  f(x)=xf(1).\begin{aligned} f((x+1)^2) &= (x+1)f(x+1) \\ \iff f(x^2) + f(2x) + f(1) &= xf(x) + xf(1) + f(x) + f(1) \\ \iff xf(x) + 2f(x) + f(1) &= xf(x) + xf(1) + f(x) + f(1) \\ \iff f(x) &= xf(1) \end{aligned}.

Therefore f(x)=cxf(x) = cx for some constant cc.