Originally, my wife had asked me to compute this integral by hand because Mathematica 4 and Mathematica 8 gave different answers. At the time, I eventually obtained the solution by multiplying the top and bottom of the integrand by

and then employing the substitution

(after using trig identities to adjust the limits of integration).

But this wasn’t the only method I tried. Indeed, I tried two or three different methods before deciding they were too messy and trying something different. So, for the rest of this series, I’d like to explore different ways that the above integral can be computed.

Previously in this series, I have used two different techniques to show that

Originally, my wife had asked me to compute this integral by hand because Mathematica 4 and Mathematica 8 gave different answers. At the time, I eventually obtained the solution by multiplying the top and bottom of the integrand by

and then employing the substitution

(after using trig identities to adjust the limits of integration).

But this wasn’t the only method I tried. Indeed, I tried two or three different methods before deciding they were too messy and trying something different. So, for the rest of this series, I’d like to explore different ways that the above integral can be computed.

Here’s my progress so far:

,

where this last integral is taken over the complex plane on the unit circle, a closed contour oriented counterclockwise. In these formulas, and . (Also, is a certain angle that is now irrelevant at this point in the calculation).

This contour integral looks complicated; however, it’s an amazing fact that integrals over closed contours can be easily evaluated by only looking at the poles of the integrand. In recent posts, I established that there was only one pole inside the contour, and the residue at this pole was equal to .

This residue can be used to evaluate the contour integral. Ordinarily, integrals are computed by subtracting the values of the antiderivative at the endpoints. However, there is an alternate way of computing a contour integral using residues. It turns out that the value of the contour integral is times the sum of the residues within the contour; see Wikipedia and Mathworld for more information.

Therefore,

Next, I use some algebra to simplify the denominator:

Therefore,

Once again, this matches the solution found with the previous methods… and I was careful to avoid a common algebraic mistake.

In tomorrow’s post, I’ll discuss an alternative way of computing the residue.

## 1 Comment