Why can't I use contour integration for this integral?

  • Context: Graduate 
  • Thread starter Thread starter ShayanJ
  • Start date Start date
  • Tags Tags
    Integral Integration
Click For Summary

Discussion Overview

The discussion centers around the integral ##\displaystyle \int_{-\infty}^\infty \frac{e^{-|x|}}{1+x^2}dx## and the challenges associated with using contour integration to evaluate it. Participants explore the conditions under which contour integration is applicable, particularly focusing on the analytic nature of the integrand and the implications of using the absolute value function.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests that the integral can be evaluated using contour integration due to the integrand vanishing faster than ## \frac{1}{x} ## in the limit as ## x \to \infty ##.
  • Another participant agrees with the initial evaluation but questions the discrepancy with results from WolframAlpha, suggesting it may be performing numerical integration.
  • A different participant points out that contour integration relies on the integrand being analytic, and the presence of the absolute value in ## |x| ## makes the integrand non-analytic.
  • There is a mention of a Wikipedia article discussing the integral, but a participant expresses confusion regarding the equivalence of certain integrals presented there.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of contour integration due to the non-analytic nature of the integrand. There is no consensus on the correct approach to evaluating the integral, and multiple perspectives on the issue remain unresolved.

Contextual Notes

Participants note that the use of absolute values in the integrand complicates the application of contour integration, which relies on the function being analytic. There is also a lack of clarity regarding the derivation of results from numerical methods and how they relate to the integral in question.

ShayanJ
Science Advisor
Insights Author
Messages
2,802
Reaction score
605
Consider the integral ##\displaystyle \int_{-\infty}^\infty \frac{e^{-|x|}}{1+x^2}dx ##. I should be able to use contour integration to solve it because it vanishes faster than ## \frac 1 x ## in the limit ## x \to \infty ## in the upper half plane. It has two poles at i and -i. If I use a semicircle in the upper half of the plane, I should only consider the residue at i which is:

## \displaystyle \lim_{z\to i} \frac{e^{-|z|}}{i+z}=\frac{e^{-|i|}}{2i}=\frac{1}{2ie} ##

So the integral is equal to ## \frac{2\pi i}{2ie}=\frac \pi e \approx 1.15 ##. But wolframalpha.com gives an expression involving Ci(x) and Si(x) that approximates to 1.24. What is wrong here?

Thanks
 
Physics news on Phys.org
Looks to me Wolfram is doing some numerical integration. When I do a primitive numerical integration with excel I get about the same answers they do.
Your answer is correct

(How did you get this Ci and Si answer from wolfie ?)
 
I don't know off the bat how to derive the right answer, but contour integration by using residues only works for analytic functions, and the use of an absolute value, |x|, makes your integrand non-analytic.
 
  • Like
Likes   Reactions: ShayanJ
BvU said:
Looks to me Wolfram is doing some numerical integration. When I do a primitive numerical integration with excel I get about the same answers they do.
Your answer is correct

(How did you get this Ci and Si answer from wolfie ?)

That link is for the integrand \dfrac{e^{itz}}{1+z^2}, not \dfrac{e^{-|z|}}{1+z^2}
 
stevendaryl said:
I don't know off the bat how to derive the right answer, but contour integration by using residues only works for analytic functions, and the use of an absolute value, |x|, makes your integrand non-analytic.
Yeah, I missed that completely. o:) o:) o:) though to be smart and use ##t=i##

(For the numerics looked at ##[0,\infty>##)

Changed your avatar, didn't you ? Less colorful but more cultural !
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K