the conditions that govern equilibrium between two systems that are otherwise isolated from the rest of the Universe. In particular, we have pointed out that the removal of any internal constraint causes the total entropy of the system to increase, simply because the number of states available to the system increases. Now we want to ask the question in a slightly different way.
Let us consider a system in contact with a heat bath and suppose that it is subject to some internal constraints. These constraints may or may not cause the system to have a different pressure or temperature from those of the heath bath. We know that upon the removal of the constraints the total entropy of the system increases:
where we use the usual notation of 1 for the system and 2 for the heat bath. The heat bath can be assumed to be in equilibrium whatever the interactions with the system, and so we have: where
. Eq.
can be re-arranged as:
Defining the availability
:
because
and
give the conditions for the direction of natural processes for the canonical and the isothermal-isobaric ensembles. A final condition may be expressed by considering constant entropy (
The fundamental thermodynamic relation
for the Helmholtz free energy gives
, which is equal to zero for constant temperature, constant volume and constant number of particles variations, so why does
show a negative value instead? The reason is that Eq.
refers to a system with fixed (or absence of) internal constaints, while
states what would happen to a system when physical internal constraints are removed. Similar arguments apply for and
.
Note how Eqs.
,
,
,
allow to express the differential of the thermodynamic potentials as functions of the differential of two specific thermodynamic variables amongst
, with the coefficients being the other two variables (for simplicity, we assume constant number of particles, but the discussion can be generalised to variable number of particles with additional algebra). For example, we have
and so we are considering variations of the energy in terms of explicit variations of the entropy and the volume,
. Of course, there is nothing special with this choice and we could instead decide to consider explicitly the dependence of the energy on volume and temperature, for example, writing
. With such a choice we would have:
we use the following procedure. Consider the fundamental thermodynamic relation for the entropy:
from which we get
If we now differentiate the first term in
w.r.t to