Solution by jasperE3.
f(f(x)2+f(xy))=x2+xy.
P(1,x)⇒f(f(1)2+f(x))=1+x so f is bijective.
P(0,0)⇒f(f(0)2+f(0))=0.
P(f(0)2+f(0),1)⇒f(0)=(f(0)2+f(0))2+f(0)2+f(0), the only real solution is f(0)=0.
P(x,0)⇒f(f(x)2)=x2⇒f−1(x)2=f(x2).
So for all x=0, we have f−1(x)=0 and so.
P(f−1(x),f−1(x)f(y)2)⇒f(x2+y2)=f(x2)+f(y)2.
Using #183, since f≡0 isn’t a solution we must have f(x)=x for all x≥0, and f(x)∈{−x,x} for each x. If f(k)=−k for some k<0 then it would imply f(k)=f(−k) which contradicts injectivity. So f(x)=x for all x.