Thermodynamic State Variables

Interactive Lecture

Enthalpy, Entropy, Gibbs and Helmholtz Free Energy

by Dr Arnaldo Delli Carri

Introduction to Thermodynamic State Variables

Thermodynamic state variables (or state functions) are properties that depend only on the current state of a system, not on how the system reached that state. They are what let you characterise a thermodynamic system and predict how it will behave.

State variables are path-independent. The change in a state variable between two equilibrium states is the same regardless of the process path taken — unlike heat and work, which are path functions and depend on how you get there.

Fundamental State Variables

The basic state variables include:

From these fundamental variables, we derive composite state functions that provide deeper insights into system behaviour.

1. Enthalpy (H)

Enthalpy is a state function particularly useful for processes occurring at constant pressure, which are common in engineering applications.

Definition:

\[H = U + PV\]

Where:

Differential form:

\[dH = dU + PdV + VdP\]

For constant pressure processes:

\[\Delta H = Q_P\]

The enthalpy change equals the heat transferred at constant pressure.

Enthalpy is the total heat content of a system at constant pressure. It accounts for both the internal energy and the energy required to "make room" for the system (the \(PV\) term is flow work).

2. Entropy (S)

Entropy is a measure of disorder or energy dispersal in a system. It is central to the Second Law of Thermodynamics.

Thermodynamic Definition:

\[dS = \frac{\delta Q_{rev}}{T}\]

For a reversible process between states 1 and 2:

\[\Delta S = \int_1^2 \frac{\delta Q_{rev}}{T}\]

Statistical Definition (Boltzmann):

\[S = k_B \ln(\Omega)\]

Where:

Second Law of Thermodynamics:

\[\Delta S_{universe} \geq 0\]

Entropy quantifies the degree of disorder or randomness. Systems naturally evolve towards states of higher entropy. Entropy also measures the unavailability of energy to do useful work.

3. Gibbs Free Energy (G)

The Gibbs free energy determines the spontaneity of processes at constant temperature and pressure - the most common conditions in chemistry and biology.

Definition:

\[G = H - TS = U + PV - TS\]

Differential form:

\[dG = dH - TdS - SdT\]

Natural variables \(P\) and \(T\):

\[dG = VdP - SdT\]

At constant temperature:

\[\Delta G = \Delta H - T\Delta S\]

Criterion for Spontaneity:

Gibbs free energy is the maximum useful work obtainable at constant temperature and pressure. It balances the enthalpy drive (energy release) against the entropy drive (disorder increase).

4. Helmholtz Free Energy (A or F)

The Helmholtz free energy is useful for processes at constant temperature and volume, common in theoretical studies and closed rigid systems.

Definition:

\[A = U - TS\]

Differential form:

\[dA = dU - TdS - SdT\]

Natural variables \(V\) and \(T\):

\[dA = -PdV - SdT\]

At constant temperature:

\[\Delta A = \Delta U - T\Delta S\]

Criterion for Spontaneity (constant T, V):

Helmholtz free energy is the maximum useful work obtainable at constant temperature and volume, excluding expansion work. It's the "free" energy available to do non-expansion work.

Maxwell Relations

The four thermodynamic potentials lead to important mathematical relationships called Maxwell relations:

From Internal Energy \(dU = TdS - PdV\):

\[\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V\]

From Enthalpy \(dH = TdS + VdP\):

\[\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P\]

From Helmholtz Free Energy \(dA = -SdT - PdV\):

\[\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V\]

From Gibbs Free Energy \(dG = -SdT + VdP\):

\[\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P\]

Relationships Between State Variables

These state functions are intimately related through thermodynamic identities:

\[G = H - TS = U + PV - TS = A + PV\]

\[A = U - TS = G - PV\]

\[H = U + PV = G + TS\]

\[U = H - PV = A + TS = G - PV + TS\]

Interactive Simulation: State Variables During Thermodynamic Processes

Explore how thermodynamic state variables change during different processes. Use Explore mode to study individual processes, Compare Paths to see why state functions are path-independent, or Build Cycle to construct thermodynamic cycles and watch state functions return to zero.

10.0

Current State Variables:

P: 249.4 kPa
V: 10.0 L
T: 300 K
U: 6240 J
H: 8734 J
Sref: 0.00 J/K
G: 8734 J
A: 6240 J
Changes from initial state:
ΔU = 0 J
ΔH = 0 J
ΔS = 0.00 J/K
ΔG = 0 J Equilibrium
The ΔG spontaneity verdict is only valid when temperature and pressure are both held constant.
Q = 0 J (path-dependent)
W = 0 J (path-dependent)
Q = ΔU + W → 0 = 0 + 0 ✓

Engineering Applications

Summary of Key Equations

State Variable Definition Differential Form Physical Meaning
Internal Energy (U) Fundamental property \(dU = TdS - PdV\) Total microscopic energy
Enthalpy (H) \(H = U + PV\) \(dH = TdS + VdP\) Heat content at constant P
Entropy (S) \(dS = \frac{\delta Q_{rev}}{T}\) \(dS \geq \frac{\delta Q}{T}\) Measure of disorder
Gibbs Free Energy (G) \(G = H - TS\) \(dG = VdP - SdT\) Available work at const. T, P
Helmholtz Free Energy (A) \(A = U - TS\) \(dA = -PdV - SdT\) Available work at const. T, V

Important Relationships

Practice Problems

Problem 1: Enthalpy Change in Isobaric Heating

Two moles of nitrogen gas (diatomic, \(C_P = 29.1\) J/(mol·K)) are heated from 300 K to 500 K at constant pressure of 200 kPa. Calculate:

(a) The change in internal energy
(b) The change in enthalpy
(c) The work done by the gas
(d) The heat transferred

Show Solution

Problem 2: Entropy Change in Isothermal Expansion

One mole of an ideal gas expands isothermally at 400 K from volume 10 L to 30 L. Calculate:

(a) The entropy change of the gas
(b) The heat transferred
(c) Is this process reversible or irreversible if it occurs spontaneously?

Show Solution

Problem 3: Gibbs Free Energy and Reaction Spontaneity

A chemical reaction at 298 K and 1 atm has \(\Delta H = -92.4\) kJ and \(\Delta S = -198.7\) J/K. Calculate:

(a) The Gibbs free energy change at 298 K
(b) Is the reaction spontaneous at 298 K?
(c) At what temperature does the reaction become non-spontaneous?

Show Solution

Problem 4: State Functions in a Thermodynamic Cycle

An ideal gas undergoes a cycle consisting of three processes:

For 1 mole of gas with \(C_V = 12.5\) J/(mol·K), calculate the total change in:

(a) Internal energy for the complete cycle
(b) Enthalpy for the complete cycle
(c) Entropy for the complete cycle

Show Solution

Knowledge Check Quiz

Q1: Which of the following is NOT a state function?

Q2: Enthalpy is defined as:

Q3: For a spontaneous process at constant temperature and pressure:

Q4: The Second Law of Thermodynamics states that for an isolated system:

Q5: Helmholtz free energy is most useful for processes at constant:

Q6: For a complete thermodynamic cycle, the change in internal energy is:

Q7: The relationship \(G = H - TS\) shows that Gibbs free energy:

Q8: At constant pressure, the heat transferred equals: