in the general definition of the entropy
. We have:
Following the argument given above about the small fluctuations of the energy
as:
where we have defined
with
we have:
from which we see that we can obtain the pressure also as:
the entropy as:
and the chemical potential as:
This shows that the same thermodynamic quantity can be obtained in more than one way, depending on the conditions of the ensemble.
If we insert the isothermal-isobaric probabilities in
we obtain:
from which we define the Gibbs free energy as:
where again we have written
with
we have:
from which we obtain:
Since
.
Let us now refer back to the canonical and the isothermal-isobaric probabilities
and
, in which we included the degeneracy of the energy as the exponential of the microcanonical entropy. Under the assumption that for large enough systems the fluctuations in the energy and the volume are completely negligible, these systems are, effectively, at constant energy and constant volume, and therefore we can identify the microcanonical entropy with the entropy itself. As a result, we can rewrite the canonical and the isothermal-isobaric probabilities as: