Solving Improper Integral: \int_{-\infty}^{\infty} {xe^{-x^{2}}dx}

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
5 replies · 1K views
Lancelot59
Messages
640
Reaction score
1
This is the problem:
[tex]\int_{-\infty}^{\infty} {xe^{-x^{2}}dx}[/tex]

I noticed the function was even, so I then did this:

[tex]2\int_{0}^{\infty} {xe^{-x^{2}}dx}[/tex]

I attempted to do integration by parts:

[tex]u=e^{-x^{2}}, du=-2e^{-x^{2}}, dv=x, v=\frac{x^{2}}{2}[/tex]

which still left me with this at the end:
(I left out the bounds)
[tex]\frac{x^{2}}{2}(e^{-x^{2}} - \int_{}^{} {e^{-x^{2}}dx})[/tex]

and of course that integral can't be done. Doing parts the other way results with the same issue, and I don't see how a substitution could work. Thanks in advance for any help.
 
Physics news on Phys.org
Lancelot59 said:
This is the problem:
[tex]\int_{-\infty}^{\infty} {xe^{-x^{2}}dx}[/tex]

I noticed the function was even, so I then did this:

[tex]2\int_{0}^{\infty} {xe^{-x^{2}}dx}[/tex]
The integrand is not an even function - it is odd. This should make the problem a lot easier.
Lancelot59 said:
I attempted to do integration by parts:
That's not the best approach. An ordinary substitution is all that is required.
Lancelot59 said:
[tex]u=e^{-x^{2}}, du=-2e^{-x^{2}}, dv=x, v=\frac{x^{2}}{2}[/tex]

which still left me with this at the end:
(I left out the bounds)
[tex]\frac{x^{2}}{2}(e^{-x^{2}} - \int_{}^{} {e^{-x^{2}}dx})[/tex]

and of course that integral can't be done. Doing parts the other way results with the same issue, and I don't see how a substitution could work. Thanks in advance for any help.
 
I see. I'll post back once I'm done with the work.
 
Last edited:
Dick said:
Why do you think x*e^(-x^2) is even?
Bad logic. That's why. I thought about it more and it isn't.
 
It worked.

[tex]u=e^{-x^{2}}, du=-2e^{-x^{2}}dx \rightarrow \frac{du}{-2u}=xdx[/tex]

Then got here:

[tex]\lim_{t \rightarrow -\infty}\int_{t}^{0} {xe^{-x^{2}}dx} + \lim_{t \rightarrow \infty}\int_{0}^{t} {xe^{-x^{2}}dx}[/tex]

Substituted:
[tex]\lim_{t \rightarrow -\infty}\int_{x=t}^{x=0} {-\frac{du}{2u}u} + \lim_{t \rightarrow \infty}\int_{x=0}^{x=t} {-\frac{du}{2u}u}[/tex]

[tex]-\frac{1}{2}\lim_{t \rightarrow -\infty}\int_{x=t}^{x=0} {du} + -\frac{1}{2}\lim_{t \rightarrow \infty}\int_{x=0}^{x=t} {du}[/tex]

Then I just got u as the integral, did the rest and found that it converged on zero. Thanks for the help.