Contour Integration for the Complex Contour Integral Problem

ijustlost
Messages
22
Reaction score
0
I'm trying to find

<br /> \int_{-\infty}^{\infty} \frac{exp(ax)}{cosh(x)} dx<br />

where 0<a<1 and x is taken to be real. I'm doing this by contour integration using a contour with corners +- R, +- R + i(pi), and I'm getting an imaginary answer which is

\frac{2i\pi}{sin (a \pi)}.

I'm thinking this is a problem because my original integral was completely real. Can I just take the real part of my answer, and say the integral = 0 ? That doesn't seem to make any sense, I've drawn a graph of the function and it doesn't look like it's integral should be zero! I'm fairly sure my answer to the contour integral is correct!
 
Last edited:
Physics news on Phys.org
P.s - is there a guide to using tex on physics forums somewhere? Then I could format the above properly!
 
Math & Science Tutorials --> Introducing LaTeX Math Typesetting
 
Ah thanks, I knew there was one somewhere!
 
Oops, stupid me! The answer is

<br /> \frac{\pi}{cos(\frac{a\pi}{2})}<br />

I didn't work out the phase shift the function takes on along the top line of the path properly!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top