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

Lancelot59
Messages
640
Reaction score
1
This is the problem:
\int_{-\infty}^{\infty} {xe^{-x^{2}}dx}

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

2\int_{0}^{\infty} {xe^{-x^{2}}dx}

I attempted to do integration by parts:

u=e^{-x^{2}}, du=-2e^{-x^{2}}, dv=x, v=\frac{x^{2}}{2}

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

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
Why do you think x*e^(-x^2) is even?
 
Lancelot59 said:
This is the problem:
\int_{-\infty}^{\infty} {xe^{-x^{2}}dx}

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

2\int_{0}^{\infty} {xe^{-x^{2}}dx}
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:
u=e^{-x^{2}}, du=-2e^{-x^{2}}, dv=x, v=\frac{x^{2}}{2}

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

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.

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

Then got here:

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

Substituted:
\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}

-\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}

Then I just got u as the integral, did the rest and found that it converged on zero. Thanks for the help.
 
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