From microstates to Gibbs measures

How should a probability distribution be chosen when the microscopic state of a system is unknown, but its average energy is prescribed?

Statistical Mechanics of Interacting Particle Systems 15 October 2026

Let \(\Omega\) be a nonempty finite set, called the configuration space. Its elements \(\omega\in\Omega\) are the microstates of the system. A Hamiltonian is a function

\[H:\Omega\longrightarrow\mathbb R.\]

Thus \(H(\omega)\) assigns an energy to each microscopic configuration \(\omega\).

Definition 1.1 · Observables and probability measures

We equip \(\Omega\) with the discrete \(\sigma\)-algebra \(\mathcal F=\mathcal P(\Omega)\). An observable is any map \(A:\Omega\to\mathbb R\).

A statistical state is a probability measure \(\nu\) on \((\Omega,\mathcal F)\). We write

\[ \mathcal M_1(\Omega) :=\left\{\nu:\Omega\to[0,1]: \sum_{\omega\in\Omega}\nu(\omega)=1\right\}. \]

Once \(\nu\) has been specified, \((\Omega,\mathcal F,\nu)\) is a probability space. In particular, the Hamiltonian \(H\) is an observable and therefore a random variable on that probability space.

For an observable \(A:\Omega\to\mathbb R\), we use the following standard quantities.

\[ \begin{aligned} \mathbb E_\nu[A] &=\sum_{\omega\in\Omega}A(\omega)\nu(\omega),\\[4pt] \operatorname{Var}_\nu(A) &=\mathbb E_\nu\!\left[(A-\mathbb E_\nu[A])^2\right] =\mathbb E_\nu[A^2]-(\mathbb E_\nu[A])^2,\\[4pt] \operatorname{Cov}_\nu(A,B) &=\mathbb E_\nu[AB]-\mathbb E_\nu[A]\,\mathbb E_\nu[B]. \end{aligned} \]

There is an important distinction here: \(H\) is part of the description of the system, while \(\nu\) describes how likely we consider each configuration to be. Which probability measure should we choose? To answer this question, we need a measure of uncertainty.

To a statistical state \(\nu\in\mathcal M_1(\Omega)\), we associate its Shannon entropy. Informally, entropy measures how spread out the probability mass is over the accessible microstates.

Definition 1.2 · Shannon entropy

For \(\nu\in\mathcal M_1(\Omega)\), define

\[ S_{\mathrm{Sh}}(\nu) :=-\sum_{\omega\in\Omega}\nu(\omega)\log\nu(\omega), \]

with the convention \(0\log 0:=0\). Throughout, \(\log\) is the natural logarithm.

The function \(\psi:[0,1]\to\mathbb R\) given by

\[ \psi(x)=\begin{cases}-x\log x,&x\in(0,1],\\0,&x=0,\end{cases} \qquad\text{satisfies}\qquad S_{\mathrm{Sh}}(\nu)=\sum_{\omega\in\Omega}\psi(\nu(\omega)). \]

We shall repeatedly use the fact that \(\psi\) is continuous on \([0,1]\), nonnegative there, and strictly concave.

The first result collects the properties that make entropy the appropriate quantity to maximize.

Lemma 1.3 · Strict concavity and entropy bounds

Let \(\Omega\) be a nonempty finite set. Then:

  1. Strict concavity. For any distinct \(\nu,\rho\in\mathcal M_1(\Omega)\) and every \(t\in(0,1)\), \[ S_{\mathrm{Sh}}(t\nu+(1-t)\rho) >tS_{\mathrm{Sh}}(\nu)+(1-t)S_{\mathrm{Sh}}(\rho). \]
  2. Bounds. Every \(\nu\in\mathcal M_1(\Omega)\) satisfies \[0\le S_{\mathrm{Sh}}(\nu)\le\log|\Omega|.\] The lower bound is attained precisely by point masses \(\delta_\omega\), while the upper bound is attained precisely by the uniform measure \(\nu_{\mathrm{unif}}(\omega)=1/|\Omega|\).
Proof · Part I: strict concavity

First observe that \(\mathcal M_1(\Omega)\) is convex. If \(\nu,\rho\in\mathcal M_1(\Omega)\) and \(0\le t\le1\), define \(\mu=t\nu+(1-t)\rho\). Then \(\mu(\omega)\ge0\) for all \(\omega\), and

\[ \sum_{\omega\in\Omega}\mu(\omega) =t\sum_{\omega\in\Omega}\nu(\omega) +(1-t)\sum_{\omega\in\Omega}\rho(\omega) =t+(1-t)=1. \]

Thus \(\mu\) is again a probability measure, so the expression in the lemma is well defined.

We now establish the strict concavity of \(\psi\). For \(x>0\),

\[\psi''(x)=-\frac1x<0.\]

This gives strict concavity whenever both arguments belong to \((0,1]\). The boundary case must also be checked because probabilities may vanish. If \(x=0\) and \(y>0\), then for \(t\in(0,1)\),

\[\psi(tx+(1-t)y)-t\psi(x)-(1-t)\psi(y) =\psi((1-t)y)-(1-t)\psi(y) =-(1-t)y\log(1-t)>0.\]

The case \(x>0\), \(y=0\) is analogous. If \(x=y=0\), equality holds, as it must. Consequently \(\psi\) is strictly concave on all of \([0,1]\).

Apply this inequality with \(x=\nu(\omega)\) and \(y=\rho(\omega)\), and sum over \(\omega\in\Omega\):

\[S_{\mathrm{Sh}}(t\nu+(1-t)\rho) =\sum_{\omega\in\Omega}\psi\big(t\nu(\omega)+(1-t)\rho(\omega)\big) \ge tS_{\mathrm{Sh}}(\nu)+(1-t)S_{\mathrm{Sh}}(\rho).\]

Because \(\nu\ne\rho\), there is at least one \(\omega\) at which their masses differ. The corresponding inequality is strict, so the sum is strictly greater.

□
Proof · Part II: entropy bounds

Since \(\psi(x)=-x\log x\ge0\) for all \(x\in[0,1]\),

\[S_{\mathrm{Sh}}(\nu)=\sum_{\omega\in\Omega}\psi(\nu(\omega))\ge0.\]

For \(|\Omega|\ge2\), equality can hold only when every \(\nu(\omega)\) is either \(0\) or \(1\). Their sum being one, \(\nu\) must be a point mass. Conversely, any point mass has zero entropy. The same conclusion is immediate if \(|\Omega|=1\).

For the upper bound, use Jensen's inequality for the concave function \(\psi\):

\[S_{\mathrm{Sh}}(\nu) =|\Omega|\,\frac1{|\Omega|}\sum_{\omega\in\Omega}\psi(\nu(\omega)) \le |\Omega|\,\psi\left(\frac1{|\Omega|}\sum_{\omega\in\Omega}\nu(\omega)\right) =|\Omega|\,\psi\left(\frac1{|\Omega|}\right) =\log|\Omega|.\]

By strict concavity, equality in Jensen's inequality requires all the masses \(\nu(\omega)\) to agree. Normalization then gives \(\nu(\omega)=1/|\Omega|\) for every \(\omega\). Conversely, this uniform measure has entropy \(\log|\Omega|\).

□

The two extreme cases have an immediate interpretation. If a single configuration has probability one, we have no uncertainty about the microstate. If all configurations are equally likely, uncertainty is maximal.

Explore Lemma 1.3 · Entropy bounds

How uncertain is a three-state system?

Choose a probability measure on \(\Omega=\{\omega_1,\omega_2,\omega_3\}\). The bars show its three probability masses; the numbers below show its entropy and the upper bound \(\log 3\).

How to use it. Choose the mass \(p_1\) at state 1. Then choose what fraction \(r\) of the remaining mass goes to state 2; the rest goes to state 3:
\[p_2=(1-p_1)r,\qquad p_3=(1-p_1)(1-r).\]
Start with Point mass, then press Uniform distribution. Move the sliders to compare other distributions with these two extremes.
01
01
Probability masses
\(\omega_1\)
0.600
\(\omega_2\)
0.300
\(\omega_3\)
0.100
Entropy \(S_{\rm Sh}\)
0.898
81.7% of the maximum
Maximum \(\log3\)
1.099
Attained only by the uniform distribution
What to observe. At a point mass the entropy is \(0\). At the uniform distribution the entropy is \(\log 3\). No probability distribution on these three states has larger entropy. Displayed values are rounded.
Explore Lemma 1.3 · Strict concavity

The entropy of a mixture lies above the chord

Fix \(\nu=(0.9,0.1,0)\) and \(\rho=(0,0.2,0.8)\), then vary the mixing parameter \(t\).

How to use it. Move \(t\) between 0 and 1. The solid curve gives the entropy of the current mixture; the dashed line gives the weighted average of the two endpoint entropies. The vertical segment marks their difference.
\(t=0\): only \(\rho\)\(t=1\): only \(\nu\)
\(\omega_1\)
0.450
\(\omega_2\)
0.150
\(\omega_3\)
0.400
0 log 3 0 0.5 1 Mixing parameter t Shannon entropy
Entropy of mixtureLinear interpolation
Mixture entropy
1.01
\(S_{\rm Sh}(t\nu+(1-t)\rho)\)
Concavity gap
0.38
Linear value: 0.62
What to observe. The gap is strictly positive for \(0<t<1\) and zero at the endpoints. The comparison is with the weighted average of the endpoint entropies, not necessarily with each endpoint entropy separately.

In realistic models, however, we often know more than just the set of configurations. For example, we might know the empirically measured mean of an observable, especially of the energy. Our next task is to find the most uncertain probability measure that is compatible with that information, without introducing additional assumptions.

Fix a Hamiltonian \(H:\Omega\to\mathbb R\), assume that \(H\) is not constant, and write

\[ H_{\min}=\min_{\omega\in\Omega}H(\omega), \qquad H_{\max}=\max_{\omega\in\Omega}H(\omega). \]

Suppose that the mean energy is known to have some value \(u\) strictly between these extrema. The available information is encoded by the admissible set

\[ \mathcal A_u :=\left\{\nu\in\mathcal M_1(\Omega): \mathbb E_\nu[H]=u\right\}. \]

Among the measures in \(\mathcal A_u\), we wish to maximize \(S_{\mathrm{Sh}}\).

Theorem 1.4 · Gibbs distribution from the maximum-entropy principle

Let \(\Omega\) be a nonempty finite set and let \(H:\Omega\to\mathbb R\) be nonconstant. Fix

\[u\in(H_{\min},H_{\max}).\]

Then the constrained optimization problem

\[ \max\left\{S_{\mathrm{Sh}}(\nu): \nu\in\mathcal M_1(\Omega),\ \mathbb E_\nu[H]=u\right\} \]

has a unique solution. It is the Gibbs measure

\[ \boxed{\quad \mu_\beta(\omega)=\frac{e^{-\beta H(\omega)}}{Z(\beta)}, \qquad Z(\beta):=\sum_{\eta\in\Omega}e^{-\beta H(\eta)}. \quad} \]

The parameter \(\beta\in\mathbb R\) is uniquely determined by the equation

\[\mathbb E_{\mu_\beta}[H]=u.\]

The normalization factor \(Z(\beta)\) is called the partition function. It is finite and strictly positive because \(\Omega\) is finite. Notice that the theorem asserts more than the Gibbs form: it determines one and only one value of \(\beta\) for each admissible interior mean energy \(u\).

On the sign of \(\beta\). The finite-dimensional variational theorem allows \(\beta\in\mathbb R\). In equilibrium statistical mechanics, positive \(\beta\) corresponds to positive inverse temperature; for finite systems with bounded energies the mathematical formula also makes sense for negative \(\beta\). Whether negative temperatures are physically relevant depends on the model. Nothing in the proof requires assuming \(\beta>0\).

We divide the proof into five steps. First, we make sure there are admissible measures. Then compactness and strict concavity give existence and uniqueness of an abstract maximizer. Next, Lagrange multipliers suggest its form; we determine the parameter from the energy constraint. Finally, the supporting-hyperplane inequality for the concave entropy proves that the Gibbs candidate really is the maximizer.

1The admissible set is nonempty

Choose \(\omega_{\min},\omega_{\max}\in\Omega\) such that \(H(\omega_{\min})=H_{\min}\) and \(H(\omega_{\max})=H_{\max}\). Define

\[ t:=\frac{H_{\max}-u}{H_{\max}-H_{\min}}\in(0,1), \qquad \nu_0:=t\delta_{\omega_{\min}}+(1-t)\delta_{\omega_{\max}}. \]

This is a probability measure, being a convex combination of two point masses. More importantly,

\[\mathbb E_{\nu_0}[H] =tH_{\min}+(1-t)H_{\max} =\frac{(H_{\max}-u)H_{\min}+(u-H_{\min})H_{\max}} {H_{\max}-H_{\min}} =u.\]

Therefore \(\nu_0\in\mathcal A_u\), proving that \(\mathcal A_u\neq\varnothing\).

2Existence and uniqueness of an entropy maximizer

Write \(\Omega=\{\omega_1,\ldots,\omega_m\}\). Every \(\nu\in\mathcal M_1(\Omega)\) can be identified with the vector \(p=(p_1,\ldots,p_m)\), where \(p_i=\nu(\omega_i)\). Thus

\[ \mathcal M_1(\Omega) \cong\left\{p\in[0,1]^m:\sum_{i=1}^{m}p_i=1\right\}. \]

We give this simplex the subspace topology inherited from the Euclidean topology on \(\mathbb R^m\). Thus \(\nu_n\to\nu\) means that \(\nu_n(\omega_i)\to\nu(\omega_i)\) for every \(i=1,\ldots,m\). Equivalently, one may use the total-variation distance

\[ d_{\mathrm{TV}}(\nu,\rho):=\frac12\sum_{\omega\in\Omega}|\nu(\omega)-\rho(\omega)|. \]

These topologies agree because \(\Omega\) is finite. All compactness and continuity statements below refer to this topology.

The right-hand side is closed in the compact cube \([0,1]^m\), and therefore compact. The constraint \(\sum_i p_iH(\omega_i)=u\) is a closed affine condition. Hence

\[ \mathcal A_u =\left\{p\in[0,1]^m: \sum_{i=1}^m p_i=1,\ \sum_{i=1}^m p_iH(\omega_i)=u\right\} \]

is compact as well. It is convex, since for any \(\nu,\rho\in\mathcal A_u\) and \(t\in[0,1]\),

\[ \mathbb E_{t\nu+(1-t)\rho}[H] =t\mathbb E_\nu[H]+(1-t)\mathbb E_\rho[H] =tu+(1-t)u=u. \]

The entropy \(S_{\mathrm{Sh}}:\mathcal M_1(\Omega)\to\mathbb R\) is continuous for this topology (and the usual topology on \(\mathbb R\)). Indeed, \(\lim_{x\downarrow0}(-x\log x)=0\), so \(\psi\) is continuous on \([0,1]\). Therefore, if \(\nu_n\to\nu\), then

\[ S_{\mathrm{Sh}}(\nu_n) =\sum_{i=1}^m\psi\bigl(\nu_n(\omega_i)\bigr) \longrightarrow\sum_{i=1}^m\psi\bigl(\nu(\omega_i)\bigr) =S_{\mathrm{Sh}}(\nu). \]

Since \(\mathcal A_u\) is nonempty and compact, Weierstrass' theorem shows that \(S_{\mathrm{Sh}}\) attains its maximum there.

Moreover, Lemma 1.3 says that \(S_{\mathrm{Sh}}\) is strictly concave. If two distinct maximizers existed, their midpoint would still belong to \(\mathcal A_u\) but would have strictly greater entropy, a contradiction. Thus the entropy maximizer exists and is unique. We now identify it.

3Lagrange multipliers suggest a Gibbs candidate

First perform the standard stationary-point calculation in the interior of the probability simplex, where all \(p_i>0\). The normalization and energy constraints are

\[ \sum_{i=1}^m p_i=1, \qquad \sum_{i=1}^m H(\omega_i)p_i=u. \]

Introduce the Lagrangian

\[ \mathcal L(p,a,b) :=-\sum_{i=1}^m p_i\log p_i -a\left(\sum_{i=1}^m p_i-1\right) -b\left(\sum_{i=1}^m H(\omega_i)p_i-u\right). \]

The stationarity equations, for \(i=1,\ldots,m\), read

\[ \frac{\partial\mathcal L}{\partial p_i} =-1-\log p_i-a-bH(\omega_i)=0. \]

Solving for \(p_i\) gives

\[p_i=e^{-1-a-bH(\omega_i)}.\]

Normalization requires

\[ 1=e^{-1-a}\sum_{i=1}^m e^{-bH(\omega_i)} =e^{-1-a}Z(b), \quad\text{hence}\quad e^{-1-a}=\frac1{Z(b)}. \]

Consequently, any interior stationary point must have the form

\[ \mu_b(\omega)=\frac{e^{-bH(\omega)}}{Z(b)}. \]
A logical point. At this stage we have found a candidate, not yet proved that the maximizer from Step 2 lies in the interior. This causes no gap: in Steps 4–5 we will construct an admissible Gibbs measure with full support and verify directly that it globally maximizes entropy, including against boundary measures.
4The energy constraint determines a unique parameter

Let \(b\in\mathbb R\). Define the expected energy under the Gibbs measure by

\[ U(b):=\mathbb E_{\mu_b}[H] =\frac{\sum_{\omega\in\Omega}H(\omega)e^{-bH(\omega)}}{Z(b)}. \]

Since

\[ Z'(b)=-\sum_{\omega\in\Omega}H(\omega)e^{-bH(\omega)}, \]

we can write

\[ \boxed{\quad U(b)=-\frac{d}{db}\log Z(b).\quad} \]

Differentiating once more,

\[U'(b) =-\frac{d^2}{db^2}\log Z(b) =-\left(\frac{Z''(b)}{Z(b)} -\left(\frac{Z'(b)}{Z(b)}\right)^2\right) =-\left(\mathbb E_{\mu_b}[H^2] -\mathbb E_{\mu_b}[H]^2\right) =-\operatorname{Var}_{\mu_b}(H).\]

For every finite \(b\), \(\mu_b(\omega)>0\) for all \(\omega\in\Omega\). Since \(H\) is not constant, its variance under \(\mu_b\) is strictly positive. Therefore

\[U'(b)=-\operatorname{Var}_{\mu_b}(H)<0\qquad\text{for every }b\in\mathbb R.\]

Thus \(U\) is continuous and strictly decreasing. Furthermore, as \(b\to-\infty\), the weights favor the configurations with maximal energy; as \(b\to+\infty\), they favor those with minimal energy. Consequently,

\[ \lim_{b\to-\infty}U(b)=H_{\max}, \qquad \lim_{b\to+\infty}U(b)=H_{\min}. \]

Here is the underlying argument for the second limit. Write

\[ \mu_b(\omega)= \frac{e^{-b(H(\omega)-H_{\min})}} {\sum_{\eta\in\Omega}e^{-b(H(\eta)-H_{\min})}}. \]

As \(b\to+\infty\), every term with \(H(\omega)>H_{\min}\) tends to zero, whereas the terms with \(H(\omega)=H_{\min}\) remain equal to one. Hence the measure concentrates on minimizing configurations and \(U(b)\to H_{\min}\). The other limit follows by the analogous argument with \(H_{\max}\).

Because \(u\in(H_{\min},H_{\max})\), continuity, strict monotonicity, and the intermediate value theorem show that there exists exactly one \(\beta\in\mathbb R\) such that

\[U(\beta)=\mathbb E_{\mu_\beta}[H]=u.\]

Therefore \(\mu_\beta\in\mathcal A_u\), as required.

5Global maximality of the Gibbs measure

We must now prove that the Gibbs candidate obtained in Step 4 is indeed the entropy maximizer from Step 2. Notice first that \(\mu_\beta\) has full support, so \(S_{\mathrm{Sh}}\) is differentiable at \(\mu_\beta\) as a function of its \(|\Omega|\) coordinates.

For a differentiable concave function, the graph lies below each of its tangent hyperplanes. Applied to the entropy, this gives, for every \(\nu\in\mathcal M_1(\Omega)\),

\[ S_{\mathrm{Sh}}(\nu) \le S_{\mathrm{Sh}}(\mu_\beta) +\sum_{\omega\in\Omega}\big(-1-\log\mu_\beta(\omega)\big) \big(\nu(\omega)-\mu_\beta(\omega)\big). \]

From the Gibbs formula,

\[ \log\mu_\beta(\omega)=-\beta H(\omega)-\log Z(\beta), \]

and hence

\[ -1-\log\mu_\beta(\omega) =-1+\log Z(\beta)+\beta H(\omega). \]

In particular, if \(\nu\in\mathcal A_u\), the correction term in the supporting-hyperplane inequality is

\[ \begin{aligned} &\sum_{\omega\in\Omega} (-1+\log Z(\beta)+\beta H(\omega)) (\nu(\omega)-\mu_\beta(\omega))\\ &\quad=(-1+\log Z(\beta)) \underbrace{\sum_{\omega\in\Omega}(\nu(\omega)-\mu_\beta(\omega))}_{=\,0} +\beta\underbrace{\big(\mathbb E_\nu[H] -\mathbb E_{\mu_\beta}[H]\big)}_{=\,u-u=0}=0. \end{aligned} \]

We have therefore proved

\[ S_{\mathrm{Sh}}(\nu)\le S_{\mathrm{Sh}}(\mu_\beta) \qquad\text{for every }\nu\in\mathcal A_u. \]

So \(\mu_\beta\) is a global maximizer. Its uniqueness follows from strict concavity, as already shown in Step 2. This concludes the proof.

□
What the proof accomplished. Compactness and continuity established existence; strict concavity gave uniqueness; Lagrange equations suggested the exponential form; monotonicity of \(U\) identified \(\beta\); and the tangent-hyperplane inequality verified that the candidate is globally optimal. No assumption about an interior maximizer was needed.
Explore Theorem 1.4 · Fixed mean energy

Find the maximum: it is the Gibbs distribution

Keep the three energy levels \(H(\omega_1)=0\), \(H(\omega_2)=1\), and \(H(\omega_3)=3\). Write \(p_i=\nu(\omega_i)\). We compare probability distributions with the same prescribed mean energy \(u\).

How to use it. First choose \(u\). Leave it fixed and move the second slider: the orange point runs along the entropy curve through all admissible distributions. Try to reach the highest point. Then press Match the Gibbs measure: the orange point meets the blue point and the entropy gap vanishes.
0.102.90
0.15000.4333
Gibbs entropy
—
\(S_{\mathrm{Sh}}(\mu_\beta)\)
Your entropy
—
\(S_{\mathrm{Sh}}(\nu)\)
Entropy gap
—
\(S_{\mathrm{Sh}}(\mu_\beta)-S_{\mathrm{Sh}}(\nu)\)
Entropy of every admissible distribution
0 log 3 0.15 0.43 p₃: probability of energy 3 Shannon entropy
Gibbs distributionYour distribution

The blue point is calculated from the Gibbs formula. It lies at the unique maximum of the curve. The vertical orange segment measures the entropy lost by choosing a different admissible distribution.

Both distributions have mean energy 1.300.

Why does the slider cover every admissible distribution? The constraints \(p_1+p_2+p_3=1\) and \(p_2+3p_3=u\) determine the other two masses:
\[p_1=1-u+2p_3,\qquad p_2=u-3p_3.\]
All three masses are nonnegative precisely when
\[\max\!\left\{0,\frac{u-1}{2}\right\}\le p_3\le\frac u3.\]
The second slider covers this entire interval while keeping \(u\) fixed.
Gibbs distribution \(\mu_\beta\)
0
1
3

Probabilities: — · — · —

Mean energy: —

Your distribution \(\nu\)
0
1
3

Probabilities: — · — · —

Mean energy: —

Bar height = probability, on the same scale in both panels. The labels 0, 1, 3 are the energies.

How is the Gibbs parameter \(\beta\) determined?

For each chosen \(u\), we solve \(U(\beta)=u\), where \(U(\beta)=\mathbb E_{\mu_\beta}[H]\). The function \(U\) is strictly decreasing, so the horizontal line at height \(u\) meets it exactly once.

Gibbs parameter
—
\(\mu_\beta(\omega_i)=e^{-\beta H(\omega_i)}/Z(\beta)\)
3 0 −6 0 6 Gibbs parameter β Mean energy U(β)
What to observe. At fixed \(u\), the entropy gap is zero only at the Gibbs distribution and positive for every other admissible distribution. This illustrates Theorem 1.4; the proof above establishes the result. The parameter \(\beta\) is found numerically and displayed values are rounded.

Theorem 1.4 assumed that the prescribed mean energy lies strictly between \(H_{\min}\) and \(H_{\max}\). This is essential for there to be a finite parameter \(\beta\). What if \(u=H_{\min}\)?

Define the set of energy-minimizing configurations by

\[ \Omega_{\min}:=\{\omega\in\Omega:H(\omega)=H_{\min}\}. \]
Proposition 1.5 · Entropy maximization at minimum energy

If the constraint is \(\mathbb E_\nu[H]=H_{\min}\), then the unique entropy maximizer is the uniform distribution on \(\Omega_{\min}\):

\[ \nu_{\min}(\omega) =\begin{cases} \dfrac1{|\Omega_{\min}|},&\omega\in\Omega_{\min},\\[5pt] 0,&\omega\notin\Omega_{\min}. \end{cases} \]

Similarly, for \(u=H_{\max}\), the unique maximizer is uniform on \(\Omega_{\max}:=\{\omega:H(\omega)=H_{\max}\}\).

Proof

A probability measure \(\nu\) is admissible for the minimum-energy constraint precisely when

\[0 =\mathbb E_\nu[H]-H_{\min} =\sum_{\omega\in\Omega} (H(\omega)-H_{\min})\nu(\omega).\]

Each summand is nonnegative. Their sum can therefore vanish only if every term vanishes. In particular, if \(H(\omega)>H_{\min}\), then necessarily \(\nu(\omega)=0\). Thus

\[ \mathbb E_\nu[H]=H_{\min} \quad\Longleftrightarrow\quad \nu(\Omega_{\min})=1. \]

The constrained problem has reduced to maximizing the entropy of a probability measure supported on \(\Omega_{\min}\). By Lemma 1.3, the entropy on this finite set is uniquely maximized by its uniform distribution, which is exactly \(\nu_{\min}\).

The case \(H_{\max}\) is identical after replacing \(H\) by \(-H\).

□

These boundary measures are also the limits of the Gibbs family:

\[ \lim_{\beta\to+\infty}\mu_\beta=\nu_{\min}, \qquad \lim_{\beta\to-\infty}\mu_\beta=\nu_{\max}. \]
Degenerate case. If \(H\) is constant, there is no nontrivial mean-energy constraint: every probability measure has the same energy. The entropy is then uniquely maximized by the uniform measure on \(\Omega\), but \(\beta\) cannot be determined uniquely. This is why the nonconstancy assumption appears in Theorem 1.4.

To see this explicitly, suppose that \(H(\omega)=c\) for every \(\omega\in\Omega\), and set \(m=|\Omega|\). For every \(\beta\in\mathbb R\),

\[Z(\beta)=\sum_{\omega\in\Omega}e^{-\beta c}=m e^{-\beta c},\qquad \mu_\beta(\omega) =\frac{e^{-\beta c}}{m e^{-\beta c}} =\frac1m.\]

Thus every value of \(\beta\) gives exactly the same probability measure: the uniform law. Its mean energy is

\[U(\beta)=\mathbb E_{\mu_\beta}[H] =\sum_{\omega\in\Omega}c\,\frac1m=c.\]

Consequently, when the prescribed mean is \(u=c\), the equation \(U(\beta)=u\) is satisfied by every \(\beta\in\mathbb R\). When \(u\ne c\), there is no admissible probability measure and no solution of that equation. Equivalently, \(U'(\beta)=-\operatorname{Var}_{\mu_\beta}(H)=0\), so the strict monotonicity used in Step 4 is lost. The entropy-maximizing measure is still unique, by Lemma 1.3, but its parameter \(\beta\) is not.

We conclude with the following result.

Proposition 1.6 · When is the entropy zero?

For every probability measure \(\nu\) on a finite nonempty set \(\Omega\),

\[ S_{\mathrm{Sh}}(\nu)=0 \quad\Longleftrightarrow\quad |\operatorname{supp}\nu|=1, \]

where \(\operatorname{supp}\nu:=\{\omega\in\Omega:\nu(\omega)>0\}\) is the support of \(\nu\). Equivalently, \(S_{\mathrm{Sh}}(\nu)=0\) if and only if \(\nu=\delta_{\omega_0}\) for some \(\omega_0\in\Omega\).

Proof

For \(p\in[0,1]\), the quantity \(-p\log p\) is nonnegative and is zero exactly when \(p=0\) or \(p=1\). Therefore the finite sum

\[ S_{\mathrm{Sh}}(\nu) =\sum_{\omega\in\Omega}\bigl[-\nu(\omega)\log\nu(\omega)\bigr] \]

can vanish only if every summand is zero, that is, only if \(\nu(\omega)\in\{0,1\}\) for every \(\omega\in\Omega\). Since the masses sum to one, exactly one configuration \(\omega_0\) has mass one and all the others have mass zero. Hence \(\nu=\delta_{\omega_0}\).

Conversely, every Dirac measure has entropy zero. Indeed, using \(\log 1=0\) and the convention \(0\log 0=0\),

\[ S_{\mathrm{Sh}}(\delta_{\omega_0}) =-1\log1-\sum_{\omega\ne\omega_0}0\log0=0. \]

A probability measure has a one-point support exactly when it is a Dirac measure, which proves the remaining equivalence.

□
The support, not the whole configuration space. The condition \(\Omega=\{\omega_0\}\) is sufficient for zero entropy, but is not necessary. For example, on \(\Omega=\{\omega_1,\omega_2\}\), the law \(\nu(\omega_1)=1\), \(\nu(\omega_2)=0\) has zero entropy although \(|\Omega|=2\). It is \(\operatorname{supp}\nu\), rather than \(\Omega\), that must contain exactly one point.

If \(\nu\) has full support, then \(\operatorname{supp}\nu=\Omega\); under this additional assumption, zero entropy is equivalent to \(|\Omega|=1\). In particular, for a Gibbs measure with finite \(\beta\),

\[ S_{\mathrm{Sh}}(\mu_\beta)=0 \quad\Longleftrightarrow\quad |\Omega|=1, \]

because \(\mu_\beta(\omega)>0\) for every \(\omega\in\Omega\).