Problem

Source: IZHO 2017 Day 1 Problem 2

Tags: functional equation, function, algebra



Find all functions $f:R \rightarrow R$ such that $$(x+y^2)f(yf(x))=xyf(y^2+f(x))$$, where $x,y \in \mathbb{R}$