Find all functions $ f: \mathbb R \to \mathbb R $ such that for all reals $ x $ and $ y $, $$ ( x + y ) \big( f ( x ) - f ( y ) \big) = ( x - y ) f ( x + y ) \text . $$
I actually got the answer by guessing and checking, $ f ( x ) = a x ^ 2 + b x $, but I want to see the solution. My friend suggested surjectivity but I don't see how to continue.
$ f ( x ) = f \left( \frac x { f ( x ) ^ 2 } \right) $; this is what I just got.
The answer is correct, just need a solution. Thanks!