Improper integral using residues

Click For Summary
The discussion centers on calculating the improper integral of sech(x) from -∞ to ∞ using residue theory. The initial attempt identified a simple pole at z = (iπ)/2 but led to an incorrect result of 2π instead of the expected π. Participants highlighted that there are multiple poles in the upper half-plane, necessitating a more strategic contour choice. Suggestions included converting the integrand into a rational function and recognizing the relationship between sech(z) and sech(z + iπ). Ultimately, the confusion arose from the integration directions, which resulted in the factor of two discrepancy.
cscott
Messages
778
Reaction score
1

Homework Statement



integral of sech(x) from -Inf to Inf using residues.

Homework Equations



Calculate using: (2 Pi I) * Res[sech(x), "poles in upper half plane"]

The Attempt at a Solution



I used sech(x) = 2/[exp(x)+exp(-x)] to find a simple pole at z = (I Pi)/2 with a residue of -I. Then,

Result = (2 Pi I)(-I) = 2 Pi

As far as I know the answer should be Pi so I'm off by a factor of two. I can't find the mistake in finding the residue. Can anyone verify that the residue should be -I/2?

Let f(z)=g(z)/h(z), then residue of a simple pole z0 is g(z0)/h'(z0), no? (Assuming g(z0) != 0, h(z0)=0)

Thanks.
 
Physics news on Phys.org
I can tell you what's wrong. i*pi/2 isn't the only pole in the upper half plane. i*3*pi/2, i*5*pi/2 ... are also poles. There's an infinite number. You need to make a more clever choice of contour.
 
Last edited:
Dick said:
I can tell you what's wrong. i*pi/2 isn't the only pole in the upper half plane. i*3*pi/2, i*5*pi/2 ... are also poles. There's an infinite number. You need to make a more clever choice of contour.

Ah you are right :( I approached this too quickly.

My hint from the prof is 'convert the integrand to a rational function by changing variables'

Either way I'm not sure exactly how to proceed now.
 
cscott said:
Ah you are right :( I approached this too quickly.

My hint from the prof is 'convert the integrand to a rational function by changing variables'

Either way I'm not sure exactly how to proceed now.

Well, your professor gave you one suggestion, and I gave you another. I think they both will work. Pick one and try it. Here's a hint for my route. How are sech(x) and sech(x+i*pi) related?
 
So if I take a rectangle with height \pi I'd enclose one pole at i\pi/2. Something tells me the two side integrals should go to zero as rectangle width->inf and I'll get a multiple of my integral on the upper part.

So in this case sech(z) = -sech(z + i\pi) and because of the opposite integration directions I'll get double my desired integral, which is why I have 2\pi in my OP instead of pi?
 
Last edited:
cscott said:
So if I take a rectangle with height 1 I'd enclose one pole at i\pi/2. Something tells me the two side integrals should go to zero as rectangle width->inf and I'll get a multiple of my integral on the upper part.

So in this case sech(z) = -sech(z + i\pi) and because of the opposite integration directions I'll get double my desired integral, which is why I have 2\pi in my OP instead of pi?

That's basically it. You mean a rectangle with height pi, right?
 
Yes, I meant Pi, sorry.

Thanks for your help.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K