Need help with expected value of probability distribution

Click For Summary

Homework Help Overview

The original poster is attempting to find the expected value of a probability distribution, specifically involving an integral that includes a Gaussian function. The context involves probability theory and integral calculus.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster discusses various substitutions and expresses uncertainty about the expected value, suggesting it might be related to the parameter \(dt\). Other participants propose different approaches to evaluate the integral, including breaking it into parts and considering the properties of odd functions.

Discussion Status

Participants are actively engaging with the problem, offering hints and alternative methods for evaluating the integral. There is an acknowledgment of the challenges faced by the original poster, and some guidance has been provided regarding the nature of the integrand.

Contextual Notes

There is mention of confusion regarding the evaluation of integrals involving odd functions and the correct variable substitutions. The discussion reflects a collaborative effort to clarify these mathematical concepts without reaching a definitive conclusion.

andresthor
Messages
3
Reaction score
0

Homework Statement



I'm trying to find the expected value of a probability distribution.

Homework Equations



[tex]\int_{-\infty}^\infty xP(x,t) = \int_{-\infty}^\infty x \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{(x-dt)^2}{4Dt}}dx[/tex]

The Attempt at a Solution



I expect the value to be something like $dt$ but then again I might be way off.
I've tried some different substitutions but have had no luck. One example of what I've been trying:

[tex] \begin{equation}<br /> \frac{1}{\sqrt{4\pi Dt}}\int_{-\infty}^\infty x e^{-\frac{(x-dt)^2}{4Dt}}dx=\left/ u=x-dt\right/ = \frac{1}{\sqrt{4\pi Dt}}\int_{-\infty}^\infty (u+dt) e^{-\frac{u^2}{4Dt}}du = \frac{1}{\sqrt{4\pi Dt}}\left(\int_{-\infty}^\infty u e^{-\frac{u^2}{4Dt}}du + dt \int_{-\infty}^\infty e^{-\frac{u^2}{4Dt}}du\right)<br /> \end{equation}[/tex]

But then I get nowhere.
 
Physics news on Phys.org
For an integral of the form

[tex]\int xe^{-k(x-a)^2} dx[/tex]

I would write it as

[tex]\int (x-a)e^{-k(x-a)^2} dx+ a\int e^{-k(x-a)^2} dx[/tex]

and try the substitution u = (x-a)2 on the first one. Then you can use the fact that

[tex]\int_{-\infty}^\infty e^{-t^2}\, dt = \sqrt\pi[/tex]
 
Ok. I gave it another shot but I don't seem to be able to come up with a reasonable solution.

[tex] \begin{equation}<br /> \frac{1}{\sqrt{4\pi Dt}}\int_{-\infty}^\infty x e^{-\frac{(x-t)^2}{4Dt}} dx=\frac{1}{\sqrt{4\pi Dt}} \left( \int_{-\infty}^\infty (x-dt) e^{-\frac{(x-dt)^2}{4Dt}} dx - dt \int_{-\infty}^\infty e^{-\frac{(x-dt)^2}{4Dt}} dx \right) =/u=(x-dt)/ = <br /> \end{equation}[/tex]
[tex] \begin{equation}<br /> \frac{1}{\sqrt{4\pi Dt}} \int_{-\infty}^\infty (u) e^{-\frac{u^2}{4Dt}} dx - \frac{1}{\sqrt{4\pi Dt}} dt \int_{-\infty}^\infty e^{-\frac{(x-dt)^2}{4Dt}} dx<br /> \end{equation}[/tex]

Now I'm pretty sure the right one becomes dt*1, but the other one has me a bit confused. Does the left one equal pi times the constant even though I have 4Dt in the denominator under u?
I'm just completely lost here.
 
Hint: The integrand of the left integral is an odd function of u. (And the dx should be du.)
 
andresthor said:
Ok. I gave it another shot but I don't seem to be able to come up with a reasonable solution.

[tex] \begin{equation}<br /> \frac{1}{\sqrt{4\pi Dt}}\int_{-\infty}^\infty x e^{-\frac{(x-t)^2}{4Dt}} dx=\frac{1}{\sqrt{4\pi Dt}} \left( \int_{-\infty}^\infty (x-dt) e^{-\frac{(x-dt)^2}{4Dt}} dx - dt \int_{-\infty}^\infty e^{-\frac{(x-dt)^2}{4Dt}} dx \right) =/u=(x-dt)/ = <br /> \end{equation}[/tex]
[tex] \begin{equation}<br /> \frac{1}{\sqrt{4\pi Dt}} \int_{-\infty}^\infty (u) e^{-\frac{u^2}{4Dt}} dx - \frac{1}{\sqrt{4\pi Dt}} dt \int_{-\infty}^\infty e^{-\frac{(x-dt)^2}{4Dt}} dx<br /> \end{equation}[/tex]


Now I'm pretty sure the right one becomes dt*1, but the other one has me a bit confused. Does the left one equal pi times the constant even though I have 4Dt in the denominator under u?
I'm just completely lost here.

In the integral on the left (which should have du instead of dx) try the substitution:

[tex]v = \frac {u^2} {\sqrt{4Dt}}[/tex]

Or you could observe the integrand is an odd function :wink:
 
Of course! It's an odd function!

Thanks for the help, really appreciated.
 

Similar threads

Replies
1
Views
3K
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K