# Integrating e^-ax^2

by sanitykey
Tags: eax2, integrating
 P: 93 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? Thanks in advance
 HW Helper P: 2,566 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).
 Mentor P: 4,499 You can't say $v=\frac{\sqrt{\pi}}{2\sqrt{a}}$ for the part inside the integral
Math
Emeritus
Thanks
PF Gold
P: 38,708

## Integrating e^-ax^2

 Quote by sanitykey 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? Thanks in advance
HW Helper
P: 11,835
 Quote by sanitykey 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.
(
 P: 93 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}$$
 P: 227 You're missing a half in the last line, otherwise that looks fine.
 P: 93 Ok edited to correct that thank you :)

 Related Discussions Calculus 11 Calculus 12 Calculus 12 Calculus & Beyond Homework 10 General Math 9