1. ## integral Cauchy theorem

Hi,
I dont understand the cauchy theorem.
I have this problem and I would like to have some help for it.
The question is:
Use the Cauchy Integral Theorem to prove that:
$\displaystyle \int_{-\infty}^{+\infty}\frac{1}{x^2-2x+5}dx=\frac{\pi}{2}$

When I read the documentation on it , it is told to have a close surface . but here it is not specify...Or I just don't get it.

B

Hi,
I dont understand the cauchy theorem.
I have this problem and I would like to have some help for it.
The question is:
Use the Cauchy Integral Theorem to prove that:
$\displaystyle \int_{-\infty}^{+\infty}\frac{1}{x^2-2x+5}dx=\frac{\pi}{2}$

When I read the documentation on it , it is told to have a close surface . but here it is not specify...Or I just don't get it.

B
Pretend this is an integration over a complex variable z:
$\displaystyle \int_{-\infty}^{+\infty}\frac{1}{z^2-2z+5}dz$.

Now, the Cauchy theorem says that if you integrate a complex integrand (counterclock-wise) over a closed loop that the integral is $\displaystyle 2\pi i$ times the sum of the residues.

So what closed loop to use? Well, two leap to mind:
1) Start at $\displaystyle -\infty$ on the real axis and go to $\displaystyle \infty$, then close the loop by traveling a half-circle (of radius $\displaystyle \infty$ ) upward and to the left, finishing at $\displaystyle -\infty$ on the real axis. (Technically we go from -R to R on the real axis, and take the limit of the integrals as R goes to $\displaystyle \infty$.)

2) Same idea as the first, but close the loop by doing a half-circle downward and to the left.

In each case the ideal result is that the integral over the half-circle ends up being 0. This is the case here. (This is Jordan's Lemma.)

Which contour you choose depends on the integral and location of the poles. In this case you have one pole in the upper half-plane and one in the lower half-plane. I see no reason to choose one contour over the other here. So pick one and do it. (Or if you want some practice, pick both and do them to see that you get the same answer.)

-Dan

3. Thank you. I will try that now!!

Hi,
I dont understand the cauchy theorem.
I have this problem and I would like to have some help for it.
The question is:
Use the Cauchy Integral Theorem to prove that:
$\displaystyle \int_{-\infty}^{+\infty}\frac{1}{x^2-2x+5}dx=\frac{\pi}{2}$

When I read the documentation on it , it is told to have a close surface . but here it is not specify...Or I just don't get it.

B
Define $\displaystyle f(z) = \frac{1}{z^2-2z+5} = -4i \left( \frac{1}{z-1-2i} - \frac{1}{z-1-2i} \right)$

Integrate over a large semicircle,
$\displaystyle -4i \int_{-R}^R \frac{1}{z-1-2i} - \frac{1}{z-1-2i} dz +\mbox{ error }$$\displaystyle = 2 \pi i(-4i)[f'(1+2i) - f'(1-2i) ]$

By Cauchy integral theorem.

The error term goes to zero as $\displaystyle R\to \infty$.

5. Thank you ThePerfectHacker!

Thank you ThePerfectHacker!
Would you like me do explain what I mean by "error" and why it goes to zero if you do not understand? (I was just sick yesterday and it was hard for me to respond fully).

7. Yes please explain me this point,

I have not noticed the "error" before and I was about to ask you this question. I was suscpecting a term with a e^(-R* "something") that lead to zero when R-> inf. but I couls not find it!

8. I am just delving into CA and don't want to appear anal, but I believe PH means:

$\displaystyle \frac{-i}{4}\left[\frac{1}{z-(1+2i)}-\frac{1}{z-(1-2i)}\right]$

This can be broken into two integrals, giving:

Which gives $\displaystyle \frac{-i}{4}(2{\pi}i)=\frac{\pi}{2}$