Evaluation of Real Integrals via Residues
One of the most powerful applications of the residue theorem is the evaluation of definite integrals that are difficult or impossible to compute by real-variable methods.
Trigonometric Integrals
To evaluate where is a rational function, substitute :
This converts the integral to a contour integral over .
Evaluate .
With : .
The roots of are . Only lies inside .
Therefore .
Improper Integrals on the Real Line
If where are polynomials with and has no real zeros, then
The integral is evaluated by closing the contour with a large semicircle in the upper half-plane, whose contribution vanishes by the ML inequality.
Evaluate .
Partial fractions or direct residue computation. Poles in upper half-plane: (simple) and (simple).
Integrals Involving Exponentials
If uniformly as on the upper half-plane and , then
where is the upper semicircle , .
Evaluate .
Consider and take the imaginary part. The pole in the upper half-plane is :
By Jordan's lemma: .
Taking the imaginary part: .
Integrals with Branch Cuts
For integrals like (), use a keyhole contour around the branch cut of . The contributions from the two sides of the cut differ by a factor of , allowing extraction of the desired integral. The result is