Find the number of roots of $f(z)=z^6-5z^4+3z^2-1$ in $|z|\leq 1$
Taking $g(z)=1$ would be the obvious choice, but it's not the right one. The next choice would be $z^6-1$ because we know the roots of unity, that doesn't work either. Am I missing something obvious? $g(z)=-5z^4$ would work, but then I'd have to expand this and I'm pretty sure the point of the theorem is to avoid Mathematica!
Any insight is appreciated.
If you choose $g(z) = -5z^4+ 3z^2$ and $f(z) = z^6-1$, then $|f(z)| \le 2$ and $|g(z)| \ge 2$ on $|z| = 1$. Moreover, on $|z|=1$ we have $|g(z)| = 2$ only at $\pm 1$ and $|f(1)| = |f(-1)| = 0 < 2$. Thus, Rouché's theorem applies and you need only count the roots of $z^2(-5z^2+3)$ within $|z|=1$.