Solution by jasperE3.
f(xf(x)+f(xy))=f(x2)+yf(x).
Note that f(x)=0 is a solution, any other solution must have some j such that f(j)=0.
P(j,x)⇒f(jf(j)+f(jx))=f(j2)+xf(j), and f(j2)+xf(j) can take any real value so f is surjective. If f(1)=0 we have:
P(1,x)⇒f(f(x))=0, and in particular there is some x such that f(x)=j, so f(j)=0. This is clearly a contradiction, so we cannot have f(1)=0.
If f(a)=f(b):
f(1)+af(1)=P(1,a)f(f(1)+f(a))=f(f(1)+f(b))=P(1,b)f(1)+bf(1),
so a=b (since f(1)=0), that is, f is injective.
P(−1,1)⇒f(0)=f(1)+f(−1).
P(1,−1)⇒f(f(0))=0.
P(0,0)⇒f(0)=0.
P(x,0)⇒f(xf(x))=f(x2)⇒xf(x)=x2, so f(x)=x for all x=0. Combined with f(0)=0 this implies f(x)=x for all x.