What is the integral of x²e^-x²?

  • Context: Undergrad 
  • Thread starter Thread starter arsmath
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion revolves around the integral of the function x²e^-x² over the interval from 0 to infinity. Participants explore various methods for evaluating this integral, including integration by parts, substitution, and references to known results involving the Gaussian integral.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in integrating x²e^-x² and mentions a known result for the integral of e^-x² over the entire real line.
  • Another participant questions the initial proof and suggests that the improper integral may be evaluated using residues or error functions.
  • A participant shares their attempt at integration by parts but finds that their approach leads to an infinite result, raising doubts about its validity.
  • Some participants propose alternative methods, including using polar coordinates and double integrals, but express uncertainty about the proofs involved.
  • There is a suggestion to explore the integral from -∞ to ∞ to see if it can be extended to the original problem, with a reference to the Leibniz rule for integrals.
  • Disagreement arises over the validity of certain substitutions and steps taken in the integration process, with participants providing feedback on each other's approaches.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to evaluate the integral, and multiple competing views and approaches remain throughout the discussion.

Contextual Notes

Some participants note that the methods discussed may depend on familiarity with error functions and contour integration techniques, which may not be within the scope of the original inquiry.

arsmath
Messages
9
Reaction score
0
I am working on an integral I am finding tricky, and I think I'm missing something.
I need to integrate on the interval 0 to infinity, x²e^-x².
We have proved that on the interval of -∞ to ∞, e^-x²=√∏ so from o to ∞, it equals √∏/2. I can use this in my proof, but I don't see how. When I try integrating by parts I have trouble getting a finite answer. I would love some help,
 
Physics news on Phys.org
The functions symmetric so I don't see your issue. Out of curiosity how did you prove the first integral as if I recall correctly the improper integral is done using residues. The proper integral can also be solved if you don't mind solutions in terms of error functions.
 
Last edited:
arsmath said:
When I try integrating by parts I have trouble getting a finite answer. I would love some help,
Well, then show what you did!
 
its the euler poisson gaus integral and evaluate it as a double integral, to be honest the proof is a bit over my head.
 
arsmath said:
its the euler poisson gaus integral and evaluate it as a double integral, to be honest the proof is a bit over my head.

I've heard of that method, I believe it uses polar coordinates. That said the better way to solve it is via residues:
http://en.wikipedia.org/wiki/Methods_of_contour_integration
 
ok here goes:
from 0-∞∫ x²e^-x²dx
u= x² dv = e^-x²dx
du=2xdx v=∫e^-x²dx

(x²∫e^-x²dx) – (2∫xdx)(∫e^-x²dx)
since I have that from 0-∞∫ e^-x²dx = √∏/2
I have x²(√∏/2) -√∏ which when evaluated on the interval 0-∞ goes to ∞. . .
This makes me think I’ve done it incorrectly
 
cant one just go like this

integ(x^2e^-x^2)dx=integ(x*x*e^-x^2)dx, and then take u=x, du=dx, and v=integ(x*e^-x^2)dx, this last one can be done using the sub -x^2=t=> -2xdx=dt, xdx=-dt/2.

THis is easier i guess!
 
I think that may help.
 
Hurkyl said:
Well, then show what you did!
that is my all time favorite xkcd comic.
 
  • #10
arsmath said:
ok here goes:
from 0-∞∫ x²e^-x²dx
u= x² dv = e^-x²dx
du=2xdx v=∫e^-x²dx

(x²∫e^-x²dx) – (2∫xdx)(∫e^-x²dx)
since I have that from 0-∞∫ e^-x²dx = √∏/2
I have x²(√∏/2) -√∏ which when evaluated on the interval 0-∞ goes to ∞. . .
This makes me think I’ve done it incorrectly

I'm not sure what you have done is valid as this:
(2∫xdx)(∫e^-x²dx)
seems illegal.
 
  • #11
John Creighto said:
I'm not sure what you have done is valid as this:
(2∫xdx)(∫e^-x²dx)
seems illegal.
i think you're right, and I appreciate the feedback. . .so I'll try to hit it from another angle. thanks
 
  • #12
Did you try to work through post #7?
 
  • #13
sutupidmath said:
cant one just go like this

integ(x^2e^-x^2)dx=integ(x*x*e^-x^2)dx, and then take u=x, du=dx, and v=integ(x*e^-x^2)dx, this last one can be done using the sub -x^2=t=> -2xdx=dt, xdx=-dt/2.

THis is easier i guess!

The first substitution you did does not change the integral. You made a mistake.
 
  • #14
arsmath said:
i think you're right, and I appreciate the feedback. . .so I'll try to hit it from another angle. thanks

Why not write out how you solved it for the limits from -oo to oo and we can see if we can extend the method. If you're interested I can show you how to solve the equation for the proper integral but I don't think that is what the teacher is looking for as you haven't learned about the error function yet.
 
  • #15
John Creighto said:
The first substitution you did does not change the integral. You made a mistake.

Yes you are right that, indeed, it does not change the integral at all, it ends up with
integ e^(-x^2)dx. Besides this what mistake are you talking about?
 
  • #16
sutupidmath said:
Yes you are right that, indeed, it does not change the integral at all, it ends up with
integ e^(-x^2)dx. Besides this what mistake are you talking about?

no the integrand remains unchanged. That is you now have

u^2e^(-u^2)du

and I wasn't talking about any other mistake.
 
  • #17
John Creighto said:
no the integrand remains unchanged. That is you now have

u^2e^(-u^2)du

and I wasn't talking about any other mistake.
integ(x^2e^-x^2)dx=integ(x*x*e^-x^2)dx, and then take u=x, du=dx, and v=integ(x*e^-x^2)dx, this last one can be done using the sub -x^2=t=> -2xdx=dt, xdx=-dt/2.
now v=-1/2e^(-x^2), now going back to integ by parts we have

-1/2 xe^-x^2 +1/2 integ (e^-x^2) dx

i do not see how you will end up with the same integrand.!
 
  • #18
sutupidmath said:
integ(x^2e^-x^2)dx=integ(x*x*e^-x^2)dx, and then take u=x, du=dx, and v=integ(x*e^-x^2)dx, this last one can be done using the sub -x^2=t=> -2xdx=dt, xdx=-dt/2.
now v=-1/2e^(-x^2), now going back to integ by parts we have

-1/2 xe^-x^2 +1/2 integ (e^-x^2) dx

i do not see how you will end up with the same integrand.!

Oh sorry, my mistake.
 
  • #19
now i guess he can express the last part in terms of the error function,
 
  • #20
If you've proved

[tex]\int_0^\infty dx~e^{-x^2} = \sqrt{\pi}[/tex]

you should be able to extend that result to the more arbitrary case

[tex]\int_{-\infty}^\infty dx~e^{-\alpha x^2} = \sqrt{\frac{\pi}{\alpha}}[/tex]
by substitution.

Now, the Liebniz rule for integrals says that (in the case of constant limits)

[tex]\frac{d}{d\alpha}\int_a^b dx f(x,\alpha) = \int_a^b dx\frac{\partial f(x,\alpha)}{\partial \alpha}[/tex]

With this in mind, can you figure out how to evaluate your integral?

(I don't know if you're allowed to do it this way if this is homework, but it's a clever trick...)
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 21 ·
Replies
21
Views
4K
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K