# 14.1: Helmholtz Energy

Above we have answered the question: what is entropy really, but we still do not have a general criterion for spontaneity, just one that works in an isolated system. Let's fix that now. It leads to two new state functions that prove to be most useful ones of thermodynamics.

As discussed previously, the expression

$dU = TdS -PdV$

was only valid for reversible changes. Let us consider a spontaneous change. If we assume constant volume, the $$-PdV$$ work term drops out. From the Clausius inequality $$dS>\dfrac{δq}{T}$$ we get:

$\underset{ \text{constant V} }{dU \le TdS }$

$\underset{ \text{constant V} }{ dU-TdS \le 0 }$

Consider a new state function

$A ≡ U -TS$

$dA = dU -TdS - SdT \label{diff1}$

If we also set $$T$$ constant, we see that Equation $$\ref{diff1}$$ becomes

$\underset{ \text{constant V and T} }{ dA=dU-TdS \le 0 }$

This means that the Helmholtz energy $$A$$ is a decreasing quantity for spontaneous processes (regardless of isolation!) and $$A$$ becomes constant once a reversible equilibrium is reached.

##### Example 22.1.1 : What A stands for

A good example is the case of the mixing of two gases. Let's assume isothermal conditions and keep the total volume constant. For this process, $$ΔU$$ is zero (isothermal, ideal) but the

$ΔS_{molar} = -y_1R\ln y_1-y_2 R \ln y_2$

This means that

$ΔA_{molar} = RT (y_1\ln y_1+y_2\ln y_2).$

This is a negative quantity because the mole ratios are smaller than unity. So yes this spontaneous process has a negative $$ΔA$$. If we look at $$ΔA = ΔU - TΔS$$ we should see that the latter term is the same thing as $$-q_{rev}$$ So we have :

$ΔA = ΔU - q_{rev} = w_{rev}$

This is however the maximal work that a system is able to produce and so the Helmholtz energy is a direct measure of how much work one can get out of a system. $$A$$ is therefore often called the Helmholtz free energy. Interestingly this work cannot be volume work as volume is constant. so it stands for the maximal other work (e.g. electrical work) that can be obtained under the unlikely condition that volume is constant.

## Natural variables of A

Because $$A≡ U-TS$$ we can write

$dA = dU -TdS -SdT$

$dA = TdS -PdV -TdS -SdT = -PdV - SdT$

The natural variables of $$A$$ are volume $$V$$ and temperature $$T$$.