Problem

Source: Turkey NMO 2012

Tags: function, algebra, functional equation, algebra proposed



Find all non-decreasing functions from real numbers to itself such that for all real numbers $x,y$ $f(f(x^2)+y+f(y))=x^2+2f(y)$ holds.