I'm doing my homework for my Complex Analysis class and I'm asked to solve a definite integral of $\frac{xdx}{\sinh(x)}$. This is not a problem for me, however the problem tells us directly that there is a simple pole at $i\pi$ and I want to know why with certainty. I understand that $\sinh(x)$ is in the denominator and a value of $i\pi$ for $x$ will make the denominator zero however, the $x$ in the numerator makes me skeptical of whether this is a real singularity or if it is removable.
Additionally I thought to rewrite the function as $xcsch(x)$ and by expanding $csch(x)$ with a power series of $x^{-1} - \frac {x} {6} +\frac {7x^3} {360} -\frac {31x^5} {15120} + \cdots = x^{-1} + \sum_{n=1}^\infty \frac{ 2 (1-2^{2n-1}) B_{2n} x^{2n-1}}{(2n)!}$. This would make the function $1 - \frac {x^2} {6} +\frac {7x^4} {360} -\frac {31x^6} {15120} + \cdots$. In general, I believe my book but would like to understand for myself and am failing to understand why.
You can see it, for example, by shifting the function to $0$ setting $x=w+i\pi$.
So, using the addition theorem $\sinh(x+y)= \sinh x\cosh y + \cosh x \sinh y$ you get
$$g(w) = \frac{w+i\pi}{\sinh (w+i\pi)}= \frac{w+i\pi}{-\sinh w}=-\frac{w}{\sinh w}-\frac{i\pi}{\sinh w}$$
Obviously $g$ has a simple pole at $w=0$, hence the function we started with has a simple pole at $x=i\pi$.