Problem

Source: Russian TST 2014, Day 11 P3 (Group NG), P4 (Groups A & B)

Tags: algebra, functional equation



Find all functions $f : \mathbb{R}\to\mathbb{R}$ such that $f(0) = 0$ and for any real numbers $x, y$ the following equality holds \[f(x^2+yf(x))+f(y^2+xf(y))=f(x+y)^2.\]