• Support PF! Buy your school textbooks, materials and every day products Here!

Integrating e^-ax^2

  • Thread starter sanitykey
  • Start date
  • #1
93
0
Hi, i have a problem which is confusing me :confused:

Question:

Given that

[tex]\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}[/tex]

What is

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

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):

[tex]u=x^3[/tex]

[tex]\frac{du}{dx} = 3x^2[/tex]

[tex]\frac{dv}{dx} = e^{-ax^2}[/tex]

[tex]v=\frac{\sqrt{\pi}}{2\sqrt{a}}[/tex]


[tex]\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}}[/tex]

[tex]= \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} = 0[/tex]

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 [itex]v=\frac{\sqrt{\pi}}{2\sqrt{a}}[/itex] 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
 
Last edited:

Answers and Replies

  • #2
StatusX
Homework Helper
2,564
1
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).
 
  • #3
Office_Shredder
Staff Emeritus
Science Advisor
Gold Member
3,750
99
You can't say [itex]v=\frac{\sqrt{\pi}}{2\sqrt{a}}[/itex] for the part inside the integral
 
  • #4
HallsofIvy
Science Advisor
Homework Helper
41,833
955
sanitykey said:
Hi, i have a problem which is confusing me :confused:

Question:

Given that

[tex]\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}[/tex]

What is

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

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):

[tex]u=x^3[/tex]

[tex]\frac{du}{dx} = 3x^2[/tex]

[tex]\frac{dv}{dx} = e^{-ax^2}[/tex]

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


[tex]\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}}[/tex]

[tex]= \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} - \frac{x^3 \sqrt{\pi}}{2\sqrt{a}} = 0[/tex]

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 [itex]v=\frac{\sqrt{\pi}}{2\sqrt{a}}[/itex] 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
 
  • #5
dextercioby
Science Advisor
Homework Helper
Insights Author
12,988
543
sanitykey said:
Hi, i have a problem which is confusing me :confused:

Question:

Given that

[tex]\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}[/tex]

What is

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

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

[tex] \int_{0}^{\infty} e^{-ax^2} \ x \ dx[/tex]

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.
(
 
  • #6
93
0
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.

[tex]\int_{0}^{\infty}e^{-ax^2} dx = \frac{\sqrt{\pi}}{2\sqrt{a}}[/tex]

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

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

[tex]\int_{0}^{\infty}e^{-ax^2} x dx = \frac{1}{2a}[/tex]

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

[tex]\int_{0}^{\infty}e^{-ax^2} x^3 dx = \frac{1}{2a^2}[/tex]

[tex]\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)[/tex]

[tex]\int_{0}^{\infty}e^{-ax^2} x^4 dx = \frac{3\sqrt{\pi}}{8(\sqrt{a})^5}[/tex]
 
Last edited:
  • #7
227
0
You're missing a half in the last line, otherwise that looks fine.
 
  • #8
93
0
Ok edited to correct that thank you :)
 

Related Threads on Integrating e^-ax^2

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
5
Views
23K
  • Last Post
Replies
10
Views
3K
Replies
2
Views
6K
Replies
2
Views
1K
  • Last Post
Replies
7
Views
925
Replies
2
Views
484
Replies
6
Views
320
Replies
6
Views
813
Replies
5
Views
589
Top