How can one prove that the maximum entropy occurs

  • Thread starter Thread starter ehrenfest
  • Start date Start date
  • Tags Tags
    Entropy Maximum
ehrenfest
Messages
2,001
Reaction score
1

Homework Statement


I am calculating entropy using the formula:

S=-\sum_i P_i \ln{P_i}

where the sum is over all of the microstates of my system and P_i is the probability to find a particle in microstate i.

How can one prove that the maximum entropy occurs when P_i is the same for all i?

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
Enforce \sum_i P_i=1 with a Lagrange multiplier; that is, extremize
-\sum_i P_i\ln P_i + k\bigl(\sum_i P_i-1\bigr)
with respect to both P_i and k.
 
The sum of the P_i=1, that's a constraint. Add a lagrange multiplier to enforce the constraint, like alpha*(sum(P_i)-1). Now take the partial derivatives wrt all variables and set them equal to zero. The partial wrt alpha gives you sum(P_i)-1=0. The partial wrt to P_i gives you an expression for P_i in terms of alpha. alpha is a constant, so all P_i are equal.
 
Avodyne said:
Enforce \sum_i P_i=1 with a Lagrange multiplier; that is, extremize
-\sum_i P_i\ln P_i + k\bigl(\sum_i P_i-1\bigr)
with respect to both P_i and k.

Great minds think alike. But some are faster.
 
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
The value of H equals ## 10^{3}## in natural units, According to : https://en.wikipedia.org/wiki/Natural_units, ## t \sim 10^{-21} sec = 10^{21} Hz ##, and since ## \text{GeV} \sim 10^{24} \text{Hz } ##, ## GeV \sim 10^{24} \times 10^{-21} = 10^3 ## in natural units. So is this conversion correct? Also in the above formula, can I convert H to that natural units , since it’s a constant, while keeping k in Hz ?
Back
Top