Alternatively, residues can be calculated by finding Laurent series expansions, and one can define the residue as the coefficient a−1 of a Laurent series.
The concept can be used to provide contour integration values of certain contour integral problems considered in the residue theorem. According to the residue theorem, for a meromorphic function, the residue at point is given as:
The definition of a residue can be generalized to arbitrary Riemann surfaces. Suppose is a 1-form on a Riemann surface. Let be meromorphic at some point , so that we may write in local coordinates as . Then, the residue of at is defined to be the residue of at the point corresponding to .
makes most residue computations easy to do. Since path integral computations are homotopy invariant, we will let be the circle with radius going counter clockwise. Then, using the change of coordinates we find that
hence our integral now reads as
Thus, the residue of is 1 if integer and 0 otherwise.
If a function is expressed as a Laurent series expansion around c as follows:
Then, the residue at the point c is calculated as:
using the results from contour integral of a monomial for counter clockwise contour integral around a point c. Hence, if a Laurent series representation of a function exists around c, then its residue around c is known by the coefficient of the term.
Suppose a punctured diskD = {z : 0 < |z − c| < R} in the complex plane is given and f is a holomorphic function defined (at least) on D. The residue Res(f, c) of f at c is the coefficient a−1 of (z − c)−1 in the Laurent series expansion of f around c. Various methods exist for calculating this value, and the choice of which method to use depends on the function in question, and on the nature of the singularity.
where γ traces out a circle around c in a counterclockwise manner and does not pass through or contain other singularities within it. We may choose the path γ to be a circle of radius ε around c. Since ε can be as small as we desire it can be made to contain only the singularity of c due to nature of isolated singularities. This may be used for calculation in cases where the integral can be calculated directly, but it is usually the case that residues are used to simplify calculation of integrals, and not the other way around.
If that limit does not exist, there is an essential singularity there. If it is 0 then it is either analytic there or there is a removable singularity. If it is equal to infinity then the order is higher than 1.
It may be that the function f can be expressed as a quotient of two functions, , where g and h are holomorphic functions in a neighbourhood of c, with h(c) = 0 and h'(c) ≠ 0. In such a case, L'Hôpital's rule can be used to simplify the above formula to:
More generally, if c is a pole of order n, then the residue of f around z = c can be found by the formula:
This formula can be very useful in determining the residues for low-order poles. For higher-order poles, the calculations can become unmanageable, and series expansion is usually easier. For essential singularities, no such simple formula exists, and residues must usually be taken directly from series expansions.
If parts or all of a function can be expanded into a Taylor series or Laurent series, which may be possible if the parts or the whole of the function has a standard series expansion, then calculating the residue is significantly simpler than by other methods. The residue of the function is simply given by the coefficient of in the Laurent series expansion of the function.
Let us evaluate this integral using a standard convergence result about integration by series. We can substitute the Taylor series for into the integrand. The integral then becomes
Let us bring the 1/z5 factor into the series. The contour integral of the series then writes
Since the series converges uniformly on the support of the integration path, we are allowed to exchange integration and summation.
The series of the path integrals then collapses to a much simpler form because of the previous computation. So now the integral around C of every other term not in the form cz−1 is zero, and the integral is reduced to
The value 1/4! is the residue of ez/z5 at z = 0, and is denoted
As a second example, consider calculating the residues at the singularities of the function
which may be used to calculate certain contour integrals. This function appears to have a singularity at z = 0, but if one factorizes the denominator and thus writes the function as
it is apparent that the singularity at z = 0 is a removable singularity and then the residue at z = 0 is therefore 0.
The only other singularity is at z = 1. Recall the expression for the Taylor series for a function g(z) about z = a:
So, for g(z) = sin z and a = 1 we have
and for g(z) = 1/z and a = 1 we have
Multiplying those two series and introducing 1/(z − 1) gives us