Problem

Source: Shortlist BMO 2019, A2

Tags: functional equation, algebra, AZE IMO TST, BMO Shortlist



Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that \[ f(xy) = yf(x) + x + f(f(y) - f(x)) \]for all $x,y \in \mathbb{R}$.