Topic 9.4
The first law of thermodynamics
Energy conservation for a gas: internal energy changes through heating and work in isothermal, isobaric, isochoric and adiabatic processes.
7 min read2 worked examples3 questions to check yourself
Big idea
The internal energy of a gas changes by exactly the energy transferred to it by heating plus the work done on it, which is conservation of energy applied to a thermal system.
A gas expands at a constant pressure of from to . The shaded area under the path, , is the work the gas does on the piston. The work done on the gas is therefore .
Explanation
The internal energy of an ideal gas is the total kinetic energy of its particles, so it depends only on the amount of gas and its temperature; for a monatomic ideal gas . There are two ways to change it: heating, , and work, , energy transferred by a force that moves a boundary such as a piston. The first law of thermodynamics says . Here is positive when energy enters the gas by heating, and is the work done on the gas, positive in a compression. Some problems instead use the work done by the gas, , and write : the words "by the gas", or a minus sign before the work in the first law, mark that convention.
At constant pressure the work done on the gas is . In a compression is negative, so is positive and energy goes into the gas. In an expansion the gas does work on its surroundings, so is negative. On a PV diagram the size of the work is the area under the path, even when the pressure changes.
Four processes have names. Isochoric (constant volume): , so . Isobaric (constant pressure): . Isothermal (constant temperature): , so ; any energy that enters by heating leaves as work. Adiabatic (no heating): , so ; compressing the gas warms it.
Because depends only on the state of the gas, between two states is the same along every path, while and depend on the path. In a cycle the gas returns to its starting state, so , and the net work is the area the cycle encloses; in a clockwise cycle the gas does net work on its surroundings.
Equations
The change in a system's internal energy equals the energy transferred to it by heating plus the work done on it.
- change in the internal energy of the gas (J)
- energy transferred to the gas by heating (negative if it leaves) (J)
- work done on the gas (negative if the gas expands) (J)
- Use it when
Any process on a gas: find the two quantities you can, and the first law gives the third.
- Not when
Do not mix sign conventions. Some books write with as the work done by the gas; the physics is the same, but decide which you mean and keep to it.
At constant pressure, the work done on a gas is minus the pressure times the change in volume.
- work done on the gas (J)
- pressure of the gas (Pa)
- change in volume, final minus initial (m³)
- Use it when
The pressure is constant while the volume changes. With pascals and cubic metres the answer is in joules; kilopascals times litres also gives joules.
- Not when
If the pressure changes during the process, use the area under the path on the PV diagram instead, with the same sign rule.
The internal energy of a monatomic ideal gas changes only when its temperature does, and in proportion to the temperature change.
- change in internal energy (J)
- amount of gas (mol)
- ideal gas constant, $8.31$ (J/(mol·K))
- change in temperature (K)
- Use it when
A monatomic ideal gas (helium, neon, argon) changes temperature by any process. Since , it can also be written .
- Not when
The factor is for monatomic gases only. For any ideal gas, though, it is still true that when the temperature does not change.
Worked examples
Heating a gas at constant pressure
Step by stepA cylinder closed by a freely sliding piston holds of helium, a monatomic ideal gas, at constant pressure. The gas is warmed from to . How much energy must enter the gas by heating? Use .
- Step 1:
A temperature change is the same in kelvins as in degrees Celsius: . For a monatomic ideal gas , so .
- Step 2:
At constant pressure , and the ideal gas law turns into : , negative because the gas pushes the piston out.
- Step 3:
First law: .
- Step 4:
Check: a rigid container would need only ; the extra leaves as work on the piston.
0 of 4 stepsAnswer
: that much energy must enter the gas by heating
- Step 1:
A cycle run the other way
Written as an exam answerA fixed amount of gas is taken around the triangular cycle A to B to C and back to A shown on the PV diagram. Determine the net work done on the gas in one cycle and the net energy transferred to the gas by heating. Is the gas acting as a heat engine?
- Step 1:
From A to B the gas expands by at , doing of work on its surroundings (): .
- Step 2:
From B to C the gas is compressed; the work done on it is the trapezoid under the line: . From C to A, .
- Step 3:
Net work done on the gas: , the triangle's area, positive because the counterclockwise cycle compresses at higher pressures than it expands.
- Step 4:
The gas returns to A, so and : a net leaves by heating. Work goes in and heating comes out, the reverse of an engine, as in a refrigerator.
Answer
The net work done on the gas is per cycle and a net leaves it by heating, so it is not a heat engine
- Step 1:
Common mistakes
Mistake
A gas is compressed, so is negative and the work done on it is negative.
What is true
Compressing a gas puts energy into it, so the work done on the gas is positive: , and minus a negative is positive.
Mistake
In an isothermal process the temperature does not change, so no energy is transferred by heating.
What is true
Constant temperature means , not . A gas that expands isothermally does work, and that much energy must enter by heating. The process with is adiabatic, and in it the temperature does change.
Mistake
A gas cannot get hotter unless it is heated.
What is true
Temperature follows the internal energy, which changes through heating and work together. A gas compressed quickly gets hotter with no heating at all, as a bicycle pump shows.
Check yourself
- 1.
An ideal gas expands at constant temperature and does of work on a piston. What are , and for the gas?
, because the temperature does not change. The gas does the work, so the work done on it is . Then : that much energy enters by heating.
- 2.
A gas in a well-insulated cylinder is compressed quickly, and of work is done on it. What happens to its internal energy and its temperature?
No energy is transferred by heating (), so . The internal energy rises, and so does the temperature.
- 3.
A gas is taken from state X to state Y along two different paths on a PV diagram. The area under path 1 is larger than the area under path 2. Compare the changes in internal energy and the energy transferred by heating.
is the same for both paths, since it depends only on the two states. The amounts of work differ, so must differ too.
Try it
Three steps take a gas from A to C: the pressure is lowered at constant volume, the gas expands at constant pressure, then the pressure is lowered again. Change the pressure of the expansion. A and C are at the same temperature ( at both), so for every path, yet the work, and with it the heating, is different each time.
Builds on
Practice 9.4 with feedback
Problem sets for Unit 9 grade themselves, and Raise hints at the next step instead of giving the answer.
Spotted a mistake in this lesson? Tell us and we will fix it.