# Integrating e^-ax^2

Hi, i have a problem which is confusing me Question:

Given that

$$\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}$$

What is

(i) $$\int_{0}^{\infty}e^{-ax^2} x^2 dx$$
(ii) $$\int_{0}^{\infty}e^{-ax^2} x^3 dx$$
(iii) $$\int_{0}^{\infty}e^{-ax^2} x^4 dx$$

It tells me to use differentiation for (i) and (iii) with respect to the a paramter, and integration by parts for (ii)

I tried (ii):

$$u=x^3$$

$$\frac{du}{dx} = 3x^2$$

$$\frac{dv}{dx} = e^{-ax^2}$$

$$v=\frac{\sqrt{\pi}}{2\sqrt{a}}$$

$$\int_{0}^{\infty}e^{-ax^2} x^3 dx = \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \int_{0}^{\infty}\frac{3x^2 \sqrt{\pi}}{2\sqrt{a}}$$

$$= \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} = 0$$

I know limits should be in that last bit and the bit before but i thought it wouldn't matter as both parts are the same, but then i thought i can't say $v=\frac{\sqrt{\pi}}{2\sqrt{a}}$ anyway because the given expression wasn't general it was between limits, or does it not matter because i'm using the same limits?

I don't know what the question means when it tells me to "use differentiation for (i) and (iii) with respect to the a paramter" how will that help me get to a solution?

Last edited:

Related Calculus and Beyond Homework Help News on Phys.org
StatusX
Homework Helper
What happened to the exponential after you integrated by parts? And have you tried their suggestion for i and iii? You can move the d/da inside the integral (justifying this is a little tricky, but I'm sure you don't need to worry about that).

Office_Shredder
Staff Emeritus
Gold Member
You can't say $v=\frac{\sqrt{\pi}}{2\sqrt{a}}$ for the part inside the integral

HallsofIvy
Homework Helper
sanitykey said:
Hi, i have a problem which is confusing me Question:

Given that

$$\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}$$

What is

(i) $$\int_{0}^{\infty}e^{-ax^2} x^2 dx$$
(ii) $$\int_{0}^{\infty}e^{-ax^2} x^3 dx$$
(iii) $$\int_{0}^{\infty}e^{-ax^2} x^4 dx$$

It tells me to use differentiation for (i) and (iii) with respect to the a paramter, and integration by parts for (ii)

I tried (ii):

$$u=x^3$$

$$\frac{du}{dx} = 3x^2$$

$$\frac{dv}{dx} = e^{-ax^2}$$

$$v=\frac{\sqrt{\pi}}{2\sqrt{a}}$$
This is the definite integral from $-\infty$ to $\infty$, not the anti-derivative! $e^{-ax^2}$ has no simple anti-derivative. Try $u= x^2$, $dv= xe^{-ax^2}dx$ instead.

$$\int_{0}^{\infty}e^{-ax^2} x^3 dx = \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \int_{0}^{\infty}\frac{3x^2 \sqrt{\pi}}{2\sqrt{a}}$$

$$= \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} = 0$$

I know limits should be in that last bit and the bit before but i thought it wouldn't matter as both parts are the same, but then i thought i can't say $v=\frac{\sqrt{\pi}}{2\sqrt{a}}$ anyway because the given expression wasn't general it was between limits, or does it not matter because i'm using the same limits?

I don't know what the question means when it tells me to "use differentiation for (i) and (iii) with respect to the a paramter" how will that help me get to a solution?

dextercioby
Homework Helper
sanitykey said:
Hi, i have a problem which is confusing me Question:

Given that

$$\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}$$

What is

(i) $$\int_{0}^{\infty}e^{-ax^2} x^2 dx$$
(ii) $$\int_{0}^{\infty}e^{-ax^2} x^3 dx$$
(iii) $$\int_{0}^{\infty}e^{-ax^2} x^4 dx$$

It tells me to use differentiation for (i) and (iii) with respect to the a paramter, and integration by parts for (ii)
For (ii) compute first

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

And when you get the result, you can differentiate wrt "a" to get the needed integral.

HINT:Make the sub x^{2}=t and of course assume a>0.

Daniel.
(

Thanks for all these replies! :D

I would of responded sooner but i thought i'd best come back with something to show i've been quite busy.

I'll just show you what my answers are not sure if they're right but if they are credit to you all for helping me.

$$\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}$$

$$\int_{0}^{\infty}\frac{d}{da}\left(e^{-ax^2}\right) dx = \frac{d}{da}\left(\frac{\sqrt{\pi}}{2\sqrt{a}}\right)$$

$$\int_{0}^{\infty}x^2 e^{-ax^2} dx = \frac{\sqrt{\pi}}{4(\sqrt{a})^3}$$

$$\int_{0}^{\infty}e^{-ax^2} x dx = \frac{1}{2a}$$

$$\int_{0}^{\infty}\frac{d}{da}\left(e^{-ax^2} x \right) dx = \frac{d}{da}\left(\frac{1}{2a}\right)$$

$$\int_{0}^{\infty}e^{-ax^2} x^3 dx = \frac{1}{2a^2}$$

$$\int_{0}^{\infty}\frac{d}{da}\left(e^{-ax^2} x^2 \right) dx = \frac{d}{da}\left(\frac{\sqrt{\pi}}{4(\sqrt{a})^3}\right)$$

$$\int_{0}^{\infty}e^{-ax^2} x^4 dx = \frac{3\sqrt{\pi}}{8(\sqrt{a})^5}$$

Last edited:
You're missing a half in the last line, otherwise that looks fine.

Ok edited to correct that thank you :)