Find all functions $f:\mathbb R\to\mathbb R$ such that $$f\left(x^2-y^2\right)=(x-y)\big(f(x)+f(y)\big)\text.$$
I have derived these clues:
- $f(0)=0$;
- $f(x^2)=xf(x)$;
- $f(x)=-f(-x)$.
But now I am confused. I know solution will be $f(x)=x$, but I don't know how to prove this.