Problem

Source: 2021 Grand Duchy of Lithuania, Mathematical Contest p1 (Baltic Way TST) https://artofproblemsolving.com/community/c1321893_grand

Tags: algebra, polynomial



Prove that for any polynomial $f(x)$ (with real coefficients) there exist polynomials $g(x)$ and $h(x)$ (with real coefficients) such that $f(x) = g(h(x)) - h(g(x))$.