# Basics

From Callan, we have two equivalent principles of thermodynamics:.

**Entropy maximum principle**. The equilibrium value of any unconstrained internal parameter is such as to maximize the entropy for the given value of the total internal energy.**Energy minimum principle**. The equilibrium value of any unconstrained internal parameter is such as to minimize the energy for the given value of the total entropy.1

The basic formula for the internal energy as a function of S and V (and the chemical potentials, Ni) is

where N stands for the sum over different chemical potentials

representing the quasi-static chemical work and

Depending on the problem at hand, It may be simpler to solve for the equilibrium state if the formula had different independent variables. That is what Legendre transformations do.

# Legendre transformations

Given a formula

then

is the slope of the curve at a given point. We would like an equivalent representation of the system but one where the independent variable is P rather than X. We will use the intercept of the Y axis of a tangent of constant slope at X.

Then the slope is given by

which can be arranged to give the **Legendre transformatio**n

Then

or

so the inverse transformation is just

In general, for

the partial slope of this hypersurface is given by

and the Legendre transformation is

Example from Callan, problem 5.2-1:

gives

so

Inversely,

so

# Principle thermodynamic potentials

The most used thermodynamic potentials are the following and are all Legendre transforms of the internal energy U as shown in the table.

Name | Symbol | Formula | Natural variables | Constant | Interpretation |

Internal energy | U | TS – pV + μN_{i} |
S, V, N_{i} |
– | Total internal energy |

Helmholtz free energy | F (or A) | U – TS | T, V, N_{i} |
T | Max energy at constant T, V after system pays “entropy tax” |

Enthalpy | H | U + pV | S, p, N_{i} |
p | Total heat (caloric) energy availabe in system at const. P after V change |

Gibbs free energy | G | U + pV -TS | T, p, N_{i} |
T and p | Max energy available at const. T, P after V change and “S tax” |

We can identify each term with a type of energy:

- TS with heat (or caloric) energy,
- pV with volume-change energy (as when a piston is pushed) and
- the sum as the energy of chemical bonding.

We will ignore such things as electrical energy.

The above-cited energy-minimum principle applies to all these potentials under specific circumstances.

**Helmholtz Potential Minimum Principle**. The equilibrium value of any unconstrained internal parameter in a system in diathermal contact with a heat reservoir minimizes the Helmholtz potential over the manifold of states for which T = Tr [at constant T].^{1)}Callan, 155

**Enthalpy Minimum Principle**. The equilibrium value of any unconstrained internal parameter in a system in contact with a pressure reservoir minimizes the enthalpy over the manifold of states of constant pressure (equal to that of the pressure reservoir).^{2)}Callan, 156

**Gibbs Potential Minimum Principle**. The equilibrium value of any unconstrained internal parameter in a system in contact with a thermal and a pressure reservoir minimizes the Gibbs potential at constant temperature and pressure (equal to those of the respective reservoirs).^{3)}Callan, 157

We can attribute physical meanings to these potentials.

In the case of enthalpy, a system at constant P can expand or contract, therefore losing energy to move around molecules. This volume-change energy is exactly what is subtracted from U in order to derive H. So enthalpy is the energy released as heat by the system at constant P. Or, in the other direction,

…heat added to a system at constant pressure and at constant values of all the remaining extensive parameters (other than S and V) appears as an increase in the enthalpy.^{4)}Callan, 161

As for the Helmholtz free energy,

… the work delivered in a reversible process, by a system in contact with a thermal reservoir [so at constant T], is equal to the decrease in the Helmholtz potential of the system.^{5)}Callan, 159

The Helmholtz free energy is thus the available work at constant temperature and volume. The term TS represents the “entropy tax” which the system must pay in order for the total entropy of the universe to remain zero.

The Gibbs free energy is useful when T and P are constant, which is the usual case of chemical reactions open to the atmosphere, which acts as a reservoir of T and P. Gibbs free energy is thus much beloved of chemists. Callan gives a more interesting example, pointing out that it may also be true “… in a small subsystem of a larger system that acts as both a thermal and a pressure reservoir (as in the fermentation of a grape in a large wine vat).”^{6)}Callan, 167

# Spontaneous reactions

Suppose there is only one thermodynamic system in the universe and that its T and V are constant. Then the sum of the entropy changes of the system and of its surroundings is the entropy change of the universe.

If the energy of the system changes by an amount U, then the surroundings will change by -U, and

so

which means

So the entropy maximum principle says that for constant T and V, the change in the Helmholtz free energy must be negative, so that .

Similarly, if only a spontaneous chemical reaction occurs at constant T and P, then a change in heat energy (enthalpy) of the system means the surroundings change by the negative of that., i.e., . So equation (1) gives

The only change in the universe is due to the dispersal of energy in a quantity we may call -ΔG. Therefore

which may be rewritten as

which is the Gibbs free energy.

# Bibliography

Atkins, Peter, *The laws of thermodynamics: A very short introduction*. Oxford: Oxford University Press, 2010. Print.

Callan, Herbert B. *Thermodynamics and an introduction to thermostatistics*. New York: John Wiley and Sons. 1985, 2005. Print.

Shankar, R. *Fundamentals of Physics. Mechanics, Relativity, and Thermodynamics*. New Haven: Yale UP, 2014. Print.

Notes

1. | ↑ | Callan, 155 |

2. | ↑ | Callan, 156 |

3. | ↑ | Callan, 157 |

4. | ↑ | Callan, 161 |

5. | ↑ | Callan, 159 |

6. | ↑ | Callan, 167 |