Problem

Source: Swiss Imo Selection 2006

Tags: function, algebra, domain, limit, algebra proposed



Find all the functions $f : \mathbb{R} \to \mathbb{R}$ satisfying for all $x,y \in \mathbb{R}$ $f(f(x)-y^2) = f(x)^2 - 2f(x)y^2 + f(f(y))$.