Thermodynamics · Fundamentals

The first law and ideal gas processes

Apply the first law of thermodynamics to ideal gas processes and read work as the area under a P–V curve.

50 minYear 2Prerequisites: Resultant of a force system

By the end of this topic you will be able to

  • State the first law for a closed system and the sign convention used.
  • Calculate work, heat and internal-energy change for isobaric, isochoric, isothermal and adiabatic processes of an ideal gas.
  • Interpret work as the area under a process curve on a P–V diagram.

The first law

Energy is conserved. For a closed system, the heat added QQ goes partly into raising the internal energy UU and partly into work WW done by the system on its surroundings:

Q=ΔU+WQ = \Delta U + W

Sign convention used here: QQ is positive when heat is added to the gas, and WW is positive when the gas does work on its surroundings (expands).

The ideal gas

For an ideal gas, PV=nRTPV = nRT, with R=8.314R = 8.314 J/(mol·K), and the internal energy depends only on temperature:

ΔU=ncvΔT,cv=Rγ−1\Delta U = n c_v \Delta T, \qquad c_v = \frac{R}{\gamma - 1}

where γ=cp/cv\gamma = c_p/c_v is about 1.4 for air and other diatomic gases, and 1.67 for monatomic gases such as argon.

Work on a P–V diagram

When a gas expands slowly, the work it does is

W=∫PdVW = \int P\,\mathrm{d}V

which is the area under the process curve on a P–V diagram. Expansion (volume rising) gives positive work; compression, negative.

Four standard processes

Process Condition Work ΔU\Delta U QQ
Isobaric PP constant P(V2−V1)P(V_2 - V_1) ncvΔTn c_v \Delta T ncpΔTn c_p \Delta T
Isochoric VV constant 0 ncvΔTn c_v \Delta T =ΔU= \Delta U
Isothermal TT constant P1V1ln(V2/V1)P_1V_1\ln(V_2/V_1) 0 =W= W
Adiabatic Q=0Q = 0 (P1V1−P2V2)/(γ−1)(P_1V_1 - P_2V_2)/(\gamma - 1) =−W= -W 0

In an adiabatic process PVγPV^\gamma is constant, so the curve falls more steeply than the isothermal one.

Interactive modelPick a process and move the volume (or pressure) ratio. The shaded area is the work.

This interactive model needs JavaScript. The theory, worked example and problems on this page work without it.

Full screen

Practice problems

  1. A gas expands at a constant 200 kPa from 10 L to 30 L. Find the work.
    Show answer
    W=PΔV=200×20=4000W = P\Delta V = 200\times20 = 4000 J = 4 kJ.
  2. Why is no work done in an isochoric process?
    Show answer
    The volume does not change, so there is no area under the curve (dV=0\mathrm{d}V = 0).
  3. In an isothermal process, 500 J of heat is added to an ideal gas. How much work does it do?
    Show answer
    ΔU=0\Delta U = 0 so W=Q=500W = Q = 500 J.
  4. In the model, for the same volume ratio, compare the work done in isothermal and adiabatic expansion. Which is bigger and why?
    Show answer
    Isothermal. It has heat input, so the pressure stays higher along the way (the curve lies above the adiabatic one), giving more area under it.

Key formulae

First law (closed system)
Q=ΔU+WQ = \Delta U + W
Ideal gas law
PV=nRTPV = nRT
Isothermal work
W=P1V1lnV2V1W = P_1 V_1 \ln\frac{V_2}{V_1}
Adiabatic relation
PVγ=constant,γ=cpcvP V^{\gamma} = \text{constant}, \quad \gamma = \frac{c_p}{c_v}
Adiabatic work
W=P1V1−P2V2γ−1W = \frac{P_1 V_1 - P_2 V_2}{\gamma - 1}
Lecturer notes: suggested plan, activity and assessment

Suggested plan (50 min). 10 min: bicycle pump demonstration (the barrel warms: compression work, nearly adiabatic); 10 min: first law and sign convention; 15 min: four processes with the model; 15 min: worked example.

Activity. Students find a combination of two processes that returns the gas to its start (a cycle) and sketch it: this leads into engine cycles.

Discussion. Why is the sign convention for work different in some textbooks (work done on the system)?

Assessment idea. A three-process cycle with a table of Q, W and ΔU, checking that the cycle sums satisfy ΣQ = ΣW.