# Thermodynamic potential

A thermodynamic potential is a scalar quantity used to represent the thermodynamic state of a system. The concept of thermodynamic potentials was introduced by Pierre Duhem in 1886. Josiah Willard Gibbs in his papers used the term fundamental functions. One main thermodynamic potential that has a physical interpretation is the internal energy Template:Mvar. It is the energy of configuration of a given system of conservative forces (that is why it is a potential) and only has meaning with respect to a defined set of references (or data). Expressions for all other thermodynamic energy potentials are derivable via Legendre transforms from an expression for Template:Mvar. In thermodynamics, certain forces, such as gravity, are typically disregarded when formulating expressions for potentials. For example, while all the working fluid in a steam engine may have higher energy due to gravity while sitting on top of Mount Everest than it would at the bottom of the Mariana Trench, the gravitational potential energy term in the formula for the internal energy would usually be ignored because changes in gravitational potential within the engine during operation would be negligible.

{{#invoke:Sidebar |collapsible | bodyclass = plainlist | titlestyle = padding-bottom:0.3em;border-bottom:1px solid #aaa; | title = Thermodynamics | imagestyle = display:block;margin:0.3em 0 0.4em; | image = | caption = The classical Carnot heat engine | listtitlestyle = background:#ddf;text-align:center; | expanded = Potentials

| list1name = branches | list1title = Branches | list1 = Template:Startflatlist

| list2name = laws | list2title = Laws | list2 = Template:Startflatlist

| list3name = systems | list3title = Systems | list3 =

| list4name = sysprop | list4title = System properties

| list4 =

Note: Conjugate variables in italics

| list5name = material | list5title = Material properties | list5 =

| list6name = equations | list6title = Equations | list6 = Template:Startflatlist

| list7name = potentials | list7title = Potentials | list7 = Template:Startflatlist

| list8name = hist/cult | list8title = Template:Hlist | list8 =

| list9name = scientists | list9title = Scientists | list9 = Template:Startflatlist

| below = Book:Thermodynamics

}}

## Description and interpretation

Five common thermodynamic potentials are:[1]

where Template:Mvar = temperature, Template:Mvar = entropy, Template:Mvar = pressure, Template:Mvar = volume. The Helmholtz free energy is often denoted by the symbol Template:Mvar, but the use of Template:Mvar is preferred by IUPAC,[2] ISO and IEC.[3] Template:Mvar is the number of particles of type Template:Mvar in the system and Template:Mvar is the chemical potential for an Template:Mvar-type particle. For the sake of completeness, the set of all Template:Mvar are also included as natural variables, although they are sometimes ignored.

These five common potentials are all energy potentials, but there are also entropy potentials. The thermodynamic square can be used as a tool to recall and derive some of the potentials.

Just as in mechanics, where potential energy is defined as capacity to do work, similarly different potentials have different meanings. Internal energy (Template:Mvar ) is the capacity to do work plus the capacity to release heat. Gibbs energy is the capacity to do non-mechanical work. Enthalpy is the capacity to do non-mechanical work plus the capacity to release heat. Helmholtz free energy is the capacity to do mechanical work (useful work). From these definitions we can say that ΔU is the energy added to the system, ΔF is the total work done on it, ΔG is the non-mechanical work done on it, and ΔH is the sum of non-mechanical work done on the system and the heat given to it. Thermodynamic potentials are very useful when calculating the equilibrium results of a chemical reaction, or when measuring the properties of materials in a chemical reaction. The chemical reactions usually take place under some simple constraints such as constant pressure and temperature, or constant entropy and volume, and when this is true, there is a corresponding thermodynamic potential that comes into play. Just as in mechanics, the system will tend towards lower values of potential and at equilibrium, under these constraints, the potential will take on an unchanging minimum value. The thermodynamic potentials can also be used to estimate the total amount of energy available from a thermodynamic system under the appropriate constraint.

In particular: (see principle of minimum energy for a derivation)[4]

• When the entropy (Template:Mvar ) and "external parameters" (e.g. volume) of a closed system are held constant, the internal energy (Template:Mvar ) decreases and reaches a minimum value at equilibrium. This follows from the first and second laws of thermodynamics and is called the principle of minimum energy. The following three statements are directly derivable from this principle.
• When the temperature (Template:Mvar ) and external parameters of a closed system are held constant, the Helmholtz free energy (Template:Mvar ) decreases and reaches a minimum value at equilibrium.
• When the pressure (Template:Mvar) and external parameters of a closed system are held constant, the enthalpy (Template:Mvar ) decreases and reaches a minimum value at equilibrium.
• When the temperature (Template:Mvar ), pressure (Template:Mvar) and external parameters of a closed system are held constant, the Gibbs free energy (Template:Mvar ) decreases and reaches a minimum value at equilibrium.

## Natural variables

The variables that are held constant in this process are termed the natural variables of that potential.[5] The natural variables are important not only for the above mentioned reason, but also because if a thermodynamic potential can be determined as a function of its natural variables, all of the thermodynamic properties of the system can be found by taking partial derivatives of that potential with respect to its natural variables and this is true for no other combination of variables. On the converse, if a thermodynamic potential is not given as a function of its natural variables, it will not, in general, yield all of the thermodynamic properties of the system.

Notice that the set of natural variables for the above four potentials are formed from every combination of the Template:Mvar-Template:Mvar and Template:Mvar-Template:Mvar variables, excluding any pairs of conjugate variables. There is no reason to ignore the Niμi conjugate pairs, and in fact we may define four additional potentials for each species.[6] Using IUPAC notation in which the brackets contain the natural variables (other than the main four), we have:

If there is only one species, then we are done. But, if there are, say, two species, then there will be additional potentials such as ${\displaystyle U[\mu _{1},\mu _{2}]=U-\mu _{1}N_{1}-\mu _{2}N_{2}}$ and so on. If there are Template:Mvar dimensions to the thermodynamic space, then there are 2D unique thermodynamic potentials. For the most simple case, a single phase ideal gas, there will be three dimensions, yielding eight thermodynamic potentials.

## The fundamental equations

{{#invoke:main|main}} The definitions of the thermodynamic potentials may be differentiated and, along with the first and second laws of thermodynamics, a set of differential equations known as the fundamental equations follow.[7] (Actually they are all expressions of the same fundamental thermodynamic relation, but are expressed in different variables.) By the first law of thermodynamics, any differential change in the internal energy Template:Mvar of a system can be written as the sum of heat flowing into the system and work done by the system on the environment, along with any change due to the addition of new particles to the system:

${\displaystyle {\mathrm {d} }U=\delta Q-\delta W+\sum _{i}\mu _{i}\,{\mathrm {d} }N_{i}}$

where δQ is the infinitesimal heat flow into the system, and δW is the infinitesimal work done by the system, Template:Mvar is the chemical potential of particle type Template:Mvar and Template:Mvar is the number of type Template:Mvar particles. (Note that neither δQ nor δW are exact differentials. Small changes in these variables are, therefore, represented with δ rather than d.)

By the second law of thermodynamics, we can express the internal energy change in terms of state functions and their differentials. In case of reversible changes we have:

${\displaystyle \delta Q=T\,{\mathrm {d} }S\,}$
${\displaystyle \delta W=p\,{\mathrm {d} }V\,}$

where

Template:Mvar is temperature,
Template:Mvar is entropy,
Template:Mvar is pressure,

and Template:Mvar is volume, and the equality holds for reversible processes.

This leads to the standard differential form of the internal energy in case of a quasistatic reversible change:

${\displaystyle {\mathrm {d} }U=T{\mathrm {d} }S-p{\mathrm {d} }V+\sum _{i}\mu _{i}\,{\mathrm {d} }N_{i}\,}$

Since Template:Mvar, Template:Mvar and Template:Mvar are thermodynamic functions of state, the above relation holds also for arbitrary non-reversible changes. If the system has more external variables than just the volume that can change, the fundamental thermodynamic relation generalizes to:

${\displaystyle dU=T\,dS-\sum _{i}X_{i}\,dx_{i}+\sum _{j}\mu _{j}\,dN_{j}\,}$

Here the Template:Mvar are the generalized forces corresponding to the external variables Template:Mvar.

Applying Legendre transforms repeatedly, the following differential relations hold for the four potentials:

Note that the infinitesimals on the right-hand side of each of the above equations are of the natural variables of the potential on the left-hand side. Similar equations can be developed for all of the other thermodynamic potentials of the system. There will be one fundamental equation for each thermodynamic potential, resulting in a total of 2D fundamental equations.

The differences between the four thermodynamic potentials can be summarized as follows:

${\displaystyle {\mathrm {d} }(pV)={\mathrm {d} }H-{\mathrm {d} }U={\mathrm {d} }G-{\mathrm {d} }F}$
${\displaystyle {\mathrm {d} }(TS)={\mathrm {d} }U-{\mathrm {d} }F={\mathrm {d} }H-{\mathrm {d} }G}$

## The equations of state

We can use the above equations to derive some differential definitions of some thermodynamic parameters. If we define Φ to stand for any of the thermodynamic potentials, then the above equations are of the form:

${\displaystyle {\mathrm {d} }\Phi =\sum _{i}x_{i}\,{\mathrm {d} }y_{i}\,}$

where Template:Mvar and Template:Mvar are conjugate pairs, and the Template:Mvar are the natural variables of the potential Φ. From the chain rule it follows that:

${\displaystyle x_{j}=\left({\frac {\partial \Phi }{\partial y_{j}}}\right)_{\{y_{i\neq j}\}}}$

Where yi ≠ j is the set of all natural variables of Φ except Template:Mvar . This yields expressions for various thermodynamic parameters in terms of the derivatives of the potentials with respect to their natural variables. These equations are known as equations of state since they specify parameters of the thermodynamic state.[8] If we restrict ourselves to the potentials Template:Mvar, Template:Mvar, Template:Mvar and Template:Mvar, then we have:

${\displaystyle +T=\left({\frac {\partial U}{\partial S}}\right)_{V,\{N_{i}\}}=\left({\frac {\partial H}{\partial S}}\right)_{p,\{N_{i}\}}}$
${\displaystyle -p=\left({\frac {\partial U}{\partial V}}\right)_{S,\{N_{i}\}}=\left({\frac {\partial F}{\partial V}}\right)_{T,\{N_{i}\}}}$
${\displaystyle +V=\left({\frac {\partial H}{\partial p}}\right)_{S,\{N_{i}\}}=\left({\frac {\partial G}{\partial p}}\right)_{T,\{N_{i}\}}}$
${\displaystyle -S=\left({\frac {\partial G}{\partial T}}\right)_{p,\{N_{i}\}}=\left({\frac {\partial F}{\partial T}}\right)_{V,\{N_{i}\}}}$
${\displaystyle ~\mu _{j}=\left({\frac {\partial \phi }{\partial N_{j}}}\right)_{X,Y,\{N_{i\neq j}\}}}$

where, in the last equation, Template:Mvar is any of the thermodynamic potentials Template:Mvar, Template:Mvar, Template:Mvar, Template:Mvar and ${\displaystyle {X,Y,\{N_{j\neq i}\}}}$ are the set of natural variables for that potential, excluding Template:Mvar . If we use all potentials, then we will have more equations of state such as

${\displaystyle -N_{j}=\left({\frac {\partial U[\mu _{j}]}{\partial \mu _{j}}}\right)_{S,V,\{N_{i\neq j}\}}}$

and so on. In all, there will be Template:Mvar equations for each potential, resulting in a total of D 2D equations of state. If the Template:Mvar equations of state for a particular potential are known, then the fundamental equation for that potential can be determined. This means that all thermodynamic information about the system will be known, and that the fundamental equations for any other potential can be found, along with the corresponding equations of state.

## The Maxwell relations

{{#invoke:main|main}}

Again, define Template:Mvar and Template:Mvar to be conjugate pairs, and the Template:Mvar to be the natural variables of some potential Φ. We may take the "cross differentials" of the state equations, which obey the following relationship:

${\displaystyle \left({\frac {\partial }{\partial y_{j}}}\left({\frac {\partial \Phi }{\partial y_{k}}}\right)_{\{y_{i\neq k}\}}\right)_{\{y_{i\neq j}\}}=\left({\frac {\partial }{\partial y_{k}}}\left({\frac {\partial \Phi }{\partial y_{j}}}\right)_{\{y_{i\neq j}\}}\right)_{\{y_{i\neq k}\}}}$

From these we get the Maxwell relations.[1][9] There will be {{ safesubst:#invoke:Unsubst||$B=(D − 1)/2}} of them for each potential giving a total of {{ safesubst:#invoke:Unsubst||$B=D(D − 1)/2}} equations in all. If we restrict ourselves the Template:Mvar, Template:Mvar, Template:Mvar, Template:Mvar

${\displaystyle \left({\frac {\partial T}{\partial V}}\right)_{S,\{N_{i}\}}=-\left({\frac {\partial p}{\partial S}}\right)_{V,\{N_{i}\}}}$
${\displaystyle \left({\frac {\partial T}{\partial p}}\right)_{S,\{N_{i}\}}=+\left({\frac {\partial V}{\partial S}}\right)_{p,\{N_{i}\}}}$
${\displaystyle \left({\frac {\partial S}{\partial V}}\right)_{T,\{N_{i}\}}=+\left({\frac {\partial p}{\partial T}}\right)_{V,\{N_{i}\}}}$
${\displaystyle \left({\frac {\partial S}{\partial p}}\right)_{T,\{N_{i}\}}=-\left({\frac {\partial V}{\partial T}}\right)_{p,\{N_{i}\}}}$

Using the equations of state involving the chemical potential we get equations such as:

${\displaystyle \left({\frac {\partial T}{\partial N_{j}}}\right)_{V,S,\{N_{i\neq j}\}}=\left({\frac {\partial \mu _{j}}{\partial S}}\right)_{V,\{N_{i}\}}}$

and using the other potentials we can get equations such as:

${\displaystyle \left({\frac {\partial N_{j}}{\partial V}}\right)_{S,\mu _{j},\{N_{i\neq j}\}}=-\left({\frac {\partial p}{\partial \mu _{j}}}\right)_{S,V\{N_{i\neq j}\}}}$
${\displaystyle \left({\frac {\partial N_{j}}{\partial N_{k}}}\right)_{S,V,\mu _{j},\{N_{i\neq j,k}\}}=-\left({\frac {\partial \mu _{k}}{\partial \mu _{j}}}\right)_{S,V\{N_{i\neq j}\}}}$

## Euler integrals

Again, define Template:Mvar and Template:Mvar to be conjugate pairs, and the Template:Mvar to be the natural variables of the internal energy. Since all of the natural variables of the internal energy Template:Mvar are extensive quantities

${\displaystyle U(\{\alpha y_{i}\})=\alpha U(\{y_{i}\})\,}$

it follows from Euler's homogeneous function theorem that the internal energy can be written as:

${\displaystyle U(\{y_{i}\})=\sum _{j}y_{j}\left({\frac {\partial U}{\partial y_{j}}}\right)_{\{y_{i\neq j}\}}}$

From the equations of state, we then have:

${\displaystyle U=TS-pV+\sum _{i}\mu _{i}N_{i}\,}$

Substituting into the expressions for the other main potentials we have:

${\displaystyle F=-pV+\sum _{i}\mu _{i}N_{i}\,}$
${\displaystyle H=TS+\sum _{i}\mu _{i}N_{i}\,}$
${\displaystyle G=\sum _{i}\mu _{i}N_{i}\,}$

As in the above sections, this process can be carried out on all of the other thermodynamic potentials. Note that the Euler integrals are sometimes also referred to as fundamental equations.

## The Gibbs–Duhem relation

Deriving the Gibbs–Duhem equation from basic thermodynamic state equations is straightforward.[7][10][11] Equating any thermodynamic potential definition with its Euler integral expression yields:

${\displaystyle U=TS-PV+\sum _{i}\mu _{i}N_{i}\,}$

Differentiating, and using the second law:

${\displaystyle dU=TdS-PdV+\sum _{i}\mu _{i}\,dN_{i}}$

yields:

${\displaystyle 0=SdT-VdP+\sum _{i}N_{i}d\mu _{i}\,}$

Which is the Gibbs–Duhem relation. The Gibbs–Duhem is a relationship among the intensive parameters of the system. It follows that for a simple system with Template:Mvar components, there will be I + 1 independent parameters, or degrees of freedom. For example, a simple system with a single component will have two degrees of freedom, and may be specified by only two parameters, such as pressure and volume for example. The law is named after Josiah Willard Gibbs and Pierre Duhem.

## Chemical reactions

Changes in these quantities are useful for assessing the degree to which a chemical reaction will proceed. The relevant quantity depends on the reaction conditions, as shown in the following table. Δ denotes the change in the potential and at equilibrium the change will be zero.

Constant Template:Mvar Constant Template:Mvar
Constant Template:Mvar ΔU ΔH
Constant Template:Mvar ΔF ΔG

Most commonly one considers reactions at constant Template:Mvar and Template:Mvar, so the Gibbs free energy is the most useful potential in studies of chemical reactions.

## Notes

1. Alberty (2001) p. 1353
2. Alberty (2001) p. 1376
3. ISO/IEC 80000-5:2007, item 5-20.4
4. Callen (1985) p. 153
5. Alberty (2001) p. 1352
6. Alberty (2001) p. 1355
7. Alberty (2001) p. 1354
8. Callen (1985) p. 37
9. Callen (1985) p. 181
10. Moran & Shapiro, p. 538
11. Callen (1985) p. 60

## References

• {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

• {{#invoke:citation/CS1|citation

|CitationClass=book }}

• {{#invoke:citation/CS1|citation

|CitationClass=book }}