I am attempting to perform what is described in my notes as a "Mittag-Leffler Expansion", but first I must prove that this expansion is valid.
Given that
$$ f(z) = \frac{1}{\sin{z}} - \frac{1}{z}$$
Let $C$ be the positively oriented boundary of the rectangle $-\left(n+\frac{1}{2}\right)\pi \le x \le \left(n+\frac{1}{2}\right)\pi$, $-n\pi \le y \le n\pi$, where $z= x + iy$. Show that $|\sin(z)| = \mathcal{O}(e^{|n|\pi})$ on the top and bottom, and so $f(z) = \mathcal{O}\left(\frac{1}{n}\right)$ there. Show also that $|\sin(z)| = \cosh(y)$ on the sides, use this to bound $| f(z) |$ by a constant there, and so bound $|f(z)|$ by a constant along the entire $C$.
My work:
I was able to prove that $|\sin(z)| = \cosh(y)$ on the sides.
I got that $|\sin(z)| = \sinh(y)$ on the top and bottom by the following $$\lvert \sin(x+iy)\rvert = \lvert \frac{e^{-i(x+iy)}-e^{i(x+iy)}}{2} \rvert \le \frac{e^{|y|}-e^{-|y|}}{2} = \sinh(y) = \sinh(|n|\pi)$$
I am unsure if this is correct, as I am unsure what the script $\mathcal O$ means. I also do not see how I am supposed to "bound $| f(z) |$ by a constant", as $\cosh(y)$ is not bounded as $y$ approaches $\infty$.