Problem

Source: Middle European Mathematical Olympiad I-1

Tags: function, algebra, functional equation, fe, memo, memo 2014, Reals



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