girgit.org

Thermodynamics

State variables, the equation of state and p-V diagrams

The big ideaAn equilibrium state is fully described by a few state variables, linked by an equation of state such as \( PV = \mu RT \), so each state is one point on a p-V diagram.

In simple words

To describe the air in a tyre, you don't need to know about every tiny bit inside. You only need a few numbers: how hard it presses, how much room it fills, how warm it is, and how much air there is. And these numbers are tied together. Pick two of them and the others are fixed. So you can draw the state of the air as a single dot on a graph, and draw any slow change as a line from dot to dot.

State variables describe equilibrium states

Every equilibrium state of a system is completely described by the values of a few macroscopic quantities called state variables. For a gas: pressure, volume, temperature and mass (and composition, if it is a mixture).

A system is not always in equilibrium. Two examples:

  • Free expansion: a partition in a box is suddenly pulled out and the gas rushes into the empty half. During the rush, the pressure is not the same everywhere.
  • An explosion: the fuel-air mixture in a car cylinder just after the spark. Temperature and pressure vary wildly from place to place.

In such moments the gas has no single pressure or temperature, so it cannot be described by state variables. Given time, it settles to a uniform temperature and pressure, in thermal and mechanical equilibrium with its surroundings. State variables describe equilibrium states only.

The equation of state

The state variables are not all independent. The relation connecting them is the equation of state. For an ideal gas it is

\[ PV = \mu RT \]

where \( \mu \) is the number of moles and \( R \) the universal gas constant. For a fixed amount of gas, only two variables are independent: choose \( P \) and \( V \), or \( T \) and \( V \), and the third follows. Real gases have more complicated equations of state.

{ "view": [-90, 760, -110, 600], "aspect": 0.78, "ticks": {"x": 100, "y": 200}, "grid": true, "params": {"V": {"min": 0.5, "max": 3, "value": 1, "step": 0.01, "label": "V", "unit": "L", "digits": 2, "play": true, "period": 8}, "T": {"min": 0, "max": 600, "value": 300, "step": 1, "label": "T", "unit": "K", "digits": 0}}, "items": [ {"fn": "0.04*8.314*x/0.5", "domain": [0, 600], "color": "dim"}, {"fn": "0.04*8.314*x/1", "domain": [0, 600], "color": "dim"}, {"fn": "0.04*8.314*x/2", "domain": [0, 600], "color": "dim"}, {"text": "0.5 L", "at": [600, "0.04*8.314*600/0.5"], "anchor": "middle", "dx": 27, "dy": 5, "color": "dim"}, {"text": "1 L", "at": [600, "0.04*8.314*600"], "anchor": "middle", "dx": 20, "dy": 5, "color": "dim"}, {"text": "2 L", "at": [600, "0.04*8.314*600/2"], "anchor": "middle", "dx": 20, "dy": 5, "color": "dim"}, {"fn": "0.04*8.314*x/V", "domain": [0, 600], "color": "c", "width": 3}, {"point": ["T", "0.04*8.314*T/V"], "color": "c", "drag": {"param": "T", "by": "x"}}, {"text": "V = {V|2} L", "at": [30, 470], "color": "c"}, {"point": [0, 0]}, {"text": "0 K", "at": [0, 0], "anchor": "end", "dx": -6, "dy": 20}, {"text": "P (kPa)", "at": [-90, 600], "color": "dim"}, {"text": "T (K)", "at": [760, -110], "anchor": "end", "color": "dim"} ], "read": ["P = μRT/V", "= 0.040 × 8.314 × {T|0} / {V|2}", "= {0.04*8.314*T/V|1} kPa"] }

Reading a p-V diagram

Because two variables fix the state, we can draw it on a graph with volume along the horizontal axis and pressure up the vertical axis. This is a p-V diagram (or indicator diagram). Picture it in words:

  • Each equilibrium state is a single point. Its temperature follows from \( T = PV/\mu R \).
  • A slow change through equilibrium states traces a curve from one point to another.
  • The curve of all states at one fixed temperature is called an isotherm. For an ideal gas, \( PV \) is constant along it, so the isotherm is a smooth curve falling from top-left to bottom-right, steep at small volume and flattening out at large volume. A hotter isotherm lies further up and to the right.
  • The area under the curve, between it and the volume axis, is the work done by the gas, because work is \( P\Delta V \) added up over small steps: \( W = \int P\,dV \). Moving to the right (expansion), the gas does positive work; moving to the left, work is done on the gas.

Try it: guess which state is hotter, then drag a state around the diagram.

Extensive and intensive variables

Imagine a system in equilibrium cut into two equal halves.

  • Variables that stay the same in each half are intensive: pressure \( P \), temperature \( T \), density \( \rho \).
  • Variables that are halved in each half are extensive; they tell the "size" of the system: internal energy \( U \), volume \( V \), total mass \( M \).

Try it: cut a cylinder of gas anywhere and compare the two pieces.

This gives a quick check on any thermodynamic equation: every term must be of the same kind. In \( \Delta Q = \Delta U + P\Delta V \), all terms are extensive. \( P \) is intensive, but intensive times extensive (\( \Delta V \)) is extensive. \( Q \) is not a state variable, but \( \Delta Q \) clearly grows with the mass of the system, so it is extensive too.

Don't mix these up

  • Halve a cylinder of gas: the pressure and temperature stay the same (intensive); the volume and internal energy halve (extensive).
  • Density is mass ÷ volume. Both halve together, so density is intensive.

Words to know

State variables
Macroscopic quantities that fully describe an equilibrium state, such as P, V, T and mass.
Equation of state
The relation linking the state variables, such as \( PV = \mu RT \).
Isotherm
The pressure-volume curve at a fixed temperature.
p-V diagram
A graph of pressure against volume; each equilibrium state is a point.
Intensive variable
Does not depend on the size of the system (P, T, ρ).
Extensive variable
Grows with the size of the system (U, V, M).

Which set contains only intensive variables?

  1. Volume, pressure, internal energy
  2. Pressure, temperature, density
  3. Mass, temperature, density

During a free expansion, just after the partition is removed, the gas

  1. can be shown as a moving point on a p-V diagram
  2. cannot be described by state variables at all
  3. follows an isotherm

On a p-V diagram, a gas expands from 2 L to 5 L at a steady pressure of \( 1.0 \times 10^5 \) Pa. The work done by the gas is the area of a rectangle equal to

  1. 500 J
  2. 300 J
  3. 3000 J