218 The Second Law of Thermodynamics
4.8.4 Conjugate variables, extensions and transformations of the
thermodynamic potential
Each of the pairs of variables that appear in the fundamental equation (4.101): P –V , T –S,
µ–n, are called conjugate variables and have some important regularities. First, and obvi-
ously, their product in every case has dimension of energy. Second, each conjugate pair
consists of an intensive variable (P , T , µ) and an extensive variable (V , S, n). Third, in
every case the intensive variable is a “driving potential” for “displacement” of the extensive
variable: a pressure gradient causes a change in volume, a temperature gradient causes heat
flow and hence a change of entropys and a gradient in chemical potential causes diffusion
of chemical components and hence a change in mol numbers. Each of the three products of
conjugate variables tracks a separate contribution to the thermodynamic potential: expan-
sion work, heat transfer and mass transfer. We now see that adding the compositional term
(µdn) to (4.12) in order to obtain (4.101) consisted of adding the product of a pair of
conjugate variables that accounts for the energetic contribution of chemical composition to
the thermodynamic potential E. There is no reason why we should stop here. Suppose that
we are interested in a system in which mechanical work is also performed. We then need to
add the product of an intensive variable that measures a “driving potential”, in this case a
force F, times its extensive conjugate, which is the distance over which the force acts, dx.
The fundamental equation for E then becomes:
dE =TdS −PdV +
i
µ
i
dn
i
+Fdx. (4.105)
Other terms could be added if we were also interested in the work of, for example, grav-
itational forces, elastic forces, Lorentz forces or nuclear forces. Once we identify all of
the energetic contributions to the thermodynamic potential we are free to add or remove
products of conjugate variables as needed.
Each of the terms in equations (4.101)or(4.105) is the product of an intensive variable
times the differential of its extensive conjugate. In other words, if we restrict ourselves to
equation (4.101) then internal energy is a function of the form E = E (S, V , n
i
). This
raises the question, is this the only way of writing a thermodynamic potential? Could we
define a thermodynamic potential in which the natural variables are intensive variables, so
that the minimum energy condition can be applied to a system in which intensive variables,
such as P and T, are held constant? On dimensional grounds all we can expect is that a
thermodynamic potential must be a sum of products of conjugate variables. In each of the
products, however, either of the two variables could be the one that appears in differential
form. Consider some other function, say Y = Y (T ,V ,n
i
), or any other combination of
variables that are not conjugate among themselves. Do such functions exist? And do they
have the properties of thermodynamic potentials?
4.8.5 The Legendre transform
The answer to the questions in the last paragraph is yes, but we have to be careful with how
we construct these other functions. In order to ensure that any new function that we construct
is a thermodynamic potential we must begin with a thermodynamic potential, such as E =
E (S, V , n
i
), and transform this function in such a way that all of its properties are inherited
by the new function. This is accomplished by means of a mathematical procedure called