Problem

Source: India Postal Set 1 P2 2016

Tags: function, functional equation, algebra



Determine all functions $f : \mathbb R \to \mathbb R$ such that $$f(f(x)- f(y)) = f(f(x)) - 2x^2f(y) + f\left(y^2\right),$$for all reals $x, y$.