Problem

Source: 2024 IMOC A4 (Boring Competition P2)

Tags: algebra, functional equation



find all function $f:\mathbb{R} \to \mathbb{R}$ such that \[f(x^3-xf(y)^2)=xf(x+y)f(x-y)\]holds for all real number $x$, $y$. Proposed by chengbilly