#217

solved

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

f(x2+f(y2))=x2+y2f(x^2 + f(y^2)) = x^2 + y^2

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(x+f(y))=x+yf(x+f(y))=x+y for x,y≥0x,y\ge0.

We claim the solutions are of the form f(x)={xif x≥0g(x)if x<0\boxed{f(x)=\begin{cases}x&\text{if }x\ge0\\g(x)&\text{if }x<0\end{cases}} where g:(−∞,0)→Rg:(-\infty,0)\to\mathbb{R} any function. Easy to verify that they work, so we just need to show that assuming the original equation, f(x)=xf(x)=x for all x≥0x\ge0.

Fix x≥0x\ge0, if y≥max⁡{f(x),f(0)}y\ge\max\{f(x),f(0)\} then:

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

P(y−f(0),0)⇒f(y)=y−f(0)P(y-f(0),0)\Rightarrow f(y)=y-f(0).

so comparing, f(x)=x+f(0)f(x)=x+f(0) for all x≥0x\ge0. It remains to prove that f(0)=0f(0)=0.

Take x≥max⁡{0,−f(0)}x\ge\max\{0,-f(0)\}, we have:

P(0,x)⇒f(f(x)=x⇒f(x+f(0))=x⇒x+2f(0)=x,P(0,x)\Rightarrow f(f(x)=x\Rightarrow f(x+f(0))=x\Rightarrow x+2f(0)=x,

and we have the result, so f(x)=xf(x)=x for all x≥0x\ge0 as desired.