Problem

Source:

Tags: algebra, trigonometry



Let $f(x) = x^2 + ax + b cos x$. Find all values of parameter$ a$ and $b$, for which the equations $f(x) = 0$ and $f(f(x)) = 0 $have the same non-empty sets of real roots.