Problem

Source: Iran TST 2007, Day 1

Tags: algebra proposed, algebra



Find all solutions of the following functional equation: \[f(x^{2}+y+f(y))=2y+f(x)^{2}. \]