Find all $f:\mathbb{R} \rightarrow \mathbb{R}$ s.t $$f(x^2+f(y))=(x-y)^2f(x+y)$$
I don't want people to solve this one for me I'd just like to know whether one of my steps is legitimate.
So I put $x=y$ and got $f(x^2+f(x))=0$.
Putting $y=-x$ I got $f(x^2+f(-x))=(2x)^2f(0)$
So my question is this as $(-x)^2=x^2$, can I use the first equation to imply that the second R.H.S is equal to $0$.
Any help would be greatly appreciated.
Yes you can by replacing $x$ with $-x$ in the first equation to get $f(x^2 + f(-x))$ and then noting that this is the LHS of the second equation.