I was reading John Milnor's Topology from the Differentiable Viewpoint and there's a proof of the fundamental theorem of algebra at the end of the first chapter that I don't fully understand. I can post a picture if anyone asks for it, it's less than a page, but the book can be easily googled.
What I don't get is the final parragraph. He defines $f$ by $$f(z)=h_+^{-1}Ph_+$$
Being $h_+$ the north stereographic projection, and $P$ a non constant polynomial of arbitrary degree.
He then says:
Observe that $f$ has only a finite number of critical points, for $P$ fails to be a local diffeomorphism only at the zeros of the derivative $P'=\sum a_{n-j}jz^{j-1}$ and there are only finitely many zeros since $P'$ is not identically zero.
Ok, so for $f$ to have a finite number of critical points, $df=P'$ must vanish in a finite number of points. I see that $P'$ must vanish in a finite number of points, but I don't really see why he talks about it failing to be a local diffeomorphism.
Then it follows:
Therefore the set of all regular values on the sphere is connected. Hence the locally constant function $\#f^{-1}(y)$ must be constant on the full set. Since $\#f^{-1}$ can't be zero everywhere, then it's zero nowhere. Thus $f$ is an onto maping, and $P$ must have a zero.
The second sentence bugs me probably from a lack of knowledge in general topology. If a function is locally constant, and we have a connected set, must it be constant on the set? I can intuitively see that and actually prove it for some cases.