---
title: Heat engines, refrigerators and the Carnot limit
heading: The price of moving heat, and of erasing a bit
eyebrow: B11 · Lesson 27 · Heat engines, refrigerators and the Carnot limit
xp: 50
---

::: hook
A refrigerator moves heat from cold to hot, against its natural direction, and pays for it in work. The second law sets the minimum price, and it rises steeply as the cold side gets colder: keeping a superconducting chip at 4 K means removing every watt it dissipates with at least 70 W of work at room temperature, and real cryocoolers need ten times that. The same accounting limits power plants, heat pumps and, in the end, computation itself: erasing one bit of information must dump at least kT ln 2 of heat.
:::

::: play
- The curve is the minimum work needed to pump one watt of heat out of a cold space at temperature $T_c$ and reject it at $T_h$, on log scales: $\frac{T_h - T_c}{T_c}$.
- At 77 K (liquid nitrogen) it's about 3 W per watt; at 4 K (liquid helium, superconducting electronics) about 70; at the 20 mK of a qubit's mixing chamber, 15,000.
- Real machines reach only a fraction of the Carnot limit, a smaller fraction the colder they go. That's why cryogenic computing is budgeted in microwatts at the coldest stage.
:::
:::

```sim plot
view: graph
x: c = 0.01..300 K log
y: w = 0.001..100000 log
slider: h = 250..350 step 5 = 300 K
plot: (h - c)/c | label: minimum work per watt removed
readout: at 77 K = (h - 77)/77
readout: at 4.2 K = (h - 4.2)/4.2
readout: at 20 mK = (h - 0.02)/0.02
```

::: predict
## A computer erases a bit of memory at room temperature. What's the least heat the erasure must release?

- [ ] Zero; it's just information
- [x] kT ln 2, about 3 × 10⁻²¹ J
- [ ] One eV
- [ ] Whatever the transistors happen to dissipate

::: reveal
Erasing a bit takes a memory from two possible states to one, lowering its entropy by k ln 2. The second law requires at least that much entropy to go to the surroundings as heat, $kT\ln 2$ = 2.9 × 10⁻²¹ J at 300 K (Landauer's principle, measured directly in 2012). Today's logic dissipates around 10⁻¹⁵ J per operation, still about a million times more.
:::
:::

::: nameit
## Engines

An engine takes heat $Q_h$ from a reservoir at $T_h$, does work W, and rejects $Q_c = Q_h - W$ at $T_c$. The entropy it removes from the hot reservoir, $Q_h/T_h$, must at least be delivered to the cold one, $Q_c/T_c$, so

$$\eta = \frac{W}{Q_h} \le 1 - \frac{T_c}{T_h}$$

the **Carnot efficiency**, reached only by a reversible engine. Any shortfall shows up as entropy generated: $S_{gen} = \frac{Q_c}{T_c} - \frac{Q_h}{T_h} \ge 0$.

## Refrigerators and heat pumps

Run backward: work W pumps $Q_c$ out of the cold side and delivers $Q_h = Q_c + W$ to the hot side.

$$COP_{ref} = \frac{Q_c}{W} \le \frac{T_c}{T_h - T_c}, \qquad COP_{hp} = \frac{Q_h}{W} \le \frac{T_h}{T_h - T_c}$$

The minimum work per unit of heat removed, $\frac{T_h - T_c}{T_c}$, diverges as $T_c$ → 0. Real cryocoolers: about 25–30% of Carnot at 77 K, 1–2% at 4 K, far less at millikelvin.

## Landauer's principle

Logically irreversible operations, like erasing or overwriting a bit, reduce the entropy of the information-bearing degrees of freedom by k ln 2 per bit, so they must dissipate at least

$$E_{min} = kT\ln 2$$

per bit. Reversible logic could in principle avoid it, at the cost of keeping every intermediate result.
:::

::: example
## A superconducting circuit dissipates 1 W at 4.2 K. What's the minimum room-temperature power to remove it?

::: solution
1. **Carnot limit for a refrigerator.**
   $$\begin{aligned} W &= Q_c\frac{T_h - T_c}{T_c} \\ &= 1 \times \frac{295.8}{4.2} \\ &= 70\ \text{W} \end{aligned}$$
2. **A real refrigerator.** At a realistic 1.5% of Carnot it's about 4.7 kW.
3. **Why it matters.** That's why cryogenic systems treat every milliwatt at 4 K as precious, and why wiring is chosen for low thermal conductance.

**Answer:** at least 70 W, and about 4.7 kW in practice.
:::
:::

::: example
## What's the Landauer limit at room temperature, and at 4 K?

::: solution
1. **At room temperature.**
   $$kT\ln 2 = 2.87 \times 10^{-21}\ \text{J}$$
2. **At 4 K.**
   $$kT\ln 2 = 3.8 \times 10^{-23}\ \text{J}$$
3. **Pumping the heat out.** The heat released at 4 K must then be pumped to room temperature, at a cost of at least $\frac{296}{4}$ times as much work, so the total is
   $$\begin{aligned} kT_c\ln 2 \times \frac{T_h}{T_c} &= kT_h\ln 2 \\ &= 2.9 \times 10^{-21}\ \text{J} \end{aligned}$$
4. **Cooling doesn't help.** The total comes back to the room-temperature value, so cooling can't beat the room-temperature limit.

**Answer:** $2.87 \times 10^{-21}$ J at 300 K and $3.8 \times 10^{-23}$ J at 4 K, but pumping the heat back to room temperature brings the total back to $2.9 \times 10^{-21}$ J.
:::
:::

::: example
## A house is kept at 20 °C. Compare a resistive heater with the best possible heat pump when it's 0 °C outside and when it's −10 °C. A real heat pump reaches about 40% of the Carnot limit.

::: solution
1. **The resistive heater.** It turns each joule of electricity into one joule of heat.
2. **The best heat pump at 0 °C.** It moves heat in from outside, and its best coefficient of performance is
   $$\begin{aligned} \text{COP} &= \frac{T_h}{T_h - T_c} \\ &= \frac{293.15}{20} \\ &= 14.7 \end{aligned}$$
3. **The best heat pump at −10 °C.**
   $$\begin{aligned} \text{COP} &= \frac{293.15}{30} \\ &= 9.8 \end{aligned}$$
4. **A real heat pump.** At 40% of that, it delivers 5.9 J of heat per joule of electricity at 0 °C and 3.9 J at −10 °C.
5. **Why cold weather costs more.** Colder weather costs more twice over: the house loses heat faster, and every joule moved has to climb a larger temperature difference.

**Answer:** the heater gives 1 J of heat per joule of electricity; the best heat pump gives 14.7 J at 0 °C and 9.8 J at −10 °C, and a real one 5.9 J and 3.9 J.
:::
:::

::: check
given: H = 500 | 800 | 1200; C = 300 | 320
answer: 1 - C/H
tolerance: 0.5%

## What's the Carnot efficiency between {H} K and {C} K?

::: right
Right. $1 - T_c/T_h$ = {answer}.
:::

::: misses
- [C/H] That's the fraction rejected; efficiency is one minus it.
- [any] Not yet. $\eta \le 1 - T_c/T_h$.
:::
:::

::: check
given: c = 4.2 | 20 | 77; h = 295 | 310
answer: c/(h - c)
tolerance: 0.5%

## What's the best possible coefficient of performance for a refrigerator holding {c} K, rejecting heat at {h} K?

::: right
Right. $\frac{T_c}{T_h - T_c}$ = {answer}.
:::

::: misses
- [h/(h - c)] That's the heat pump's COP, counting the heat delivered.
- [any] Not yet. $Q_c/W$ for a reversible cycle.
:::
:::

::: check
given: Q = 0.1 | 1 | 10; c = 0.02 | 4.2 | 77; f = 0.01 | 0.3
answer: Q*(300 - c)/c/f
unit: W
tolerance: 0.5%

## A cryocooler running at {f} of the Carnot limit removes {Q} W at {c} K, rejecting at 300 K. What input power does it need?

::: right
Right. $Q\frac{T_h - T_c}{T_c}$ divided by the fraction of Carnot: {answer} W.
:::

::: misses
- [Q*(300 - c)/c] That's the ideal; divide by the fraction of Carnot it achieves.
- [any] Not yet. Carnot work per watt is $(T_h - T_c)/T_c$.
:::
:::

::: check
given: T = 0.02 | 4 | 300; r = 1e9 | 1e15
answer: 1.380649e-23*T*ln(2)*r
unit: W
tolerance: 0.5%

## At {T} K, what's the minimum power to erase {r} bits per second?

::: right
Right. $kT\ln 2$ per bit × rate = {answer} W.
:::

::: misses
- [1.380649e-23*T*r] Erasing one bit removes k ln 2 of entropy, not k.
- [any] Not yet. Landauer: kT ln 2 per bit.
:::
:::

::: check
given: H = 600 | 900; C = 300; Q = 100 | 1000; e = 0.2 | 0.3
answer: (Q - e*Q)/C - Q/H
unit: J/K
tolerance: 0.5%

## An engine between {H} K and {C} K takes {Q} J and has efficiency {e}. How much entropy does it generate?

::: right
Right. $\frac{Q_h - W}{T_c} - \frac{Q_h}{T_h}$ = {answer} J/K.
:::

::: misses
- [Q/C - Q/H] Only the rejected heat $Q_h - W$ goes to the cold side.
- [any] Not yet. Entropy into the cold reservoir minus entropy out of the hot one.
:::
:::

::: check
given: h = 295 | 320; c = 255 | 275
answer: h/(h - c)
tolerance: 0.5%

## A heat pump moves heat from outdoors at {c} K into a house at {h} K. What's its best possible COP?

::: right
Right. $\frac{T_h}{T_h - T_c}$ = {answer}: each joule of work delivers that many joules of heat.
:::

::: misses
- [c/(h - c)] That's the refrigerator COP; a heat pump counts the heat delivered.
- [any] Not yet. $Q_h/W$ for a reversible cycle.
:::
:::

::: check
kind: parts
given: H = 600 | 900; C = 300 | 320; W = 100 | 1000; f = 0.4 | 0.6

## An engine between {H} K and {C} K delivers {W} W at {f} of the Carnot efficiency.

::: part
answer: W/(f*(1 - C/H))
unit: W
tolerance: 0.5%

### How much heat does it draw from the hot side?

::: misses
- [W/(1 - C/H)] That's the Carnot engine; this one reaches only a fraction f.
- [any] $Q_h = \frac{W}{f\eta_C}$.
:::
:::

::: part
answer: W/(f*(1 - C/H)) - W
unit: W
tolerance: 0.5%

### How much heat does it reject?

::: misses
- [any] $Q_c = Q_h - W$.
:::
:::

::: part
answer: (W/(f*(1 - C/H)) - W)/C - W/(f*(1 - C/H))/H
unit: W/K
tolerance: 0.5%

### At what rate does it make entropy?

::: misses
- [any] $\frac{Q_c}{T_c} - \frac{Q_h}{T_h}$.
:::
:::
:::

::: check
kind: derivation
vars: H = 300..1500, C = 20..290

## Heat flows between a hot side at H and a cold side at C (kelvin).

::: step
answer: 1 - C/H

### What's the Carnot efficiency of an engine between them?
:::

::: step
answer: H/(H - C)

### What's the best COP of a heat pump delivering heat at H?
:::

::: step
answer: C/(H - C)

### What's the best COP of a refrigerator cooling at C?
:::

::: right
Right. The heat pump's COP is always one more than the refrigerator's, since it delivers the work as heat too.
:::
:::

::: explain
## Why does cooling get so much more expensive as the cold side approaches absolute zero?

::: model
A refrigerator has to carry entropy from the cold space to the hot surroundings. Heat Q leaving a space at $T_c$ carries entropy $Q/T_c$, which grows without bound as $T_c$ falls. To dump that much entropy at room temperature, the machine must reject heat $T_h$ times as large, $Q\frac{T_h}{T_c}$, and the difference between that and Q has to be supplied as work. So the minimum work per unit of heat removed is $\frac{T_h - T_c}{T_c}$, which grows as $1/T_c$. Real machines also become less efficient at low temperature, because materials' heat capacities and the working fluids' properties change, so the real cost rises even faster.
:::
:::

::: practice

::: check
given: H = 450 | 1500; C = 280 | 330
answer: 1 - C/H
tolerance: 0.5%

## Carnot efficiency, {H} K to {C} K?

::: misses
- [any] $1 - T_c/T_h$.
:::
:::

::: check
given: c = 1.5 | 50; h = 290 | 320
answer: c/(h - c)
tolerance: 0.5%

## Best refrigerator COP at {c} K into {h} K?

::: misses
- [any] $\frac{T_c}{T_h - T_c}$.
:::
:::

::: check
given: T = 1 | 400; r = 1e6 | 1e18
answer: 1.380649e-23*T*ln(2)*r
unit: W
tolerance: 0.5%

## Landauer power, {r} bits/s at {T} K?

::: misses
- [any] $rkT\ln 2$.
:::
:::
:::
