Problem

Source: Shortlist BMO 2018, A5

Tags: functional equation, algebra, polynomial



Let $f: \mathbb {R} \to \mathbb {R}$ be a concave function and $g: \mathbb {R} \to \mathbb {R}$ be a continuous function . If $$ f (x + y) + f (x-y) -2f (x) = g (x) y^2 $$for all $x, y \in \mathbb {R}, $ prove that $f $ is a second degree polynomial.