Q. Let $f(x)=x^{2}+a x + b \,\cos\, x$, a being an integer and $b$ is a real number. Find the number of ordered pairs $(a, b)$ for which the equations $f(x)=0$ and $f(f(x))=0$ have the same (nonempty) set of real roots
Relations and Functions - Part 2
Solution: