ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
FT
Thermodynamic equations · 8 min read

Fundamental thermodynamic relation

Thermodynamics is built upon a small set of powerful equations that connect the macroscopic observables of a system—temperature, pressure, volume, entropy,…

Thermodynamics is built upon a small set of powerful equations that connect the macroscopic observables of a system—temperature, pressure, volume, entropy, and various energy-like potentials. Collectively these are known as the fundamental thermodynamic relations. They are four equations that show how four key thermodynamic quantities depend on experimentally controllable variables. In practice they serve as equations of state: once experimental data for a subset of variables are known, the relations allow the calculation of otherwise inaccessible quantities such as the Gibbs free energy G or the enthalpy H.

This article provides an in‑depth, self‑contained exploration of the fundamental thermodynamic relations, their mathematical forms, physical meaning, and practical relevance. The discussion stays faithful to the canonical definitions and expressions found in standard thermodynamic textbooks and the authoritative source cited below.


Table of contents

  1. [What the fundamental relation is](#what-the-fundamental-relation-is)
  2. [Mathematical forms of the four relations](#mathematical-forms)
  • 2.1 Internal energy U
  • 2.2 Enthalpy H
  • 2.3 Helmholtz free energy F
  • 2.4 Gibbs free energy G
  1. [Why the relations matter](#why-they-matter)
  2. [Physical interpretation of each term](#interpretation)
  3. [Experimental use: determining hidden thermodynamic quantities](#experimental-use)
  4. [Illustrative example: a simple ideal‑gas process](#example)
  5. [Scope and limitations](#scope)
  6. [Connections to broader thermodynamic theory](#connections)
  7. [Conclusion](#conclusion)
  8. [FAQ](#faq)

<a name="what-the-fundamental-relation-is"></a>What the fundamental relation is

In classical thermodynamics, a fundamental thermodynamic relation is a differential equation that links an infinitesimal change in a thermodynamic potential to infinitesimal changes in its natural variables. The four relations together describe how internal energy (U), enthalpy (H), Helmholtz free energy (F), and Gibbs free energy (G) vary with the most convenient experimentally accessible variables: entropy S, temperature T, pressure P, and volume V.

The relations are equations of state in the sense that they allow one to translate measured data (e.g., pressure and temperature) into derived state functions (e.g., Gibbs free energy). They apply to a closed system (no matter exchange) that is in thermal equilibrium, ensuring that the macroscopic variables are well‑defined and the differential forms are exact.


<a name="mathematical-forms"></a>Mathematical forms of the four relations

Each thermodynamic potential has a natural set of independent variables. The fundamental relation expresses the total differential of the potential in terms of its conjugate pairs. Below we list the four canonical forms.

2.1 Internal energy U

The most primitive relation connects the internal energy to entropy and volume:

\[ \boxed{dU = T\,dS - P\,dV} \]

  • U – internal energy, the total microscopic energy of the system.
  • T – absolute temperature, the intensive variable conjugate to entropy.
  • S – entropy, a measure of microscopic disorder.
  • P – pressure, the intensive variable conjugate to volume.
  • V – volume, the extensive variable that measures the system’s size.

This expression states that a small change in internal energy can be decomposed into a heat‑like term T dS (energy transferred as entropy changes at constant volume) and a work‑like term −P dV (energy transferred as the system expands or contracts at constant entropy).

2.2 Enthalpy H

Enthalpy is defined as H = U + PV. Its differential follows directly from the internal‑energy relation:

\[ \boxed{dH = T\,dS + V\,dP} \]

Here the natural variables are S and P. The V dP term represents the work done when pressure changes at constant entropy, while T dS retains its heat‑like character.

2.3 Helmholtz free energy F

The Helmholtz free energy is F = U – TS. Its differential is:

\[ \boxed{dF = -S\,dT - P\,dV} \]

The natural variables are T and V. The term −S dT captures how the free energy drops when temperature rises at fixed volume, and −P dV again reflects mechanical work.

2.4 Gibbs free energy G

The Gibbs free energy, G = H – TS, is perhaps the most widely used potential in chemistry and engineering. Its differential reads:

\[ \boxed{dG = -S\,dT + V\,dP} \]

The natural variables are T and P. The −S dT term quantifies the temperature dependence, while V dP accounts for the response to pressure changes.

All four equations share the same underlying structure: a conjugate pair of an intensive variable (T, P, or S) multiplied by the differential of its extensive counterpart (S, V, or T). This symmetry reflects the Legendre transformations that generate the various potentials from the internal energy.


<a name="why-they-matter"></a>Why the relations matter

1. Bridge between experiment and theory

Direct measurement of quantities such as G or H is rarely possible. Instead, experimentalists can readily record P, V, T, and S (or proxies such as heat capacity). By integrating the appropriate fundamental relation, the hidden potentials can be reconstructed from the measured data.

2. Predictive power for spontaneous processes

The sign of the differential of a potential determines the direction of spontaneous change under its natural constraints. For example, at constant T and P, a process proceeds spontaneously if dG < 0. The fundamental relation provides the differential form that underpins this criterion.

3. Thermodynamic consistency

Because each relation is an exact differential, the mixed second derivatives satisfy Maxwell relations. These cross‑derivative equalities guarantee internal consistency of thermodynamic data and are routinely used to check experimental tables.

4. Design of engineering cycles

In power‑plant cycles (Rankine, Brayton) and refrigeration cycles, engineers manipulate P, V, and T to maximize work output or minimize energy consumption. The fundamental relations quantify how each step changes the internal energy, enthalpy, or free energy, enabling precise cycle analysis.


<a name="interpretation"></a>Physical interpretation of each term

PotentialDifferentialHeat‑like termWork‑like termNatural variables
U\(dU = T\,dS - P\,dV\)\(T\,dS\): energy added as entropy changes at fixed volume (heat)\(-P\,dV\): energy removed as the system expands against external pressure (mechanical work)\(S, V\)
H\(dH = T\,dS + V\,dP\)\(T\,dS\): same heat contribution\(+V\,dP\): work done when pressure changes at fixed entropy\(S, P\)
F\(dF = -S\,dT - P\,dV\)\(-S\,dT\): loss of free energy with temperature rise at constant volume\(-P\,dV\): mechanical work at constant temperature\(T, V\)
G\(dG = -S\,dT + V\,dP\)\(-S\,dT\): loss of free energy with temperature rise at constant pressure\(+V\,dP\): work associated with pressure changes at constant temperature\(T, P\)

The conjugate pairs (T–S, P–V) reflect the fundamental exchange mechanisms: heat (entropy flow) and mechanical work (volume change). The signs indicate whether the system gains or loses energy under the corresponding infinitesimal change.


<a name="experimental-use"></a>Experimental use: determining hidden thermodynamic quantities

Suppose a chemist measures the pressure‑volume curve of a gas at a known temperature. By integrating the −P dV term of the internal‑energy relation, the change in internal energy ΔU can be obtained:

\[ \Delta U = \int_{V_1}^{V_2} T\,dS - \int_{V_1}^{V_2} P\,dV. \]

If the process is isentropic (dS = 0), the first integral vanishes and ΔU = -∫P dV, a purely mechanical work calculation. Conversely, in an isochoric (constant V) heating experiment, dV = 0, so ΔU = ∫T dS, linking heat capacity measurements to entropy changes.

Similarly, for a reaction performed at constant temperature and pressure, the change in Gibbs free energy ΔG follows directly from the integrated −S dT + V dP expression. Because dT = 0 and dP = 0, the differential reduces to dG = 0, implying that G remains constant for reversible paths. Any measured deviation (e.g., a non‑zero ΔG) signals irreversibility or non‑ideal behavior, guiding the chemist to refine the experimental protocol.

Thus, the fundamental relations serve as a conversion toolkit: measured P‑V‑T data become U, H, F, G values through straightforward integration, provided the appropriate natural variables are held fixed.


<a name="example"></a>Illustrative example: a simple ideal‑gas process

Consider one mole of an ideal gas undergoing a reversible, isothermal expansion from volume V₁ to V₂ at temperature T. The pressure of an ideal gas follows \(P = \frac{RT}{V}\). We can use the internal‑energy relation to compute ΔU:

  1. Isothermal condition ⇒ dT = 0 ⇒ dS = \frac{dQ_{\text{rev}}}{T}.
  2. For an ideal gas, internal energy depends only on temperature, so ΔU = 0.
  3. Using the differential form \(dU = T\,dS - P\,dV\) and setting ΔU = 0, we obtain:

\[ 0 = T\,dS - P\,dV \quad \Rightarrow \quad dS = \frac{P}{T}\,dV = \frac{R}{V}\,dV. \]

  1. Integrating from V₁ to V₂:

\[ \Delta S = R \ln\!\left(\frac{V_2}{V_1}\right). \]

Now apply the Gibbs‑free‑energy relation \(dG = -S\,dT + V\,dP\). Since dT = 0, we have \(dG = V\,dP\). Substituting the ideal‑gas equation:

\[ dG = V\,d\!\left(\frac{RT}{V}\right) = -RT\,\frac{dV}{V}. \]

Integrating:

\[ \Delta G = -RT \ln\!\left(\frac{V_2}{V_1}\right) = -T \Delta S. \]

The result reproduces the familiar relation \(\Delta G = -RT \ln K\) for an ideal gas, showing how the fundamental relations generate the standard thermodynamic formulas used in chemistry and engineering.


<a name="scope"></a>Scope and limitations

AspectDescription
System typeThe relations are derived for a closed system (no mass exchange).
EquilibriumThey assume thermal equilibrium, ensuring that temperature, pressure, and entropy are well‑defined at each infinitesimal step.
VariablesThe natural variables must be controllable and measurable experimentally (e.g., T, P, V, S).
Legendre transformationsSwitching from one potential to another (e.g., from U to G) is achieved via Legendre transforms, preserving exactness of the differential.
Non‑idealitiesFor real fluids, the simple forms still hold, but the functional dependence of P(V,T), S(T,P), etc., becomes more complex. Experimental data are required to evaluate the integrals.
Irreversible processesThe relations are strictly valid for reversible (infinitesimal) changes. For irreversible paths, the differentials represent state‑function changes, but the path‑dependent heat and work must be accounted for separately.

Understanding these boundaries prevents misuse of the equations in contexts where the underlying assumptions break down (e.g., open chemical reactors with mass flow).


<a name="connections"></a>Connections to broader thermodynamic theory

  1. Maxwell relations – Because each differential is exact, mixed second derivatives are equal, yielding relations such as \(\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V\). These are derived directly from the fundamental equations.

2.

Frequently asked
What is Fundamental thermodynamic relation about?
Thermodynamics is built upon a small set of powerful equations that connect the macroscopic observables of a system—temperature, pressure, volume, entropy,…
What should you know about <a name="what-the-fundamental-relation-is"></a>What the fundamental relation is?
In classical thermodynamics, a fundamental thermodynamic relation is a differential equation that links an infinitesimal change in a thermodynamic potential to infinitesimal changes in its natural variables. The four relations together describe how internal energy (U) , enthalpy (H) , Helmholtz free energy (F) , and…
What should you know about <a name="mathematical-forms"></a>Mathematical forms of the four relations?
Each thermodynamic potential has a natural set of independent variables. The fundamental relation expresses the total differential of the potential in terms of its conjugate pairs. Below we list the four canonical forms.
What should you know about 2.1 Internal energy U?
The most primitive relation connects the internal energy to entropy and volume:
What should you know about 2.2 Enthalpy H?
Enthalpy is defined as H = U + PV . Its differential follows directly from the internal‑energy relation:
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room