Integrating e^(-x^2)

Narmer

Diamond Member
Aug 27, 2006
5,292
0
0
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.
 

BrownTown

Diamond Member
Dec 1, 2005
5,314
1
0
sqrt(pi)/2*erf(x) ?

edit, and oh yeah screw polar coordinates, this is why god invented calculators, or at least lookup tables.
 

TuxDave

Lifer
Oct 8, 2002
10,571
3
71
I don't think there is one. You have to do numerical analysis to get the approximation.
 

mfs378

Senior member
May 19, 2003
505
0
0
This is how you do it:

The integral you want to solve is

int_{-inf}^{inf} exp(-x^2) dx

This is equal to

sqrt( (int_{-inf}^{inf} exp(-x^2) dx) * (int_{-inf}^{inf} exp(-y^2) dy))

Now convert into polar coordinates and it should be straightforward from there.
 

mfs378

Senior member
May 19, 2003
505
0
0
Originally posted by: Throwmeabone
Yeah, I thought it doesn't have an antiderivative.

Yeah it doesn't but you can still integrate it if the limits are infinite.
 
Aug 10, 2001
10,420
2
0
I found this in some of my old notes:

let I = integral[e^(-z^2)]dz

then I^2 = integral[e^(-x^2)]dx*integral[(e^(-y^2)]dy

write the iterated integral as a double integral:

I^2 = integral[e^(-(x^2+y^2))]dxdy

change to polar coordinates:

I^2=integral[e^(-r^2)*r]drd?

then I^2 = Pi (using the proper limits)

and I=sqrt(Pi)

 

Narmer

Diamond Member
Aug 27, 2006
5,292
0
0
Thanks guys, that solution has been staring me in the face for hours but I thought I couldn't do it that way.

EDIT: By the way are the proper limits for theta -pi to pi and -1 to 1 for the radius?
 

chuckywang

Lifer
Jan 12, 2004
20,133
1
0
Originally posted by: Narmer
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.

Let I = integral e^(-x^2) dx from -inf to inf.

Therefore, I^2 = integral e^(-x^2) dx from -inf to inf * integral e^(-y^2) dy from -inf to inf

= double integral of e(-(x^2+y^2)) from -inf to -inf dx and -inf to inf dy

Converting to polar coordinates, we get: integral of r*e^(-r^2) from -inf to inf dr and 0 to 2pi d(theta). Integrating that we get that I^2 = pi, so I = sqrt (pi).

Hope that helps.
 

sao123

Lifer
May 27, 2002
12,650
203
106
Originally posted by: Narmer
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.

The TI 89 says it cannot be integrated... who are you to question this wisdom?
 
Aug 10, 2001
10,420
2
0
Originally posted by: chuckywang
Originally posted by: Narmer
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.

Let I = integral e^(-x^2) dx from -inf to inf.

Therefore, I^2 = integral e^(-x^2) dx from -inf to inf * integral e^(-y^2) dy from -inf to inf

= double integral of e(-(x^2+y^2)) from -inf to -inf dx and -inf to inf dy

Converting to polar coordinates, we get: integral of r*e^(-r^2) from -inf to inf dr and 0 to 2pi d(theta). Integrating that we get that I^2 = pi, so I = sqrt (pi).

Hope that helps.
I guess my posts are invisible because I posted the exact same thing about an hour ago.

And of course r goes from 0 to infinity as r is never negative.

 

mfs378

Senior member
May 19, 2003
505
0
0
Originally posted by: Random Variable
Originally posted by: chuckywang
Originally posted by: Narmer
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.

Let I = integral e^(-x^2) dx from -inf to inf.

Therefore, I^2 = integral e^(-x^2) dx from -inf to inf * integral e^(-y^2) dy from -inf to inf

= double integral of e(-(x^2+y^2)) from -inf to -inf dx and -inf to inf dy

Converting to polar coordinates, we get: integral of r*e^(-r^2) from -inf to inf dr and 0 to 2pi d(theta). Integrating that we get that I^2 = pi, so I = sqrt (pi).

Hope that helps.
I guess my posts are invisible because I posted the exact same thing about an hour ago.

And of course r goes from 0 to infinity as r is never negative.

Just as my previous post was invisible to you, apparently.
 
Aug 10, 2001
10,420
2
0
Originally posted by: mfs378
Originally posted by: Random Variable
Originally posted by: chuckywang
Originally posted by: Narmer
The boundary is from negative to positive infinity. I know the answer is the square root of pi. I also know that it's good to switch to polar coordinate. But I cannot seem to get the right function to plug in the (new) boundaries. I haven't done calculus since high school and cannot remember this.

Let I = integral e^(-x^2) dx from -inf to inf.

Therefore, I^2 = integral e^(-x^2) dx from -inf to inf * integral e^(-y^2) dy from -inf to inf

= double integral of e(-(x^2+y^2)) from -inf to -inf dx and -inf to inf dy

Converting to polar coordinates, we get: integral of r*e^(-r^2) from -inf to inf dr and 0 to 2pi d(theta). Integrating that we get that I^2 = pi, so I = sqrt (pi).

Hope that helps.
I guess my posts are invisible because I posted the exact same thing about an hour ago.

And of course r goes from 0 to infinity as r is never negative.

Just as my previous post was invisible to you, apparently.
I'm blind.

 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |