Entropy maximization implies equality of chemical potential

For two weakly coupled subsystems exchanging particles at fixed totals, the entropy maximum implies equality of the chemical potentials (in thermal equilibrium).
Entropy maximization implies equality of chemical potential

Statement (chemical potential equality from entropy maximization)

Let subsystems 1 and 2 be able to exchange particles of a given species through a permeable interface. Let Si(Ui,Vi,Ni)S_i(U_i,V_i,N_i) be the of subsystem ii, where NiN_i is the particle number of that species.

Assume:

  • the composite is isolated with fixed totals UtotU_{\mathrm{tot}}, VtotV_{\mathrm{tot}}, and NtotN_{\mathrm{tot}},

  • the subsystems are weakly interacting so entropy is additive:

    Stot(U1,V1,N1)=S1(U1,V1,N1)+S2(UtotU1,VtotV1,NtotN1), S_{\mathrm{tot}}(U_1,V_1,N_1)=S_1(U_1,V_1,N_1)+S_2(U_{\mathrm{tot}}-U_1,V_{\mathrm{tot}}-V_1,N_{\mathrm{tot}}-N_1),
  • S1,S2S_1,S_2 are differentiable in NN, and equilibrium corresponds to an interior maximizer of StotS_{\mathrm{tot}}.

Then entropy maximization implies

(S1N1)U1,V1=(S2N2)U2,V2. \left(\frac{\partial S_1}{\partial N_1}\right)_{U_1,V_1} ={} \left(\frac{\partial S_2}{\partial N_2}\right)_{U_2,V_2}.

Using the thermodynamic identity (definition of )

(SN)U,V=μT, \left(\frac{\partial S}{\partial N}\right)_{U,V}=-\frac{\mu}{T},

one obtains the equilibrium condition

μ1T1=μ2T2. \frac{\mu_1}{T_1}=\frac{\mu_2}{T_2}.

In particular, if the subsystems are also in thermal equilibrium (so that ), then

μ1=μ2. \mu_1=\mu_2.

Key hypotheses

  • Particle exchange is allowed; total particle number is fixed.
  • Weak coupling so entropy is additive.
  • Differentiability of SiS_i in NiN_i and an interior entropy maximizer.
  • (For the conclusion μ1=μ2\mu_1=\mu_2) thermal equilibrium, i.e., T1=T2T_1=T_2.

Key conclusions

  • The entropy maximum enforces equality of μ/T\mu/T:

    μ1/T1=μ2/T2. \mu_1/T_1=\mu_2/T_2.
  • With temperature equalization (T1=T2T_1=T_2), chemical potentials equalize:

    μ1=μ2. \mu_1=\mu_2.

Proof idea / significance (sketch)

Maximize StotS_{\mathrm{tot}} with respect to N1N_1 subject to N2=NtotN1N_2=N_{\mathrm{tot}}-N_1. Stationarity gives equality of the derivatives (S/N)U,V(\partial S/\partial N)_{U,V} across subsystems, which equals μ/T-\mu/T. Hence μ1/T1=μ2/T2\mu_1/T_1=\mu_2/T_2, and with thermal equilibrium this reduces to μ1=μ2\mu_1=\mu_2. This is the thermodynamic basis for chemical potential as the intensive variable that equalizes under diffusive contact.