#335

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

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

for all x,y∈Rx,y\in\mathbb R.

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

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

Comparing, we obtain f(x)2=x2+f(0)2f(x)^2=x^2+f(0)^2, so:

x4+f(0)2x2+f(0)2=x2f(x)2+f(0)2=f(xf(x))2=(x2+f(0)2)2=x4+2f(0)2x2+f(0)4\begin{align*} x^4+f(0)^2x^2+f(0)^2&=x^2f(x)^2+f(0)^2\\ &=f(xf(x))^2\\ &=\left(x^2+f(0)^2\right)^2\\ &=x^4+2f(0)^2x^2+f(0)^4 \end{align*}

which implies f(0)=0f(0)=0. Hence f(x)2=x2+f(0)2f(x)^2=x^2+f(0)^2 implies f(x)∈{−x,x}f(x)\in\{-x,x\} for each xx.

Suppose there are some a,b≠0a,b\ne0 with f(a)=af(a)=a and f(b)=−bf(b)=-b.

P(a,b)⇒f(a2−b2)=a2+b2P(a,b)\Rightarrow f\left(a^2-b^2\right)=a^2+b^2, if f(a2−b2)=a2−b2f\left(a^2-b^2\right)=a^2-b^2 we have b=0b=0 whereas if f(a2−b2)=b2−a2f\left(a^2-b^2\right)=b^2-a^2 then a=0a=0, contradiction.

Therefore we either have that for all x≠0x\ne0, f(x)=xf(x)=x, or that for all x≠0x\ne0, f(x)=−xf(x)=-x. These give the solutions f(x)=−x\boxed{f(x)=-x} and f(x)=x\boxed{f(x)=x} which fit.