doPhysics.in
All chapters

The First Law of Thermodynamics

14 min read4 ideas5 checks1 figure to playBy Asheshanand Acharya
What you will learn 0 / 4
Internal energy is a state function
Look around
The whistle of a pressure cooker

Every Indian kitchen knows the sound. The cooker sits quietly on the flame for a few minutes. Then the whistle lifts, steam shrieks out, and the whistle drops back. A few minutes later it happens again. The flame has been giving heat the whole time. Where does that heat go?

you will follow the flame's heat into a pressure cooker, and see which part lifts the whistle and which part cooks the dal.

Energy that belongs to the state

A gas stores energy in the random motion of its molecules: their kinetic energy, and any energy of rotation, vibration and attraction. This total, measured in the frame of the gas as a whole, is its internal energy \(U\). For an ideal gas the last chapter found \(U = \tfrac f2 nRT\), where \(f\) is the number of degrees of freedom of a molecule. This lesson uses \(R = 8.31\,\text{J/(mol K)}\), \(1\,\text{atm} = 1.013 \times 10^5\,\text{Pa}\) and \(L_v = 2.26 \times 10^6\,\text{J/kg}\).

The internal energy depends only on the state of the gas. Two samples of the same gas in the same state have the same \(U\), whatever their histories. So \(U\) is a state function, like pressure and temperature. Heat and work are different: the last lesson showed that work depends on the path. So between two states, \(\Delta U\) is fixed, but \(Q\) and \(W\) are not.

For an ideal gas this has a sharp consequence. \(U = \tfrac f2 nRT\) depends on the temperature alone. So \(\Delta U = \tfrac f2 nR\,\Delta T = nC_v\,\Delta T\) for every process, not only at constant volume. The symbol \(C_v\) appears because a constant-volume process is where it was first measured. The formula itself holds whether the volume changes or not.

Checkpoint · select all that applyUnanswered

A gas is taken from state A to state B by two different paths. Which quantities must be the same for both paths?

The first law

Energy is conserved

Give a gas some heat \(Q\). Energy cannot vanish, so it must go somewhere. Part of it stays in the gas and raises its internal energy by \(\Delta U\). The rest leaves as the work \(W\) the gas does on its surroundings. So \(Q = \Delta U + W\). This is the first law of thermodynamics. It is the conservation of energy, written for a system that exchanges heat as well as work.

law 4.2
The first law of thermodynamics

The heat \(Q\) given to a system equals the increase \(\Delta U\) in its internal energy plus the work \(W\) done by the system: \(Q = \Delta U + W\).

RememberThe first law of thermodynamics
\[ Q = \Delta U + W, \qquad dQ = dU + p\,dV \]
Holds whenany process of a closed system. The second form is for a small quasi-static step.
Symbols\(Q\) heat given to the system, \(\Delta U\) increase in internal energy, \(W\) work done by the system, \(p\) pressure, \(dV\) small change of volume
Unitsevery term in J

The signs are the ones fixed in the last lesson: \(Q\) is heat given to the gas, and \(W\) is work done by the gas. Some books write \(\Delta U = Q + W\), with \(W\) the work done on the gas. The physics is the same; only the sign of \(W\) is flipped. Keep one convention and never mix the two in a problem.

The first law and its signsA gas in a cylinder with a thermometer beside it. Two sliders set the heat Q given to the gas and the work W done by the gas, each from minus 600 to plus 600 joules. A red heat arrow points into the base when Q is positive and out of it when Q is negative. A brown dashed work arrow points up from the piston when the gas does work and down onto it when work is done on the gas. The readout gives the change in internal energy, Q minus W, and says whether the gas warms or cools; the thermometer and the speed of the molecules follow it. Q W Q = +500 J: heat in W = +200 J: work by the gas ΔU = Q − W = +300 J U rises: the gas warms
SimA gas in a cylinder. Set the heat \(Q\) given to the gas and the work \(W\) done by it. The red heat arrow points in or out with the sign of \(Q\). The dashed work arrow points up when the gas expands. The readout gives \(\Delta U = Q - W\), and the thermometer follows it.

Try some settings in the figure above. With \(Q = +500\,\text{J}\) and \(W = +200\,\text{J}\), the gas keeps \(300\,\text{J}\) and warms. With \(Q = 0\) and \(W = +300\,\text{J}\), the work comes out of the gas's own store, so \(\Delta U = -300\,\text{J}\) and it cools. With \(Q = -300\,\text{J}\) and \(W = -600\,\text{J}\), the gas loses heat but gains more as work done on it, so \(U\) rises by \(300\,\text{J}\).

Checkpoint · numericUnanswered

A gas gives out \(200\,\text{J}\) of heat while \(300\,\text{J}\) of work is done on it. Find the change in its internal energy, in joules.

J± 2 %

Heat depends on the path too

Return to the two paths of the last lesson, now for a monatomic ideal gas. From state 1 (\(10\,\text{L}\), \(300\,\text{kPa}\)) to state 2 (\(30\,\text{L}\), \(150\,\text{kPa}\)), \(U = \tfrac32 pV\) rises from \(4500\,\text{J}\) to \(6750\,\text{J}\). So \(\Delta U = 2250\,\text{J}\) by every path. Path A does \(6000\,\text{J}\) of work and so takes in \(Q = 2250 + 6000 = 8250\,\text{J}\). Path B does \(3000\,\text{J}\) and takes in only \(5250\,\text{J}\).

ExampleTwo paths, one change in internal energy

A gas goes from state A to state B by path 1, taking in \(800\,\text{J}\) of heat and doing \(500\,\text{J}\) of work. By path 2 it does only \(200\,\text{J}\) of work. How much heat does it take in along path 2?

Try it on paper first. The solution is one tap away when you are ready.

After a cycle the gas is back in its starting state, so \(\Delta U = 0\). The first law then says \(Q_\text{net} = W_\text{net}\): over a cycle, the net heat taken in equals the net work done. An engine that absorbs \(1000\,\text{J}\) of heat and rejects \(600\,\text{J}\) in each cycle does \(400\,\text{J}\) of work. It turns \(40\,\%\) of the heat absorbed into work.

CheckpointUnanswered

In one cycle an engine absorbs \(1000\,\text{J}\) of heat and rejects \(600\,\text{J}\). What is the change in the internal energy of its gas over the cycle?

Energy budget of boiling

Where the heat of boiling goes

Boil one gram of water at \(100\,\text{°C}\) and \(1\,\text{atm}\). The chapter on calorimetry says it takes \(Q\) \(= mL_v\) \(= 0.001 \times 2.26 \times 10^6\) \(= 2260\,\text{J}\). But the steam takes up far more room than the water. One gram of water fills \(1.00\,\text{cm}^3\); one gram of steam at \(100\,\text{°C}\) fills \(1671\,\text{cm}^3\). To make that room, the steam pushes back the atmosphere, and that is work.

The work is \(W\) \(= p\,\Delta V\) \(= 1.013 \times 10^5 \times (1671 - 1) \times 10^{-6}\) \(= 169\,\text{J}\). The first law gives the rest: \(\Delta U = Q - W = 2260 - 169 = 2091\,\text{J}\). So only \(7.5\,\%\) of the heat of boiling does work on the air. The other \(92.5\,\%\) stays in the steam as internal energy. It pulls the molecules apart against their attraction.

Where the heat of boiling goesLeft: one gram of water under a loaded piston at one atmosphere, taking about one cubic centimetre. Right: the same gram as steam at 100 degrees Celsius, taking 1671 cubic centimetres, having pushed the piston up. The drawing is not to scale. Beside them two bars drawn to one scale: the heat taken in, Q equal to 2260 joules, and below it the same length split into the rise in internal energy, 2091 joules, and the work done pushing back the atmosphere, only 169 joules. water steam Q W Q = 2260 J ΔU = 2091 J W = 169 J
Fig 3.1One gram of water under a loaded piston at \(1\,\text{atm}\) (left) becomes \(1671\,\text{cm}^3\) of steam (right), not to scale. The bars share one scale: of the heat \(Q = 2260\,\text{J}\), \(2091\,\text{J}\) raises the internal energy and only \(169\,\text{J}\) is work done on the air.

Now the cooker. With its lid locked and the whistle down, the cooker is a closed system of nearly fixed volume. The water and steam can push back nothing, so the flame's heat all goes into internal energy. The temperature and the pressure inside rise together. The whistle lifts when the steam's push on it beats its weight, about one atmosphere above the air outside. Escaping steam then does work, lifting the whistle and pushing back the air: that is the shriek. Between whistles, every joule of heat stays inside and cooks the dal.

Checkpoint · numericUnanswered

One kilogram of water boils at \(1\,\text{atm}\) and becomes \(1.671\,\text{m}^3\) of steam. Its volume as water was \(0.001\,\text{m}^3\). Find the increase in its internal energy, in megajoules. Take \(L_v = 2.26 \times 10^6\,\text{J/kg}\).

MJ± 2 %
Mayers relation

Mayer's relation from the first law

The last chapter found \(C_p - C_v = R\) by an energy argument. The first law now makes that argument formal. Warm \(n\) moles of an ideal gas by \(\Delta T\), once at constant volume and once at constant pressure. Because \(U\) depends on \(T\) alone, \(\Delta U\) is the same both times. The two heats differ only by the work.

Deriving \(C_p - C_v = R\) step 1 of 5
1

\[ Q_v = \Delta U = nC_v\,\Delta T \]

Why. at constant volume \(W = 0\), so the first law gives \(Q = \Delta U\); \(C_v\) is defined by this heat.

law 4.3
Mayer's relation

For an ideal gas the molar heat capacities at constant pressure and at constant volume differ by the gas constant: \(C_p - C_v = R\).

At constant pressure the heat splits in a fixed ratio. The internal energy takes \(C_v/C_p\) of it and the work takes \(R/C_p\). For a monatomic gas that is \(3/5\) and \(2/5\); for a diatomic gas, \(5/7\) and \(2/7\). One mole of oxygen warmed by \(20\,\text{K}\) at constant pressure takes \(Q = \tfrac72 R \times 20 = 582\,\text{J}\). Of this, \(\Delta U = \tfrac52 R \times 20 = 416\,\text{J}\) and \(W = R \times 20 = 166\,\text{J}\).

Checkpoint · numericUnanswered

One mole of a monatomic ideal gas is warmed at constant pressure and takes in \(1000\,\text{J}\) of heat. How much work does it do, in joules?

J± 2 %
Story · Julius Robert Mayer, 1840 to 1842
A ship's doctor and the blood of sailors

In 1840 Julius Robert Mayer was a German ship's doctor on a voyage to Java. Bleeding sick sailors in the tropics, he saw that their venous blood was bright red, almost like arterial blood. The body in a hot climate needed less internal heat, he reasoned, so it burned less oxygen. Heat and work, he decided, were forms of one conserved thing. In 1842 he used the gap between \(C_p\) and \(C_v\) of air to estimate how much work equals a unit of heat.

Exam traps
  1. Using \(\Delta U = nC_v\,\Delta T\) only for constant-volume processes.
    \(U\) of an ideal gas depends on \(T\) alone, so \(\Delta U = nC_v\,\Delta T\) in every process.
  2. Mixing sign conventions in one problem.
    In this book \(Q\) is heat given to the gas and \(W\) is work done by the gas, so \(Q = \Delta U + W\). Write each sign before substituting.
  3. Thinking a cycle leaves some energy stored in the gas.
    After a cycle the gas is in its starting state, so \(\Delta U = 0\) and the net heat equals the net work.