1.7.23 · D2Thermodynamics

Visual walkthrough — Entropy change in irreversible processes — always - 0

2,254 words10 min readBack to topic

We build up to this master statement, the Clausius inequality: Don't worry about what a single symbol means yet — every one gets earned below.


Step 1 — What is a "state" and what is a "process"?

WHAT. Picture a gas trapped in a box. At any instant we can measure two numbers about it: how hot it is (temperature ) and how squeezed it is (volume ). One dot on a chart of against is one state of the gas — one complete "snapshot".

WHY. Before we can talk about change, we need to fix what changes between. A process is just a trip: the gas moves from a starting dot to a finishing dot . The whole derivation is a claim about that trip.

PICTURE. Two dots, and , and a wiggly line joining them — the path the gas actually took.


Step 2 — Two kinds of trip: reversible and irreversible

WHAT. Some trips can be run backwards and leave no trace — rewind the film and nothing looks wrong. Those are reversible. Others cannot: shove the piston hard, let gas rush into vacuum, rub with friction — rewind that film and it looks absurd. Those are irreversible.

WHY. The whole inequality hinges on this fork. Reversibility is the knife-edge where the law reads ""; every real trip falls to the irreversible side where it reads "". See Reversible vs irreversible processes.

PICTURE. A smooth path (reversible: system always in balance, tiny steps) versus a jagged path (irreversible: big shoves, gradients).


Step 3 — Defining entropy on the gentle path

WHAT. Along a reversible trip only, we define a running score called entropy by adding up

WHY this formula and not something simpler? We want a number whose total change depends only on the endpoints and , never on the wiggles between. Heat alone fails that test — how much heat you exchange depends wildly on the path. But dividing each heat puff by the temperature at which it crosses turns out to give a quantity that only cares about and . That is a small miracle, and it's why the in the denominator is not optional — see Entropy as a state function.

Term by term:

  • — the tiny change in the entropy score.
  • — the tiny heat puff, measured on a reversible (gentle) path.
  • — the absolute temperature (in kelvin) at which that puff crosses the wall. The subscript "rev" is a promise: this formula is only licensed on a reversible path.

PICTURE. A gentle path from to chopped into puffs , each divided by the local , and stacked into a bar that is the total .


Step 4 — The only law we may assume: the Clausius inequality

WHAT. For any process that returns to where it started (a cycle, the loop symbol ), experiment and the Second Law of Thermodynamics give us exactly one weapon:

WHY. We are not allowed to assume — that is what we're trying to prove. The Clausius inequality is the one honest starting brick. Everything else is deduced.

Term by term:

  • — "add up all the way around a closed loop", i.e. over a full cycle.
  • — heat puff crossing the boundary (the real one, could be irreversible).
  • — the temperature of the surroundings where that puff crosses. Not the system's temperature! When things are irreversible these two differ, and which we use matters.
  • — equals only if the whole loop was reversible; strictly less than if any part was irreversible.

PICTURE. A closed loop in the chart, arrows showing heat in (red) and heat out (blue), with the running sum landing at or below zero.


Step 5 — The clever cycle: irreversible out, reversible back

WHAT. Take any real (irreversible) trip . Now imagine returning along a gentle reversible path. The two legs joined together make a closed loop — a cycle.

WHY. Our only weapon (Step 4) fires on cycles. A single one-way trip is not a cycle, so we manufacture one by gluing a reversible return trip onto our real trip. The reversible return is where Step 3's definition of will bite.

PICTURE. The jagged red irreversible leg , then the smooth green reversible leg , closing the loop.


Step 6 — Apply the weapon and split the loop

WHAT. Fire the Clausius inequality on our manufactured loop. The loop-sum splits into the two legs:

WHY. "Around the whole loop" just means "leg 1 then leg 2". We split so we can recognise leg 2 as an entropy change (Step 3).

The recognition. By Step 3, the reversible leg is an entropy difference — and it runs , so it comes out negative:

Term by term of that line:

  • — summing along the reversible return leg.
  • — because we walk from back to , we pick up 's score minus 's score.
  • — that's just , the negative of the system's forward entropy change.

PICTURE. The loop-sum equation drawn as two stacked bars: the red leg-1 bar plus the green leg-2 bar (pointing down, since it's ) must not rise above zero.


Step 7 — Rearrange into the master result

WHAT. Move the to the other side:

WHY. The right-hand side is heat entering the system, scored at the surroundings' temperature. But the heat the system gains is exactly the heat the surroundings lose: . The surroundings are a huge reservoir, so they always exchange heat reversibly at their steady . That means the right-hand integral is precisely :

Substitute and move it over:

Term by term:

  • — the system's entropy change (can be negative!).
  • — the surroundings' entropy change.
  • Their sum — the universe's entropy change — is what can never drop.

PICTURE. Two bars — system and surroundings — that individually can point up or down, but whose combined height is always .


Step 8 — Where does the extra come from? Entropy production

WHAT. Rewrite the inequality as an equality by naming the surplus:

WHY. The gap between "" and "" isn't mysterious — it's a real, non-negative quantity called entropy production. Every finite gradient (a temperature gap, a pressure gap, friction, free expansion) manufactures some . Only when every driving push is infinitesimally gentle does and the process become reversible.

Term by term:

  • — entropy transported in with the heat.
  • — entropy created inside, out of nothing, by irreversibility. Never negative.

PICTURE. A pipe: entropy flows in through the heat (), and an extra spring inside the box adds — the box's entropy rises by the sum.


The one-picture summary

Everything above, compressed: manufacture a cycle (irreversible out, reversible back), fire the Clausius inequality, recognise the return leg as , and read off that the system-plus-surroundings entropy can only sit still (reversible) or rise (real).

Recall Feynman retelling — the walkthrough in plain words

We started with just two ideas: a snapshot of a system (a state) and a trip between snapshots (a process). Some trips are gentle enough to rewind (reversible); most real ones aren't (irreversible). On the gentle trips we invented a running score — entropy — by adding up each puff of heat divided by the temperature it crossed at, and that score turned out to depend only on where you start and stop, not the wiggles in between.

Then we grabbed the one law we're allowed: go around any loop, add up heat-over-temperature, and you never get a positive number. To use it on a one-way real trip, we cheated cleverly — we glued a gentle return trip onto it to make a loop. The return leg, being gentle, is an entropy change (that's what entropy is). The loop law then squeezes out the punchline: the system's entropy change plus the surroundings' entropy change can never be negative.

Finally we named the surplus: every real gradient — a hot thing touching a cold thing, a gas bursting into vacuum, a squeak of friction — makes a little extra entropy out of nothing. Shrink the gradients to zero and you make none (reversible, the knife-edge). Make them finite and you always make some. You can never un-make it. That "can only go up" is why spilled milk never leaps back into the cup.

Recall Quick self-test
  • Why glue a reversible leg onto the irreversible trip? ::: To form a cycle, so we can use .
  • Which temperature scores the surroundings? ::: , not the system's .
  • What is and its sign? ::: Entropy produced inside by irreversibility; always.
  • When is ? ::: Only in the reversible limit, every gradient infinitesimal.

Related: Second Law of Thermodynamics · Clausius inequality · Entropy as a state function · Reversible vs irreversible processes · Free expansion of an ideal gas · Statistical interpretation of entropy (Boltzmann S = k ln W) · Arrow of time · Carnot cycle and efficiency