Solution by jasperE3.
f(x2+f(x)f(y))=x2+f(xy).
Solutions are f(x)=∣x∣ and f(x)=x, both can be checked to satisfy the equation.
P(x,0)⇒f(x2+f(x)f(0))=x2+f(0), so [f(0),∞)⊆f(R).
If f(0)<0, this implies that there is some k with f(k)=0, and such a k cannot be 0 itself since f(0)=0. So:
P(k,x)⇒f(k2)=k2+f(kx), so f is constant, but there are no constant solutions.
Therefore f(0)≥0.
P(0,x)⇒f(f(0)f(x))=f(0), so f(xf(0))=f(0) for all x≥f(0).
For x≥0 we have:
P(xf(0),0)⇒f(x2f(0)2+f(0)2)=x2f(0)2+f(0)⇒f(0)=x2f(0)2+f(0) (since x2f(0)+f(0)≥f(0)), and since this is true for all such x we must have f(0)=0.
P(x,0)⇒f(x2)=x2, so f(x)=x for all x≥0.
P(x,x)⇒f(x2+f(x)2)=x2+f(x2)⇒x2+f(x)2=2x2, so f(x)∈{−x,x} for each x.
It remains to consider whether f(x)=−x or f(x)=x for x<0.
If f(−k)=k for some k>0, then recall f(k)=k.
P(x,k)⇒f(x2+kf(x))=x2+f(xk).
P(x,−k)⇒f(x2+kf(x))=x2+f(−xk).
Comparing, we have f(xk)=f(−xk) so (since k=0) f is even, our solution in this case is f(x)=∣x∣.
Otherwise, f(−x)=−x for all x>0 and our solution is f(x)=x.