Enthalpy, Helmholtz Free Energy, and Gibbs Free Energy
Starting from dU = TdS - pdV, we add clever terms to both sides to cook up enthalpy, Helmholtz, and Gibbs — basically just a change of variables to make life easier.
Some original drawings have corrections. Read the notes on those drawings alongside the worked steps.
Alright then, now, finally, we take the thermodynamic identity $dU = TdS - pdV$ for a simple compressible system of fixed composition, and add the same extra differential to both sides, and that way we’ll look at other kinds(?) of energy. Calling them “other kinds” is a bit off… um…? More like a change of variables? Something like that, I think.
As you’ve all probably guessed, I’m about to define the enthalpy, Helmholtz, and Gibbs functions. And after we’ve defined all~~ of these functions!!
-
Why on earth did we define these functions?
-
What on earth does each function mean?
We’ll dig into that. (A little spoiler first: it’s stuff like “in this case, in that case… and so on, this kind of energy equation is more convenient, easier to handle, actually means something.”) Let’s just get going.
① The enthalpy function
$p$ times $V$ has the units of ’energy’. Right!!! So take that thermodynamic identity, $dU = TdS - pdV$, and let’s add $d(pV)$ to both sides, the same on each.

Now I’ll write the left side as $d(U + pV)$. That’s allowed, right?!


② The Helmholtz function
Before, we added $d(pV)$ to both sides of the $dU$ equation. This time we’ll add $-d(TS)$!!!!
Is $TS$ really an energy, units-wise????
In
, $S$ has units of J/K. Here the heat formula means reversible heat, $dS=\delta Q_{rev}/T$. And the statistical-mechanics definition of entropy, too,
: the Boltzmann constant there has units of J/K.
(Why the constant has units of that goofy shape: you’ll see it if you think back to how the statistical-mechanics entropy was derived.)
Anyway, there’s no doubt that $TS$ has units of energy, so let’s look at $dU - d(TS)$.

Now take the left side, $dU - d(TS)$, write it as $d(U - TS)$, and on to the definition!!!


③ The Gibbs function
This time, let’s pull the trick we played on $dU$ for the enthalpy and the trick we played on $dU$ for the Helmholtz function, both at once!!! That is, let’s hit $dU$ with $+d(pV) - d(TS)$!!!!!

Now take the left side, $dU + d(pV) - d(TS)$, write it as $d(U + pV - TS)$, and on to the definition!!!



We sure did something just now, we even went all the way to the sum-to-the-mary, but what on earth did we do? What do those things actually mean?
Why do we have to look at the same energy in four whole flavors like this, $U$, $H$, $A$, $G$…. Why are we even learning this?
Let’s think about it. First, let me copy out the definition of ‘free energy’ the way it’s introduced:
‘Free energy’: a physical quantity that depends on the available, useful amount of work a system can give.
Big underline under “available”, pig-tail squiggle, dot dot~, and let’s move on.
And one more thing: let me introduce the concept of availability. It’s a concept for a sup~~er common situation, they say. The super common situation: when you do chemistry experiments, lots of them are run at constant temperature & constant pressure, they say.
So let’s say the surroundings are held at temperature
and pressure
.

In this setup, let’s write out the first law of thermodynamics: $dU = \delta Q + \delta W$.
Now say heat $\delta Q$ comes into the system from the surroundings, and the system does work. The heat that flowed in from the surroundings: $\delta Q$. This much heat comes in, the system does work, and let’s say its volume changes by $dV$.
The pressure-volume contribution to work done on the system is
. Call the remaining, non-expansion work done on it $\delta W'$, so total work on it is $\delta W=-p_0dV+\delta W'$.
The old notes below try to subtract
from the heat, forming
and naming it
. Keep an eye on that detour: this invented remainder is not the heat entering the Clausius inequality!


(If you just skim this, it’ll probably be hard to follow… T_T)
Let’s fix the reasoning while keeping the old pictures. The first law gives $dU=\delta Q-p_0dV+\delta W'$. For heat from the reservoir, Clausius gives $\delta Q\le T_0dS$. Therefore $\delta W'\ge dU-T_0dS+p_0dV$. Read the work symbol in the next pictures as this non-expansion work on the system.
![]()
And let’s understand this inequality like this.

In other words!!!! The work symbol
means $\delta W'$ here. Its lower bound is
. So useful work out of the system is at most the negative of that change; a reversible process reaches the bound.
This expression,
, is the change in the availability $F$ for fixed reservoir values $T_0,p_0$.

So,

For a spontaneous process with no supplied non-expansion work, $\delta W'=0$, so
.
Let’s look at a few situations with this inequality. This inequality is said to express the ‘principle of minimum availability’.
But let’s not forget our assumption. We derived this with the surroundings held at temperature
and pressure
!
(So, I don’t know for sure, but I’m guessing it was the chemistry folks who came up with this availability thing.)

“So in equilibrium, $S$ hits its maximum.” That’s the conclusion we can draw.

“No way, this…!!! It’s the Helmholtz function!”
“Wait!!! The Helmholtz function, in a system at ‘constant temperature, constant volume’, means the availability, that is, the free energy!!! Wow~~ And even that in equilibrium the Helmholtz function will be at its minimum!!!!”
Now I also see why it’s called the Helmholtz free energy.

“Ah!!! In a system at constant pressure and constant temperature, it’s exactly the Gibbs function that’s the availability… that is, it means the free energy!!!”
Now I get what the Helmholtz function and the Gibbs function mean.
Then what about enthalpy!!!
Enthalpy really shines at constant pressure: for a closed system with only pressure-volume work, its change equals the heat supplied. It is a state function, rather than heat stored inside the system.


Let’s sum it up again!!!
Internal energy: the sum of the kinetic and potential energies of the particles that make up the system.
Helmholtz free energy: its decrease sets the maximum useful work out of a closed system at constant temperature and volume.
Gibbs free energy: at constant temperature and pressure, its decrease sets the maximum non-expansion work out. With no supplied non-expansion work, it falls toward equilibrium.
Enthalpy: $H=U+pV$. Its change equals the heat supplied at constant pressure when pressure-volume work is the only work.
From here on, it’s the Maxwell Relations!!! If I keep going in this post, people will start throwing rocks at me, right?!?! I’ll pick it up in the next post!
Heads-up. The figures here are the original notes, slips and all. A few things to watch for:
- In the summary table, the pressure from $U(S,V)$ is $p = -\left(\frac{\partial U}{\partial V}\right)_S$, since $dU = TdS - pdV$.
- In the availability derivation, the inequality to use is Clausius’, $T_0\,dS \ge \delta Q$, with $\delta Q$ the heat into the system. With $\delta W'$ the work done on the system besides the surroundings’ $-p_0\,dV$, the first law gives $\delta W' = dU - \delta Q + p_0\,dV \ge dU - T_0\,dS + p_0\,dV = dF$; read the other way round, the useful work you can get out is at most $-dF$.
- In the constant-pressure, constant-temperature case, the second line is $0 \ge d(U - T_0 S + p_0 V)$, with $T_0 S$ rather than $T_0\,dS$ inside.
- In the enthalpy picture, $dH = TdS + Vdp$ (as earlier in the post), so at fixed pressure $dH = TdS$.
Questions or corrections?
Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.
Feedback goes to me privately by email; it is not posted as a public comment.