Free Energy
Prerequisites: Entropy, Thermodynamics. Full path (9 pages)
Intuitive
A ball on a hill rolls down until it reaches the lowest point. For a single mechanical object, equilibrium means minimum energy. A system made of very many particles in contact with its surroundings at a fixed temperature behaves differently. The surroundings constantly kick the particles around, and the system ends up in the state that is most likely. A state is likely if it has low energy, but also if it can be realized in many microscopic ways, that is, if it has high entropy.
The free energy combines these two tendencies into one number: energy minus temperature times entropy. At fixed temperature, a system in contact with its surroundings settles into the state of lowest free energy. At low temperature the energy term dominates, and the system chooses ordered states with low energy, like a crystal. At high temperature the entropy term dominates, and the system chooses disordered states that can be realized in many ways, like a gas. Phase transitions such as melting happen where the two contributions balance.
The name comes from a second meaning. When a system changes at constant temperature, not all of its energy can be turned into work, because part of it must flow as heat to keep the entropy bookkeeping right. The decrease of the free energy is the maximum work we can extract. It is the energy that is "free" to be used.
Concrete
Definitions. For a system with internal energy , entropy , temperature , pressure and volume , the Helmholtz and Gibbs free energies are With the fundamental relation we get So is the natural function of and of , and for example and .
Minimum principle. Put the system in contact with a heat reservoir at temperature and keep its volume fixed. If the system absorbs heat , the reservoir's entropy changes by , and the second law requires . With no work done, , so The free energy can only decrease, and equilibrium is its minimum. At fixed and the same argument gives , which is why chemists use . If the system does work on its surroundings at constant , then : this is the maximum work statement.
Statistical mechanics. In the canonical ensemble the probability of a microstate with energy is with and partition function . The free energy is One checks that this agrees with the thermodynamic definition: , and , so .
Example. A two-level system with energies and has and . At low temperature , the energy of the ground state. At high temperature , which is times the entropy of two equally occupied states.
Abstract
Legendre transform. In equilibrium thermodynamics is a convex function, and the free energy is its Legendre transform in the entropy variable, is therefore concave in , which expresses the positivity of the heat capacity: . is obtained by a further Legendre transform in .
Gibbs variational principle. Let be a Hamiltonian on a finite-dimensional Hilbert space (or a classical system with finitely many states) and define for every density matrix With the Gibbs state and one finds The relative entropy is non-negative and vanishes only for , so the Gibbs state is the unique minimizer of , and the minimum value is the free energy. This is the precise form of the minimum principle, and it is the starting point of mean field theory and of variational methods, which minimize over a restricted family of trial states and obtain upper bounds on .
Thermodynamic limit. For a lattice system in a finite region , the free energy density exists for a large class of short-range interactions and does not depend on the boundary conditions. For every finite , is analytic in and in the couplings. Non-analyticities can appear only in the limit, and phase transitions are defined as points where is not analytic. The critical exponents of continuous transitions describe the singular part of near such points.
Field theory. In quantum field theory at temperature , is the Euclidean path integral with time compactified on a circle of circumference (periodic for bosons, antiperiodic for fermions), and . The effective action, the Legendre transform of with respect to a source , plays the role of a Gibbs free energy as a function of the expectation value of the field.