Helmholtz free energy
showing that the Helmholtz free energy is minimized at equilibrium.