Ok, what about the case of, say, latex z = \frac{\pi}{2}} $? One way: note can be evaluated by L’Hopital’s rule which leads to and note how the product rule lead to the numerator being what it was. In general, if we are interested in where The residue will be given by provided ; that is, provided has a zero of order 1 at

Many residue calculation theorems work in such a manner.

In general, if has a pole of order at then so if we multiply both sides by and then differentiate repeatedly and focus on the residue: gets differentiated times to yield so

Example: has a pole of order 2 at the origin. So the residue: which is at . That is simpler than calculating the series.

There are many other formulas that we could develop but most are some combination of the ideas that we just discussed. And sometimes, it is best to just grit your teeth and calculate the series.