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...
##|\Psi|^2=\frac{1}{\sqrt{\pi b^2}}\exp(\frac{-(x-x_0)^2}{b^2}).## ##\braket{x}=\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dx\,x\exp(-\frac{(x-x_0)^2}{b^2}).## ##y=x-x_0 \quad x=y+x_0 \quad dy=dx.## The boundaries remain infinite, I believe. ##\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dy(y+x_0)\exp(\frac{-y^2}{b^2}).## ##\frac{2}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,y\exp(\frac{-y^2}{b^2})+\frac{2x_0}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,\exp(-\frac{y^2}{b^2}).## I then resolved the two...
Back
Top