Laws of Thermodynamics, State and Path Functions
CSIR NET chemistry: zeroth to third laws, state vs path functions, exact differentials, work and heat in gas expansions, entropy changes and Kirchhoff's law.
- 21 min
On this page · 15 sections
Prerequisites
- Partial derivatives and the test for an exact differential, covered from the mathematician’s side in Metric Spaces and Several Variables.
- Hess’s-law cycles, which you have already used in Born–Haber arguments: Ionisation Energy and Electron Affinity.
- Comfort with natural logarithms and quick arithmetic: Numerical Ability.
The Hook: Two Roads, One Destination
Systems, Variables and Conventions
| Term | Meaning |
|---|---|
| Open system | exchanges matter and energy with the surroundings |
| Closed system | exchanges energy but not matter |
| Isolated system | exchanges neither (\( q = 0 \), \( w = 0 \)) |
| Intensive variable | independent of amount: \( T \), \( P \), density, molar quantities, \( \mu \) |
| Extensive variable | proportional to amount: \( V \), \( U \), \( H \), \( S \), \( G \), \( n \) |
| Reversible process | passes through equilibrium states; an infinitesimal change in a variable reverses it |
| Quasi-static | infinitely slow; every reversible process is quasi-static, not every quasi-static process is reversible (slow heat flow across a finite \( \Delta T \) is not) |
State Functions and Path Functions
Mathematically, a state function \( z(x, y) \) has an exact differential:
$$dz = M\,dx + N\,dy, \qquad M = \left(\frac{\partial z}{\partial x}\right)_y,\quad N = \left(\frac{\partial z}{\partial y}\right)_x$$and the Euler reciprocity (cross-derivative) test holds:
$$\boxed{\left(\frac{\partial M}{\partial y}\right)_x = \left(\frac{\partial N}{\partial x}\right)_y}$$Equivalent statements: \( \int_1^2 dz = z_2 - z_1 \) for every path, and \( \oint dz = 0 \) around any cycle. Path functions have inexact differentials, written \( \delta q \), \( \delta w \) (or \( đq \)).
The classic example: heat is not a state function, entropy is
For a reversible change of an ideal gas, \( \delta q_{\text{rev}} = dU - \delta w = C_V\,dT + P\,dV = C_V\,dT + \dfrac{nRT}{V}\,dV \).
- Test: \( M = C_V \), \( N = nRT/V \). \( \partial M/\partial V = 0 \) but \( \partial N/\partial T = nR/V \neq 0 \). Inexact.
- Divide by \( T \): \( \dfrac{\delta q_{\text{rev}}}{T} = \dfrac{C_V}{T}\,dT + \dfrac{nR}{V}\,dV \). Now \( \partial(C_V/T)/\partial V = 0 \) and \( \partial(nR/V)/\partial T = 0 \). Exact.
So \( 1/T \) is an integrating factor for \( \delta q_{\text{rev}} \), and the exact differential it produces defines entropy: \( dS = \delta q_{\text{rev}}/T \). Part C likes this argument because it ties the mathematics to the second law.
The Zeroth Law
If A is in thermal equilibrium with C, and B is in thermal equilibrium with C, then A and B are in thermal equilibrium with each other. Thermal equilibrium is transitive, so there is a property shared by all bodies in mutual equilibrium: temperature. The law is what makes a thermometer meaningful.
The First Law
Enthalpy and heat capacities
$$H = U + PV, \qquad \Delta U = q_V \ (\text{constant } V,\ \text{no other work}), \qquad \Delta H = q_P \ (\text{constant } P)$$$$C_V = \left(\frac{\partial U}{\partial T}\right)_V, \qquad C_P = \left(\frac{\partial H}{\partial T}\right)_P, \qquad C_{P,m} - C_{V,m} = R \ \ (\text{ideal gas})$$| Ideal gas | \( C_{V,m} \) | \( C_{P,m} \) | \( \gamma = C_P/C_V \) |
|---|---|---|---|
| Monatomic | \( \tfrac{3}{2}R \) | \( \tfrac{5}{2}R \) | 5/3 ≈ 1.67 |
| Diatomic, rigid (translation + rotation, vibration frozen) | \( \tfrac{5}{2}R \) | \( \tfrac{7}{2}R \) | 7/5 = 1.40 |
| Diatomic, vibration fully active | \( \tfrac{7}{2}R \) | \( \tfrac{9}{2}R \) | 9/7 ≈ 1.29 |
For reactions involving gases, \( \Delta H = \Delta U + \Delta n_g RT \), where \( \Delta n_g \) is the change in moles of gas. Example: for \( \text{N}_2 + 3\text{H}_2 \rightarrow 2\text{NH}_3 \), \( \Delta n_g = -2 \); with \( \Delta_r H^\circ = -92.2 \) kJ mol⁻¹ at 298 K, \( \Delta_r U^\circ = -92.2 + 2(8.314)(298)/1000 = -87.2 \) kJ mol⁻¹.
Work and heat for the standard ideal-gas processes
| Process | \( w \) | \( q \) | \( \Delta U \) | Key relation |
|---|---|---|---|---|
| Free expansion (into vacuum) | 0 | 0 | 0 | \( T \) unchanged for an ideal gas |
| Isochoric | 0 | \( nC_{V,m}\Delta T \) | \( nC_{V,m}\Delta T \) | |
| Isobaric | \( -P\Delta V = -nR\Delta T \) | \( nC_{P,m}\Delta T \) | \( nC_{V,m}\Delta T \) | \( \Delta H = q \) |
| Isothermal, reversible | \( -nRT\ln\dfrac{V_2}{V_1} = -nRT\ln\dfrac{P_1}{P_2} \) | \( -w \) | 0 | \( \Delta H = 0 \) |
| Isothermal, constant \( P_{\text{ext}} \) | \( -P_{\text{ext}}(V_2 - V_1) \) | \( -w \) | 0 | |
| Adiabatic, reversible | \( nC_{V,m}(T_2 - T_1) = \dfrac{P_2V_2 - P_1V_1}{\gamma - 1} \) | 0 | \( w \) | \( PV^\gamma,\ TV^{\gamma-1},\ T^\gamma P^{1-\gamma} \) constant |
| Adiabatic, constant \( P_{\text{ext}} \) | \( -P_{\text{ext}}(V_2 - V_1) \) | 0 | \( w \) | solve \( nC_{V,m}(T_2 - T_1) = -P_{\text{ext}}(V_2 - V_1) \) |
graph TD
A[Gas expands from V1 to V2] --> B{Heat exchanged?}
B -->|Isothermal| C{Reversible?}
B -->|Adiabatic q = 0| D{Reversible?}
C -->|Yes| E["w = -nRT ln(V2/V1), largest work"]
C -->|No, constant Pext| F["w = -Pext (V2 - V1), smaller work"]
D -->|Yes| G["T V^(gamma-1) constant, largest cooling"]
D -->|No| H["nCv dT = -Pext dV, less cooling"]Thermochemistry: Hess and Kirchhoff
- Hess’s law is the first law applied to enthalpy: \( \Delta_r H \) is the same whether the reaction occurs in one step or many. Hence \( \Delta_r H^\circ = \sum \nu\,\Delta_f H^\circ(\text{products}) - \sum \nu\,\Delta_f H^\circ(\text{reactants}) \), and Born–Haber cycles.
- Kirchhoff’s law gives the temperature dependence:
The same form holds for \( \Delta_r U \) with \( \Delta_r C_V \).
The Second Law
- Kelvin–Planck: no cyclic process can convert heat from a single reservoir completely into work.
- Clausius: no cyclic process can transfer heat from a colder body to a hotter one with no other effect.
The two statements are equivalent: a violation of either allows a violation of the other.
The Carnot cycle
Two reversible isotherms (at \( T_h \) and \( T_c \)) and two reversible adiabats. For any reversible engine working between two reservoirs:
$$\boxed{\eta = \frac{-w}{q_h} = 1 - \frac{T_c}{T_h}}, \qquad \frac{q_h}{T_h} + \frac{q_c}{T_c} = 0$$The second relation (with \( q_c < 0 \)) is the first glimpse of a state function: \( \oint \delta q_{\text{rev}}/T = 0 \). Carnot’s theorem: no engine between the same two reservoirs is more efficient than a reversible one, and all reversible engines between them have the same efficiency, whatever the working substance.
A refrigerator’s coefficient of performance is \( q_c/|w| = T_c/(T_h - T_c) \) for a reversible device; a heat pump’s is \( |q_h|/|w| = T_h/(T_h - T_c) \).
Entropy and the Clausius inequality
$$dS = \frac{\delta q_{\text{rev}}}{T}, \qquad dS \geq \frac{\delta q}{T} \ \ (\text{Clausius inequality}), \qquad \Delta S_{\text{univ}} = \Delta S_{\text{sys}} + \Delta S_{\text{surr}} \geq 0$$The equality holds for reversible change. For an isolated system \( \Delta S \geq 0 \): entropy can be created but never destroyed. To compute \( \Delta S_{\text{sys}} \) for an irreversible process, invent any reversible path between the same two states and use it. The surroundings are usually a large reservoir: \( \Delta S_{\text{surr}} = -q_{\text{actual}}/T_{\text{surr}} \).
Entropy changes you must be able to write in one line
| Process | \( \Delta S_{\text{sys}} \) |
|---|---|
| Ideal gas, isothermal | \( nR\ln\dfrac{V_2}{V_1} = nR\ln\dfrac{P_1}{P_2} \) |
| Heating at constant \( P \) | \( nC_{P,m}\ln\dfrac{T_2}{T_1} \) |
| Heating at constant \( V \) | \( nC_{V,m}\ln\dfrac{T_2}{T_1} \) |
| Ideal gas, general | \( nC_{V,m}\ln\dfrac{T_2}{T_1} + nR\ln\dfrac{V_2}{V_1} = nC_{P,m}\ln\dfrac{T_2}{T_1} - nR\ln\dfrac{P_2}{P_1} \) |
| Phase change at the transition temperature | \( \dfrac{\Delta_{\text{trs}}H}{T_{\text{trs}}} \) |
| Mixing of ideal gases (constant \( T \), \( P \)) | \( -nR\sum_i x_i\ln x_i \) |
| Reversible adiabatic | 0 (isentropic) |
| Free expansion of ideal gas | \( nR\ln(V_2/V_1) > 0 \), with \( \Delta S_{\text{surr}} = 0 \) |
Example values: heating 1 mol of liquid water (\( C_{P,m} = 75.3 \) J K⁻¹ mol⁻¹) from 298 to 348 K gives \( 75.3\ln(348/298) = 11.7 \) J K⁻¹. Vaporising water at 373.15 K with \( \Delta_{\text{vap}}H = 40.7 \) kJ mol⁻¹ gives \( 109 \) J K⁻¹ mol⁻¹.
The Third Law
Consequences:
- Absolute (third-law) entropies can be tabulated: \( S(T) = \int_0^T \dfrac{C_P}{T}\,dT + \sum \dfrac{\Delta_{\text{trs}}H}{T_{\text{trs}}} \). Standard molar entropies are positive; standard enthalpies of formation of elements are zero, but standard entropies of elements are not.
- Debye \( T^3 \) law: for a non-metallic solid at very low temperature, \( C_{V} \approx C_P = aT^3 \), so \( S(T) = \int_0^T aT^2\,dT = \dfrac{aT^3}{3} = \dfrac{C_P(T)}{3} \). Data below the lowest measured temperature are extrapolated this way.
- \( C_P \to 0 \), and the expansion coefficient \( \alpha \to 0 \), as \( T \to 0 \).
Residual entropy
Some crystals are not perfect at 0 K because molecules are frozen in random orientations. Boltzmann’s \( S = k_B\ln W \) gives the residual entropy. For CO (or N₂O), each molecule can point two ways (CO or OC) with almost the same energy:
$$S_{\text{res}} = k_B\ln 2^{N_A} = R\ln 2 = 5.76\ \text{J K}^{-1}\,\text{mol}^{-1}$$The measured (calorimetric) discrepancy for CO is somewhat smaller than this ideal value, because the disorder is not perfectly random. For ice, Pauling’s hydrogen-bond counting gives \( R\ln\tfrac{3}{2} \approx 3.4 \) J K⁻¹ mol⁻¹. A question that says “assume complete orientational disorder” wants \( R\ln m \), where \( m \) is the number of orientations per molecule.
Memory Tricks
Don’t Confuse
| This | vs | That |
|---|---|---|
| \( \Delta U = q_V \) (constant volume) | \( \Delta H = q_P \) (constant pressure) | |
| \( C_{P,m} - C_{V,m} = R \) (ideal gas only) | \( C_P - C_V = TV\alpha^2/\kappa_T \) (any substance; next page) | |
| Reversible adiabatic: \( \Delta S_{\text{sys}} = 0 \) | Irreversible adiabatic: \( \Delta S_{\text{sys}} > 0 \) even though \( q = 0 \) | |
| Free expansion: \( q = w = \Delta U = 0 \), \( \Delta S > 0 \) | Reversible isothermal expansion: \( \Delta U = 0 \) but \( q = -w > 0 \) | |
| Nernst heat theorem: \( \Delta S \to 0 \) for processes | Planck: \( S \to 0 \) for a perfect crystal | |
| \( \Delta_f H^\circ \)(element, standard state) = 0 | \( S_m^\circ \)(element) > 0 |
Common Mistakes
Practice
All questions below are original practice questions written for this page. They are not from any CSIR NET paper. Take \( R = 8.314 \) J K⁻¹ mol⁻¹.
Level 1: Foundation
- Is the heat absorbed by a system a state function?
- What is \( C_{V,m} \) of a monatomic ideal gas, in J K⁻¹ mol⁻¹?
- What is the residual entropy of a crystal of CO with complete head-to-tail disorder?
Answers
- No. \( q \) depends on the path; \( \delta q \) is an inexact differential. Only \( \delta q_{\text{rev}}/T = dS \) is exact.
- \( \tfrac{3}{2}R = \mathbf{12.47} \) J K⁻¹ mol⁻¹.
- \( R\ln 2 = \mathbf{5.76} \) J K⁻¹ mol⁻¹ (two orientations per molecule).
Level 2: Part B Style
Practice Q1. Two moles of an ideal gas expand reversibly and isothermally at 300 K from 10 L to 20 L. The work done on the gas is:
(a) −3.46 kJ (b) +3.46 kJ (c) −1.50 kJ (d) −1.73 kJ
Answer: (a) −3.46 kJ
\( w = -nRT\ln(V_2/V_1) = -2 \times 8.314 \times 300 \times \ln 2 = -3458 \) J \( \approx -3.46 \) kJ.
- (b) has the wrong sign: the gas does work, so work done on it is negative.
- (c) uses \( \log_{10} 2 \) instead of \( \ln 2 \).
- (d) is the value for one mole.
Practice Q2. Which of the following is an exact differential?
(a) \( y\,dx - x\,dy \) (b) \( (2xy + 3)\,dx + x^2\,dy \) (c) \( x\,dx + x\,dy \) (d) \( y^2\,dx + x\,dy \)
Answer: (b)
Apply \( \partial M/\partial y = \partial N/\partial x \):
- (a) \( \partial(y)/\partial y = 1 \), \( \partial(-x)/\partial x = -1 \). Not exact.
- (b) \( \partial(2xy + 3)/\partial y = 2x \), \( \partial(x^2)/\partial x = 2x \). Exact: it is \( d(x^2 y + 3x) \).
- (c) \( 0 \) against \( 1 \). Not exact.
- (d) \( 2y \) against \( 1 \). Not exact.
Practice Q3. A reversible engine absorbs 1000 J of heat from a reservoir at 500 K and rejects heat to a reservoir at 300 K. The work done by the engine and the heat rejected are:
(a) 400 J and 600 J (b) 600 J and 400 J (c) 400 J and 1000 J (d) 1000 J and 0 J
Answer: (a)
\( \eta = 1 - 300/500 = 0.40 \), so the work output is 400 J. Energy balance over a cycle: heat rejected \( = 1000 - 400 = 600 \) J. Check: \( 1000/500 = 600/300 = 2 \) J K⁻¹, so the entropy given to the cold reservoir equals that taken from the hot one, as it must for a reversible cycle. Option (d) violates the Kelvin–Planck statement.
Practice Q4. One mole of an ideal gas expands freely into a vacuum inside a rigid, insulated container, doubling its volume. Which set is correct?
(a) \( q = 0,\ w = 0,\ \Delta U = 0,\ \Delta S = 0 \) (b) \( q = 0,\ w = 0,\ \Delta U = 0,\ \Delta S = R\ln 2 \) (c) \( q = 0,\ w = -RT\ln 2,\ \Delta U < 0,\ \Delta S = 0 \) (d) \( q = RT\ln 2,\ w = -RT\ln 2,\ \Delta U = 0,\ \Delta S = R\ln 2 \)
Answer: (b)
No external pressure, so \( w = 0 \); insulated, so \( q = 0 \); hence \( \Delta U = 0 \) and, for an ideal gas, \( T \) is unchanged. Entropy is a state function: use the reversible isothermal path between the same states, \( \Delta S = R\ln 2 = 5.76 \) J K⁻¹. Option (d) gives the \( q \) and \( w \) of that reversible path, not of the actual process.
Level 3: Part C Style
Practice Q5. One mole of a monatomic ideal gas at 300 K and 5 bar expands adiabatically to a final pressure of 1 bar, (I) reversibly and (II) irreversibly against a constant external pressure of 1 bar. Consider the statements:
- The final temperature in (II) is 204 K.
- The final temperature in (I) is about 158 K.
- \( \Delta S_{\text{sys}} \) for (I) is +5.36 J K⁻¹.
- The magnitude of work done by the gas is larger in (I) than in (II).
Which are correct?
(a) 1, 2 and 4 only (b) 1, 2 and 3 only (c) 2 and 4 only (d) 1, 2, 3 and 4
Answer: (a) 1, 2 and 4 only
(II) irreversible. \( C_{V,m}(T_2 - T_1) = -P_{\text{ext}}(V_2 - V_1) = -R\left(T_2 - T_1\dfrac{P_{\text{ext}}}{P_1}\right) \). \( \tfrac{3}{2}(T_2 - 300) = -(T_2 - 60) \Rightarrow 2.5\,T_2 = 510 \Rightarrow T_2 = 204 \) K. Statement 1 correct.
(I) reversible. \( T_2 = T_1 (P_2/P_1)^{(\gamma - 1)/\gamma} = 300 \times (0.2)^{0.4} = 157.6 \) K. Statement 2 correct.
Entropy. (I) is reversible and adiabatic: \( \Delta S_{\text{sys}} = 0 \). The value +5.36 J K⁻¹ belongs to (II): \( \tfrac{5}{2}R\ln(204/300) + R\ln 5 = 8.314 \times (-0.964 + 1.609) = +5.36 \) J K⁻¹. Statement 3 is false.
Work. \( |w| = C_{V,m}|\Delta T| \): (I) \( 1.5 \times 8.314 \times 142.4 = 1776 \) J; (II) \( 1.5 \times 8.314 \times 96 = 1197 \) J. Statement 4 correct.
Practice Q6. One mole of a monatomic ideal gas at 300 K is compressed reversibly and adiabatically from 10 L to 5 L. The final temperature and the work done on the gas are closest to:
(a) 476 K, +2.20 kJ (b) 600 K, +3.74 kJ (c) 476 K, −2.20 kJ (d) 378 K, +0.97 kJ
Answer: (a)
\( TV^{\gamma - 1} \) constant with \( \gamma - 1 = 2/3 \): \( T_2 = 300 \times 2^{2/3} = 476.2 \) K. \( w = \Delta U = C_{V,m}\Delta T = 1.5 \times 8.314 \times 176.2 = 2198 \) J \( \approx +2.20 \) kJ (positive: work done on the gas).
(b) treats the process as \( T \propto 1/V \) (that is \( PV \) constant, not \( PV^\gamma \)); (d) uses the exponent 1/3 instead of 2/3 (\( 300 \times 2^{1/3} = 378 \) K); (c) has the wrong sign.
Practice Q7. For \( \text{N}_2(\text{g}) + 3\text{H}_2(\text{g}) \rightarrow 2\text{NH}_3(\text{g}) \), \( \Delta_r H^\circ(298\ \text{K}) = -92.2 \) kJ mol⁻¹. Taking \( \Delta_r C_P^\circ = -45 \) J K⁻¹ mol⁻¹ as constant, \( \Delta_r H^\circ \) at 398 K and \( \Delta_r U^\circ \) at 298 K are:
(a) −96.7 kJ mol⁻¹ and −87.2 kJ mol⁻¹ (b) −87.7 kJ mol⁻¹ and −97.2 kJ mol⁻¹ (c) −96.7 kJ mol⁻¹ and −97.2 kJ mol⁻¹ (d) −92.2 kJ mol⁻¹ and −92.2 kJ mol⁻¹
Answer: (a)
Kirchhoff: \( \Delta_r H^\circ(398) = -92.2 + (-45 \times 100)/1000 = -96.7 \) kJ mol⁻¹. The reaction becomes more exothermic on heating because the products have the smaller heat capacity.
\( \Delta_r U^\circ = \Delta_r H^\circ - \Delta n_g RT = -92.2 - (-2)(8.314 \times 298)/1000 = -92.2 + 4.96 = -87.2 \) kJ mol⁻¹. (b) and (c) carry sign errors in one of the two corrections.
Quick Revision Table
| Idea | Fact |
|---|---|
| First law | \( \Delta U = q + w \), \( w = -\int P_{\text{ext}}dV \) (IUPAC) |
| Exactness test | \( (\partial M/\partial y)_x = (\partial N/\partial x)_y \); \( \oint dz = 0 \) |
| Integrating factor | \( 1/T \) turns \( \delta q_{\text{rev}} \) into \( dS \) |
| \( \Delta H \) vs \( \Delta U \) | \( \Delta H = \Delta U + \Delta n_g RT \) |
| Ideal gas | \( C_{P,m} - C_{V,m} = R \); γ = 5/3, 7/5 |
| Reversible isothermal | \( w = -nRT\ln(V_2/V_1) \), \( \Delta U = 0 \) |
| Reversible adiabatic | \( PV^\gamma \), \( TV^{\gamma-1} \) constant; \( w = nC_{V,m}\Delta T \) |
| Irreversible adiabatic | \( nC_{V,m}\Delta T = -P_{\text{ext}}\Delta V \) |
| Kirchhoff | \( \Delta_r H(T_2) = \Delta_r H(T_1) + \Delta_r C_P\Delta T \) |
| Carnot | \( \eta = 1 - T_c/T_h \) |
| Clausius | \( dS \geq \delta q/T \); \( \Delta S_{\text{univ}} \geq 0 \) |
| \( \Delta S \) ideal gas | \( nC_{V,m}\ln(T_2/T_1) + nR\ln(V_2/V_1) \) |
| Mixing | \( -nR\sum x_i\ln x_i \) (distinguishable gases) |
| Third law | \( S(0) = 0 \) for a perfect crystal; Debye \( S = C_P/3 \) at low \( T \) |
| Residual entropy | \( R\ln m \); CO: \( R\ln 2 = 5.76 \) J K⁻¹ mol⁻¹ |
Key Takeaways
What’s Next
- Thermodynamic Potentials and Maxwell’s Relations: combining the first and second laws gives \( dU = T\,dS - P\,dV \) and everything that follows from it.
- Chemical Thermodynamics: Quick Revision.
- The same laws in biochemical clothing: Chemical Bonds and Biophysical Chemistry.
- Heat measured as a function of temperature is the basis of DSC: Thermoanalytical Methods.