Given $f(x)=x^3-12x+3$, find number of real solutions of $f(f(x))=0$.
My Try: Since $f(x)$ is having three real toots say $\alpha$, $\beta$ and $\gamma$, we have $$f(f(\alpha))=f(f(\beta))=f(f(\gamma)) =f(3).$$
Hence by Rolles theorem $\exists$ atleast one $c $ such that $f'(c)=0$
But how to count number of roots?
Hint: What matters are the critical points and values. Thus you could first locate where $f'$ vanishes and the values at those points. The critical points cuts ${\Bbb R}$ into three intervals on which $f$ is monotone, now find the image of each such interval and convince yourself that each image contains the three roots of $f$, i.e. all in all there are 9 real solutions.