Improper integral with e^(-x/2)e^(-x^2/2). Realling annoying.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
Gregg
Messages
452
Reaction score
0

Homework Statement



[tex]\int_{-\infty}^{\infty} e^{x\over 2}e^{-x^2\over 2} dx[/tex]

Homework Equations



[tex]\int_{-\infty}^{\infty}e^{-x^2\over a} dx = \sqrt{\pi\over a}[/tex] [tex]a>0[/tex]


The Attempt at a Solution



Can't seem to penetrate it, I thought about trying to isolate the second term with integration by parts.

[tex]\int_{-\infty}^{\infty} e^{x\over 2}e^{-x^2\over 2} dx = e^{x\over 2}\int e^{-x^2\over 2}dx - \int \frac{d}{dx}e^{x\over 2} \left[ \int e^{-x^2\over 2} dx \right] dx[/tex]

But I don't think there's any sensible way to put limits in on the RHS to eliminate those factors.
 
Physics news on Phys.org
[tex]e^{\frac{x^2}{2}}e^{\frac{-x^2}{2}}=e^{\frac{x^2-x^2}{2}}=e^0=1[/tex]

Are you sure you typed the integrand properly?EDIT: sorry I am blind.
 
Last edited:
Yeah re-read it! One is squared one isn't.
 
My last comment could look like "yeah re-read it [past tense]..." I still can't do this.
 
Try completing the square in the exponent.
 
[tex]\int_{-\infty}^{\infty} e^{x\over 2}e^{{-x^2}\over 2} dx = \int_{-\infty}^{\infty} e^{-\frac{1}{2}(x-\frac{1}{2})^2+\frac{1}{8}} dx[/tex]

[tex]= e^{\frac{1}{8}} \int_{-\infty}^{\infty} e^{\frac{u^2}{-2}} du = e^{\frac{1}{8}}\sqrt{\frac{\pi}{2}}[/tex]

Thanks!
 
Careful, your 'Relevant equation' is wrong. For gaussian integrals,
[tex]\int_{-\infty}^\infty e^{-ax^2}dx = \sqrt{\frac{\pi}{a}}[/tex]
 
That was a typo by me!