BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

The first law of thermodynamics and paths

Experiments give response functions, derivatives such as the expansion coefficient and the compressibility, from which an equation of state can be rebuilt. Adiabatic work defines the internal energy U, a state function; heat is whatever else changes U, and the first law dU = đQ + đW expresses energy conservation. For an ideal gas U depends only on T, C_P − C_V = Nk, and adiabats follow PV^γ = constant.

You need this first

Full reading path (5 pages)
  1. Probability: one random variable (8.044)
  2. Probability: two or more random variables (8.044)
  3. Probability: functions of a random variable (8.044)
  4. Probability: sums of random variables and the central limit theorem (8.044)
  5. Thermodynamic variables, temperature and work (8.044)
On this page · 5 sections
  1. Response functions
  2. Internal energy, heat and the first law
  3. Heat capacities of a fluid
  4. The ideal gas
  5. Summary

Thermodynamics is built on a few facts and a lot of careful mathematics. This lecture shows how measured derivatives give an equation of state, defines the internal energy and heat, states the first law, and applies it to heat capacities and to the ideal gas, including its adiabatic paths (slides 1–24). (MIT's material for this lecture is Greytak's slides; there are no lecture notes for it. This page follows the slides in its own words, with its own worked example; the slides' sketches are not reproduced.)

Response functions#

Thermodynamics focuses on state functions such as PP, VV, MM and SS, but experiments usually measure response functions, derivatives of one with respect to another (slide 1):

Response functions
α≡1V(∂V∂T)P,κT≡−1V(∂V∂P)T,χT≡(∂M∂H)T,κS≡−1V(∂V∂P)adiabatic\alpha \equiv \frac1V\left(\frac{\partial V}{\partial T}\right)_P, \qquad \kappa_T \equiv -\frac1V\left(\frac{\partial V}{\partial P}\right)_T, \qquad \chi_T \equiv \left(\frac{\partial M}{\partial H}\right)_T, \qquad \kappa_S \equiv -\frac1V\left(\frac{\partial V}{\partial P}\right)_{\text{adiabatic}}
In words

alpha is defined as 1 over V, times ( partial V over partial T ) sub P, kappa sub T is defined as minus 1 over V, times ( partial V over partial P ) sub T, chi sub T is defined as ( partial M over partial H ) sub T, kappa sub S is defined as minus 1 over V, times ( partial V over partial P ) sub adiabatic

the expansion coefficient, the isothermal compressibility, the magnetic susceptibility and the adiabatic compressibility.

Rebuilding an equation of state (slides 2–4). Suppose a non-ideal gas is known to approach an ideal gas at large TT and VV, and two of its derivatives are measured:

Measured derivatives of a non-ideal gas
(∂P∂T)V=NkV−Nb,(∂P∂V)T=−NkT(V−Nb)2+2aN2V3\left(\frac{\partial P}{\partial T}\right)_V = \frac{Nk}{V - Nb}, \qquad \left(\frac{\partial P}{\partial V}\right)_T = -\frac{NkT}{(V - Nb)^2} + \frac{2aN^2}{V^3}
In words

( partial P over partial T ) sub V equals N k over the quantity V minus N b, ( partial P over partial V ) sub T equals minus N k T over the quantity V minus N b, all squared plus 2 a N squared over V cubed

Integrating the first at fixed VV gives P=NkTV−Nb+f(V)P = \frac{NkT}{V - Nb} + f(V); differentiating with respect to VV and comparing with the second gives f′(V)=2aN2/V3f'(V) = 2aN^2/V^3, so f=−aN2/V2+cf = -aN^2/V^2 + c, and the ideal-gas limit sets c=0c = 0 (slides 3–4):

Reconstructed equation of state
P=NkTV−Nb−aN2V2P = \frac{NkT}{V - Nb} - \frac{aN^2}{V^2}
In words

P equals N k T over the quantity V minus N b, minus a N squared over V squared

the van der Waals equation (the name, and the reading of bb as the volume each molecule occupies and of aa as the attraction between molecules, are the page's additions).

Internal energy, heat and the first law#

Internal energy (slides 5–6). The observational fact: if an isolated system is taken from one state to another by doing work WW on it through adiabatic walls, the final state, and the work required, do not depend on how the work is applied or which adiabatic path is followed. So there is a state function UU with

Internal energy from adiabatic work
ΔU=Wadiabatic\Delta U = W_{\text{adiabatic}}
In words

capital delta U equals W adiabatic

a function of the independent variables, for a simple fluid U(T,V)U(T, V), U(T,P)U(T, P) or U(P,V)U(P, V).

Heat (slide 7). On a path that is not adiabatic, dU≠δWdU \ne \delta W; the difference is the heat added to the system, which behaves in every way as heat is expected to (the slides write these with a barred d; this page writes δQ\delta Q and δW\delta W for small amounts that are not changes of any state function):

Heat
δQ≡dU−δW\delta Q \equiv dU - \delta W
In words

delta Q is defined as d U minus delta W

First law of thermodynamics (slide 8): dU=δQ+δWdU = \delta Q + \delta W. UU is a state function; heat is a flow of energy; energy is conserved.

With no work, heat flows from the higher temperature to the lower, which orders temperatures (slide 9).

Heat capacities of a fluid#

For a gas, liquid or simple solid at fixed NN, two of PP, VV, TT, UU are independent. The heat capacities are CV≡(δQ/dT)VC_V \equiv (\delta Q/dT)_V and CP≡(δQ/dT)PC_P \equiv (\delta Q/dT)_P (slide 10). With δQ=dU+P dV\delta Q = dU + P\,dV and dU=(∂U/∂T)VdT+(∂U/∂V)TdVdU = (\partial U/\partial T)_VdT + (\partial U/\partial V)_TdV (slides 11–12):

Heat capacities
CV=(∂U∂T)V,CP−CV=[(∂U∂V)T+P](∂V∂T)PC_V = \left(\frac{\partial U}{\partial T}\right)_V, \qquad C_P - C_V = \left[\left(\frac{\partial U}{\partial V}\right)_T + P\right]\left(\frac{\partial V}{\partial T}\right)_P
In words

capital C sub V equals ( partial U over partial T ) sub V, capital C sub P minus capital C sub V equals the quantity ( partial U over partial V ) sub T plus P, ( partial V over partial T ) sub P

and CPC_P is not (∂U/∂T)P(\partial U/\partial T)_P; the second law will simplify the difference further (slide 13).

Paths are experiments (slides 14–15). Holding a variable fixed is a physical arrangement: a sealed container keeps VV constant, a floating piston keeps PP constant, a bath keeps TT constant, insulation keeps Q=0Q = 0. Sometimes Q=0Q = 0 comes from time instead: in a sound wave, compressions and rarefactions alternate too fast for heat to flow between them, so the speed of sound involves the adiabatic compressibility κS\kappa_S (slide 15).

The ideal gas#

UU depends only on TT (slides 16–17). In a free expansion (Joule's experiment, a name the page adds), a gas in a container placed in a bath expands into vacuum: no work is done and, the bath showing no change of temperature, no heat flows, so ΔU=0\Delta U = 0 while VV changes. Hence (∂U/∂V)T=0(\partial U/\partial V)_T = 0, a result then used for quasistatic changes too. Physics explains it (no interactions, only single-particle energies), and thermodynamics will later derive it from the second law and PV=NkTPV = NkT. Then (slides 18–19)

Ideal gas energy and heat capacities
U=∫0TCV(T′) dT′,CP−CV=P(∂V∂T)P=NkU = \int_0^TC_V(T')\,dT', \qquad C_P - C_V = P\left(\frac{\partial V}{\partial T}\right)_P = Nk
In words

U equals the integral from 0 to T of capital C sub V ( T prime ) d T prime, capital C sub P minus capital C sub V equals P ( partial V over partial T ) sub P equals N k

For a monatomic gas, CV=32NkC_V = \frac32Nk is observed, so, setting the integration constant to zero, U=32NkTU = \frac32NkT, CP=52NkC_P = \frac52Nk and γ≡CP/CV=53\gamma \equiv C_P/C_V = \frac53 (slides 18–19).

Adiabatic paths (slides 20–22). Setting δQ=CVdT+[(∂U/∂V)T+P]dV=0\delta Q = C_VdT + \left[(\partial U/\partial V)_T + P\right]dV = 0 gives the slope of an adiabat:

Slope of an adiabat
(∂T∂V)Q=0=−CP−CVCV Vα=−γ−1Vα\left(\frac{\partial T}{\partial V}\right)_{Q=0} = -\frac{C_P - C_V}{C_V\,V\alpha} = -\frac{\gamma - 1}{V\alpha}
In words

( partial T over partial V ) sub Q equals 0 equals minus the quantity capital C sub P minus capital C sub V, all over the quantity capital C sub V V alpha, equals minus the quantity gamma minus 1, all over the quantity V alpha

For an ideal gas α=1/T\alpha = 1/T, so dT/T=−(γ−1)dV/VdT/T = -(\gamma - 1)dV/V and (slides 21–22)

Adiabats of an ideal gas
TVγ−1=constant,PVγ=constantTV^{\gamma - 1} = \text{constant}, \qquad PV^\gamma = \text{constant}
In words

T V to the power gamma minus 1, end of power, equals constant, P V superscript gamma equals constant

Adiabats are steeper than isotherms: dP/dV=−γP/VdP/dV = -\gamma P/V against −P/V-P/V.

Computed from PV=constantPV = \text{constant} and PV5/3=constantPV^{5/3} = \text{constant} for a monatomic ideal gas through the same point (V0,P0)(V_0, P_0): the adiabat is steeper, because compressing a gas without letting heat out also heats it.

Two expansions (slide 23). A gas rushing through a ruptured diaphragm into vacuum is adiabatic but not quasistatic: W=0W = 0, ΔU=0\Delta U = 0, and an ideal gas's temperature does not change. Expanded slowly against a piston, it does negative work, ΔU<0\Delta U < 0, and it cools along the adiabat.

In short (slide 24): a few facts, the first law, the forms of δW\delta W and the mathematics of state functions give relations between thermodynamic quantities, a general dUdU and the adiabatic constraint; adding an equation of state and a heat capacity gives UU and the adiabatic path.

Worked example

A mole of helium

One mole of helium (Nk=R=8.314Nk = R = 8.314 J/K) is a monatomic ideal gas at 300 K. (a) Find CVC_V, CPC_P and UU. (b) It is compressed adiabatically to half its volume. Find the final temperature and the pressure ratio, and the work done on it. (c) Find its expansion coefficient α\alpha at 300 K.

(a) Heat capacities and energy

CV=32R≈12.5C_V = \frac32R \approx 12.5 J/K, CP=52R≈20.8C_P = \frac52R \approx 20.8 J/K, and U=32RT≈3.74U = \frac32RT \approx 3.74 kJ.

(b) Adiabatic compression

T2=300×22/3≈476T_2 = 300 \times 2^{2/3} \approx 476 K and P2/P1=25/3≈3.17P_2/P_1 = 2^{5/3} \approx 3.17. With no heat, the work done equals the rise in UU: W=CV(T2−T1)≈12.47×176.2≈2.20W = C_V(T_2 - T_1) \approx 12.47 \times 176.2 \approx 2.20 kJ.

(c) Expansion coefficient

α=1VNkP=1T≈3.33×10−3 K−1\alpha = \frac1V\frac{Nk}{P} = \frac1T \approx 3.33 \times 10^{-3}\ \text{K}^{-1}.

Summary#

  • Response functions (α\alpha, κT\kappa_T, χT\chi_T, κS\kappa_S) are what experiments measure; two of them can rebuild an equation of state, such as the van der Waals equation.
  • Adiabatic work defines the internal energy; heat is δQ=dU−δW\delta Q = dU - \delta W; first law: dU=δQ+δWdU = \delta Q + \delta W.
  • CV=(∂U/∂T)VC_V = (\partial U/\partial T)_V and CP−CV=[(∂U/∂V)T+P](∂V/∂T)PC_P - C_V = [(\partial U/\partial V)_T + P](\partial V/\partial T)_P; for an ideal gas U=U(T)U = U(T) and CP−CV=NkC_P - C_V = Nk.
  • Ideal-gas adiabats: TVγ−1TV^{\gamma - 1} and PVγPV^\gamma constant, γ=53\gamma = \frac53 for a monatomic gas; free expansion leaves TT unchanged, slow adiabatic expansion cools.

Symbols on this page

Show the 44 symbols used here
α\alpha alpha.
The expansion coefficient (1/V)(∂V/∂T) at fixed P. Unit: 1/K. Say it: “alpha”.
γ\gamma gamma.
The ratio of heat capacities C_P/C_V (5/3 for a monatomic gas). Say it: “gamma”.
δ\delta delta.
In δQ and δW, a small amount that is not the change of a state function. Say it: “delta”.
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
κ\kappa kappa.
A compressibility (κ_T isothermal, κ_S adiabatic). Say it: “kappa”.
χ\chi chi.
In χ_T, the magnetic susceptibility. Say it: “chi” (sounds like “kye”).
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
∝\propto proportional to.
Is proportional to: doubling one doubles the other. Say it: “is proportional to”.
≡\equiv identical to.
Is defined as (or is identically equal to). Say it: “is defined as”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
aa a.
The strength of the attraction between molecules of the non-ideal gas. Unit: J m³. Say it: “a”.
HH H.
The magnetic field. Unit: A/m. Say it: “H”.
cc c.
An integration constant. Say it: “c”.
kk k.
Boltzmann's constant. Unit: eV/K. Say it: “k”.
TT T.
The temperature. Unit: K. Say it: “T”.
dd d.
The d of a differential. Say it: “d”.
ff f.
An unknown function of V found when integrating. Say it: “f”.
PP P.
The pressure. Unit: Pa. Say it: “P”.
QQ Q.
Heat added to the system; δQ is a small amount of it. Unit: J. Say it: “Q”.
bb b.
The volume excluded by each molecule of the non-ideal gas. Unit: m³. Say it: “b”.
NN N.
The number of molecules. Say it: “N”.
MM M.
The magnetization. Unit: A m². Say it: “M”.
RR R.
The gas constant, Nk for one mole. Unit: J/K. Say it: “R”.
SS S.
The entropy (named among the state functions). Unit: J/K. Say it: “S”.
f′f' f prime.
The derivative of f(V). Say it: “f prime”.
T1T_{1} T one.
The initial temperature. Unit: K. Say it: “T one”.
T2T_{2} T two.
The final temperature. Unit: K. Say it: “T two”.
UU U.
The internal energy. Unit: J. Say it: “U”.
VV V.
The volume. Unit: m³. Say it: “V”.
WW W.
Work done on the system; δW is a small amount of it. Unit: J. Say it: “W”.
P0P_{0} processed power spectrum.
The pressure at the starting point that the isotherm and the adiabat share. Unit: Pa. Say it: “P nought”.
T′T' T prime.
An integration variable for temperature. Unit: K. Say it: “T prime”.
P1P_{1} P 1.
The initial pressure. Unit: Pa. Say it: “P one”.
P2P_{2} P 2.
The final pressure. Unit: Pa. Say it: “P two”.
V0V_{0} V nought.
The volume at the starting point that the isotherm and the adiabat share. Unit: m³. Say it: “V nought”.
κT\kappa_{T} kappa T.
The isothermal compressibility. Unit: 1/Pa. Say it: “kappa sub T”.
χT\chi_{T} chi T.
The isothermal magnetic susceptibility (∂M/∂H) at fixed T. Say it: “chi sub T”.
κS\kappa_{S} kappa S.
The adiabatic compressibility. Unit: 1/Pa. Say it: “kappa sub S”.
WadiabaticW_{\text{adiabatic}} W adiabatic.
The work done on the system along an adiabatic path. Unit: J. Say it: “W adiabatic”.
CVC_{V} C V.
The heat capacity at constant volume. Unit: J/K. Say it: “capital C sub V”.
CPC_{P} C P.
The heat capacity at constant pressure. Unit: J/K. Say it: “capital C sub P”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 36 words used here

New here

first law of thermodynamics.
Conservation of energy for heat and work: the change in a system's internal energy equals the heat added plus the work done on it.
response function.
A measured rate of change of one property of a system with another, such as heat capacity, compressibility or magnetic susceptibility.
adiabat.
A curve joining states that a system can pass through without taking in or giving out heat; along it the entropy stays constant.

Also used

thermodynamics.
The study of heat, work, temperature and energy in large systems, through general laws that do not depend on what the system is made of. Explained in Thermodynamic variables, temperature and work.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
equation of state.
A relation between a substance's pressure, volume (or density) and temperature, such as the ideal gas law PV = NkT. Explained in Thermodynamic variables, temperature and work.
internal energy.
The total energy held inside a system, in the motion and interactions of its particles, not counting the motion of the system as a whole. Explained in Temperature and thermal energy.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
heat capacity.
The heat needed to raise a body's temperature by one degree, measured with some quantity, such as volume or pressure, held fixed. Explained in Heat and specific heat.
adiabatic.
Happening without any heat flowing in or out. Explained in The first law of thermodynamics.
state function.
A quantity fixed by the present state of a system alone, not by how it got there, such as energy, entropy or pressure. Explained in Entropy, temperature and the second law.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
compressibility.
How easily a material's volume shrinks under extra pressure: the fractional change in volume per unit change in pressure. Explained in Fluctuations in the number of particles and the compressibility.
magnetic susceptibility.
A number saying how strongly a material becomes magnetized in a field: positive for paramagnets, small and negative for diamagnets. Explained in Eddy currents, transformers and magnetic materials.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
van der Waals equation.
A simple equation of state for a real gas, correcting the ideal-gas law for the size of the molecules and their attraction. Explained in The interacting classical gas and the van der Waals equation.
isolated system.
A system cut off from outside influence: no outside force acts on it, and no energy or matter goes in or out. Explained in Conservation of momentum.
work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
second law of thermodynamics.
The law that the entropy of an isolated system never decreases, so heat flows by itself only from hot to cold. Explained in Entropy, temperature and the second law.
heat bath.
A body so large that it can give or take any amount of heat without changing temperature, used to hold a system at fixed temperature. Explained in Entropy, temperature and the second law.
speed of sound.
How fast small pressure waves travel through a material: about 340 metres per second in air, nearly 1500 in water. Explained in Sound waves in a fluid, the Mach number and shock cones.
vacuum.
Space with nothing in it; in quantum theory, a state with no particles, usually the one of lowest energy. Explained in Free bosons: identical particles, oscillators and the vibrating string.
quasi-static.
Of a process: carried out so slowly that the system stays as close as we like to equilibrium at every step. Explained in Thermodynamic variables, temperature and work.
isotherm.
A curve joining states of a system that have the same temperature, for instance on a graph of pressure against volume. Explained in The ideal gas law.
constraint.
A condition that limits what is allowed, such as a rope of fixed length that links the motions of the bodies it joins. Explained in Tension in ropes and the spring force.
black-body radiation.
The radiation given off by a body in thermal equilibrium, whose spread over wavelengths depends only on its temperature. Explained in Black-body radiation in statistical physics.
photon.
A particle of light: the smallest amount of energy that light of a given frequency can carry. Explained in Thermal radiation and Planck's photons.
decoupling.
The moment when two parts that kept exchanging energy stop interacting, so each then evolves on its own. Explained in Towards the universe: an expanding gas cools.
cosmic microwave background.
The faint glow of microwaves filling the universe, left over from when it was hot and dense, now at 2.7 kelvin. Explained in Towards the universe: light-travel time and looking back in time.
pressure.
The force pushing on a surface divided by the area of the surface, so the push on each square metre. Explained in Density and pressure.

Academic

hence.
For this reason; as a result of what was just said.
derive.
To obtain a result by reasoning or calculation from other known results.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. What defines the internal energy UU as a state function?
  2. For any ideal gas, what is CP−CVC_P - C_V?
  3. A monatomic ideal gas is compressed adiabatically to half its volume. By what factor does its temperature rise?
  4. In a free expansion of an ideal gas into vacuum, what happens to its temperature?
0 of 4 answered

Flashcards

1 / 3

Credits and license

This page is a rewritten explanation based on MIT 8.044 Lecture 6: The First Law and Paths (slides) from MIT 8.044 Statistical Physics I (Spring 2013), taught by Prof. Thomas Greytak, published on MIT OpenCourseWare under CC BY-NC-SA 4.0.

MIT and the instructors do not endorse this site. All diagrams and plots on this page are generated by this site. This page is licensed CC BY-NC-SA 4.0: you may share and adapt it for non-commercial use with attribution, under the same license.