We want to build a device that turns heat into work. How much can be converted? Sadi Carnot (1824), at a time when steam engines were still only about 3 % efficient, derived the upper limit without any reference to what is inside the device. Here we take an ideal gas as the working substance, write down the heat and work of all four stages, and arrive at η = 1 − TC/TH. Along the way, a quantity called entropy appears of its own accord.
A heat engine is a device that returns to its original state after one cycle while delivering net work to the outside. “Returning to the original state” is the crucial point; without it, we would have just a one-time expansion. After one cycle all the state functions return to their original values, so the change in internal energy is zero.
Here QH > 0 is the heat received from the hot side and QC < 0 is the heat rejected to the cold side. Work is taken as positive when it is “work done by the gas” (first law of thermodynamics: ΔU = Q − W). The efficiency is “the fraction of the heat put in that could be turned into work,” so
We use an ideal gas as the working substance. Only the following two properties are used.
(b) is another way of saying that “the molecules exert no forces on each other.” Pulling the molecules apart does not change the potential energy, so changing the volume does not move U. On the ideal gas derivation page, this is derived from the partition function. Here we do not assume that CV is constant — we allow it to vary with temperature, and write it as throughout.
Keeping the temperature T fixed, expand the gas quasistatically from Va to Vb. By (b), ΔU = 0, so the first law gives Q = W. For a quasistatic process W = ∫PdV, which on a P–V diagram is the area under the curve (the net work summed over one full cycle is the area enclosed by the cycle, ∮PdV). Since T is constant here,
Cut off the exchange of heat (Q = 0) and expand the gas quasistatically. The first law becomes dU = −PdV, that is,
Integrate both sides. If CV is constant, this takes a familiar form, but in general it is more accurate to write it as follows.
If we set CV constant, the left-hand side becomes CV ln(T1/T2), and using γ = CP/CV = 1 + R/CV to tidy up, we get
That is the textbook form. However, γ is constant only if, over the temperature range in question, the degrees of freedom that are “awake” do not change. Cool H₂ to 80 K and rotation begins to freeze out; heat CO₂ to 1000 K and vibration wakes up. This page and the simulator use Eq. (3) as it stands, numerically, so they can handle even the temperature dependence of CV (although at very low temperatures the H₂ result is an approximation that ignores the nuclear-spin statistics of ortho- and para-hydrogen).
The Carnot cycle uses the two kinds of processes we have just prepared, alternately, twice each. Let the temperature of the hot reservoir be TH and that of the cold reservoir TC, and start from state ① (TH, V1).
| Stage | What happens | Q | W = work done by the gas | ΔU |
|---|---|---|---|---|
| ① → ② | Isothermal expansion in contact with the TH reservoir | nRTH ln(V2/V1) | same as left | 0 |
| ② → ③ | Removed from the reservoir; adiabatic expansion (TH → TC) | 0 | n[Um(TH) − Um(TC)] | −(same as left) |
| ③ → ④ | Isothermal compression in contact with the TC reservoir | nRTC ln(V4/V3) | same as left | 0 |
| ④ → ① | Removed from the reservoir; adiabatic compression (TC → TH) | 0 | −n[Um(TH) − Um(TC)] | −(same as left) |
The work in the two adiabatic stages exactly cancels. This is because the gas goes back and forth between the same two temperatures, so the change in internal energy has simply changed sign. The work taken out in the adiabatic stage is spent entirely on the next adiabatic compression and comes back. What remains is only the heat of the two isothermal stages:
To find the efficiency we need to compare the two ln terms in Eq. (4). Here we use the fact that ②→③ and ④→① are both adiabatic processes between TH and TC. Applying Eq. (3) to both (since the temperature runs the opposite way in ④→①, we flip the signs of both sides), the left-hand sides are the same integral, so
The volume ratios of the two isothermal stages are equal. This is the crux of the Carnot cycle. Whatever the form of CV(T) and whatever the gas, it holds as long as the adiabatic processes connect the same two temperatures.
The figure below plots the cycle in the coordinates in which this situation is easiest to see — ln V on the horizontal axis and ln T on the vertical axis. The isothermal stages are horizontal segments, and from Eq. (2) the adiabatic stages are lines with slope d lnT/d lnV = −R/CV. And the two adiabats are the same curve, just shifted sideways (the left-hand side of Eq. (3) is the same integral for both, so on any adiabat ln V is the same function of temperature plus a constant, and a translation in the x direction makes them coincide exactly). So the width at the top and the width at the bottom are necessarily equal — that is Eq. (5).
Fig. 1: The Carnot cycle in ln V – ln T coordinates. Because the two adiabats are congruent (they coincide under a translation), the widths at the top and bottom are always equal. Changing the gas changes the slopes of the adiabats, and on the low-temperature side of H₂ or the high-temperature side of CO₂ the lines curve because CV varies — but they remain congruent.
Put Eq. (5) into Eq. (4). Replacing V3/V4 by V2/V1, the two ln terms become the same thing.
Rewriting Eq. (4), the heat exchanged in the two isothermal stages is
Thanks to Eq. (5), this gives quantities that are exactly equal in magnitude and differ only in sign. If we draw the cycle with entropy S on the horizontal axis and temperature T on the vertical axis, so that this ΔS is the horizontal width, the Carnot cycle becomes a rectangle (isothermal = moving horizontally, adiabatic = moving vertically). For a quasistatic process Q = ∫TdS, so the area is directly the heat.
| Part of the figure | Area | Meaning |
|---|---|---|
| The whole column (height TH) | TH ΔS | Heat QH absorbed from the hot reservoir |
| The lower band (height TC) | TC ΔS | Heat |QC| rejected to the cold reservoir |
| The rectangle (height TH − TC) | (TH − TC) ΔS | Work W that can be extracted |
The efficiency is the ratio of “the upper rectangle (height TH − TC)” to “the whole column,” that is, the ratio of the vertical lengths. η = (TH − TC)/TH can be read off at a glance in the T–S diagram of tab ① of the simulator. If TC could be made zero, the lower band would vanish and η = 1, but that would require a reservoir at absolute zero, which the third law forbids.
Adding the two relations in Eq. (7) gives
This is the path Clausius took. Q itself does not return to 0 after one cycle (if it did, no work would come out). But if we divide Q by T before adding, it returns neatly to 0. A “quantity that returns to 0 after a trip around any path” is a quantity fixed by the state alone, independent of the path — that is, an infinitesimal change of a state function. So we can define
This is the entropy. Any reversible cycle can be divided into small Carnot cycles (the adjacent adiabats cancel each other), so Eq. (8) is not a property of the Carnot cycle alone but holds for every reversible cycle.
So far this has been a calculation for one particular engine that uses an ideal gas. To say that “no engine can exceed it,” one more step is needed. Carnot’s theorem asserts the following.
The proof is by contradiction. Suppose there were an engine X with efficiency ηX > ηrev. Use the work obtained by running X to drive a reversible engine in reverse (= as a refrigerator). Run in reverse, a reversible engine pumps heat up from the cold side and returns it to the hot side. Looking at the combined device of the two engines, we can adjust the scales so that the net work is exactly zero, and what remains is the result that heat has simply been pumped up from the cold reservoir and handed to the hot reservoir. This is a “device that transfers heat from low to high temperature with no other change left behind,” which contradicts Clausius’s statement. Hence ηX ≤ ηrev. As for (ii), it follows by running the same argument in both directions with two reversible engines.
It is important to see where (ii) comes into play. Since the efficiency of a reversible engine does not depend on the working substance, when computing it, we may choose the substance that is easiest to calculate with. Choosing the ideal gas gave Eq. (6). So Eq. (6) is not a formula for the ideal gas alone but a universal upper limit determined by the two temperatures alone.
From (ii), |QC|/QH of a reversible engine is a function of the two reservoirs alone. Kelvin therefore adopted this ratio itself as the definition of temperature.
This scale does not depend at all on what is inside the thermometer. It is fixed neither by how mercury expands nor by how a gas expands, but only by the ratio of quantities of heat. This is why it is called the “thermodynamic temperature.” That the ideal-gas temperature agrees with it is shown by the derivation of Eq. (6) itself. The kelvin today was fixed in the 2019 SI revision by assigning the defined value kB = 1.380649×10−23 J/K, but what lies behind the scale is this Carnot relation.
Eq. (6) is a value with the condition “if reversible.” Real engines always fall below it, for the following reasons.
| Heat engine | Approximate TH / TC | Carnot limit | Actual |
|---|---|---|---|
| Steam locomotive | 473 / 293 K | 38 % | about 8 % |
| Steam turbine power generation (supercritical) | 873 / 303 K | 65 % | about 45 % |
| Gasoline engine | 2500 / 800 K | 68 % | about 30 % |
| Combined-cycle power generation | 1600 / 300 K | 81 % | about 62 % |
If you want a higher efficiency, the only way is to raise TH — and what sets TH is usually not thermodynamics but how high a temperature the material can withstand. This is why the competition for power-plant efficiency has become a competition in heat-resistant alloys and cooling technology for turbine blades.
| Question | Answer |
|---|---|
| Why four stages? | To expand the gas and get work, and then push it back at a lower pressure. That is why it is first cooled by an adiabatic expansion |
| Why is a cold reservoir needed? | In the compression, the gas cannot return to its original state unless it dumps the heat it has received somewhere |
| Why does the efficiency not depend on the gas? | Because the two adiabats are congruent, V2/V1 = V3/V4 and the ln factors cancel (Eq. (5)) |
| Why can we call it an “upper limit”? | Because if an engine could exceed it, a device violating Clausius’s statement could be built (§9) |
| Where did entropy come from? | From the fact that Q/T returns to 0 after one cycle (Eq. (8)) |
The physical constants are the 2019 SI defined values (kB = 1.380649×10−23 J/K, h = 6.62607015×10−34 J·s, NA = 6.02214076×1023 mol−1); the spectroscopic constants are the values for the ground vibrational state (B₀ and the fundamental frequency ν₀). The adiabats do not assume a constant CV; the condition of constant entropy is solved as it stands. The efficiencies of real engines are representative published values, rounded off.