Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with a Cauchy Integral

  • 19-04-2011 9:59am
    #1
    Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭


    I'm stuck again, and with the same subject! This time it's a Cauchy Integral. I nearly broke my hand in frustration yesterday.

    The problem is to find the value of

    [LATEX]\displaystyle I= \int_{-\infty}^{\infty}\frac{\cos(\pi x)}{x^2-2x+2}dx[/LATEX]

    (The answer is [LATEX]\displaystyle -\frac{\pi}{e^{\pi}}[/LATEX])

    So I'm doing using the Cauchy Residue Theorem. I first define the function as a complex function and factorize the bottom:

    [LATEX]\displaystyle f(z) = \frac{\cos(\pi z)}{z^2-2z+2}[/LATEX]
    [LATEX]\displaystyle f(z) = \frac{\cos(\pi z)}{(z-(1+i))(z-(1-i))}[/LATEX]

    So there are two poles of order 1: one at 1+i and one at 1-i.

    I use a semi-circular contour in the upper plane, something like this:

    300px-

    The straight line part is I, and the circular part is, say, C. Now, as the radius of the semi-circle goes to infinity the value of C goes to 0. So, using the Cauchy Residue Theorem, we have

    [LATEX]\displaystyle I = 2 \pi i \text{Res}[f(z); z=1+i][/LATEX]

    I now use the residue formula:

    [LATEX]\displaystyle \text{Res}[f(z); z=1+i] = (z-(1+i))f(z)[/LATEX]

    [LATEX]\displaystyle \text{Res}[f(z); z=1+i] = (z-(1+i))\frac{\cos(\pi z)}{(z-(1+i))(z-(1-i))}[/LATEX]

    [LATEX]\displaystyle \text{Res}[f(z); z=1+i] = \frac{\cos(\pi z)}{(z-(1-i))}[/LATEX]

    Let z = 1+i.

    [LATEX]\displaystyle \text{Res}[f(z); z=1+i] = \frac{\cos(\pi (1+i))}{((1+i)-(1-i))}[/LATEX]

    [LATEX]\displaystyle \text{Res}[f(z); z=1+i] = \frac{\cosh(\pi)}{(2i)}[/LATEX]

    And so:

    [LATEX]\displaystyle I = 2\pi i \frac{\cosh(\pi)}{(2i)}[/LATEX]

    [LATEX]\displaystyle I = \pi \cosh(\pi)[/LATEX]

    Which isn't the right answer. Can anyone see where I'm going wrong?


Comments

  • Registered Users, Registered Users 2 Posts: 2,481 ✭✭✭Fremen


    Double check it using a partial fraction expansion, maybe?


  • Registered Users, Registered Users 2 Posts: 2,481 ✭✭✭Fremen


    Wait, can you really use Jordan's lemma here? Doesn't Cos blow up on the imaginary axis?


  • Registered Users, Registered Users 2 Posts: 2,481 ✭✭✭Fremen


    One strategy here might be to solve the integral for e^(i pi x) in place of Cos in the numerator. Then maybe you can use e^(i pi x) = cos(pi x) + i sin(pi x) and equate real and imaginary parts.


  • Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭Eliot Rosewater


    Fremen wrote: »
    Wait, can you really use Jordan's lemma here? Doesn't Cos blow up on the imaginary axis?

    Hmm, I think so now. I did an empirical test on Mathematica, and its absolute value seemed bounded above by 2, but on mature reflection I think that's rubbish. Stupid empiricism!

    I did it your way with the exponentials and I got a funny answer, I'll try that again though.

    Thanks for the help. The notes I'm working off don't even mention Jordan's lemma.


  • Registered Users, Registered Users 2 Posts: 2,481 ✭✭✭Fremen


    I guess you're not used to thinking of cos as a sum of complex exponentials.

    When you write

    cos(z) = (e^iz + e^-iz)/2 it's pretty clear it blows up along the line z = ci.

    The result is almost the same as your derivation but when you evaluate the residues, instead of a cos(pi*(1+i))/2i, you have an e^(i*pi*(1+i))/2i = (e^(i*pi) e^(-pi))/2i.

    Then you hit it with the factor of 2*pi*i and your answer pops out. The sin component is odd so it integrates to 0.

    Jordan's lemma is fundamental here - it's the reason e^i pi z works but cos(pi z) doesn't. It would be very strange to discuss this stuff without mentioning it. There's a derivation of a very similar result on the wikipedia page.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭Eliot Rosewater


    That's great Fremen - it's all sorted now! Thanks for your help and patience!


Advertisement