How many roots does the equation $f(z)=z$ have in the circle $|z|<1$ if for $|z|\leq 1$, $f(z)$ is analytic and satisfies $|f(z)|<1$?
My idea: I figured I could do this pretty easily using Rouche: Consider $|z|=1$, and let $g(z)=z$, then $|f(z)-g(z)|=z-z=0<1=|g(z)|$. So, since $g$ has only $1$ root in $|z|<1$, then so does $f$.
I just feel like I am missing something. In particular, can I define $g$, and use it, in the way I did? Any thoughts are greatly appreciated! Thank you.
Let $h(z) = f(z)-z$, $g(z) = z$, then for $|z|=1$ we have $|h(z)+g(z)| = |f(z)| < 1 = |g(z)|$, hence $h,g$ have the same number of zeroes inside the circle. Since $g$ has exactly one zero, so does $h$.