Mathematical detail regarding Boltzman's H thm

  • Context: Mathematica 
  • Thread starter Thread starter quasar987
  • Start date Start date
  • Tags Tags
    Mathematical
Click For Summary
SUMMARY

The discussion clarifies the definition of H in the context of Boltzmann's H theorem, specifically stating that H is indeed the mean value of ln P_r, represented mathematically as H = Σ P_r ln P_r. This formulation aligns with Shannon's definition of information entropy and connects to Gibbs' entropy through the Boltzmann factor. The confusion arises from the notation used, but it is emphasized that summation should occur over states rather than variables. The discussion also highlights that while H can be viewed as a mean value, it is more insightful to consider entropy in terms of the number of microstates corresponding to a macrostate.

PREREQUISITES
  • Understanding of Boltzmann's H theorem
  • Familiarity with Shannon's information entropy
  • Basic knowledge of statistical mechanics
  • Proficiency in mathematical notation and summation concepts
NEXT STEPS
  • Study the derivation of Gibbs' entropy S = -k Σ P_r ln P_r
  • Explore the relationship between information theory and statistical mechanics as discussed in Jaynes' Phys. Rev. 106:620-630 (1957)
  • Investigate the implications of entropy in thermodynamic systems, particularly ideal gases
  • Review Chandler's "Intro to Modern Stat Mech," focusing on Chapter 3 for deeper insights
USEFUL FOR

This discussion is beneficial for physicists, statisticians, and researchers in thermodynamics and information theory, particularly those interested in the foundational concepts of entropy and its applications in statistical mechanics.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
In the "proof" of the theorem, my course notes defines [itex]P_r(t)[/itex] as the probability to find the system is state r at time t, and it defined H as the mean value of [itex]\ln P_r[/itex] over all acesible states:

[tex]H \equiv \sum_r P_r\ln P_r[/tex]

Is is right to call the above sum the "mean value of ln P_r" ?! Cause given a quantity u, the mean value of f(u) is defined as

[tex]\sum_i P(u_i)f(u_i)[/tex]

So the mean value of [itex]\ln P_r[/itex] should be

[tex]\sum_r P(P_r)\ln P_r[/tex]

But P(P_r) does not make sense.I confessed my confusion to the professor in more vague terms (at the time, I only tought the equation looked suspicious), but he said there was nothing wrong with it. I say, H could be called at best "some kind" of mean value of ln(Pr).
 
Last edited:
Physics news on Phys.org
The formula you are asking about
H=SUM(P_r * ln(P_r))
is Shannon's definition of information entropy; it is related back to statistical mechanics by multiplying by the Boltzmann factor -k to give Gibbs' entropy
S=-k*SUM(P_r * ln(P_r)).
H is correctly called the mean of ln(P_r). Don't get confused by your notation--you must sum over states, not variables. P(u_i) is the probability of finding u in the ith state, so your first and second equations are actually the same.

You may prefer a less confusing way of writing the mean or expectation
E[f(x)] = SUM(P_r * f(x_r)),
as used in Jaynes, Phys. Rev. 106:620-630 (1957) (who discusses the connection between information H and stat mech S)
or Chandler, Intro to Modern Stat Mech, ch. 3 (1987).

Having defended the correctness of the definition, I have to add that it isn't a very useful way of thinking of H. Take a very simple case, that of an ideal gas, as an example. One sums r over W equally probable microstates (p=1/W) so the entropy of a macrostate of the gas system reduces to
H = -lnW;
multiplying by the constant -k gives exactly Boltzmann's entropy H=k*lnW. But how is thinking of H as the mean value of log of probability helpful or insightful? Instead, entropy reflects the number of possible ways W that a macrostate can be realized, and the second law ensures that the macrostate adopted in equilibrium is that which can be realized in the most number of ways. To tie it to information theory, this is the maximum entropy state.

Hope this helps.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K