Solve Integral: x^2[e^(-x^2)] from -∞ to ∞

  • Thread starter Thread starter newton1
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
To solve the integral of x^2[e^(-x^2)] from -∞ to ∞, it is recommended to break it into two parts: from -∞ to 0 and from 0 to ∞. Integration by parts can be applied, although it is noted that the error function will be involved in the final answer. An alternative approach involves using the integral I(a) = ∫[−∞,∞] e^(-ax^2) dx, which simplifies the problem and leads to a faster solution. Conditions for the convergence of the integral must be verified, particularly regarding the differentiability of the integrand and its continuity. Ultimately, the integral can be evaluated using various methods, including the residue theorem or squaring the integral to convert it into a double integral.
newton1
Messages
151
Reaction score
0
how to do this integration??
\int x^2 [e^{-x^2}] dx
from - \infty \rightarrow \infty
 
Last edited:
Physics news on Phys.org
Break it into two integrals:

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

You must do this because you will not be able to do two limits in your definite integration.

From there, it's just simple integration-by-parts, taking the limit of what you get by doing the integrations, and adding them.

You are familiar with improper integrals?

Edit: Before you begin implementing those integration skills of your's, make sure the integral is convergent, otherwise, you'll just be wasting time.
 
Last edited:
Cute! My first thought was that integration by parts wouldn't work because you can't integrate e^{-x^2}[/tex] but if you let u= x, dv= xe^{-x^2} ,it works nicely!
 
Last edited by a moderator:
However you tackle this you'll soon realize the answer involves the error function.

However even so it's still not that difficult to work out what you need.
 
I learned a nice trick by using:
I(a)=\int \limits_{-\infty}^{+\infty}\exp(-ax^2)dx=\sqrt{\frac{\pi}{a}}
Differentiate both sides with respect to a:
\frac{dI}{da}=-\int \limits_{-\infty}^{+\infty}x^2\exp(-ax^2)dx=-\frac{1}{2}\sqrt{\frac{\pi}{a^3}}
So
\int \limits_{-\infty}^{+\infty}x^2\exp(-ax^2)dx=\frac{1}{2a}\sqrt{\frac{\pi}{a}}
Might be faster than partial integration. It's definitely more fun.
 
Last edited:
You have to prove something about the integral before you can do that, though... I can't remember what off hand.
 
Hurkyl said:
You have to prove something about the integral before you can do that, though... I can't remember what off hand.

EDIT: The integrand should be differentiable en it's derivative continuous.

It's legal.
 
Last edited:
That's it? I thought I recalled that there had to be some sort of uniform convergence or something going on. (Do those conditions prove the uniform convergence necessary?)
 
Yeah, I guess that's true.
There are probably two theorems you need. One for bringing the derivative under the integral (that's Leibniz rule), which I know is true if the integration limits do not extend to infinity. For this the integrand must be differentiable and it's derivative continuous. (not the value I(a), my mistake).

The exponential function has a power series expansion and is uniformly convergent and eeh..

Aaack, whatever. The exponent is a very nice function, so all the tricks probably work.
I learned this trick in PHYSICS class okay? They don't care about that. :smile:
 
  • #10
You can prove that integral(-inf-->+inf) exp(-x^2) dx = sqrt(pi) by converting (squaring it) to a double integral or you can use the residue theorem after converting it to a complex integral. The first way is easier.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K