05-01 · Week 5
The first law: internal energy, work and heat
Energy is conserved, so the internal energy of a system changes only by heat in and work done on it, and at the molecular level work shifts the levels while heat moves the molecules.
- State the four laws of thermodynamics in one line each.
- Tell open, closed and isolated systems apart.
- Use the first law as the lecture writes it, delta U = Q + W, with W the work done on the system.
- Calculate the sign and form of expansion work from dW = -p_ext dV.
- Explain work and heat in terms of levels shifting and populations changing.
16 min readJump to the quiz ↓
Energy is conserved, so only heat and work can change a system
Intuition
Your bank balance only changes if money crosses the boundary: a deposit or a withdrawal. The first law says the same about energy. A system’s internal energy changes only when heat or work moves energy across its boundary. It never appears from nowhere.
Lecture 13 gave a microscopic picture, statistical mechanics. Thermodynamics looks at the macroscopic scale, where a system is described by bulk properties such as volume, pressure and temperature. The lecture’s plan is to revisit the laws of classical thermodynamics and show that they can be derived from the microscopic picture.
The four laws, as the slide states them:
- If two systems are each in thermal equilibrium with a third, they are in thermal equilibrium with each other.
- Energy is conserved.
- The entropy of an isolated system always increases.
- The entropy of a system approaches a constant value as the temperature goes to zero.
The zeroth law defines thermal equilibrium. We saw that one parameter, the temperature, fixes the equilibrium distribution, so systems at the same temperature are in equilibrium with each other.
The first law comes in two versions. Version 1: energy is conserved. Version 2: the internal energy of an isolated system is constant. A boundary decides what can cross it. An open system exchanges matter and energy, a closed system exchanges energy only, and an isolated system exchanges neither. For the universe as system plus surroundings:
What one side gains, the other loses. Microscopically, the internal energy is the total energy of the occupied microstates:
The first law: change in U equals heat in plus work done on the system
How can change? Only through heat entering and work done on the system:
The sign convention matters. In this lecture is positive when heat enters the system, and is positive when work is done on the system. The slide notes that some books, and Wikipedia, write , where is the work done by the system. The two are the same law with a different sign for work. Follow the lecture form in this unit.
Heat and work are also transient. They describe energy in motion, not energy sitting inside. Picture water running into a bath: the bath holds water, not “flow”. A system holds internal energy, not heat or work.
Pitfall
Check which convention a question uses before you put a sign on . With the lecture convention (), a gas that expands and pushes its surroundings away has negative , because the system loses energy that way.
Work is a force acting through a displacement
Work is done when a macroscopic force makes something move:
The standard case is a gas pushing a piston. The slide’s piston has a mass on top and mechanical stops, drawn at the initial and final state. The work is
Why the minus sign? If the gas expands, is positive, but the system hands energy to the surroundings, so its energy falls and is negative. If you squeeze the gas, is negative and is positive: you put energy in.
More generally, work is a generalised force acting through a generalised displacement. The slide lists:
| Type of work | dw | Quantities |
|---|---|---|
| Expansion | external pressure, change in volume | |
| Surface expansion | surface tension, change in area | |
| Extension | tension, change in length | |
| Electrical | electric potential, change in charge |
Heat is any energy flow into or out of a system that is not work. It is the energy that crosses the boundary because of a temperature difference between the system and its surroundings. So work is organised movement along a force, and heat is everything else.
At the molecular level, work shifts the levels and heat moves the molecules
Intuition
Picture molecules as people standing on shelves in a cupboard. You can raise or lower a shelf with the people on it. Or you can lift people from a low shelf to a high shelf. Both change the total energy, but they are different jobs.
Start from and vary both the occupations and the level energies :
The slide labels the first sum work: the energy levels themselves shift, for example when a gas’s box changes size. The second sum is heat: the levels stay put but the populations change as molecules move between levels. This is the microscopic meaning of the first law.
Exam detail
Lecture 14 summary: the four laws are not fundamental, but can be derived from statistical mechanics. First law: energy is conserved. Energy, heat and work have microscopic interpretations. The sign convention to quote is with the work done on the system.
Recall
In dU = sum n_i d(epsilon_i) + sum epsilon_i dn_i, which term is work and which is heat?
The first term, where the levels shift, is work. The second term, where populations change, is heat.
Check yourself
Source
L 14 (1) PDF