Find how many roots of $z^5+2z^2+7z+1=0$ lie inside $|z|=2$? How many are real?
Let $f(z)=z^5+2z^2+7z+1$, and $g(z)=z^5$. For $|z|=2,$ we note that $$ |f(z)-g(z)|\leq2|z|^2+7|z|+1=23<32=2^5=|g(z)|. $$ Since $g$ has $5$ zeros in $|z|\leq 2$, Rouche's theorem implies that $f$ also has $5$ zeros lie inside $|z|=2$.
However, I have no idea to find how many of them are real. Can anyone tell me how to do it? Thanks.
A plot of $f(z)$ for $z$ from $-2$ to $2$ will make it obvious how many are real. If you want to be rigorous, show that $f(z)$ is increasing on this interval with $f(-2) < 0$ and $f(2) > 0$. Or use Sturm's theorem.