- Isothermal, adiabatic, isochoric and isobaric processes
- The second law
- What is enthalpy
Two ways to make a gas hotter
Pump up a bicycle tyre quickly, then touch the bottom of the pump. It is warm. Nobody heated it. You only pushed a piston.
The first law of thermodynamics is conservation of energy, which you already know. But it comes with a strict vocabulary. People say that a hot object "contains a lot of heat". Thermodynamics has to throw that sentence away. Here is why.
Two cylinders each hold 0.10 mol of helium at 300 K. Cylinder A has its piston locked, and a flame heats it to 360 K. Cylinder B is wrapped in insulation, and its piston is pushed in until the gas reaches 360 K. Which gas now holds more heat? Choose one.
The two cylinders, with the energy that crossed into each. Both end at 360 K with the same increase in internal energy, 74.8 J, but A received it as heat and B as work.
Both gases end at 360 K. So, on average, a helium atom in A moves exactly like a helium atom in B, and both gases have gained the same internal energy, 74.8 J. Nothing inside either gas remembers how that energy arrived. So "the heat in a gas" is not something you can measure, even in principle.
First comes the zeroth law, which makes temperature a real property. Then come internal energy, heat and work, and the first law that connects them.
The zeroth law: why a thermometer can work
Two lectures ago, temperature was defined as the quantity that is equal for two bodies in thermal equilibrium. Two bodies are in thermal equilibrium when, placed in contact, no net energy flows between them. That lecture promised that a law states this formally. Here it is.
The definition hides an assumption. Suppose A is in equilibrium with B, and B is in equilibrium with C. Must A be in equilibrium with C? Logic alone does not say so. "Is the same height as" passes along: if you are the same height as your friend, and your friend is the same height as a door, you are the same height as the door. "Beats" does not. In rock, paper, scissors, rock beats scissors and scissors beats paper, but rock does not beat paper.
If thermal equilibrium behaved like "beats", a thermometer would be useless. It could agree with your tea and agree with your soup, while the tea and the soup still exchanged energy. Experiment shows that this never happens.
If A is in thermal equilibrium with B, and B is in thermal equilibrium with C, then A is in thermal equilibrium with C.
So every body has a single number, its temperature, and two bodies are in equilibrium exactly when their temperatures are equal.
Now the thermometer makes sense. It is body B. Put it in your tea and wait until it stops changing. It is now in equilibrium with the tea, and its reading names the tea's group. Any other body that gives the same reading is in equilibrium with the tea, even if the two never touch. With the zeroth law, temperature is a property that each object has on its own.
Why "zeroth"? The first, second and third laws were already numbered when the British physicist Ralph Fowler stated this law, in the 1930s. It is needed before the first law, because the first law uses temperature. So Fowler gave it a number smaller than one.
A metal bench and a wooden bench stand side by side in a park all night. In the morning, the metal bench feels much colder to your hand. Is it at a lower temperature?
Show the answer
No. Both benches have spent the night in contact with the same air, so both are in equilibrium with it. By the zeroth law, they are in equilibrium with each other, at the same temperature.
The metal feels colder because it conducts energy away from your warm hand much faster than wood does. Your hand senses how fast energy leaves it, not temperature. A thermometer waits until the flow stops. Your hand does not.
Internal energy: what a gas really holds
What a gas really holds is internal energy, . It is the total energy of the random motion of its molecules, plus the potential energy of the forces between them. The motion of the container as a whole does not count. A flask of gas on a moving train has the same internal energy as the same flask at rest.
In an ideal gas there are no forces between the molecules, so there is no potential energy. Then is just the total kinetic energy. For a monatomic gas, each molecule has on average (from the lecture on temperature and mean kinetic energy). For molecules, or moles:
For a diatomic gas such as nitrogen or air near room temperature, the two rotations add more, and . Either way, for a fixed amount of ideal gas, depends on the temperature alone.
The key property is this. depends only on the present state of the gas: its amount, temperature and volume. It does not depend on the history. Physicists call such a quantity a function of state. Temperature, pressure and volume are functions of state too.
Heat and work: two ways energy crosses the boundary
Draw a boundary around the gas. Everything inside is the system. Everything outside is the surroundings. Energy can cross the boundary in two ways.
- Heat, , is energy transferred because of a temperature difference. At a hot wall, the wall's fast-vibrating particles collide with the gas molecules. As the temperature lecture showed, collisions pass energy from the side with more average kinetic energy to the side with less. Heating is many small, random pushes.
- Work, , is energy transferred by a force that moves its point of action. A piston is the clearest case. The whole piston moves one way, so every push it gives is in the same direction. Work is organised.
Heat and work exist only while energy is crossing. Once it has crossed, it is internal energy.
But how exactly does a moving piston give energy to a gas? Look at one molecule.
The molecule moves towards the piston at speed , and the piston moves towards it at speed . Watch from the piston. In the piston's frame, the molecule arrives at speed , and an elastic bounce sends it back at the same speed, . Now step back to the ground. The piston itself is moving at , so the molecule leaves at
Every molecule that hits an approaching piston leaves faster. A cricket ball leaves an advancing bat faster for the same reason. So pushing a piston in raises the average kinetic energy of the molecules: the gas gets hotter with no heating at all. That is the bicycle pump. When the piston moves out, each molecule leaves at , slower than it arrived. So a gas that pushes a piston out cools down, even with no cooling.
The simulation below keeps an account of every collision. It adds up the energy given to the molecules by the left wall (heat) and by the piston (work).
Press Play. Then choose what the piston does and what the left wall does. The counters add up every bit of energy that the piston and the left wall give to the molecules. Compare Q + W with ΔU.
Piston:
Left wall:
The simulation models 100 molecules of a flat (two-dimensional) ideal gas in a box. The right side is a piston. The left wall can be insulated, hot or cold. The top and bottom walls send each molecule off in a new direction at the same speed, so no energy crosses them. Energy is measured in units equal to the starting energy of one molecule, so the gas starts with U = 100 units. The table gives typical values of Q and W in these units, averaged over several runs; each run differs a little, because the motion is random.
| What happens | Q | W | Energy per molecule |
|---|---|---|---|
| Insulated wall; piston pushed in to half the length | 0 | +127 | 1.00 → 2.3 |
| Insulated wall; piston pulled out to 1.6 times the length | 0 | −33 | 1.00 → 0.68 |
| Hot wall; piston held for 30 time units | +89 | 0 | 1.00 → 1.9 |
| Cold wall; piston held for 30 time units | −52 | 0 | 1.00 → 0.48 |
In every row, the change in internal energy ΔU equals Q + W, so ΔU is +127, −33, +89 and −52. The energy of the molecules changes only when energy crosses the boundary, as heat at the left wall or as work at the piston.
With the left wall insulated, Q stays at zero, yet the gas warms when you push the piston in. With the piston held, W stays at zero, and the gas warms or cools at the wall. In every case, Q + W equals ΔU.
The first law
is the increase in the internal energy of the system. is the energy supplied to the system by heating. is the work done on the system.
The signs follow from the words.
- : energy flows in by heating. : energy flows out by heating.
- : the surroundings do work on the gas, for example by compressing it. : the gas does work on the surroundings, for example by expanding.
- : the internal energy rises. For an ideal gas, this means the temperature rises.
Many engineering books, and some physics books, write . In that form, is the work done by the system. The physics is identical; only the meaning of the letter changes. Find out which form your course uses. This lecture always uses for work done on the system.
Here is a picture to hold. Think of a water tank fed by two pipes, one from the rain and one from a tap. The water level is like : you can measure it at any moment. The two pipes are like and . Once the water is in the tank, you cannot ask how much of it is rain water. The question has no answer.
That is it. That is the whole idea. Internal energy belongs to the state of the gas. Heat and work belong to the process, the route by which the state changed. The first law says the routes must add up to the change in the state.
The work done on a gas by a piston
Suppose the gas pushes on a piston of area with a pressure that stays constant. The force on the piston is . Now the piston moves inwards by a distance . The force you need to push it is , so the work done on the gas is .
The volume shrinks by , so the change in volume is . Put the two together:
Check the signs. In a compression, is negative, so is positive: work is done on the gas. In an expansion, is positive, so is negative: the gas does work on its surroundings. When the pressure changes during the process, you add up small pieces , as the lecture on work done by a variable force did for forces. The next lecture does this on a graph of against .
Worked examples
A gas is compressed. The piston does 300 J of work on the gas, and at the same time 100 J of energy flows out of the gas by heating. The gas is 0.50 mol of helium. Find and the change in temperature.
Write each quantity with its sign first. Work is done on the gas, so J. Energy flows out by heating, so J.
Helium is monatomic, so . Then
The gas gets hotter, although energy flows out by heating. The compression puts in more energy than the cooling takes away.
Check: J. ✓
An ideal gas expands slowly while its temperature is held constant. During the expansion, 500 J of energy flows into it by heating. How much work does the gas do on its surroundings?
The temperature is constant, and of an ideal gas depends only on temperature. So .
The work done on the gas is −500 J. So the gas does +500 J of work on its surroundings. All the energy that came in by heating went straight out as work.
Does this turn heat completely into work? In this one expansion, yes. But the gas is now bigger than before. To repeat the trick, you must push it back, and that costs work. The second law, two lectures from now, shows that no engine can repeat this cycle and keep all the work.
2.0 mol of a monatomic ideal gas is heated in a rigid container from 300 K to 500 K. Find and the heat supplied .
The container is rigid, so and . The first law gives J.
At constant volume, every joule supplied by heating goes into internal energy.
The same 2.0 mol is warmed from 300 K to 500 K again, but now in a cylinder with a free piston, so the pressure stays constant. How much heat is needed now?
is the same as before, 4990 J, because depends only on temperature. But now the gas expands and pushes the piston out.
At constant pressure, gives . So
More heat is needed, because the gas must also pay for the work it does. Per mole and per kelvin, the heat needed is J mol⁻¹ K⁻¹, which is . At constant volume it was . The difference is exactly , the expansion work per mole per kelvin.
Check: J. ✓
Three traps
A body contains internal energy, not heat. Heat is energy crossing a boundary because of a temperature difference. Write "the internal energy increased by 200 J", never "the heat in the gas increased by 200 J". The cylinders at the start of this lecture show why: one of them received no heat, yet ended in the same state.
A gas receives 500 J by heating and does 200 J of work as it expands. With , the work done on the gas is J, so J. A student who writes J in this formula gets 700 J, which is wrong. Decide first whether the work is done on the gas or by it. Then write its sign before you substitute.
The bicycle pump warms with , because work is done on the air. Worked Example 2 is the opposite case: 500 J of heat goes in and the temperature does not change, because the gas does work. Temperature follows , and depends on and together.
Work each one on paper first. Open a hint only when you are stuck. Use J mol⁻¹ K⁻¹.
-
A gas receives 250 J by heating and does 90 J of work on its surroundings. Find the change in its internal energy.
Hint 1
Is the 90 J done on the gas or by it? What sign does need?
Hint 2
J and J.
Full answer
J.
Check: of the 250 J that came in, 90 J left as work, so 160 J stayed. ✓
-
0.40 mol of argon (a monatomic ideal gas) in a sealed rigid flask cools from 350 K to 300 K. How much energy leaves it by heating?
Hint 1
The flask is rigid. What is ?
Hint 2
, so with K.
Full answer
, so J.
About 249 J leaves the argon by heating.
Check: the sign is negative, as it must be for a gas that cools with no work done. ✓
-
A gas is compressed at a constant pressure of Pa from 3.0 L to 2.0 L. During the compression, its internal energy falls by 150 J. Find and , and say what each sign means.
Hint 1
Convert the volumes to m³: 1 L = m³. Then use .
Hint 2
m³. Then with J.
Full answer
J. The surroundings do 200 J of work on the gas.
J. So 350 J leaves the gas by heating.
Check: J . ✓ The gas was given 200 J of work but lost 350 J by heating, so its internal energy fell.
-
In an experiment like Joule's, two weights of 13 kg each fall 1.6 m, twenty times. As they fall, they turn a paddle wheel that stirs 6.0 kg of water in an insulated vessel. Find the work done on the water and its rise in temperature (the specific heat capacity of water is 4180 J kg⁻¹ K⁻¹). Then explain why a thermometer placed in the water afterwards cannot tell whether it was stirred or heated.
Hint 1
The work done on the water equals the gravitational potential energy the weights lose. The vessel is insulated, so .
Hint 2
. Then .
Full answer
J. With , J.
K.
A thermometer measures the state of the water, its temperature. The same rise of 0.33 K could come from 8160 J of heating with no stirring. Both routes give the same , so both end in the same state, and nothing in that state records the route.
Check: the rise is small, as it was in Joule's real experiments, which needed very careful thermometers. ✓
For a long time, heat was thought to be a substance, called caloric, that flowed from hot bodies to cold ones. In 1798, Count Rumford reported that boring cannon in Munich produced heat without limit. A substance should run out. Motion, it seemed, could make heat.
James Prescott Joule measured how much. In a paper read to the Royal Society in June 1849, he described a paddle wheel driven by falling weights, stirring water in a copper vessel. He found that warming one pound of water by one degree Fahrenheit needed the work of 772 pounds falling one foot. In modern units, that is about 4150 J per kilogram per kelvin, within 1% of today's value, about 4190. Heat and work had become two routes for one quantity, energy.
The first law explains why mountain tops are cold. Air that rises meets lower pressure and expands. It does work on the air around it, and it rises too quickly to exchange much heat, so . With , its internal energy falls and it cools, by about 9.8 °C for every kilometre it rises when the air is dry. Air sinking down a mountainside is compressed and warms at the same rate.
The first law says which changes are possible in terms of energy, but not which way they go. A cup of tea never warms itself by cooling the room, although energy would be conserved. That direction is the subject of the second law.
- The zeroth law says that two bodies each in thermal equilibrium with a third are in equilibrium with each other, which makes temperature a property of each body and makes thermometers work.
- Internal energy is the total random kinetic and potential energy of the molecules, a function of state, and for an ideal monatomic gas .
- Heat is energy transferred because of a temperature difference, and work is energy transferred by a force moving its point of action; both exist only while energy crosses the boundary.
- The first law is , with supplied to the system and done on the system.
- A gas pushed by a piston does work or has work done on it, with at constant pressure.
- The same change of state can be reached by different mixtures of heat and work, so a gas never "contains heat".