Problem

Source: Iran TST 2008

Tags:



Find all functions $ f: \mathbb R\longrightarrow \mathbb R$ such that for each $ x,y\in\mathbb R$: \[ f(xf(y)) + y + f(x) = f(x + f(y)) + yf(x)\]