In principle, we should derive the isothermal-isobaric partition function by coupling our system to an infinite thermal reservoir as was done for the canonical ensemble and also subject the system to the action of a movable piston under the influence of an external pressure P. In this case, both the temperature of the system and its pressure will be controlled, and the energy and volume will fluctuate accordingly.
However, we saw that the transformation from E to T between the microcanonical and canonical ensembles turned into a Laplace transform relation between the partition functions. The same result holds for the transformation from V to T. The relevant ``energy'' quantity to transform is the work done by the system against the external pressure P in changing its volume from V=0 to V, which will be PV. Thus, the isothermal-isobaric partition function can be expressed in terms of the canonical partition function by the Laplace transform:
where
is a constant that has units of volume. Thus,
The Gibbs free energy is related to the partition function by
This can be shown in a manner similar to that used to prove
the
. The differential equation to start with is
Other thermodynamic relations follow:
The fluctuations in the enthalpy
are given, in analogy
with the canonical ensemble, by
so that
so that, since
and
are both extensive,
which vanish in the thermodynamic limit.