Evaluate the following integral

  • Thread starter Thread starter quasar987
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary
SUMMARY

The integral \int_{0}^{\infty} x^n e^{-ax^2} dx for even values of n can be evaluated using integration by parts. The process involves setting u=x^{n-1} and dv=xe^{-ax^2}dx, leading to a recursive relationship that simplifies the integral to \int_0^{\infty} e^{-ax^2} dx. This integral is a well-known result in multivariable calculus, yielding \sqrt{\frac{\pi}{2^n a^{n+1}}}\prod_{j=1,3,5,...}^{n-1} (n-j) as the final answer. The error function, Erf(x), is also referenced as part of the evaluation process.

PREREQUISITES
  • Integration techniques, specifically integration by parts
  • Understanding of the error function, Erf(x)
  • Knowledge of polar coordinates in double integration
  • Familiarity with definite integrals and their properties
NEXT STEPS
  • Study the properties and applications of the error function, Erf(x)
  • Learn about integration by parts in greater detail, including recursive applications
  • Explore polar coordinates and their role in evaluating double integrals
  • Investigate differentiation under the integral sign as an alternative evaluation method
USEFUL FOR

Students of calculus, mathematicians, and anyone interested in advanced integration techniques, particularly those focusing on even-powered integrals and error functions.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
Any idea on how to evaluate

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

where n is even?
 
Last edited:
Physics news on Phys.org
quasar987 said:
where n is pair ?

What's that mean?
 
oh sorry, pair = french for even.

Edited.
 
I would integrate by parts.

Hint:

<br /> u=x^{n-1}<br />

<br /> dv=xe^{-ax^2}dx<br />

Try that and see what you come up with.
 
How could have I missed that?!

Thx Matt!

Btw - are you still learning diff forms?
 
quasar987 said:
How could have I missed that?!

Can happen to anyone.

Thx Matt!

The name's Tom, not Matt. How would you like it if I called you "nebula"? :biggrin:

Btw - are you still learning diff forms?

Yeah, my next set of notes is in preparation. I stopped posting to the thread because I was asked to teach a couple of summer courses. They're condensed into 6 weeks, so I didn't have time for anything else.

Keep watching...
 
Sorry Tom. :biggrin:

I think I'm still missing an important point in your idea though.. in tegrating by parts like you advised I get

\int_{0}^{\infty} x^n e^{-ax^2} dx = \left[-\frac{x^{n-1}}{2a} e^{-ax^2} \right]_0^{\infty} + \frac{n-1}{2a} \int_0^{\infty} x^{n-2} e^{-ax^2} dx

So we can perform the same technique of integration on the last integral, and so on, such that after n/2 times of performing this trick, the integral we have to evaluate is

\int_0^{\infty} e^{-ax^2} dx

But what is that?! the integrator says its a constant times \mbox{Erf}[\sqrt{5}x] The heck is Erf ?
 
quasar987 said:
\int_0^{\infty} e^{-ax^2} dx

But what is that?!

That is perhaps the most famous integral ever taught to students of multivariable calculus, at least in America. It is a standard way to introduce polar coordinates in double integration.

I=\int_0^{\infty} e^{-ax^2} dx

I=\int_0^{\infty} e^{-ay^2} dy

I^2=\int_0^{\infty}\int_0^{\infty} e^{-a(x^2+y^2)} dx

Now convert to polar coordinates and evaluate.

the integrator says its a constant times \mbox{Erf}[\sqrt{5}x] The heck is Erf ?

Erf(x) is the error function.
 
RIIIIGHT! I remember browsing my calculus book last year, and for some random reason, I began reading this random problem. And I found it so cute I had to do it, and of course it was proving that this integral is worth \sqrt{\pi}/2 by the method you outlined!
 
  • #10
If you want to skip the integration by parts, you can choose to use the differentiation under the integral sign:

\int_{-\infty}^{\infty} x^{n} dx e^{-ax^{2}} = \int_{-\infty}^{\infty} dx \frac{d^{\frac{n}{2}}}{da^{\frac{n}{2}}}(-1)^{\frac{n}{2}}e^{-ax^{2}}

So now you can take the derivative with respect to a out in front:

(-1)^{\frac{n}{2}} \frac{d^{\frac{n}{2}}}{da^{\frac{n}{2}}}\int_{-\infty}^{\infty} dx e^{-ax^{2}}

So, once you've figured out what \int_{-\infty}^{\infty} dx e^{-ax^{2}} is, you could also do it in this way.
Notice of course, that this is only useful if n is even, which I think you stipulated, and if the integral is a definite integral.
 
  • #11
I'm not familiar with the use of this method TOKAMAK (I'm not Feynman).

btw, if anyone carried out the problem til the end and want to compare, I arrive at

\sqrt{\frac{\pi}{2^n a^{n+1}}}\prod_{j=1,3,5,...}^{n-1} (n-j)
 

Similar threads

Replies
28
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
3K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 16 ·
Replies
16
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K