Is there an easy way to find the value of e^(-x^2) using numerical methods?

  • Thread starter C0nfused
  • Start date
  • Tags
    Integration
In summary, Daniel discussed how a definite integral can be solved using multivariable calculus. He mentioned the theorem of residues of A.Cauchy and showed how to solve the integral using a change of variables step. Finally, he demonstrated how to solve an iterated double integral using a U-substitution.
  • #1
C0nfused
139
0
Hi everybody,
Do you have any idea how this is solved?
[tex]\int_{-\infty}^{+\infty} e^{-x^2} dx =?[/tex]
Thanks
 
Physics news on Phys.org
  • #2
yes. first note the integral exists, let its value be T.

By some theorem

T^2 = [tex]\int_{-\infty}^{+\infty} e^{-x^2} dx\int_{-\infty}^{+\infty} e^{-y^2} dy[/tex]

which equals

[tex]\int_{-\infty}^{+\infty} e^{-x^2-y^2} dxdy[/tex]

now put it into polars
 
  • #3
I=[tex]\int_{0}^{+\infty} e^{-x^2} dx[/tex], is solved using a trick, and integrating in polar coordinates, in which the Jacobian helps solving it. It is equal to [tex]\frac{\sqrt{\pi}}{2}[/tex]. Your integral is just 2I, I think.
 
  • #4
Oggy,the "trick" applies for his integral.Yours,if u apply Fubini's theorem,will not lead to an integral over [itex]\mathbb{R}^{2} [/itex],but over the semiplane [itex] x\geq 0 [/itex] and it wouldn't be the same...

To evaluate that integral (and to get the value u wrote),u need another "trick":the integrand is even,therefore

[tex] \int_{0}^{+\infty} e^{-x^{2}} \ dx =\frac{1}{2}\int_{\mathbb{R}} e^{-x^{2}} \ dx [/tex]



Daniel.
 
  • #5
elaborating with what dexter had stated:

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

Convert to DI problem:

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

[tex]=(\int_{0}^{\infty} e^{-x^2} dx) (\int_{0}^{\infty} e^{-y^2} dy)[/tex]

[tex]=\int_{0}^{\infty}\int_{0}^{\infty} e^{-x^2}e^{-y^2} dxdy[/tex]

[tex]=\int_{0}^{\infty}\int_{0}^{\infty} e^{-{(x^2+y^2)}} dxdy[/tex]

From here using a Change of Variables step or noticing the region we are integrating is simply a semicircular arc, we can use polar coordinates:

[tex]=\int_{0}^{\frac{\pi}{2}}\int_{0}^{R} e^{-r^2}r drd\theta[/tex]

Where we take the limit of this as R --> infinity and the extra r in the integrand is from the Jacobian when switching to polar coordinates (proven in the change of variables theorem)

And NOW we can use a U-substitution to easily solve this iterated double integral:

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

Thus:

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

It seems like we can solve quite a few "definite" or "improper" integrals of non elementary functions using multivar. calculus. Does anyone know any other methods?
 
  • #6
The theorem of residues of A.Cauchy never fails...:wink:

Daniel.
 
  • #7
That's exactly what I referred to.
 
  • #8
Well... you didn't explicitly state residue calculus now did you :wink:
 
  • #9
Thanks for your help. I am not very familiar with integration theorems but i wanted to calculate this integral because the normal distibution function has a term like this
(e^(-x^2)) and the integral is 1. I checked it in Mathematica and the indefinite integral of the function g(x)=e^(-x^2) is (1/2)*[(pi)^(1/2)]*erf(x). Do u know what this erf(x) is? (a simple explanation as I am not very advanced in analysis)
 
  • #10
The way i know it (it coincides with the definition swallowed by Mathematica and my Maple)

[tex] \mbox{erf} (x)=:\frac{2}{\sqrt{\pi}}\int_{0}^{x} e^{-t^{2}} \ dt [/tex]



Daniel.
 
  • #11
Numerical values of erf(x) or the "error function" can be readily looked up in any book of math tables.

http://www.uni-mainz.de/FB/Geo/Geologie/Geophysik/Lithosphere/erfTable.htm
 
Last edited by a moderator:

FAQ: Is there an easy way to find the value of e^(-x^2) using numerical methods?

What is the integration of e^(-x^2)?

The integration of e^(-x^2) is a mathematical function that calculates the area under the curve of the function e^(-x^2) with respect to the variable x. This integration is also known as the Gaussian integral and it has no closed-form solution.

Why is the integration of e^(-x^2) important?

The integration of e^(-x^2) is important in various fields of science and engineering, such as physics, statistics, and signal processing. It is used to calculate probabilities in normal distributions, model the behavior of particles in quantum mechanics, and filter signals in communication systems.

How is the integration of e^(-x^2) solved?

The integration of e^(-x^2) is solved using advanced mathematical techniques, such as substitution, integration by parts, and series expansions. It also involves complex mathematical concepts, such as the Gamma function and the error function.

What is the domain and range of the integration of e^(-x^2)?

The domain of the integration of e^(-x^2) is the set of all real numbers, while the range is the set of all positive real numbers. This means that the function can be integrated for any value of x, but the result will always be a positive value.

Are there any practical applications of the integration of e^(-x^2)?

Yes, there are many practical applications of the integration of e^(-x^2) in various fields. For example, it is used to calculate the probability of finding a particle in a certain energy state in quantum mechanics, to model the distribution of errors in measurements, and to calculate the area under a normal distribution curve in statistics.

Back
Top