# Math Help - Applications of Residue Theorem

1. ## Applications of Residue Theorem

Bonjour,

I'm just learning how to apply the residue theorem and manipulating functions to solve integrals that one previously couldn't solve. Some examples I have come across are:

a)Suppose a, b > 0 and a is not equal to b
$\int_{0 }^{\infty} \frac{1}{(x^2 + a^2)(x^2 + b^2)} dx$

b) $\int_{-\infty}^{\infty} \frac{1}{(x^2 + x + 1)^2}dx$

c) Suppose a > 0. $\int_{-\infty}^{\infty} \frac{cosx}{x^2 + a^2}dx$

I am mainly having trouble with the manipulations. I've tried to understand it through using the textbook and attempting the problems above but I end up with integrals I can't solve. The answers for each question respectively are:

a) $\frac{\pi}{2ab(a+b)}$

b) $\frac{4\pi }{3\sqrt{3}}$

c) $\frac{\pi e^{-a}}{a}$

I appreciate all your help in understanding this tough concept. Thanks!
ComplexXavier

2. Originally Posted by ComplexXavier
Bonjour,

I'm just learning how to apply the residue theorem and manipulating functions to solve integrals that one previously couldn't solve. Some examples I have come across are:

a)Suppose a, b > 0 and a is not equal to b
$\int_{0 }^{\infty} \frac{1}{(x^2 + a^2)(x^2 + b^2)} dx$

b) $\int_{-\infty}^{\infty} \frac{1}{(x^2 + x + 1)^2}dx$

c) Suppose a > 0. $\int_{-\infty}^{\infty} \frac{cosx}{x^2 + a^2}dx$

I am mainly having trouble with the manipulations. I've tried to understand it through using the textbook and attempting the problems above but I end up with integrals I can't solve. The answers for each question respectively are:

a) $\frac{\pi}{2ab(a+b)}$

b) $\frac{4\pi }{3\sqrt{3}}$

c) $\frac{\pi e^{-a}}{a}$

I appreciate all your help in understanding this tough concept. Thanks!
ComplexXavier
The strategy for all these problems is the same: you use Cauchy's theorem which says that the integral of an analytic function round a closed contour is equal to $2\pi i$ times the sum of the residues of the function at the poles inside the contour.

For these three problems, the contour to be used is the same in each case. It consists of the interval [–R,R] of the real axis (where R is a large positive number), together with the semicircle of radius R in the upper half-plane. You should have been given a theorem saying that for certain analytic functions, the integral round the semicircular part of the contour goes to 0 as $R\to\infty$, so that the integral along the real line is equal to $2\pi i$ times the sum of the residues.

As an example, here's how to do problem b). The function $\frac1{(z^2+z+1)^2}$ has double poles at the points where the denominator vanishes. These are the points $\frac12(-1\pm i\sqrt3)$. Only one of those points, $\frac12(-1+i\sqrt3)$, is inside the contour. Using the limit formula for higher order poles, you can check that the residue at this point is $\frac2{3\sqrt3i}$. Now multiply by $2\pi i$ to get the answer $\frac{4\pi}{3\sqrt3}$ for the integral round the contour. Finally, check that the function satisfies the condition for the integral round the semicircle to go to 0, and you have the answer for $\int_{-\infty}^{\infty} \frac{1}{(x^2 + x + 1)^2}\,dx$.

Do the other problems in the same way. For a), you will need to say that the function is even, so its integral from 0 to $\infty$ is half the integral over the whole line. For c), you can't use the function as it stands, because it does not satisfy the condition for the integral round the semicircle to go to 0. So replace it by the function $\frac{e^{iz}}{z^2+a^2}$ and take the real part of the answer. (In fact, the answer should turn out to be real anyway, because its imaginary part would give the value of the integral $\int_{-\infty}^{\infty} \frac{\sin x}{x^2 + a^2}dx$, and that is 0 because the function is odd.)