What is the integral of this Gaussian distribution?

Click For Summary
SUMMARY

The integral of the Gaussian distribution, represented as p(x) = Aexp(-λ(x-a)^2), is solved by determining the normalization constant A through the equation 1 = ∫ p(x)dx. The discussion highlights the use of substitution techniques, particularly the transformation u = √λ(x-a), to simplify the integral into a standard form. A key method mentioned involves squaring the integral and converting to polar coordinates, which facilitates the evaluation of the integral over the plane. This approach, attributed to Poisson, emphasizes the cleverness of manipulating the integral for easier computation.

PREREQUISITES
  • Understanding of Gaussian distributions and their properties
  • Familiarity with integral calculus and substitution methods
  • Knowledge of polar coordinates and their application in double integrals
  • Experience with exponential functions and their integrals
NEXT STEPS
  • Study the derivation of the Gaussian integral and its applications in probability theory
  • Learn about the method of completing the square in integrals
  • Explore the use of polar coordinates in multiple integrals
  • Investigate the historical context and significance of Poisson's method in integral calculus
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with Gaussian distributions, integral calculus, or statistical mechanics will benefit from this discussion.

Boltzman Oscillation
Messages
233
Reaction score
26

Homework Statement



Find A in

p(x) = Aexp(-λ(x-a)^2)
by using the equation 1 = ∫ p(x)dx

Homework Equations



1 = ∫p(x)dx

The Attempt at a Solution



I expand the power of the exponential and then extract the constant exponential to get:

Aexp(λa^2) ∫exp(-λx^2)exp(2aλx)dx

I don't know how to proceed now.
 
Physics news on Phys.org
I'd just let \alpha = x - a and integrate it out. A is the normalization constant. it is a pretty simple analytic integral.
 
Dr Transport said:
it is a pretty simple analytic integral.
Pretty simple if you know the trick! But the trick is not obvious if you’ve never seen it before.

@Boltzmann Oscillation
I would not expand the exponent like you did, I would instead make the substitution that Dr Transport suggested.

The trick behind solving the integral (the only way I know) is to multiply the integral with itself but with another dummy variable, then combine and convert to polar coordinates and integrate over the plane, then take the square root at the end.

I think it’s unclear in words so I’ll show the first few steps without the constants:
$$[\int_{-∞}^∞ e^{-x^2}dx]^2 = [\int_{-∞}^∞ e^{-x^2}dx]⋅ [\int_{-∞}^∞ e^{-y^2}dy] = \int_{-∞}^∞\int_{-∞}^∞ e^{-x^2}e^{-y^2}dxdy = \int_{-∞}^∞\int_{-∞}^∞ e^{-(x^2+y^2)}dxdy$$
 
  • Like
Likes WWGD
Boltzmann Oscillation said:

Homework Statement



Find A in

p(x) = Aexp(-λ(x-a)^2)
by using the equation 1 = ∫ p(x)dx

Homework Equations



1 = ∫p(x)dx

The Attempt at a Solution



I expand the power of the exponential and then extract the constant exponential to get:

Aexp(λa^2) ∫exp(-λx^2)exp(2aλx)dx

I don't know how to proceed now.

Is this supposed to be an integral from ##-\infty## to ##+\infty?## If so, just put ##u = \sqrt{\lambda}(x-a),## to get a standard integral which is easily accessed on-line, or even in good old-fashioned books.

Note added in edit: I see that Hiero beat me to it in post #3, but that post did not appear on my screen until after I had pressed the enter key for my contribution.
 
Last edited:
Hiero said:
Pretty simple if you know the trick! But the trick is not obvious if you’ve never seen it before.

@Boltzmann Oscillation
I would not expand the exponent like you did, I would instead make the substitution that Dr Transport suggested.

The trick behind solving the integral (the only way I know) is to multiply the integral with itself but with another dummy variable, then combine and convert to polar coordinates and integrate over the plane, then take the square root at the end.

I think it’s unclear in words so I’ll show the first few steps without the constants:
$$[\int_{-∞}^∞ e^{-x^2}dx]^2 = [\int_{-∞}^∞ e^{-x^2}dx]⋅ [\int_{-∞}^∞ e^{-y^2}dy] = \int_{-∞}^∞\int_{-∞}^∞ e^{-x^2}e^{-y^2}dxdy = \int_{-∞}^∞\int_{-∞}^∞ e^{-(x^2+y^2)}dxdy$$
Interesting ill use both yours and the previous method. Whats the name of the method you ised?
 
Hiero said:
Pretty simple if you know the trick! But the trick is not obvious if you’ve never seen it before.

@Boltzmann Oscillation
I would not expand the exponent like you did, I would instead make the substitution that Dr Transport suggested.

The trick behind solving the integral (the only way I know) is to multiply the integral with itself but with another dummy variable, then combine and convert to polar coordinates and integrate over the plane, then take the square root at the end.

I think it’s unclear in words so I’ll show the first few steps without the constants:
$$[\int_{-∞}^∞ e^{-x^2}dx]^2 = [\int_{-∞}^∞ e^{-x^2}dx]⋅ [\int_{-∞}^∞ e^{-y^2}dy] = \int_{-∞}^∞\int_{-∞}^∞ e^{-x^2}e^{-y^2}dxdy = \int_{-∞}^∞\int_{-∞}^∞ e^{-(x^2+y^2)}dxdy$$

Alright so when i substitute polar coordnates for my eauation i have to find the integral of:

(-A/sqrt(λ))∫∫exp(r^2)dφdr
I can integrate dφ easily but how do i integrate dr?
 
Boltzmann Oscillation said:
Alright so when i substitute polar coordnates for my eauation i have to find the integral of:

(-A/sqrt(λ))∫∫exp(r^2)dφdr
I can integrate dφ easily but how do i integrate dr?

The polar-coordinate area element is ##dA = r dr d\phi,## NOT the ##dr d\phi## that you wrote. That is actually the whole point of the "trick".
 
  • Like
Likes Hiero
Boltzmann Oscillation said:
Interesting ill use both yours and the previous method. Whats the name of the method you ised?
I don’t think it has a name. In fact I’ve never seen it used for anything but this exact problem!

I will always remember it though because of how clever it is, it left a strong impression when I first saw it.
 
According to https://www.york.ac.uk/depts/maths/histstat/normal_history.pdf, this trick was discovered by Poisson. The integral had already been evaluated by several more complicated methods, so it was known to take the form of a square root. I would guess that gave M. Poisson the idea to consider squaring the integral.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
4K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K