Consider the Gaussian Distribution....?

Click For Summary

Homework Help Overview

The discussion revolves around the Gaussian distribution, specifically the normalization constant \( A \) in the equation \( p(x) = Ae^{-\lambda(x-a)^{2}} \). Participants are exploring the implications of the integral of the probability density function equating to one, and the significance of the error function in this context.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the evaluation of the integral to find \( A \) and express confusion about the role of the error function and the constants involved. Questions arise regarding the significance of the Gaussian distribution and the central limit theorem. There is also inquiry into the normalization process and the transition from rectangular to polar coordinates in the context of integration.

Discussion Status

Some participants have provided hints regarding the normalization process and suggested exploring the relationship between the Gaussian integral and polar coordinates. Others are still grappling with the evaluation of the integral and the implications of the error function, indicating a mix of understanding and uncertainty in the discussion.

Contextual Notes

Participants mention the need to look up integrals and the significance of the Gaussian distribution in probability theory. There is also a note about the potential complexity of switching to polar coordinates for certain integrals.

Destroxia
Messages
204
Reaction score
7

Homework Statement



Consider the Gaussian Distribution

## p(x) = Ae^{-\lambda(x-a)^{2}} ##,

where ## A ##, ##a##, and ##\lambda## are constants. (Look up any integrals you need.)

(a) Determine ##A##

(I only need help with this (a))

Homework Equations



##\int_{-\infty}^{\infty} p(x)dx = 1##

##\langle x \rangle = \int_{-\infty}^{\infty} xp(x)dx##

##\sigma^{2} \equiv \langle (\Delta x)^{2}) \rangle = \langle x^{2} \rangle - \langle x \rangle^{2} ##

## \int e^{-ax^{2}} = \sqrt{\frac {\pi} {a}}## erf##(x)##

## \int e^{ax^{2}} = -i \sqrt{\frac {\pi} {a}}## erf##(x)## (Where does the -i and sqrt come from?)

The Attempt at a Solution



## p(x) = Ae^{-\lambda(x-a)^{2}} ##

## 1 = A \int_{-\infty}^{\infty} e^{-\lambda(x-a)^{2}}dx##

## u = x-a, du=dx, u: -\infty ## to ## \infty ##

## 1 = A \int_{-\infty}^{\infty} e^{-\lambda u^{2}}dx ##

## 1 = A[\sqrt{\frac {\pi} {\lambda}}## erf##(x) ## ##]_{-\infty}^{\infty}##

(stuck here... how to evaluate this...?)

Okay, so... I have a few questions here...

1) I know that ## \int e^{ax^{2}}## does not evaluate in terms of elementary functions, but an error function... but why does the ##-i## and ##\sqrt{\frac {\pi} {a}}## come into play, being multiplied by the erf(x)?

2) What exactly is a gaussian distribution, and what is the significance of it?

3) How do I evaluate the erf(x) function from ##\infty## to ##\infty##. The book's solution shows it disappears away after they evaluate from ##-\infty## to ##\infty##... ?

4) The answer for A in the book ends up being ## A = \sqrt{\frac {\lambda} {\pi}}##, which I see how they got that, but where did the error function go to in the evaluation? Do we just consider it not there? Shouldn't it be ## A = \sqrt{\frac {\lambda} {\pi}}## erf##(x)##?
 
Physics news on Phys.org
There is a textbook trick for determining the normalisation constant ##A##. It involves evaluating the product of two normalisation integrals, one in the variable ##x## and one in the variable ##y##, and a change to polar coordinates. There is no need to bother with the error function at any point. Maybe try to play with this hint a bit?

The Gaussian distribution is ubiquitous in probability, because in some precise sense (look up "central limit theorem" and "convergence in distribution" or "weak convergence" in a good probability textbook), the sum of ##n## independent and identically distributed random variables is approximately distributed according to a Gaussian, when ##n## is large. This explains, for example, why in the sciences certain deviations from a mean are often supposed to follow a Gaussian distribution, because they are assumed to be the cumulative effect of many (small) independent errors.
 
RyanTAsher said:

Homework Statement



Consider the Gaussian Distribution

## p(x) = Ae^{-\lambda(x-a)^{2}} ##,

where ## A ##, ##a##, and ##\lambda## are constants. (Look up any integrals you need.)

(a) Determine ##A##

(I only need help with this (a))

Homework Equations



##\int_{-\infty}^{\infty} p(x)dx = 1##

##\langle x \rangle = \int_{-\infty}^{\infty} xp(x)dx##

##\sigma^{2} \equiv \langle (\Delta x)^{2}) \rangle = \langle x^{2} \rangle - \langle x \rangle^{2} ##

## \int e^{-ax^{2}} = \sqrt{\frac {\pi} {a}}## erf##(x)##

## \int e^{ax^{2}} = -i \sqrt{\frac {\pi} {a}}## erf##(x)## (Where does the -i and sqrt come from?)

The Attempt at a Solution



## p(x) = Ae^{-\lambda(x-a)^{2}} ##

## 1 = A \int_{-\infty}^{\infty} e^{-\lambda(x-a)^{2}}dx##

## u = x-a, du=dx, u: -\infty ## to ## \infty ##

## 1 = A \int_{-\infty}^{\infty} e^{-\lambda u^{2}}dx ##

## 1 = A[\sqrt{\frac {\pi} {\lambda}}## erf##(x) ## ##]_{-\infty}^{\infty}##

(stuck here... how to evaluate this...?)

Okay, so... I have a few questions here...

1) I know that ## \int e^{ax^{2}}## does not evaluate in terms of elementary functions, but an error function... but why does the ##-i## and ##\sqrt{\frac {\pi} {a}}## come into play, being multiplied by the erf(x)?

2) What exactly is a gaussian distribution, and what is the significance of it?

3) How do I evaluate the erf(x) function from ##\infty## to ##\infty##. The book's solution shows it disappears away after they evaluate from ##-\infty## to ##\infty##... ?

4) The answer for A in the book ends up being ## A = \sqrt{\frac {\lambda} {\pi}}##, which I see how they got that, but where did the error function go to in the evaluation? Do we just consider it not there? Shouldn't it be ## A = \sqrt{\frac {\lambda} {\pi}}## erf##(x)##?

What is preventing you from looking up 'Gaussian integral' in Google? All your questions will be answered!
 
Krylov said:
There is a textbook trick for determining the normalisation constant ##A##. It involves evaluating the product of two normalisation integrals, one in the variable ##x## and one in the variable ##y##, and a change to polar coordinates. There is no need to bother with the error function at any point. Maybe try to play with this hint a bit?

The Gaussian distribution is ubiquitous in probability, because in some precise sense (look up "central limit theorem" and "convergence in distribution" or "weak convergence" in a good probability textbook), the sum of ##n## independent and identically distributed random variables is approximately distributed according to a Gaussian, when ##n## is large. This explains, for example, why in the sciences certain deviations from a mean are often supposed to follow a Gaussian distribution, because they are assumed to be the cumulative effect of many (small) independent errors.

Ray Vickson said:
What is preventing you from looking up 'Gaussian integral' in Google? All your questions will be answered!

I did search this process, but I didnt really understand the normalization process with the two variables, and converting to polar coordinate.

I wanted to see if i could possibly evaluate it in terms of the erf(x) function, but it appears to all cancel out. So, my follow up question after searching the internet is what exactly makes this normalization process equivalent? I just don't understand how you can get the exponential from -x^2 to -(x^2+y^2)... i understand how e^-x^2*e^-y^2 gets us to there, but I don't understand why, or how we decide to put these two functions together.
 
RyanTAsher said:
I did search this process, but I didnt really understand the normalization process with the two variables, and converting to polar coordinate.

I wanted to see if i could possibly evaluate it in terms of the erf(x) function, but it appears to all cancel out. So, my follow up question after searching the internet is what exactly makes this normalization process equivalent? I just don't understand how you can get the exponential from -x^2 to -(x^2+y^2)... i understand how e^-x^2*e^-y^2 gets us to there, but I don't understand why, or how we decide to put these two functions together.

Just switch from rectangular coordinates ##(x,y)## to polar coordinates ##(r, \theta)##. That trick works because you are integrating over the whole 2-dimensional plane, so you don't run into any difficult "boundary" issues. It would not work for a finite integration such as ##I = \int_{x=a}^b e^{-x^2} \, dx##, because now ##I^2## would be a two-dimensional integration over a finite square in the plane, and switching to polar coordinates would give horrible boundary effects that are almost impossible to deal with.

The article http://www.math.uconn.edu/~kconrad/blurbs/analysis/gaussianintegral.pdf gives ten different proofs of the result, ranging from rather elementary to quite advanced.
 
Last edited:

Similar threads

Replies
6
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K