TITLE: Is $\sin z/z$ analytic at the origin?
QUESTION [5 upvotes]: For $z\in\Bbb C$ let
$$
f(z) = \frac{\sin z}{z}
$$
Along the real line this is well behaved, and approaches $1$ as $z\to 0$.
But is $f(z)$ analytic at the origin ($z=0$)?
I tried explicitly checking the Cauchy conditions but that gets ugly (unless I am missing something).
The function I was originally interested in is
$$
g(z) = z\,\sin\left( \frac{1}{z} \right)
$$
which my gut tells me must not be analytic at the origin, but is the singularity essential or a pole, or the end of a branch cut or something even uglier?

REPLY [4 votes]: Since
$$
\sin z=\sum_{k\ge0}\frac{(-1)^k}{(2k+1)!}\,z^{2k+1}
$$
we have, for $z\ne0$,
$$
\frac{\sin z}{z}=\sum_{k\ge0}\frac{(-1)^k}{(2k+1)!}\,z^{2k}
$$
Since this power series has radius of convergence infinite, it defines an entire function, which is an analytic continuation of $(\sin z)/z$ at $0$, where it has the value $1$.
So, as written, $(\sin z)/z$ is not analytic at $0$, because it's not defined there, but $0$ is a removable singularity.
For $z\sin(1/z)$ you can use the same series:
$$
z\sin\frac{1}{z}=\sum_{k\ge0}\frac{(-1)^k}{(2k+1)!}\,z^{-2k}
$$
which holds for $z\ne0$. This is the Laurent series for the analytic function $z\sin(1/z)$ at $0$ and it shows the singularity is essential, because the Laurent series at a pole has only a finite number of terms with $z$ having negative exponent.