Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Simple mathematics problem!
Simple mathematics problem!
2007-10-21, 10:03 AM #1
Hello!

Just a quick mathematics problem I hope some of you can help me with.

What is the integral of
x^2 * exp[-(x^2/a^2)]
from -infinity to infinity?

I'm fairly certain we've covered this specific integral in one my maths courses, and there was a certain trick to it, but I've completely forgotton and I'm completely stumped. I know that the Gaussian integral exp[-(x^2)] gives me root pi, and the derivation is fairly complicated, but I remember that integrating x^2 exp[-(x^2)] was much simpler. But I don't remember how. Help please!
"The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. " - Bertrand Russell
The Triumph of Stupidity in Mortals and Others 1931-1935
2007-10-21, 10:35 AM #2
something like substitute in u=x^2, then integrate by parts, but i don't have the time to work it out right now

if I typed it in right, mathematica says (1/2)a^3*sqrt(pi)
2007-10-21, 11:27 AM #3
It's been a while since I've done this, but it does sound like an "integration by parts" problem.

http://en.wikipedia.org/wiki/Integration_by_parts

Try googling around if wikipedia fails. There's some solid math examples around.
2007-10-21, 12:11 PM #4
I thought I was going somewhere with e[sup]-(x[sup]2[/sup]/a[sup]2[/sup])[/sup] = 1/(e[sup]x[/sup] - e[sup]a[sup]2[/sup][/sup]) but I wasn't :(

Fake edit: Well maybe. I'm not sure I'm correct in everything but it's an attempt.
Attachment: 17595/calculus.jpg (26,952 bytes)
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.

↑ Up to the top!