Solution by jasperE3.
f(f(x)2+f(y)2)=x2+f(y)2.
From P(x,0) and P(0,x) we have f(x)2=x2+f(0)2.
Applying this to P(0,0) we have:
f(2f(0)2)2=f(0)2⇒4f(0)4+f(0)2=f(0)4⇒f(0)=0.
So f(x)∈{−x,x}. Original equation now implies f(x2+y2)=x2+y2, i.e. f(x)=x for all x≥0 so our solutions are
f(x)={xxe(x)if x≥0if x<0
where e:R−→{−1,1} is any function, these do satisfy the equation.