Topic 9.6

Entropy and the second law of thermodynamics

Why energy spreads out, the direction of spontaneous processes and limits on converting heating into work.

6 min read2 worked examples3 questions to check yourself

Big idea

In every process that happens by itself the total entropy of a system and its surroundings increases or, at best, stays the same, which is why heat flows from hot to cold and why no engine can turn all the heat it takes in into work.

Diagram showing a block hot reservoir, 600 K, a round object engine, a block cold reservoir, 300 K, arrow W = 300 J.hot reservoir, 600 Kenginecold reservoir, 300 KQH = 1000 JQC = 700 JW = 300 J

Energy flow in one cycle of a heat engine. It takes in 1000 J1000\ \text{J} by heating from the hot reservoir, delivers 300 J300\ \text{J} as work, and must exhaust the remaining 700 J700\ \text{J} to the cold reservoir. Its efficiency is 300/1000=0.30300/1000 = 0.30.

Explanation

The first law would allow a cold drink to get colder while the warm room gets warmer, as long as the energy balances. That never happens. The second law of thermodynamics says which energy-conserving processes actually occur, and the quantity that keeps track is entropy, SS. Entropy measures how spread out, or disordered, the energy of a system is: the more ways its particles could share the energy and still look the same from outside, the higher the entropy.

When energy QQ enters a system by heating at kelvin temperature TT, its entropy rises by ΔS=Q/T\Delta S = Q/T; when energy leaves, QQ is negative and the entropy falls. Let QQ flow from a hot object at THT_H to a cold one at TCT_C. The hot object loses entropy Q/THQ/T_H and the cold one gains Q/TCQ/T_C, which is larger because TCT_C is smaller. The total goes up. The reverse flow would make the total go down, and that is what the second law forbids: the total entropy of a system and its surroundings never decreases. One part can lose entropy, as water does when it freezes, but only if another part gains at least as much.

The same law limits heat engines. An engine takes in energy QHQ_H from a hot reservoir, does work WW, and exhausts QCQ_C to a cold reservoir, with W=QH−QCW = Q_H - Q_C in each cycle. Taking in QHQ_H removes entropy QH/THQ_H/T_H from the hot reservoir. To keep the total from falling, the engine must give the cold reservoir at least as much entropy, QC/TC≥QH/THQ_C/T_C \ge Q_H/T_H, so some exhaust is unavoidable. The efficiency, e=W/QHe = W/Q_H, can therefore never exceed 1−TC/TH1 - T_C/T_H, with both temperatures in kelvin.

Equations

  • ΔS=QT\Delta S = \frac{Q}{T}

    When energy is transferred to a system by heating at a steady temperature, its entropy changes by the energy divided by the kelvin temperature.

    ΔS\Delta S

    change in the entropy of the system (J/K)

    QQ

    energy transferred to the system by heating (negative if it leaves) (J)

    TT

    absolute temperature of the system (K)
    Use it when

    Energy enters or leaves something whose temperature stays essentially constant: a large reservoir, or a substance that is melting or boiling.

    Not when

    Not with Celsius temperatures. To judge whether a process can happen, add the changes for every part involved; one part's change alone settles nothing.

  • e=WQH=1−QCQHe = \frac{W}{Q_H} = 1 - \frac{Q_C}{Q_H}

    An engine's efficiency is the fraction of the energy it takes in by heating that comes out as work.

    ee

    efficiency, a number between 0 and 1

    WW

    net work done by the engine in one cycle (J)

    QHQ_H

    energy taken in from the hot reservoir per cycle (J)

    QCQ_C

    energy exhausted to the cold reservoir per cycle (J)
    Use it when

    Any heat engine for which you know two of QHQ_H, QCQ_C and WW; energy conservation, W=QH−QCW = Q_H - Q_C, gives the third.

    Not when

    All three are sizes here, taken as positive. The efficiency is not QC/QHQ_C/Q_H; that is the fraction wasted.

  • emax=1−TCTHe_{\text{max}} = 1 - \frac{T_C}{T_H}

    The second law's upper limit on the efficiency of any engine working between two reservoirs.

    emaxe_{\text{max}}

    largest possible efficiency

    TCT_C

    absolute temperature of the cold reservoir (K)

    THT_H

    absolute temperature of the hot reservoir (K)
    Use it when

    Testing whether a claimed engine is possible, or finding the most work that could be obtained from a given amount of heating.

    Not when

    It is a limit, not the efficiency of a real engine, and Celsius temperatures give a wrong answer.

Worked examples

  1. Entropy change as ice melts

    Step by step

    A 0.200 kg0.200\ \text{kg} ice cube at 273 K273\ \text{K} melts on a table in a room at 298 K298\ \text{K}. Melting ice takes in 3.34×105 J3.34 \times 10^5\ \text{J} for each kilogram, and the ice stays at 273 K273\ \text{K} until it has all melted. The room's temperature does not change. What is the total change in entropy of the ice and the room?

    0 of 5 steps
  2. Is this engine possible?

    Written as an exam answer

    In each cycle a heat engine takes in 5000 J5000\ \text{J} by heating from a reservoir at 450 K450\ \text{K} and exhausts 3500 J3500\ \text{J} to a reservoir at 300 K300\ \text{K}. Determine the engine's efficiency, and show that the engine is consistent with the second law of thermodynamics.

    1. Step 1:

      Energy is conserved over a cycle, so the work done is W=QH−QC=5000 J−3500 J=1500 JW = Q_H - Q_C = 5000\ \text{J} - 3500\ \text{J} = 1500\ \text{J}.

    2. Step 2:

      The efficiency is e=WQH=1500 J5000 J=0.30e = \dfrac{W}{Q_H} = \dfrac{1500\ \text{J}}{5000\ \text{J}} = 0.30.

    3. Step 3:

      The greatest efficiency the second law allows between these reservoirs is emax=1−TCTH=1−300 K450 K=0.33e_{\text{max}} = 1 - \dfrac{T_C}{T_H} = 1 - \dfrac{300\ \text{K}}{450\ \text{K}} = 0.33. The engine's 0.300.30 is below this, so it is possible.

    4. Step 4:

      The same conclusion follows from entropy. Each cycle the hot reservoir's entropy changes by −5000 J/450 K=−11.1 J/K-5000\ \text{J}/450\ \text{K} = -11.1\ \text{J/K} and the cold reservoir's by +3500 J/300 K=+11.7 J/K+3500\ \text{J}/300\ \text{K} = +11.7\ \text{J/K}. The engine returns to its starting state, so its own entropy is unchanged. The total change is about +0.6 J/K+0.6\ \text{J/K}, which is positive.

    Answer

    e=0.30e = 0.30, which is less than the limit of 0.330.33; the total entropy rises each cycle, so the engine is allowed

Common mistakes

  • Mistake

    Entropy can never decrease, so water freezing into orderly ice would break the second law.

    What is true

    The law is about the total. Freezing water gives energy to colder surroundings, whose entropy rises by more than the water's falls.

  • Mistake

    A well-enough built engine, with no friction at all, could turn all the heat it takes in into work.

    What is true

    Even a perfect engine must exhaust energy to a cold reservoir, to give back the entropy it took from the hot one. The best possible efficiency is 1−TC/TH1 - T_C/T_H, which is less than 1 for any cold reservoir above absolute zero.

  • Mistake

    An engine running between 200 °C200\ \text{°C} and 100 °C100\ \text{°C} can have an efficiency of up to 1−100/200=50%1 - 100/200 = 50\%.

    What is true

    The limit uses kelvin temperatures: 1−373/473=0.211 - 373/473 = 0.21, so 21% at the very most.

  • Mistake

    The energy an engine wastes has been used up.

    What is true

    Energy is conserved: all of it ends up in the cold reservoir or as work. What is lost is usefulness: energy at a low temperature cannot be turned into as much work.

Check yourself

  1. 1.

    A tray of water in a freezer turns to ice, and the entropy of the water decreases. Explain why this does not violate the second law.

  2. 2.

    100 J100\ \text{J} of energy flows from a reservoir at 400 K400\ \text{K} to a reservoir at 200 K200\ \text{K}. What is the total change in entropy?

  3. 3.

    An engine maker claims an engine that takes in energy from combustion gases at 800 K800\ \text{K}, exhausts to the air at 300 K300\ \text{K}, and turns 70% of the energy it takes in into work. Should you believe the claim?

Try it

The best engine the second law allows, taking 1200 J1200\ \text{J} per cycle from a reservoir at 600 K600\ \text{K}. Change the temperature of the cold reservoir. The colder it is, the less energy has to be exhausted and the more comes out as work, but the exhaust never reaches zero.

300 K
Diagram showing a block hot reservoir, 600 K, a round object engine, a block cold reservoir, 300 K, arrow W = 600 J.hot reservoir, 600 Kenginecold reservoir, 300 KQH = 1200 JQC = 600 JW = 600 J

Builds on

Practice 9.6 with feedback

Problem sets for Unit 9 grade themselves, and Raise hints at the next step instead of giving the answer.

Spotted a mistake in this lesson? Tell us and we will fix it.