Equilibrium
The equilibrium state of a system maximizes its entropy.
Consider two gasses initially separated, then allowed to exchange energy and volume. What is necessary to maximize the entropy of the system? We use Lagrange multipliers to determine this.
F=SA+SB+λ(U−UA−UB)+δ(V−VA−VB)=kNA[lnNAVA+23lnNAUA+CA]+kNB[lnNBVB+23lnNBUB+CB]+λ(U−UA−UB)+δ(V−VA−VB)Differentiate to find
∂UA∂F∂UB∂F∂VA∂F∂VB∂F=23kNUA1−λ=0=23kNUB1−λ=0=kNVA1−δ=0=kNVB1−δ=0⟹λ⟹λ⟹δ⟹δ=∂UA∂SA=2UA3kNA=∂UB∂SB=2UB3kNB=∂VA∂SA=VAkNA=∂VB∂SB=VBkNBWe see that for energy and volume to equilibrate means that ∂S/∂U and ∂S/∂V equalize as well. For an ideal gas, we see
∂U∂S=2U3kN=T1,∂V∂S=VkN=TP.Temperature and pressure are equal.
Now consider the energy of this isolated system at equilibrium. Because it is isolated, dU=dUA+dUB=0, and because it is at equilibrium, dS=dSA+dSB=0. We can equivalently write the derivative as
∂UA∂SAdUA+∂UB∂SBdUB=0.We then take advantage of the fact that dUA=−dUB to say that for an isolated system at equilibrium,
∂UA∂SA=∂UB∂SB=:T1.This gives us the thermodynamic definition of temperature.
|