Let $f(z)$ be analytic in the whole plane, and suppose that $f(z)$ has a nonessential singularity at $\infty$, Prove that $f(z)$ reduces to a polynomial.
My Thoughts so far :
Since $\infty $ is not an essential singularity of $f$ one of the following can happen
1) $\lim_{z \rightarrow \infty} f(z) = \infty $ ($\infty$ is a pole of finite order)
or
2) $\lim_{z \rightarrow \infty} f(z) = a \in \mathbb{C} $ ($\infty$ is a removable singularity)
Because $f$ has no poles , 2) implies that $f(z)=c, $ and we are done.
But in case 1) should I try to somehow show that $f^{(n)}(a)$ vanishes for some $n \in \mathbb{N}$ and for all integers $k > n$ ? Cauchy's estimate seems not to be helpful .
On the other hand, we can say that the behavior of $g(z)=f(\frac{1}{z})$ around zero is the same as the behavior of $f(z)$ at $\infty$ and Because $\infty$ is a pole of finite order, Can I say that $g(z)=\frac{h(z)}{z^k}$, where $\lim_{z \rightarrow 0} h(z) \neq 0 \ \ \ $ AND ? $ \ \ \ \lim_{z \rightarrow 0} h(z) \neq \infty $ Hence
$f(z)=g(\frac{1}{z})=z^kh(\frac{1}{z})$
According to above , Can we conclude that $f(z)$ is a polynomial ?
Thank you in advance.