I'm trying to compute the residue of the following function at $a$. I'm having a little trouble seeing which poles are relevant:
Compute $\,Res_f(a)$ for the following function: $$f(z) = \frac{1}{(z - a)^3}\ \tanh z $$
What I'm confused about is the ambiguity surrounding $a$. Indeed, there is a pole of order 3 at $a$, but since $a$ isn't clearly defined, couldn't $a$ assume a value whereby there's a pole in $\tanh z = \frac{sinh\, z}{cosh\, z}$, in addition to the pole already caused by the $\frac{1}{(z-a)^3}$ term? Initially, I just assumed I could use the residue derivative formula, but even then, things get a bit hairy with the second derivative of $\tanh z$.
Should I just assume that $a$ never achieves a value that would put a pole in the denominator of $\tanh z$ and use the derivative formula to compute the residue of a third order pole at $a$?
You have no need to split $\tanh z$. When it will given that $\tanh z$ has a pole at $z=a$ then you split this & test the residue.
$$Res(f;a)=\frac{1}{2!}\frac{d^2}{dz^2}\left((z-a)^3f((z)\right)$$
$$=\frac{1}{2}\left[\frac{d^2}{dz^2}(\tanh z)\right]_{z=a}$$
$$=\frac{1}{2}\left[-2.sech^2 z.\tanh z\right]_{z=a}$$
$$=-sech^2a.\tanh a$$