 # Helmholtz free energy

Updated on
Covid-19 In thermodynamics, the Helmholtz free energy is a thermodynamic potential that measures the “useful” work obtainable from a closed thermodynamic system at a constant temperature and volume. The negative of the difference in the Helmholtz energy is equal to the maximum amount of work that the system can perform in a thermodynamic process in which volume is held constant. If the volume is not held constant, part of this work will be performed as boundary work. The Helmholtz energy is commonly used for systems held at constant volume. Since in this case no work is performed on the environment, the drop in the Helmholtz energy is equal to the maximum amount of useful work that can be extracted from the system. For a system at constant temperature and volume, the Helmholtz energy is minimized at equilibrium.

## Contents

The Helmholtz free energy was developed by Hermann von Helmholtz, a German physician and physicist, and is usually denoted by the letter A  (from the German “Arbeit” or work), or the letter F . The IUPAC recommends the letter A  as well as the use of name Helmholtz energy. In physics, the letter F can also be used to denote the Helmholtz energy, as Helmholtz energy is sometimes referred to as the Helmholtz function, Helmholtz free energy, or simply free energy (not to be confused with Gibbs free energy or free enthalpy).

While Gibbs free energy is most commonly used as a measure of thermodynamic potential, especially in the field of chemistry, it is inconvenient for some applications that do not occur at constant pressure. For example, in explosives research, Helmholtz free energy is often used since explosive reactions by their nature induce pressure changes. It is also frequently used to define fundamental equations of state of pure substances.

## Definition

The Helmholtz energy is defined as:

A U T S

where

• A  is the Helmholtz free energy (SI: joules, CGS: ergs),
• U  is the internal energy of the system (SI: joules, CGS: ergs),
• T  is the absolute temperature (kelvins) of the surroundings, modelled as a heat bath,
• S  is the entropy of the system (SI: joules per kelvin, CGS: ergs per kelvin).
• The Helmholtz energy is the Legendre transform of the internal energy, U, in which temperature replaces entropy as the independent variable.

## Mathematical development

From the first law of thermodynamics in a closed system we have

d U = δ Q   + δ W ,

where U is the internal energy, δ Q is the energy added as heat and δ W is the work done on the system. From the second law of thermodynamics, for a reversible process we may say that δ Q = T d S . Also, in case of a reversible change, the work done can be expressed as δ W = p d V (ignoring electrical and other non-PV work)

d U = T d S p d V

Applying the product rule for differentiation to d(TS) = TdS + SdT, we have:

d U = d ( T S ) S d T p d V ,

and:

d ( U T S ) = S d T p d V

The definition of A = U - TS enables to rewrite this as

d A = S d T p d V

Because A is a thermodynamic function of state, this relation is also valid for a process (without electrical work or composition change) that is not reversible, as long as the system pressure and temperature are uniform.

## Minimum free energy and maximum work principles

The laws of thermodynamics are most easily applicable to systems undergoing reversible processes or processes that begin and end in thermal equilibrium, although irreversible quasistatic processes or spontaneous processes in systems with uniform temperature and pressure (uPT processes) can also be analyzed based on the fundamental thermodynamic relation as shown further below. First, if we wish to describe phenomena like chemical reactions, it may be convenient to consider suitably chosen initial and final states in which the system is in (metastable) thermal equilibrium. If the system is kept at fixed volume and is in contact with a heat bath at some constant temperature, then we can reason as follows.

Since the thermodynamical variables of the system are well defined in the initial state and the final state, the internal energy increase, Δ U , the entropy increase Δ S , and the total amount of work that can be extracted, performed by the system, W , are well-defined quantities. Conservation of energy implies:

Δ U bath + Δ U + W = 0

The volume of the system is kept constant. This means that the volume of the heat bath does not change either and we can conclude that the heat bath does not perform any work. This implies that the amount of heat that flows into the heat bath is given by:

Q bath = Δ U bath = ( Δ U + W )

The heat bath remains in thermal equilibrium at temperature T no matter what the system does. Therefore, the entropy change of the heat bath is:

Δ S bath = Q bath T = Δ U + W T

The total entropy change is thus given by:

Δ S bath + Δ S = Δ U T Δ S + W T

Since the system is in thermal equilibrium with the heat bath in the initial and the final states, T is also the temperature of the system in these states. The fact that the system's temperature does not change allows us to express the numerator as the free energy change of the system:

Δ S bath + Δ S = Δ A + W T

Since the total change in entropy must always be larger or equal to zero, we obtain the inequality:

W Δ A

We see that the total amount of work that can be extracted in an isothermal process is limited by the free energy decrease, and that increasing the free energy in a reversible process requires work to be done on the system. If no work is extracted from the system then

Δ A 0

and thus for a system kept at constant temperature and volume and not capable of performing electrical or other non-PV work, the total free energy during a spontaneous change can only decrease.

This result seems to contradict the equation dA = -S dT - P dV, as keeping T and V constant seems to imply dA = 0 and hence A = constant. In reality there is no contradiction: In a simple one-component system, to which the validity of the equation dA = -S dT - P dV is restricted, no process can occur at constant T and V since there is a unique P(T,V) relation, and thus T, V, and P are all fixed. To allow for spontaneous processes at constant T and V, one needs to enlarge the thermodynamical state space of the system. In case of a chemical reaction, one must allow for changes in the numbers Nj of particles of each type j. The differential of the free energy then generalizes to:

d A = S d T p d V + j μ j d N j

where the N j are the numbers of particles of type j and the μ j are the corresponding chemical potentials. This equation is then again valid for both reversible and non-reversible uPT changes. In case of a spontaneous change at constant T and V without electrical work, the last term will thus be negative.

In case there are other external parameters the above relation further generalizes to:

d A = S d T i X i d x i + j μ j d N j

Here the x i are the external variables and the X i the corresponding generalized forces.

## Relation to the canonical partition function

A system kept at constant volume, temperature, and particle number is described by the canonical ensemble. The probability to find the system in some energy eigenstate r is given by:

P r = e β E r Z

where

β 1 k T E r =  energy of eigenstate  r Z = r e β E r

Z is called the partition function of the system. The fact that the system does not have a unique energy means that the various thermodynamical quantities must be defined as expectation values. In the thermodynamical limit of infinite system size, the relative fluctuations in these averages will go to zero.

The average internal energy of the system is the expectation value of the energy and can be expressed in terms of Z as follows:

U E = r P r E r = log Z β

If the system is in state r, then the generalized force corresponding to an external variable x is given by

X r = E r x

The thermal average of this can be written as:

X = r P r X r = 1 β log Z x

Suppose the system has one external variable x . Then changing the system's temperature parameter by d β and the external variable by d x will lead to a change in log Z :

d ( log Z ) = log Z β d β + log Z x d x = U d β + β X d x

If we write U d β as:

U d β = d ( β U ) β d U

we get:

d ( log Z ) = d ( β U ) + β d U + β X d x

This means that the change in the internal energy is given by:

d U = 1 β d ( log Z + β U ) X d x

In the thermodynamic limit, the fundamental thermodynamic relation should hold:

d U = T d S X d x

This then implies that the entropy of the system is given by:

S = k log Z + U T + c

where c is some constant. The value of c can be determined by considering the limit T → 0. In this limit the entropy becomes S = k log Ω 0 where Ω 0 is the ground state degeneracy. The partition function in this limit is Ω 0 e β U 0 where U 0 is the ground state energy. Thus, we see that c = 0 and that:

A = k T log ( Z )

## Relating Free Energy to other Variables

Combining the definition of Helmholtz free energy,

A = U T S ,

along with the fundamental thermodynamic relation,

d A = S d T P d V + μ d N ,

one can find expressions for entropy, pressure and chemical potential:

S = ( A T ) | V , N , P = ( A V ) | T , N , μ = ( A N ) | T , V .

These three equations, along with the free energy in terms of the partition function,

A = k T log ( Z ) ,

allow for an efficient way of calculating thermodynamic variables of interest given the partition function and are often used in density of state calculations. One can also do Legendre Transforms for different systems. For example, for a system with a magnetic field or potential, it is true that

m = ( A B ) | T , N , and V = ( A Q ) N , T .

## Bogoliubov inequality

Computing the free energy is an intractable problem for all but the simplest models in statistical physics. A powerful approximation method is mean field theory, which is a variational method based on the Bogoliubov inequality. This inequality can be formulated as follows:

Suppose we replace the real Hamiltonian H of the model by a trial Hamiltonian H ~ , which has different interactions and may depend on extra parameters that are not present in the original model. If we choose this trial Hamiltonian such that

H ~ = H ,

where both averages are taken with respect to the canonical distribution defined by the trial Hamiltonian H ~ , then

A A ~

where A is the free energy of the original Hamiltonian and A ~ is the free energy of the trial Hamiltonian. By including a large number of parameters in the trial Hamiltonian and minimizing the free energy we can expect to get a close approximation to the exact free energy.

The Bogoliubov inequality is often formulated in a slightly different but equivalent way. If we write the Hamiltonian as:

H = H 0 + Δ H

where H 0 is exactly solvable, then we can apply the above inequality by defining

H ~ = H 0 + Δ H 0

Here we have defined X 0 to be the average of X over the canonical ensemble defined by H 0 . Since H ~ defined this way differs from H 0 by a constant, we have in general

X 0 = X

Therefore,

H ~ = H 0 + Δ H = H

And thus the inequality

A A ~

holds. The free energy A ~ is the free energy of the model defined by H 0 plus Δ H . This means that

A ~ = H 0 0 T S 0 + Δ H 0 = H 0 T S 0

and thus:

A H 0 T S 0

## Proof

For a classical model we can prove the Bogoliubov inequality as follows. We denote the canonical probability distributions for the Hamiltonian and the trial Hamiltonian by P r and P ~ r , respectively. The inequality:

r P ~ r log ( P ~ r ) r P ~ r log ( P r )

then holds. To see this, consider the difference between the left hand side and the right hand side. We can write this as:

r P ~ r log ( P ~ r P r )

Since

log ( x ) 1 1 x

it follows that:

r P ~ r log ( P ~ r P r ) r ( P ~ r P r ) = 0

where in the last step we have used that both probability distributions are normalized to 1.

We can write the inequality as:

log ( P ~ r ) log ( P r )

where the averages are taken with respect to P ~ r . If we now substitute in here the expressions for the probability distributions:

P r = exp [ β H ( r ) ] Z

and

P ~ r = exp [ β H ~ ( r ) ] Z ~

we get:

β H ~ log ( Z ~ ) β H log ( Z )

Since the averages of H and H ~ are, by assumption, identical we have:

A A ~

Here we have used that the partition functions are constants with respect to taking averages and that the free energy is proportional to minus the logarithm of the partition function.

We can easily generalize this proof to the case of quantum mechanical models. We denote the eigenstates of H ~ by | r . We denote the diagonal components of the density matrices for the canonical distributions for H and H ~ in this basis as:

P r = r | exp [ β H ] Z | r

and

P ~ r = r | exp [ β H ~ ] Z ~ | r = exp ( β E ~ r ) Z ~

where the E ~ r are the eigenvalues of H ~

We assume again that the averages of H and H ~ in the canonical ensemble defined by H ~ are the same:

H ~ = H

where

H = r P ~ r r | H | r

The inequality

r P ~ r log ( P ~ r ) r P ~ r log ( P r )

still holds as both the P r and the P ~ r sum to 1. On the l.h.s. we can replace:

log ( P ~ r ) = β E ~ r log ( Z ~ )

On the right-hand side we can use the inequality

exp ( X ) r exp ( X r )

where we have introduced the notation

Y r r | Y | r

for the expectation value of the operator Y in the state r. See here for a proof. Taking the logarithm of this inequality gives:

log [ exp ( X ) r ] X r

This allows us to write:

log ( P r ) = log [ exp ( β H log ( Z ) ) r ] β H log ( Z ) r

The fact that the averages of H and H ~ are the same then leads to the same conclusion as in the classical case:

A A ~

## Generalized Helmholtz energy

In the more general case, the mechanical term ( p d V ) must be replaced by the product of volume, stress, and an infinitesimal strain:

d A = V i j σ i j d ε i j S d T + i μ i d N i

where σ i j is the stress tensor, and ε i j is the strain tensor. In the case of linear elastic materials that obey Hooke's Law, the stress is related to the strain by:

σ i j = C i j k l ϵ k l

where we are now using Einstein notation for the tensors, in which repeated indices in a product are summed. We may integrate the expression for d A to obtain the Helmholtz energy:

A = 1 2 V C i j k l ϵ i j ϵ k l S T + i μ i N i = 1 2 V σ i j ϵ i j S T + i μ i N i

## Application to fundamental equations of state

The Helmholtz free energy function for a pure substance (together with its partial derivatives) can be used to determine all other thermodynamic properties for the substance. See, for example, the equations of state for water, as given by the IAPWS in their IAPWS-95 release.

Topics