Problem

Source: 2024 Korea Summer Program Practice Test Junior P1

Tags: algebra



Find all $f:\mathbb{R}\rightarrow \mathbb{R}$ such that the equation $$f(x^2+yf(x))=(1-x)f(y-x)$$holds for all $x,y\in\mathbb{R}$.