Solution by jasperE3.
Let P(x,y) denote
f(2f(x)f(y))=xf(y)+yf(x).
The zero function is a solution. Now assume f is not identically zero, and choose j such that f(j)=0.
If f(a)=f(b), then comparing P(j,a) and P(j,b) gives a=b, so f is injective. From P(1/2,1/2),
f(2f(1/2)2)=f(1/2),
so injectivity gives 2f(1/2)2=1/2, hence f(1/2)=±1/2.
Also, f is a solution if and only if −f is a solution. It is enough to solve the case f(1/2)=1/2; the other sign will give the negative solution.
In this case, P(x,1/2) gives
f(f(x))=2x+f(x).
Next,
P(x,f(x)):f(xf(x)+f(x)2)=2x2+xf(x)+f(x)2,
and
P(f(x),f(x)):f(2x2+2xf(x)+f(x)2)=xf(x)+f(x)2.
Let
A=2x2+2xf(x)+f(x)2.
Applying P(A,1/2), equivalently the formula for f(f(A)), and using the previous displayed identity for f(A), we get
f(xf(x)+f(x)2)=2A+xf(x)+f(x)2.
Comparing this with the formula from P(x,f(x)) gives
(x−f(x))2=0.
Thus f(x)=x in the normalized case. Undoing the sign choice, the nonzero solutions are f(x)=x and f(x)=−x. Together with the zero function, the full answer is
f(x)≡0,f(x)=x for all x,f(x)=−x for all x.