BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyThe High School: physics from the very first step

Entropy and the second law

Many processes run one way only: heat flows from hot to cold, gases mix and never un-mix. The second law of thermodynamics says why. Heat does not flow by itself from a colder object to a hotter one; in terms of entropy, a measure of the number of ways the particles can be arranged, the total entropy of an isolated system never decreases. Heat Q added at temperature T raises the entropy by ΔS = Q/T. A heat engine turns part of the heat from a hot reservoir into work and must give the rest to a cold one, so its efficiency η = W/Q_h can never be more than the Carnot limit 1 − T_c/T_h. A fridge or heat pump needs work to move heat from cold to hot.

You need this first

Full reading path (44 pages)
  1. Powers of ten and scientific notation (hs-0)
  2. Units and the SI system (hs-0)
  3. Solving and rearranging formulas (hs-0)
  4. Graphs, straight lines and slope (hs-0)
  5. Quadratics and power laws (hs-0)
  6. Angles, radians and trigonometry (hs-0)
  7. Vectors (hs-0)
  8. Rates of change and area under a graph (hs-0)
  9. Distance and displacement (hs-1)
  10. Speed and velocity (hs-1)
  11. Position–time graphs (hs-1)
  12. Acceleration (hs-1)
  13. Velocity–time graphs (hs-1)
  14. Equations for constant acceleration (hs-1)
  15. Free fall (hs-1)
  16. What is a force? (hs-2)
  17. Relative velocity (hs-1)
  18. Newton's first law: inertia (hs-2)
  19. Newton's second law (hs-2)
  20. Circular motion (hs-1)
  21. Newton's third law (hs-2)
  22. Weight, normal force and tension (hs-2)
  23. Friction and drag (hs-2)
  24. Springs and Hooke's law (hs-2)
  25. Inclined planes (hs-2)
  26. Centripetal force (hs-2)
  27. Work (hs-3)
  28. Kinetic energy and the work–energy theorem (hs-3)
  29. Newton's law of gravitation (hs-2)
  30. Gravitational potential energy (hs-3)
  31. Conservation of energy (hs-3)
  32. Density and pressure (hs-4)
  33. Temperature and thermal energy (hs-4)
  34. The ideal gas law (hs-4)
  35. Momentum and impulse (hs-3)
  36. Exponentials and logarithms (hs-0)
  37. Torque and balance (hs-2)
  38. Kepler's laws and orbits (hs-2)
  39. Orbital energy and escape speed (hs-3)
  40. Kinetic theory: temperature is motion (hs-4)
  41. Power (hs-3)
  42. Heat and specific heat (hs-4)
  43. Phase changes and latent heat (hs-4)
  44. The first law of thermodynamics (hs-4)
On this page · 11 sections
  1. Processes that go one way only
  2. The second law in words
  3. Counting arrangements
  4. Entropy
  5. Entropy and heat: ΔS = Q/T
  6. Why heat flows from hot to cold
  7. Heat engines
  8. The Carnot limit
  9. Refrigerators and heat pumps
  10. Try it
  11. Summary

Drop a little ink into a glass of water and wait. The colour spreads until the whole glass is evenly tinted, and it stays that way: you will never see the ink gather itself back into a single drop. A cup of tea cools to room temperature, but a lukewarm cup never heats itself up by cooling the room. A ball dropped on the floor bounces lower and lower and finally lies still; it never starts bouncing again by itself. None of these reversed processes would break the conservation of energy. Something else forbids them. This lesson gives that something a name, entropy, and shows that the same law sets a hard limit on every engine and power station in the world.

Processes that go one way only#

Look again at the examples. In each one, energy that was in one place, or in an orderly form, ends up spread out:

  • Heat flows from hot to cold. Lesson 4.2 showed that a hot and a cold object in contact reach the same temperature. The reverse, two objects at the same temperature drifting apart to one hot and one cold, never happens.
  • Gases mix and do not un-mix. Open a door between a room full of nitrogen and a room full of oxygen, and the molecules, which move at random (lesson 4.4), soon fill both rooms evenly. They never sort themselves back.
  • Motion turns into thermal energy. A bouncing ball loses its kinetic energy to the random motion of the molecules in the ball, the floor and the air (lessons 3.4 and 4.2). The reverse would need all those molecules to push the ball upward at the same moment.

The NASA Glenn page Second Law, Entropy makes the key point with the first example: heat flowing from a cold object to a hot one would conserve energy perfectly well, yet it is never seen (NASA Glenn, Second Law, Entropy). The first law of thermodynamics (lesson 4.8) only says how much energy there is; it says nothing about which way things go. Processes like these, which cannot run backwards by themselves, are called irreversible. A film of any of them played backwards looks obviously wrong.

The second law in words#

The rule that picks the direction is the second law of thermodynamics. Several physicists stated it in the 1800s in different but equivalent forms; Clausius, Kelvin and Carnot each wrote one for the problem they were studying (NASA Glenn, Second Law, Entropy). The simplest is the one associated with Rudolf Clausius:

The words "by itself" matter. A fridge does move heat from its cold inside to the warmer kitchen, but only because a motor does work on it. The last section of this lesson comes back to that.

Why should nature care about direction? The answer comes from counting.

Counting arrangements#

Take a box with an imaginary line down the middle and put four gas molecules in it, labelled A, B, C and D. Each molecule wanders about at random, so at any moment it is equally likely to be in the left half or the right half. Each molecule has two choices, so there are 2×2×2×2=162 \times 2 \times 2 \times 2 = 16 possible arrangements, all equally likely. Group them by how many molecules are on the left:

Molecules on the leftNumber of arrangementsChance
41 (ABCD)1/16
344/16
266/16
144/16
011/16

From outside you cannot tell which molecule is which; you only see how many are on each side. Physicists call the outside description (here "two on the left") a macrostate, and each detailed arrangement (here "A and C on the left") a microstate. The even split can be made in 6 ways and is the most likely macrostate. "All on the left" can be made in only 1 way.

For NN molecules there are 2N2^N microstates, and only one of them has every molecule on the left. So the chance that all NN are in one half at a given moment is

Chance that all N particles are in one half
P=(12)NP = \left(\tfrac{1}{2}\right)^{N}
In words

P equals ( one half ) to the power N

Source: MIT 8.21 The Physics of Energy (Fall 2009), Lecture 8 slides: Thermodynamics I, Entropy and Temperature (W. Taylor), slide 8 (ΔS = N k_B ln 2 when a gas spreads from one half into the whole box, so the number of states grows by 2^N; the chance (1/2)^N that all N are in one half follows from that)

The numbers fall off astonishingly fast:

NN(1/2)N(1/2)^N
10.5
40.0625
109.8×10−49.8 \times 10^{-4}, about 1 in 1000
1007.9×10−317.9 \times 10^{-31}

A litre of air at 20 ∘C20\ {}^{\circ}\text{C} holds about 2.5×10222.5 \times 10^{22} molecules (from the ideal gas law, lesson 4.3). For them, "all in one half" is so unlikely that it would never be seen in many lifetimes of the universe. That is why gases mix and do not un-mix. The mixed state is not forced by any special force; it is simply made of overwhelmingly more microstates than the sorted state, and random motion carries the molecules into the most likely macrostate and keeps them there.

Entropy#

Entropy, symbol SS, turns this counting into a physical quantity. If a macrostate can be made in Ω\Omega ways (the Greek capital omega), its entropy is

Entropy as a count of microstates (Boltzmann)
S=kBln⁡ΩS = k_B \ln \Omega
In words

S equals k B log capital omega

Source: MIT 8.044 Statistical Physics I (Spring 2013), Lecture 8 slides: Entropy, Temperature and the Second Law (T. Greytak), slide 2: S ≡ k ln Ω, a logarithmic measure of the number of microscopic states; slide 7: the total entropy of an isolated system always increases or, at equilibrium, stays constant; slide 8: dS = đQ/T for a system in equilibrium with a bath, slide 2 (S ≡ k ln Ω, a logarithmic measure of the number of microscopic states behind a macroscopic state); also slide 7 of the main source

Here kB=1.38×10−23 J/Kk_B = 1.38 \times 10^{-23}\ \text{J/K} is Boltzmann's constant from lesson 4.3, so entropy is measured in joules per kelvin, J/K\text{J/K}. The natural logarithm ln⁡\ln (lesson 0.9) keeps the numbers manageable: Ω\Omega for a real gas is unimaginably large, but its logarithm is a number we can work with. The logarithm also makes entropy add up: if two systems have Ω1\Omega_1 and Ω2\Omega_2 microstates, together they have Ω1Ω2\Omega_1 \Omega_2, and ln⁡(Ω1Ω2)=ln⁡Ω1+ln⁡Ω2\ln(\Omega_1\Omega_2) = \ln \Omega_1 + \ln \Omega_2.

You do not need to calculate with this formula at this level, but one example shows how it works. Let a gas spread from one half of a box into the whole box. Each molecule now has twice as many places to be, so Ω\Omega grows by a factor 2N2^N and the entropy grows by ΔS=kBln⁡2N=NkBln⁡2\Delta S = k_B \ln 2^N = N k_B \ln 2 (MIT 8.21 Lecture 8, slide 8). For one mole, N=6.02×1023N = 6.02 \times 10^{23}, that is 6.02×1023×1.38×10−23×0.693=5.76 J/K6.02 \times 10^{23} \times 1.38 \times 10^{-23} \times 0.693 = 5.76\ \text{J/K}.

Now the second law can be said with entropy. An isolated system (one that exchanges no energy or matter with its surroundings) moves at random from microstate to microstate, and so ends up, with near certainty, in the macrostate with the most microstates:

The second law with entropy (isolated system)
ΔS≥0\Delta S \geq 0
In words

capital delta S is greater than or equal to 0

Source: MIT 8.044 Statistical Physics I (Spring 2013), Lecture 8 slides: Entropy, Temperature and the Second Law (T. Greytak), slide 2: S ≡ k ln Ω, a logarithmic measure of the number of microscopic states; slide 7: the total entropy of an isolated system always increases or, at equilibrium, stays constant; slide 8: dS = đQ/T for a system in equilibrium with a bath, slide 7: the total entropy of an isolated system always increases or, at equilibrium, remains constant

The total entropy of an isolated system never decreases. It grows until the system reaches equilibrium, where it is as large as it can be, and then stays constant (MIT 8.21 Lecture 8, slide 8). The entropy of one part can go down, as when water freezes in a freezer, but only if the entropy of something else goes up by at least as much.

Entropy is often called a measure of "disorder". That is a useful picture (a mixed gas looks more disordered than a sorted one), but the precise meaning is the count of microstates.

Entropy and heat: ΔS = Q/T#

Counting microstates is hard for real objects. Fortunately there is a second way to find a change in entropy, using only heat and temperature. When a small amount of heat QQ flows gently into an object at temperature TT, its entropy changes by

Entropy change from heat
ΔS=QT\Delta S = \frac{Q}{T}
In words

capital delta S equals Q over T

Source: MIT 8.044 Statistical Physics I (Spring 2013), Lecture 8 slides: Entropy, Temperature and the Second Law (T. Greytak), slide 2: S ≡ k ln Ω, a logarithmic measure of the number of microscopic states; slide 7: the total entropy of an isolated system always increases or, at equilibrium, stays constant; slide 8: dS = đQ/T for a system in equilibrium with a bath, slide 8: dS = đQ/T for a system in equilibrium with a bath (in general dS ≥ đQ/T; slide 13: equality needs a quasi-static change); NASA Glenn, Second Law, Entropy: ΔS = ΔQ/T

with TT in kelvin. QQ is positive for heat flowing in, which raises the entropy, and negative for heat flowing out. The formula holds when the temperature stays (nearly) the same while the heat flows: for a small amount of heat, for a very large object such as a lake or the air outside (called a reservoir), or during a phase change, where the temperature stays fixed (lesson 4.6).

There is a second condition: the heat must flow in gently, slowly and without stirring, friction or sudden expansion, so that the object stays close to equilibrium all the time. In general the entropy rises by at least Q/TQ/T, and only for such a slow, gentle change is it exactly Q/TQ/T (MIT 8.044 Lecture 8, slides 8 and 13; MIT 8.21 Lecture 10, slide 9). Two consequences matter later:

  • A slow change with no heat, Q=0Q = 0, leaves the entropy unchanged. A gas that expands slowly in an insulated cylinder keeps the same entropy (MIT 8.21 Lecture 9, slide 7); lesson 4.10 uses this for the expanding universe.
  • A sudden change can raise the entropy with no heat at all. The gas that rushes from one half of a box into the empty other half (the free expansion above) gains NkBln⁡2N k_B \ln 2 although no heat flows in.

Why does heat raise the entropy? Heat flowing in gives the particles more energy, and more energy can be shared out among them in more ways. Why divide by TT? A cold object has little energy to share, so the same extra joule opens up many new arrangements; a hot object already has plenty, and one more joule makes less difference. The two descriptions of entropy, counting and Q/TQ/T, give the same answer, which is shown in the university course (MIT 8.044 Lecture 8, slides 3 to 8).

Worked example

Melting ice

0.50 kg0.50\ \text{kg} of ice at 0 ∘C0\ {}^{\circ}\text{C} melts into water at 0 ∘C0\ {}^{\circ}\text{C}. The latent heat of fusion of ice is Lf=3.34×105 J/kgL_\text{f} = 3.34 \times 10^{5}\ \text{J/kg} (lesson 4.6). By how much does the entropy of the water change?

The heat

Q=mLf=0.50×3.34×105=1.67×105 JQ = m L_\text{f} = 0.50 \times 3.34 \times 10^{5} = 1.67 \times 10^{5}\ \text{J}.

The entropy change

The temperature stays at 0 ∘C=273 K0\ {}^{\circ}\text{C} = 273\ \text{K} while the ice melts, so ΔS=Q/T=1.67×105/273=612 J/K\Delta S = Q/T = 1.67 \times 10^{5}/273 = 612\ \text{J/K}.

What it means

The entropy goes up: liquid water, with molecules free to move past each other, can be arranged in far more ways than the orderly crystal of ice. Freezing the water again in a freezer lowers its entropy by the same amount, which is allowed only because the freezer gives even more entropy to the kitchen, as the last section shows.

Why heat flows from hot to cold#

Now the Clausius form of the second law follows from the entropy form. Let heat QQ pass from a hot object at ThT_h to a cold object at TcT_c, both large enough that their temperatures barely change. The hot object loses entropy Q/ThQ/T_h and the cold one gains Q/TcQ/T_c (NASA Glenn, Second Law, Entropy):

Total entropy change when heat flows from hot to cold
ΔStotal=−QTh+QTc\Delta S_\text{total} = -\frac{Q}{T_h} + \frac{Q}{T_c}
In words

capital delta S total equals minus Q over T h plus Q over T c

Source: NASA Glenn Research Center, Beginner's Guide to Aeronautics: Second Law, Entropy (read 2026-11-21), heat flowing from cold to hot would not break the first law but is never seen; Clausius, Kelvin and Carnot each stated a form of the second law; ΔS = ΔQ/T; for heat Q passing from a hot object to a cold one, ΔS = −Q/T_h + Q/T_c > 0, the hot and cold objects: ΔS_h = −Q/T_h, ΔS_c = Q/T_c, and their sum is positive

Because TcT_c is smaller than ThT_h, the same QQ divided by the smaller temperature gives the larger number. The cold object gains more entropy than the hot one loses, so the total goes up, as the second law allows. Run it the other way, heat from cold to hot, and both signs flip: the total entropy would go down, which the second law forbids. That is the whole reason heat flows only from hot to cold.

Worked example

Two blocks, two directions

1200 J1200\ \text{J} of heat flows from a large block at 400 K400\ \text{K} to a large block at 300 K300\ \text{K}. Find the change in the total entropy. What would it be if the same heat flowed the other way?

Hot block

It loses heat: ΔSh=−1200/400=−3.0 J/K\Delta S_h = -1200/400 = -3.0\ \text{J/K}.

Cold block

It gains heat: ΔSc=+1200/300=+4.0 J/K\Delta S_c = +1200/300 = +4.0\ \text{J/K}.

Total

ΔStotal=−3.0+4.0=+1.0 J/K\Delta S_\text{total} = -3.0 + 4.0 = +1.0\ \text{J/K}: the entropy rises, so this process can happen. The other way round the total would be −1.0 J/K-1.0\ \text{J/K}, a decrease, so heat never flows from the 300 K300\ \text{K} block to the 400 K400\ \text{K} block by itself.

Heat engines#

A heat engine is any machine that turns heat into work over and over again: a steam turbine in a power station, a car engine, a jet engine. Each one takes a working substance, usually a gas or steam, round a closed cycle, so that it ends each cycle in the same state as it started (MIT 8.044 Lecture 11, slide 8). In each cycle:

  1. it takes heat QhQ_h from a hot reservoir (burning fuel, or steam from a boiler);
  2. it does work WW, for example by pushing a piston or spinning a turbine;
  3. it gives the remaining heat QcQ_c to a cold reservoir (the cooling water, the air).

In this lesson QhQ_h, QcQ_c and WW are all positive amounts, and WW is the work the engine does, not the work done on the gas as in lesson 4.8. After a full cycle the working substance is back where it began, so its internal energy has not changed, and energy conservation gives

Energy balance of a heat engine (one cycle)
W=Qh−QcW = Q_h - Q_c
In words

W equals Q h minus Q c

Source: MIT 8.044 Statistical Physics I (Spring 2013), Lecture 11 slides: Heat Engines and Carnot Cycles (T. Greytak), slide 8: a heat engine takes a substance round a closed cycle, efficiency = work out / heat in; slide 10: W_out = |Q_H| − |Q_C|, η = 1 − |Q_C|/|Q_H|; slide 12: for a Carnot cycle |Q_C|/|Q_H| ≥ T_C/T_H, so η ≤ 1 − T_C/T_H; slide 14: the same limit for any engine cycle, slide 10 (W_out = |Q_H| − |Q_C|), with ΔU = 0 over a closed cycle from slide 9; also reading 1, slide 2

The efficiency η\eta is, as in lesson 3.5, the useful energy out divided by the energy in. The useful output is the work and the input is the heat from the hot reservoir:

Efficiency of a heat engine
η=WQh=1−QcQh\eta = \frac{W}{Q_h} = 1 - \frac{Q_c}{Q_h}
In words

eta equals W over Q h equals 1 minus Q c over Q h

Source: MIT 8.044 Statistical Physics I (Spring 2013), Lecture 11 slides: Heat Engines and Carnot Cycles (T. Greytak), slide 8: a heat engine takes a substance round a closed cycle, efficiency = work out / heat in; slide 10: W_out = |Q_H| − |Q_C|, η = 1 − |Q_C|/|Q_H|; slide 12: for a Carnot cycle |Q_C|/|Q_H| ≥ T_C/T_H, so η ≤ 1 − T_C/T_H; slide 14: the same limit for any engine cycle, slide 8 (efficiency = work out / heat in) and slide 10 (η = 1 − |Q_C|/|Q_H|)

Why not simply make QcQ_c zero and turn all the heat into work? Because of entropy. Taking QhQ_h from the hot reservoir lowers its entropy by Qh/ThQ_h/T_h. The engine itself ends each cycle where it started, so its own entropy has not changed. Work carries no entropy. The only way to make the total entropy go up (or at least not go down) is to give some heat to the cold reservoir: its entropy rises by Qc/TcQ_c/T_c, and the second law needs Qc/Tc≥Qh/ThQ_c/T_c \geq Q_h/T_h (MIT 8.21 Lecture 8, slide 11). Every heat engine must throw some heat away. This is the second law in the form associated with Kelvin: no engine working in a cycle can turn heat from one reservoir completely into work.

Worked example

An engine's energy flows

In each cycle an engine takes 2000 J2000\ \text{J} of heat from its hot reservoir and does 700 J700\ \text{J} of work. How much heat does it give to the cold reservoir, and what is its efficiency?

Heat given out

Qc=Qh−W=2000−700=1300 JQ_c = Q_h - W = 2000 - 700 = 1300\ \text{J}.

Efficiency

η=W/Qh=700/2000=0.35\eta = W/Q_h = 700/2000 = 0.35, or 35%. Check: 1−Qc/Qh=1−1300/2000=0.351 - Q_c/Q_h = 1 - 1300/2000 = 0.35.

The Carnot limit#

How small can QcQ_c be? The smallest amount the second law allows is when the total entropy stays exactly constant, Qc/Tc=Qh/ThQ_c/T_c = Q_h/T_h, so Qc/Qh=Tc/ThQ_c/Q_h = T_c/T_h. Putting that into the efficiency gives the largest efficiency any heat engine can have, named after Sadi Carnot:

Carnot limit for a heat engine
ηmax=1−TcTh\eta_\text{max} = 1 - \frac{T_c}{T_h}
In words

eta max equals 1 minus T c over T h

Source: MIT 8.21 The Physics of Energy (Fall 2009), Lecture 8 slides: Thermodynamics I, Entropy and Temperature (W. Taylor), slide 11 (η = (T₊ − T₋)/T₊ from Q_in = T₊ΔS and Q_out ≥ T₋ΔS); reading 4, slides 12 and 14 (η ≤ 1 − T_C/T_H for any cycle)

Both temperatures must be in kelvin. The limit depends only on the two temperatures, not on how cleverly the engine is built or what the working substance is. To reach it, every step would have to be reversible, with heat flowing across only tiny temperature differences, so the engine would have to run very slowly (MIT 8.21 Lecture 9, slide 6). Real engines therefore stay well below it. To raise the limit you need a hotter hot side or a colder cold side.

The highest possible efficiency of a heat engine, in percent, against the temperature of its hot reservoir, computed from ηmax=1−Tc/Th\eta_\text{max} = 1 - T_c/T_h. The slider sets the cold side. With Tc=300T_c = 300 K, a hot side of 600 K allows 50%, 800 K allows 62.5% and 2300 K allows 87%; the curve rises steeply at first and then levels off, and never reaches 100%.
Worked example

A power station

A coal-fired power station makes steam at about 800 K800\ \text{K}, and its cooling water is at about 300 K300\ \text{K}. (a) What is its Carnot limit? (b) In practice such stations reach about 40% (MIT 8.21 Lecture 8, slide 12). For an electrical output of 1.0 GW1.0\ \text{GW}, how much heat must the fuel supply each second, and how much goes into the cooling water?

(a) The limit

ηmax=1−300/800=0.625\eta_\text{max} = 1 - 300/800 = 0.625, or 62.5%. Even a perfect engine would have to throw away 37.5% of the heat.

(b) The real station

The heat supplied per second is 1.0/0.40=2.5 GW1.0/0.40 = 2.5\ \text{GW}, so the heat given to the cooling water is 2.5−1.0=1.5 GW2.5 - 1.0 = 1.5\ \text{GW} (lesson 3.5: a watt is a joule per second). The station dumps more energy into its river or cooling towers than it sends out as electricity.

A car engine has much hotter gases inside, about 2300 K2300\ \text{K} when the fuel burns, so its Carnot limit with 300 K300\ \text{K} outside air is 1−300/2300=0.871 - 300/2300 = 0.87, or 87%. A real petrol engine reaches only about 25% (MIT 8.21 Lecture 8, slide 12): its gases do not stay at the top temperature, heat leaks through the cylinder walls, and the hot exhaust leaves the engine long before it has cooled to 300 K300\ \text{K}.

Refrigerators and heat pumps#

Run a heat engine backwards and you get a refrigerator or a heat pump: put work WW in, take heat QcQ_c from a cold place, and deliver heat QhQ_h to a warm place (MIT 8.21 Lecture 10, slides 5 and 30). Energy conservation now reads

Energy balance of a refrigerator or heat pump
Qh=Qc+WQ_h = Q_c + W
In words

Q h equals Q c plus W

Source: MIT 8.21 The Physics of Energy (Fall 2009), Lecture 10 slides: Phase Change Energy Conversion I (refrigeration and heat pumps), slide 5: heat pumps use work to move heat from a cold environment to a warm one, on the same principle as a refrigerator; slide 8: around a cycle Q_H = Q_L + W; slide 12: coefficients of performance; slide 30: an engine run backwards is a refrigerator or a heat pump (text only: the images on these slides are not used), slide 11 (Q_H = Q_L + W for a heat-extraction device; also slide 8)

A refrigerator's job is to take heat out of its cold inside; a heat pump's job is to deliver heat into a warm house, taking it from the colder air or ground outside (reading 2, slide 5). Both move heat from cold to hot, which the second law forbids by itself. The work is what makes it possible: it adds to the heat delivered to the warm side, so that the warm side gains enough entropy to make up for what the cold side loses.

Worked example

Why a fridge needs a plug

A freezer compartment at 268 K268\ \text{K} (−5 ∘C-5\ {}^{\circ}\text{C}) stands in a kitchen at 298 K298\ \text{K} (25 ∘C25\ {}^{\circ}\text{C}). The fridge removes 1500 J1500\ \text{J} of heat from the freezer. (a) If it did this with no work, so that the kitchen received just 1500 J1500\ \text{J}, what would the change in total entropy be? (b) What is the least work the fridge needs?

(a) No work

ΔS=−1500/268+1500/298=−5.597+5.034=−0.56 J/K\Delta S = -1500/268 + 1500/298 = -5.597 + 5.034 = -0.56\ \text{J/K}. The total entropy would decrease, so this is impossible: it is heat flowing by itself from cold to hot.

(b) The least work

The kitchen must gain at least as much entropy as the freezer loses: Qh/298≥1500/268Q_h/298 \geq 1500/268, so Qh≥1500×298/268=1668 JQ_h \geq 1500 \times 298/268 = 1668\ \text{J}. The extra energy comes from the work, W=Qh−Qc≥1668−1500=168 JW = Q_h - Q_c \geq 1668 - 1500 = 168\ \text{J}.

In practice

A real fridge needs several times this minimum, but the idea holds: the electricity does not "make cold"; it pays for moving heat uphill, and the kitchen gets slightly warmer than if the fridge were off.

A heat pump uses the same trick to heat a house. With 1.0 kJ1.0\ \text{kJ} of electrical work it might take 2.0 kJ2.0\ \text{kJ} of heat from the cold air outside and deliver Qh=2.0+1.0=3.0 kJQ_h = 2.0 + 1.0 = 3.0\ \text{kJ} into the house: three times as much heat as an electric heater gives for the same electricity (MIT 8.21 Lecture 10, slide 12, compares the heat delivered with the work put in).

Try it#

The simulation starts with a box divided by a wall. Put particles of one kind on the left and the other kind on the right (set "Number of Particles" for each side; the simulation allows 10 to 200 per side, in steps of 10), then press "Remove Divider". Watch the two kinds spread into each other; tick "Center of Mass" to follow where each kind is on average. Wait as long as you like: do the two kinds ever sort themselves back into their own halves?

Compare the fewest particles the simulation allows, 10 of each, with the most, 200 of each. With 10, the number of one kind on the "wrong" side jumps about a lot from moment to moment, and the centre of mass wanders. With 200 it hardly changes. Even with only 10, all of one kind back on their own side at a given moment has a chance of (1/2)10(1/2)^{10}, about 1 in 1000, so you would have to look about a thousand times to catch it once. With 200 it is hopeless. That is the (1/2)N(1/2)^N rule at work.

Diffusion. Simulation by PhET Interactive Simulations, University of Colorado Boulder, licensed under CC BY-NC 4.0 (https://phet.colorado.edu). Open full screen

Summary#

  • Many processes run one way only: heat flows from hot to cold, gases mix and do not un-mix, motion turns into thermal energy. They do not break energy conservation when reversed; the second law of thermodynamics forbids the reverse.
  • Second law (Clausius): heat does not flow by itself from a colder object to a hotter one.
  • Entropy SS measures the number of microstates Ω\Omega behind a macrostate, S=kBln⁡ΩS = k_B \ln \Omega, in J/K\text{J/K}. The chance that all NN randomly moving particles are in one half of a box is (1/2)N(1/2)^N, so a mixed state is overwhelmingly more likely than a sorted one.
  • The total entropy of an isolated system never decreases: ΔS≥0\Delta S \geq 0.
  • Heat QQ flowing into an object at temperature TT changes its entropy by ΔS=Q/T\Delta S = Q/T. When heat flows from hot to cold the cold side gains more entropy than the hot side loses, so the total rises.
  • A heat engine takes QhQ_h from a hot reservoir, does work W=Qh−QcW = Q_h - Q_c and gives QcQ_c to a cold one. Its efficiency η=W/Qh=1−Qc/Qh\eta = W/Q_h = 1 - Q_c/Q_h can never exceed the Carnot limit ηmax=1−Tc/Th\eta_\text{max} = 1 - T_c/T_h, with temperatures in kelvin: 62.5% for a power station between 800 K and 300 K, which in practice reaches about 40%.
  • A refrigerator or heat pump needs work to move heat from cold to hot: Qh=Qc+WQ_h = Q_c + W.

Symbols on this page

Show the 26 symbols used here
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
Ω\Omega capital omega.
The number of microstates: the number of ways the particles can be arranged that give the same macrostate. Say it: “capital omega”.
∘\circ degree.
Degrees of angle (as in 45°). Say it: “degrees”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
TT T.
Absolute temperature, in kelvin, of the object or reservoir while the heat flows (0 °C is 273 K). Unit: K. Say it: “T”.
mm m.
Mass of the substance that is warmed or changes state (ice, water, sweat, lemonade). Unit: kg. Say it: “m”.
PP P.
Probability (chance): the chance that all N randomly moving particles are in one half of a box at a given moment, (1/2)^N. Say it: “P”.
QQ Q.
Heat: the energy that flows into an object (negative when it flows out) because of a difference in temperature; in the ice example the heat that melts the ice, Q = mL_f. Unit: J. Say it: “Q”.
NN N.
Number of particles (atoms or molecules) in the gas. Say it: “N”.
SS S.
Entropy: a measure of the number of microstates Ω that make up a macrostate, S = k_B ln Ω; ΔS is a change in entropy, Q/T for heat Q added at temperature T. Unit: J/K. Say it: “S”.
WW W.
Work, always a positive amount here: the work a heat engine does in one cycle, or the work put into a refrigerator or heat pump. Unit: J. Say it: “W”.
kBk_{B} Boltzmann constant.
Boltzmann's constant, 1.38 × 10⁻²³ J/K: in S = k_B ln Ω it turns a count of microstates into an entropy. Unit: J/K. Say it: “k B”.
TcT_{c} kinetic energy at collapse.
Temperature of the cold reservoir or cold object, in kelvin (the cooling water, the outside air, the inside of a freezer). Unit: K. Say it: “T c”.
η\eta eta.
Efficiency: useful energy (or power) out divided by the energy (or power) put in, often given as a percentage. Say it: “eta”.
Ω1\Omega_{1} Omega 1.
The number of microstates of the first of two systems. Say it: “capital omega sub 1”.
Ω2\Omega_{2} Omega 2.
The number of microstates of the second of two systems. Say it: “capital omega sub 2”.
LfL_{f} L f.
Latent heat of fusion: the heat needed to melt 1 kg (3.34 × 10⁵ J/kg for ice); the same heat comes out on freezing. Unit: J/kg. Say it: “L final”.
StotalS_{\text{total}} S total.
Entropy of the hot and the cold object together; ΔS_total is the change in this total entropy. Unit: J/K. Say it: “S total”.
ShS_{h} S h.
Entropy of the hot object; ΔS_h is its change, negative when heat leaves it. Unit: J/K. Say it: “S h”.
ScS_{c} S c.
Entropy of the cold object; ΔS_c is its change, positive when heat flows into it. Unit: J/K. Say it: “S c”.
ThT_{h} T h.
Temperature of the hot reservoir or hot object, in kelvin (the steam, the burning fuel, the kitchen behind a fridge). Unit: K. Say it: “T h”.
QhQ_{h} Q h.
Heat exchanged with the hot side, a positive amount: taken from the hot reservoir in each cycle of a heat engine, or delivered to the warm side by a refrigerator or heat pump. Unit: J. Say it: “Q h”.
QcQ_{c} Q c.
Heat exchanged with the cold side, a positive amount: given to the cold reservoir in each cycle of a heat engine, or taken from the cold side by a refrigerator or heat pump. Unit: J. Say it: “Q c”.
ηmax\eta_{\text{max}} eta max.
The Carnot limit: the highest efficiency any heat engine working between T_h and T_c can have, 1 − T_c/T_h. Say it: “eta max”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 28 words used here

New here

entropy.
A measure of how many microscopic arrangements of a system match its large-scale state; it never decreases in an isolated system.

Also used

conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
kinetic energy.
The energy a body has because it is moving. Explained in Kinetic energy and the work–energy theorem.
irreversible.
Of a process: impossible to run backwards so that everything returns to how it was, because energy has spread out as heat. Explained in Conservation of energy.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
joule.
The SI unit of energy and work: the work done by a force of one newton acting over one metre. Explained in Work.
natural logarithm.
The logarithm to base e, about 2.718, written ln x: the power to which e must be raised to give x. Explained in Exponentials and logarithms.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.
isolated system.
A system cut off from outside influence: no outside force acts on it, and no energy or matter goes in or out. Explained in Conservation of momentum.
equilibrium.
A state that does not change by itself, because the influences acting on it balance. Explained in Newton's first law: inertia.
latent heat.
The heat absorbed or given out when a substance changes phase, such as melting or boiling, at a fixed temperature. Explained in Phase changes and latent heat.
fusion.
The joining of light nuclei, such as hydrogen, into a heavier one, which releases energy; it powers the Sun. Explained in Binding energy, fission and fusion.
heat engine.
A device that takes a working substance round a repeated cycle, taking in heat at a high temperature and turning part of it into work. Explained in The first law of thermodynamics.
spin.
The built-in angular momentum of a particle such as an electron, which it has even at rest: a whole or half-whole multiple of ħ. Explained in Central potentials and angular momentum.
internal energy.
The total energy held inside a system, in the motion and interactions of its particles, not counting the motion of the system as a whole. Explained in Temperature and thermal energy.
reversible.
Of a change in a system: slow and gentle enough that it could be run backwards, leaving no trace, with no increase of total entropy. Explained in Statistical ensembles: counting states for spins and the ideal gas.
watt.
The SI unit of power: one joule of energy each second. Explained in Power.
centre of mass.
The mass-weighted average position of a body or system: the point that moves as if all the mass and all outside forces were there. Explained in Torque and balance.
thermal equilibrium.
A state in which energy is shared out evenly and nothing changes on average, so the system can be described by a single temperature. Explained in Temperature and thermal energy.
inflation.
A proposed burst of enormously fast expansion in the first tiny fraction of a second, which made the universe smooth and flat. Explained in Inflation.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.

Academic

falls off.
Decreases as something grows, usually with distance.
in practice.
In reality, as things are actually done or measured, rather than in theory.
open question.
A question nobody has yet answered.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. Which statement is the second law of thermodynamics?
  2. 600 J600\ \text{J} of heat flows from a large block at 500 K500\ \text{K} to a large block at 300 K300\ \text{K}; neither temperature changes noticeably. What is the change in the total entropy?
  3. What is the highest possible efficiency of a heat engine working between steam at 527 ∘C527\ {}^{\circ}\text{C} and cooling water at 27 ∘C27\ {}^{\circ}\text{C}?
  4. Four gas molecules move about at random in a box. What is the chance that at a given moment all four are in the left half?
  5. In each cycle an engine takes 5000 J5000\ \text{J} of heat from a hot reservoir and gives 3500 J3500\ \text{J} to a cold one. How much work does it do per cycle, and what is its efficiency?
0 of 5 answered

Flashcards

1 / 6