Find all function $ f: \mathbb{R} \rightarrow \mathbb{R}$ such that \[ f(x + y)(f(x) - y) = xf(x) - yf(y) \] for all $ x,y \in \mathbb{R}$.
Source: Indonesia TST 2009 Second Stage Test 3 P3
Tags: function, algebra proposed, algebra
Find all function $ f: \mathbb{R} \rightarrow \mathbb{R}$ such that \[ f(x + y)(f(x) - y) = xf(x) - yf(y) \] for all $ x,y \in \mathbb{R}$.