Complex Analysis/Residue Theory/A More "Complex" Solution
There is a much more general, more lovely, all-pole encompassing formula for determining residues. We start off by examining the Laurent series of a function:
And when examining the expansion we note that if we want the residue of the simple pole of a function, we want the coefficient . The second order pole, , and so on. In order to really see what's going on in the formula, it's best to look at the expansion:
Say we want the residue of from a function with a 2nd-order pole about that point, we first multiply by :
We now want to isolate the term, so we take a derivative:
Now if we evaluate at , the remaining terms will be zero, thus:
gets us the residue, from repeating this same procedure the general formula can be obtained quite easily.
The Residue Formula
Where is the point about which the residue is to be found, is the function.
There are some extra terms placed into this formula that weren't discussed above. The factorial eliminates the extra multiplied terms from the derivatives, and the limit deals with issues caused by a removable singularity.