Physics / Entropy

Entropy

Count the ways four particles can sit in a box, and entropy, the second law, the direction of time and the waste heat of every engine follow from the counting.

Intermediate7 steps~7 min
Particle — one molecule of the gas
Box — two halves, left and right
Hot source — where the engine takes heat from
Cold sink — where the waste heat goes
// THE SHORT VERSION

In 30 seconds

Entropy counts how many hidden arrangements of particles look the same from outside. A gas spread evenly through a box can be arranged in vastly more ways than a gas crowded into one corner.

Left alone, things drift toward whatever can happen in the most ways. That is the second law: the entropy of an isolated system does not go down.

It is why a film run backwards looks wrong, and why an engine must always throw some of its heat away.

Entropy, step by step

STEPS01 / 07

Left or right is a toy count: real entropy counts every position and speed. The second law is statistical, so tiny systems do fluctuate. The engine uses the numbers from the thermodynamics lesson.

STEP 01 / 07 Four particles in a box
THE MATH
each particle: left or right 2 × 2 × 2 × 2 = 16 exact arrangements
  1. Step 1: Four particles in a box. Four gas particles bounce around a box. At any instant each one is in the left half or the right half, which gives 16 exact arrangements, all equally likely. From outside we do not track which particle is which. We only see totals, such as three on the left and one on the right.
  2. Step 2: Count the ways. Sort the 16 arrangements by what you would see. All four on the left can happen in just 1 way. Three and one can happen in 4 ways, because any of the four can be the odd one out. The even split can happen in 6 ways. So the even split turns up 6 times in 16, and all-on-the-left only once.
  3. Step 3: More particles, sharper odds. With 100 particles there are about 10³⁰ arrangements. Nearly all look close to even: the count on the left is between 40 and 60 about 96 % of the time. All 100 on one side is a 1 in 10³⁰ chance. A litre of air holds over 10²² molecules, so there the even spread is all you will ever see.
  4. Step 4: Entropy counts the ways. Entropy, S, is a measure of how many exact arrangements, W, give the same outward appearance: S = k × ln W, where k is Boltzmann’s constant. The logarithm makes entropies add when two systems are put side by side, while their counts multiply. More ways means more entropy, and a more probable state.
  5. Step 5: The second law. Hold 24 particles in the left half behind a wall, then pull the wall out. Each particle now has twice the room, so the count of arrangements doubles 24 times: 17 million times more. Nothing pushes the gas outward. It wanders into the spread-out arrangements because nearly all arrangements are spread out.
  6. Step 6: The arrow of time. Run the film backwards. Every single collision still obeys the laws of motion, which work the same in both directions. Yet gas gathering itself into one half looks wrong: it is absurdly unlikely, not forbidden. Entropy was lower in the past: that is what tells past from future. Why it began so low is an open question.
  7. Step 7: Why engines waste heat. An engine takes 1200 J of heat from a 400 K source, which lowers the source’s entropy by 3 J/K. Work is orderly energy and carries no entropy away. To keep the total from falling, the engine must add at least 3 J/K somewhere colder: 900 J dumped at 300 K. At most 300 J, a quarter, can come out as work.
VALUES SO FAR
N4 particlesinput
total16 wayscount
4 | 0····count
2 | 2····count
N = 100····result
S····rule
ΔS····law
waste····result
work····result

Spotted a mistake on this page?