05-02 · Week 5
The second law and entropy
Isolated systems drift towards the configuration with the most microstates, entropy S = k ln W measures that, and counting microstates leads to dS = dQ_rev/T.
- State the three versions of the second law from the lecture.
- Explain spontaneous change and the arrow of time using microstate counts and the dog-flea model.
- Write the entropy definition S = k ln W and the second law dS >= 0.
- Follow the steps from d ln W to dS = dQ_rev/T.
- Explain why entropy is additive and why it is a state function.
20 min readJump to the quiz ↓
Systems drift towards the arrangement with the most microstates
Intuition
Drop a drop of ink in water and it spreads. You never see the spread-out ink gather itself back into a drop. It is not forbidden. It is just wildly unlikely, because there are far more ways to be spread out than to be bunched up. That is the whole second law in everyday words.
The first law says which processes are possible. The second law says which ones actually happen by themselves. The lecture gives three versions:
- The entropy of an isolated system always increases, .
- Heat can never pass from a colder body to a hotter one without some other change occurring.
- An engine cannot extract heat from a reservoir and convert it completely into work.
Systems spontaneously move towards configurations with more microstates. The end point is equilibrium, the state with the maximum number of microstates. The lecture says this one-way tendency fixes the forward direction of time, and that it is strictly true only in the thermodynamic limit. For small systems there can be fluctuations away from equilibrium.
The slide shows two chambers split by a membrane. At first the particles are crowded on the left. Later they are spread evenly. A crowded lift empties into a hall and spreads out. Nobody pushes people into an even spread. It just has the most ways to happen.
The dog-flea model shows equilibrium arriving
Rover and Rex are two dogs. At the start, all fleas are on Rover. Every second, one randomly chosen flea jumps to the other dog. With fleas on Rover, the chance the jump is from Rover to Rex is
In plain words, the more fleas on Rover, the more likely the next flea chosen lives there. At the start every jump goes off Rover. As fleas build up on Rex, jumps back become likely. The lecture describes this as a system of particles and two degenerate energy levels, Rover and Rex.
At equilibrium the system no longer changes measurably, but jumps still happen. Jumps off and on balance:
The slide’s simulations (R = 20, 80, 200, four experiments each) show three things. The average decays to . Each experiment has its own random wobble. The more fleas, the smaller the wobble.
Entropy is a count of microstates, turned into a logarithm
At constant and , systems move to configurations with more microstates, . Logs are easier, so the lecture writes , with at equilibrium. Then it defines
and the first form of the second law becomes, for an isolated system,
Why a logarithm? Because of additivity. Take two independent, isolated systems and . Every microstate of one can pair with every microstate of the other, so the weights multiply, . The log turns a product into a sum, , so
Entropy is additive, also called extensive: double the system and you double the entropy.
Counting microstates leads to dS = dQ_rev / T
Intuition
Heat is molecules moving up to higher levels. More ways to arrange them means more entropy. So heat going in should raise entropy, and hotter systems should gain less entropy per bit of heat. The algebra gives exactly that.
The steps, as on the slides. Start with the weight and use Stirling’s approximation from the Boltzmann topic:
With constant (), the total differential is
Now use the equilibrium populations , so :
The first term is struck out on the slide because : the total number of molecules does not change. What is left, , is the heat term from the first-law topic, populations moving between levels. The slide writes
Multiply by and use :
This is the original thermodynamic definition of entropy, now explained by counting microstates. A reversible process is one that is always at equilibrium, which means infinitesimally slow.
Pitfall
Entropy is a state function, so it depends only on the configuration, not the route taken. For a reversible and an irreversible route between the same states 1 and 2, . Only the reversible route is calculated with . Do not plug the real heat of an irreversible route into that integral.
Optional aside
Slide 13 writes for reversible processes. The slide does not explain the inequality, and it sits oddly beside as a definition. Treat as the lecture’s definition and check the inequality with the lecturer. The same lecture also gives the total entropy from the partition function, , and says there is no need to memorise it. Its point is that derivatives of carry macroscopic information.
Exam detail
Lecture 15 summary slide: entropy measures the statistical weight of the configuration and always increases in an isolated system. Slide numbers: dog-flea simulations at . Three versions of the second law, as listed above.
Recall
Why does taking the logarithm of W make entropy additive?
Weights of independent systems multiply, . A log turns the product into a sum, so adds: .
Check yourself
Source
L 15 (1) PDF