How Do You Calculate the Probability Density p(E) for an Ideal Gas?

  • Thread starter Thread starter ehrenfest
  • Start date Start date
  • Tags Tags
    Gas Ideal gas
Click For Summary

Homework Help Overview

The discussion revolves around calculating the probability density function p(E) for an ideal gas, given the velocity distribution p(v_x, v_y, v_z) and the relationship between energy and velocity. Participants are exploring the transition from a velocity-based probability density to one based on energy.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the initial attempt to substitute energy into the probability density function, questioning why this approach yields incorrect results. There is a focus on the need to account for the relationship between velocity and energy, and how to express the probability density in terms of energy.

Discussion Status

Some participants have provided insights into the need for additional factors when transitioning from velocity to energy, suggesting that the probability density must account for the infinitesimal changes in energy. There is ongoing exploration of how to relate the velocity distribution to the energy distribution, with some participants indicating a need for further clarification on the mathematical steps involved.

Contextual Notes

Participants note that the problem requires expressing the probability density in terms of energy rather than speed, which introduces complexity due to the dependence of energy on the square of velocity. There is also mention of integrating over all directions to obtain the correct form of the probability density in energy.

ehrenfest
Messages
2,001
Reaction score
1

Homework Statement


The following is a probability density distribution for an ideal gas:
[tex]p(v_x,v_y,v_z) = (2 \pi \sigma ^2)^{-3/2} \exp\left({\frac{v_x^2 +v_y^2+v_z^2}{2 \sigma^2}}\right)[/tex]

[tex]E = 0.5 m |\vec{v}|^2[/tex]

Find p(E).

Homework Equations


The Attempt at a Solution


I want to just plug in what E but that gives the wrong answer and I cannot figure out why.
[tex]p(E) = (2 \pi \sigma ^2)^{-3/2} \exp\left({\frac{E}{m \sigma^2}}\right)[/tex]
Why is that wrong? It makes no sense, but I just plugged in what E was! This is really bothering me.
 
Physics news on Phys.org
ehrenfest said:

Homework Statement


The following is a probability density distribution for an ideal gas:
[tex]p(v_x,v_y,v_z) = (2 \pi \sigma ^2)^{-3/2} \exp\left({\frac{v_x^2 +v_y^2+v_z^2}{2 \sigma^2}}\right)[/tex]

[tex]E = 0.5 m |\vec{v}|^2[/tex]

Find p(E).

Homework Equations





The Attempt at a Solution


I want to just plug in what E but that gives the wrong answer and I cannot figure out why.
[tex]p(E) = (2 \pi \sigma ^2)^{-3/2} \exp\left({\frac{E}{m \sigma^2}}\right)[/tex]
Why is that wrong? It makes no sense, but I just plugged in what E was! This is really bothering me.


What is the correct answer? It's a probability *density* so there is also a factor [tex]dv_x dv_y dv_z[/tex] that must be multiplied to get a probability. If you want the probability density in terms of the energy you wil have to relate the above factors to the infinitesimal [tex]dE[/tex]

EDIT: it's a density in speed so the factor to convert is probably dv
 
Interesting. BTW, is it generally true that if y=y(x) and x=x(z), then y=y(x(z))? That is, you can write y as a function of z just by plugging in x as a function of z. That rule seems to fail here. But in general, when is it true?
 
Last edited:
ehrenfest said:
Interesting. BTW, is it generally true that if y=y(x) and x=x(z), then y=y(x(z))? That is, you can right y as a function of z just by plugging in x as a function of z. That rule seems to fail here. But in general, when is it true?

It is true in general, yes.

The problem here is that what you are looking for is *not* simply y(x(z))!

what you are looking for is the probability density in energy so the probability of measuring an energy between E and E+dE.. If you just plug in v in terms of energy, you are still giving the probability density in *speed*, so you are giving th eprobability of measuring the speed between v and v+dv. This is not what you are asked to find!
 
So, back to the original problem. [itex]p(v_x, v_y, v_z)dv_x dv_y dv_z[/tex] gives the probability of finding the particle's velocity in the box with side lengths [itex]dv_x, dv_y, dv_z[/itex] with the one corner at [itex](v_x, v_y, v_z)[/itex].<br /> <br /> And I want to find p(E) such that [itex]p(E)dE[/tex] gives the probability of finding the particle's energy between E and E+dE. <br /> <br /> We know that [itex]dE = 1/2m(2v_x dv_x + 2v_y dv_y+2v_z dv_z)[/itex], but I still don't really know how to proceed. Do express each of dv_x dv_y dv_z as a function of dE somehow?<br /> <br /> You said something about just using dv, but I am not sure what you meant. Can you elaborate?[/itex][/itex]
 
ehrenfest said:
So, back to the original problem. [itex]p(v_x, v_y, v_z)dv_x dv_y dv_z[/tex] gives the probability of finding the particle's velocity in the box with side lengths [itex]dv_x, dv_y, dv_z[/itex] with the one corner at [itex](v_x, v_y, v_z)[/itex].<br /> <br /> And I want to find p(E) such that [itex]p(E)dE[/tex] gives the probability of finding the particle's energy between E and E+dE. <br /> <br /> We know that [itex]dE = 1/2m(2v_x dv_x + 2v_y dv_y+2v_z dv_z)[/itex], but I still don't really know how to proceed. Do express each of dv_x dv_y dv_z as a function of dE somehow?<br /> <br /> You said something about just using dv, but I am not sure what you meant. Can you elaborate?[/itex][/itex]
[itex][itex] <br /> You can't directly get from the distribution in v_x, v_y an dv_z to the density in Energy since there is more information in the first than in the second (since E depends only on v^2). So you need to find the probability density in the speed first. So you integrate over all directions using [tex]dv_x dv_y dv_z = v^2 dv d\Omega[/tex]. But the result of the angular integral is simply [tex]4 \pi v^2 dv[/tex] times the probability density in v_x, v_y and v_z so<br /> <br /> [tex]\rho(v) dv = 4 \pi \rho(v_x,v_y,v_z) v^2 dv[/tex]<br /> where it is understood that in the sceon term you rewrite everything in terms of the speed v.[/itex][/itex]
 

Similar threads

Replies
12
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K