Gibbs entropy (Shannon form)
Definition (Gibbs/Shannon entropy).
An equilibrium ensemble is a probability measure
on microstates (often given by a density with respect to a reference measure). For a discrete set of microstates with probabilities , the Gibbs (Shannon) entropy is
This is times the Shannon entropy .
For a classical phase-space description, let denote the phase-space volume element and let be a probability density on phase space (so , interpreted via the Lebesgue integral ). Then
Remark on “continuous entropy.”
In the continuous setting, is a density with respect to a chosen reference measure (here the Liouville/phase-space volume). Changing that reference shifts by an additive constant. In statistical mechanics, this ambiguity matches the physical fact that entropy is defined up to an additive constant once a coarse-graining (or a microscopic phase-space cell) is fixed.
Canonical example.
In the canonical ensemble
, with Hamiltonian
, inverse temperature β
, and partition function
, the density is
Using the ensemble average , one obtains the identity
This links Gibbs entropy directly to the logarithm of the partition function and to statistical free energy .
Physical interpretation.
measures uncertainty (spread) of the ensemble over microstates: it is large when probability mass is distributed over many microstates and small when concentrated. It is also the entropy functional appearing in entropy maximization constructions such as maximum-entropy construction of thermal states
.
Inequalities and irreversibility viewpoint.
Comparing two ensembles and naturally introduces relative entropy (KL divergence)
, whose nonnegativity is Gibbs’ inequality
. In equilibrium statistical mechanics, this underlies variational characterizations of the canonical state and convexity properties of .