EduKG
← Back

first law of thermodynamics for gas processes

Learning objectives

  • Outcome

    Apply the equation ΔU=Q−W\Delta U=Q-W to calculate the unknown quantity among QQ, WW, and ΔU\Delta U in a given gas process.

  • Outcome

    For isochoric, isothermal, adiabatic, and isobaric processes, identify which terms of the equation vanish and write the reduced form of the first law.

  • Outcome

    From the signs of work and heat on a pp-VV diagram, determine whether the gas expands or is compressed, absorbs or releases heat, and how its internal energy changes.

Understand the idea

First Law of Thermodynamics for Gas Processes

Text

The first law of thermodynamics is the law of energy conservation for processes with a gas: the heat QQ transferred to the gas changes its internal energy ΔU\Delta U and does work WW by the gas: Q=ΔU+W,ΔU=Q−W.Q=\Delta U+W,\qquad \Delta U=Q-W. The internal energy of an ideal gas depends only on temperature; for a monatomic ideal gas U=32νRTU=\frac32\nu RT, so ΔU=32νRΔT\Delta U=\frac32\nu R\Delta T, while for an arbitrary ideal gas ΔU=νCVΔT\Delta U=\nu C_V\Delta T. The work done by a gas when its volume changes is W=∫p dVW=\int p\,dV; on a pp-VV diagram it is numerically equal to the area under the process curve, with its sign taken into account. For an isochoric process dV=0dV=0, so W=0W=0 and Q=ΔUQ=\Delta U; for an isothermal process ΔU=0\Delta U=0, so Q=WQ=W; for an adiabatic process Q=0Q=0, so ΔU=−W\Delta U=-W. If the gas expands, then W>0W>0; during compression W<0W<0. The heat is Q>0Q>0 if the gas receives energy and Q<0Q<0 if it releases energy.

Worked examples

Direct

Problem

A gas receives Q=500Q=500 J of heat. It expands and does W=200W=200 J of work. Find the change in the gas internal energy.

Solution

By the first law of thermodynamics, ΔU=Q−W\Delta U=Q-W. Substituting the values gives ΔU=500−200=300\Delta U=500-200=300 J. The internal energy of the gas increased by 300300 J.

Application

Problem

An ideal gas expands isobarically at pressure p=2.0⋅105p=2.0\cdot10^5 Pa from V1=1.0⋅10−3V_1=1.0\cdot10^{-3} m$^3$ to V2=2.5⋅10−3V_2=2.5\cdot10^{-3} m$^3$. The gas receives Q=900Q=900 J of heat. Find the work done by the gas and the change in its internal energy.

Solution

For an isobaric process, the work done by the gas is W=pΔV=p(V2−V1)=2.0⋅105 (2.5⋅10−3−1.0⋅10−3)=300W=p\Delta V=p(V_2-V_1)=2.0\cdot10^5\,(2.5\cdot10^{-3}-1.0\cdot10^{-3})=300 J. Then ΔU=Q−W=900−300=600\Delta U=Q-W=900-300=600 J. The internal energy increased by 600600 J.

Transfer

Problem

In a cyclic process A→BA\to B the gas receives 400400 J of heat isochorically; B→CB\to C it expands adiabatically and does 400400 J of work; C→AC\to A it is compressed isothermally and releases 150150 J of heat. Find the net work done by the gas per cycle and verify the first law for the whole cycle.

Solution

Over a cycle the internal energy returns to its initial value, so ΔUcycle=0\Delta U_{\text{cycle}}=0 and Qcycle=WcycleQ_{\text{cycle}}=W_{\text{cycle}}. The total heat is Qcycle=400+0+(−150)=250Q_{\text{cycle}}=400+0+(-150)=250 J, hence the net work done by the gas is Wcycle=250W_{\text{cycle}}=250 J. Checking by segments: A→BA\to B: WAB=0W_{AB}=0, ΔUAB=400\Delta U_{AB}=400 J; B→CB\to C: QBC=0Q_{BC}=0, ΔUBC=−WBC=−400\Delta U_{BC}=-W_{BC}=-400 J; C→AC\to A: an isothermal process, so ΔUCA=0\Delta U_{CA}=0 and WCA=QCA=−150W_{CA}=Q_{CA}=-150 J. The sum of internal-energy changes is 400−400+0=0400-400+0=0, and the net work is W=0+400−150=250W=0+400-150=250 J.

Practice

Text

Perform a safe computer experiment in an ideal-gas simulation (for example, PhET “Gas Properties”). For the same amount of gas, set initial pp, VV, and TT. Carry out four processes in turn: isochoric heating, isothermal expansion, adiabatic compression, and isobaric expansion. For each process record QQ, WW, and ΔT\Delta T, then verify ΔU=Q−W\Delta U=Q-W and compare it with ΔU=νCVΔT\Delta U=\nu C_V\Delta T. Do not heat closed vessels and do not use household pressurized cylinders; make all observations only in the simulation.

Visual reference

Purpose

Show that the first law of thermodynamics for a gas is an energy balance: heat, work, and internal-energy change are linked by signs and depend on the type of process.

Representation

A pp-VV sketch: four process curves with arrows — a vertical isochore (W=0W=0), a horizontal isobar (W=pΔVW=p\Delta V), an isotherm hyperbola (ΔU=0\Delta U=0), and an adiabat (Q=0Q=0); the areas under the curves are shaded as the work done by the gas. Beside it is a balance block: Q=ΔU+WQ=\Delta U+W with signed labels Q>0Q>0, W>0W>0, ΔU>0\Delta U>0.

Real-world examples

Diesel engine: adiabatic compression

Scenario

In a diesel cylinder the air is compressed from 1.0 L1.0\ \mathrm{L} to 0.05 L0.05\ \mathrm{L} (compression ratio 20) while the pressure rises from 1 atm1\ \mathrm{atm} to ≈50 atm\approx 50\ \mathrm{atm}. Compression lasts about 20 ms20\ \mathrm{ms}, so heat exchange with the walls is negligible: Q≈0Q \approx 0. The temperature rises from 300 K300\ \mathrm{K} to ≈900 K\approx 900\ \mathrm{K}, and the injected fuel ignites without a spark plug.

Connection

The first law in the form Q=ΔU+WQ = \Delta U + W, with WW the work done by the gas, is at work here. During compression the piston does work on the gas, so W<0W < 0, while Q≈0Q \approx 0, hence ΔU=−W>0\Delta U = -W > 0: nearly all the work supplied turns into internal energy. This is the limiting case Q=0Q = 0, and it produces the heating that makes self-ignition possible.

A sealed can in the sun: isochoric heating

Scenario

A 0.5 L0.5\ \mathrm{L} aerosol can lies in the sun. The air inside at 20 ∘C20\,^{\circ}\mathrm{C} (293 K293\ \mathrm{K}) is at 1 atm1\ \mathrm{atm} and contains n≈0.021 moln \approx 0.021\ \mathrm{mol} of gas. The can is rigid, so its volume does not change and W=0W = 0. By noon the gas has warmed to 60 ∘C60\,^{\circ}\mathrm{C} (333 K333\ \mathrm{K}), the pressure inside has risen to ≈1.14 atm\approx 1.14\ \mathrm{atm}, and the heat supplied, Q=nCVΔT≈0.021⋅20.8⋅40≈17 JQ = nC_V\Delta T \approx 0.021 \cdot 20.8 \cdot 40 \approx 17\ \mathrm{J}, goes entirely into internal energy.

Connection

This is an isochoric process: V=constV = const, so the work W=∫p dV=0W = \int p\,\mathrm{d}V = 0 and the first law reduces to Q=ΔU=nCVΔTQ = \Delta U = nC_V\Delta T. All the heat goes into raising the internal energy, and through the equation of state pV=nRTpV = nRT at constant VV and nn the temperature rise shows up as a pressure rise, exactly in the ratio 333/293≈1.14333/293 \approx 1.14.

Rising air and cloud formation

Scenario

On a summer day air near the ground at 20 ∘C20\,^{\circ}\mathrm{C} and 1000 hPa1000\ \mathrm{hPa} is carried up 1.5 km1.5\ \mathrm{km} in 10 min10\ \mathrm{min} by a rising current from a sun-warmed clearing. At that height the pressure is 840 hPa840\ \mathrm{hPa}, the parcel's volume has grown by about 13 %13\ \%, and the temperature has dropped by about 10 ∘C10\,^{\circ}\mathrm{C} per kilometre (the dry adiabatic lapse rate), that is to ≈5 ∘C\approx 5\,^{\circ}\mathrm{C}.

Connection

Expanding against the surrounding pressure, the air does positive work W=∫p dV>0W = \int p\,\mathrm{d}V > 0. Heat exchange with the surroundings does not have time to occur, so Q≈0Q \approx 0, and the first law ΔU=Q−W\Delta U = Q - W gives ΔU=−W<0\Delta U = -W < 0: internal energy and temperature fall at the expense of expansion work. Cooling to the dew point is what makes the water vapour condense and the cloud appear.