Thesis. Entropy is derived here in two independent ways, which agree.
Counting. A macrostate of \(N\) systems with \(k\) outcomes is a multiset type \((n_1,\dots ,n_k)\). Its number of microstates is a multinomial coefficient, and with bounds on \(\log n!\) obtained from monotonicity of \(\log \),
Refinement. Requiring that the uncertainty of a partition be additive under refinement — the chain rule — forces the uncertainty of \(n\) equally likely outcomes to be a monotone completely additive function on the multiplicative monoid \((\mathbb N_{\ge 1},\cdot )\). Such a function is \(c\log n\), and the general formula follows for rational, then real, probabilities.
In both routes the logarithm appears for the same reason: it is the homomorphism from the free commutative monoid of counts under multiplication to \((\mathbb R,+)\), which makes entropy additive when independent systems combine. The quantum entropy is the entropy of the spectrum, minimal over all complete measurements. Its maximiser at fixed energy is the Gibbs state, and along the Gibbs family \(dS=\beta \,dE\), which is the Clausius relation.
Multisets. \(N\) systems, each in one of \(k\) outcomes, give words in \([k]^N\). Forgetting the order of the systems gives a multiset, recorded by occupation numbers \((n_1,\dots ,n_k)\) with \(\sum _in_i=N\). The number of words of a given type is
Bounds on \(\log n!\). Since \(\log \) is increasing, \(\int _{j-1}^j\log x\,dx\le \log j\le \int _j^{j+1}\log x\,dx\), and summing over \(j\le n\),
The limit. With \(n_i=p_iN\) and \(\sum _in_i=N\),
Boltzmann.
Let \(H\) assign a number to each finite probability vector, subject to:
\(H\) is continuous and symmetric;
\(f(n):=H(\tfrac 1n,\dots ,\tfrac 1n)\) is non-decreasing in \(n\);
refining a partition adds the average uncertainty of the refinement:
(R3) is the statement that a partition \(\sum _j\Pi _j=I\) refined into \(\Pi _j=\sum _i\Pi _{ji}\) has uncertainty that of the coarse partition plus the average uncertainty within each block.
Additivity. Refining \(m\) equal blocks into \(n\) equal parts each gives
Lemma. A non-decreasing completely additive \(f\) on \(\mathbb N_{\ge 1}\) is \(f(n)=c\log n\) with \(c\ge 0\) [793].
Proof. \(f(1)=0\) and \(f(n^k)=kf(n)\). For \(m,n\ge 2\) and \(k\ge 1\), choose \(a\) with \(m^a\le n^k<m^{a+1}\). Monotonicity gives \(af(m)\le kf(n)\le (a+1)f(m)\), and also \(a\log m\le k\log n<(a+1)\log m\). Dividing,
Rational probabilities. For \(p_i=a_i/N\), refine each outcome \(i\) into \(a_i\) equal parts of probability \(1/N\). By (R3),
Counts of independent systems multiply, \(W_{AB}=W_AW_B\), and dimensions of independent quantum systems multiply, \(\dim (\mathcal H_A\otimes \mathcal H_B)=d_Ad_B\). The logarithm is the homomorphism \((\mathbb R_{>0},\cdot )\to (\mathbb R,+)\) inverse to the exponential, the solution of \(Df=f\), \(f(0)=1\) (Section 333). It converts the free multiplicative monoid of counts into additive quantities, so that
Maximum. For \(n\) outcomes and the uniform distribution \(u\), Klein’s inequality (Stage 7) gives
Concavity. \(\varphi (x)=-x\log x\) is concave, so \(H\) is concave in \(p\), and mixing increases entropy.
Spectrum. For a density matrix \(\rho =\sum _jr_j\Pi _j\) (Stage 4),
Minimal over measurements. For an orthonormal basis \(\{e_i\}\), the outcome probabilities are \(q_i=\langle e_i|\rho |e_i\rangle =\sum _jP_{ij}r_j\), with \(P_{ij}=|\langle e_i|r_j\rangle |^2\) doubly stochastic. By concavity of \(\varphi \), \(\varphi (q_i)\ge \sum _jP_{ij}\varphi (r_j)\), and summing over \(i\) with \(\sum _iP_{ij}=1\),
Maximum at fixed energy. For \(\gamma _\beta =e^{-\beta H}/Z\) and any \(\rho \) with \(\operatorname {Tr}\rho H=\operatorname {Tr}\gamma _\beta H\),
Thermodynamic relation. Along the Gibbs family at fixed \(H\), with \(E=\operatorname {Tr}\gamma _\beta H\),
| Statement | Form | Ingredient |
| microstates | \(W=N!/\prod n_i!\) | multisets |
| Stirling bounds | \(n\log n-n+1\le \log n!\le (n+1)\log (n+1)-n\) | monotone \(\log \) |
| Boltzmann | \(\tfrac 1N\log W\to -\sum p_i\log p_i\) | counting |
| uniform shell | \(S_B=k_B\log W\) | uniform state |
| refinement | \(H(\text {fine})=H(\text {coarse})+\sum q_jH(\cdot |j)\) | partitions |
| additivity | \(f(mn)=f(m)+f(n)\) | free monoid |
| logarithm | monotone additive \(\Rightarrow c\log n\) | Erdős |
| Shannon | \(H=-c\sum p_i\log p_i\) | rational, continuity |
| independence | \(S(A\otimes B)=S(A)+S(B)\) | \(\log \) homomorphism |
| maximum | \(H\le \log n\), \(h\le \log 2\) | Klein |
| von Neumann | \(S(\rho )=\min _{\text {bases}}H(q)\) | doubly stochastic overlaps |
| Gibbs | \(S(\gamma _\beta )\ge S(\rho )\) at fixed \(E\) | Klein |
| Clausius | \(dS=\beta \,dE=\delta Q/T\) | \(d\log Z=-E\,d\beta \) |