# Integration problem

1. Nov 1, 2009

### henryc09

1. The problem statement, all variables and given/known data
Given that:

$$\oint$$ e-ax^2dx = $$\sqrt{}\pi/a$$ (between infinity and minus infinity)

show that

$$\oint$$x2e-ax^2dx = 1/4$$\sqrt{}\pi/a^3$$ (between 0 and infinity)

2. Relevant equations

3. The attempt at a solution
I assume integration by parts may be necessary, but not really sure how to go about it, ie. what is first expression really telling you as the limits are different to the second. I think it might also be the infinities confusing me so if someone could point me in the right direction that'd be appreciated.

2. Nov 1, 2009

### CompuChip

I assume that you meant
$$\int_{-\infty}^\infty$$
(click to see the LaTeX code) rather than $\oint$.

As for the problem, try differentiating with respect to a ;)

3. Nov 1, 2009

### henryc09

Hmmm ok so I have it starting to look right but I really can't quite see how they all relate to each other. If you differentiate $$\sqrt{\pi/a}$$ with respect to a you get -1/2$$\sqrt{\pi/a^3}$$ and if you differentiate e-ax^2 with respect to a you get -x2e-ax^2

which is looking good however maybe I'm just being stupid but I can't see what to do from there.

4. Nov 1, 2009

### henryc09

ok actually I think I have it now, thanks for the help!

5. Nov 1, 2009

### CompuChip

Yep, so the trick is to take the first (standard) integral, derive it, and then pull the derivative inside the integral.

In fact, you can use that to derive a formula for
$$\int x^{2n} e^{-a x^2} \, dx$$
for any n = 0, 1, 2, ....