Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

4.2. Carnot Cycle

See also: Course-wide Conventions & Notation

Run the code: Notebook for Section 4.2, in which you can change and rerun the Python cells of this section in your browser.

Overview and Learning Objectives

The Carnot cycle is a fully reversible heat-engine cycle that sets the maximum efficiency any engine can achieve between two reservoir temperatures. Using the entropy definition dS=δqrev/TdS=\delta q_{\mathrm{rev}}/T, the cycle relates heat flows to temperature and establishes ηCarnot=1−Tcold/Thot\eta_{\mathrm{Carnot}}=1-T_{\mathrm{cold}}/T_{\mathrm{hot}}. The same reasoning yields a second-law statement about the direction of spontaneous heat flow.

This section connects entropy to the performance limits of heat engines using the Carnot cycle. It develops four linked ideas:

  1. Entropy and reversible heat. From Section 4.1, the differential definition of entropy for a reversible path is

    dS=δqrevT.dS = \frac{\delta q_{\mathrm{rev}}}{T}.

    Entropy change tracks how much reversible heat flows at a given temperature.

  2. The Carnot cycle as a “best possible” engine. A Carnot engine is an idealized, fully reversible cycle operating between two thermal reservoirs: a hot reservoir at temperature ThotT_{\mathrm{hot}} and a cold reservoir at TcoldT_{\mathrm{cold}}. The cycle consists of two reversible isotherms and two reversible adiabats.

  3. Maximum efficiency for converting heat to work. For any engine operating between the same two reservoir temperatures, the Carnot engine has the maximum possible efficiency:

    ηCarnot=1−TcoldThot.\eta_{\mathrm{Carnot}} = 1 - \frac{T_{\mathrm{cold}}}{T_{\mathrm{hot}}}.
  4. Second law as the direction of heat flow. A two-body argument shows that spontaneous heat flow must go from higher temperature to lower temperature, because the total entropy of an isolated system must not decrease.

Throughout, we use the standard Carnot labeling A→B→C→D→AA \to B \to C \to D \to A:


Learning objectives:

Core Ideas and Derivations

The Cycle

Figure 4.2.1 plots the Carnot cycle on a pressure–volume (PP–VV) diagram for one mole of a monatomic ideal gas between reservoirs at 500 K500\ \mathrm{K} and 300 K300\ \mathrm{K}, the temperatures of the Worked Example below. The key geometric features are:

Source
Loading...

Figure 4.2.1:The Carnot cycle for one mole of a monatomic ideal gas between Thot=500 KT_{\mathrm{hot}} = 500\ \mathrm{K} and Tcold=300 KT_{\mathrm{cold}} = 300\ \mathrm{K}. The arrows on the curves give the direction of each step. Heat enters the system on the hot isotherm and leaves it on the cold isotherm. The adiabats, which are steeper than the isotherms, exchange no heat. The thin lines continue the two isotherms beyond the cycle.

Step-by-Step Thermodynamic Description

StepProcess typeThermal contactHeat qqEntropy change ΔS\Delta SQualitative work
A→BA\to BReversible isothermal expansion at ThotT_{\mathrm{hot}}Hot reservoirqAB>0q_{AB} > 0ΔSAB=qAB/Thot\Delta S_{AB} = q_{AB}/T_{\mathrm{hot}}System does work on surroundings (wAB<0w_{AB} < 0)
B→CB\to CReversible adiabatic expansionInsulatedqBC=0q_{BC}=0ΔSBC=0\Delta S_{BC}=0System does work; temperature drops (wBC<0w_{BC} < 0)
C→DC\to DReversible isothermal compression at TcoldT_{\mathrm{cold}}Cold reservoirqCD<0q_{CD} < 0ΔSCD=qCD/Tcold\Delta S_{CD} = q_{CD}/T_{\mathrm{cold}}Surroundings do work on system (wCD>0w_{CD} > 0)
D→AD\to AReversible adiabatic compressionInsulatedqDA=0q_{DA}=0ΔSDA=0\Delta S_{DA}=0Surroundings do work on system; TT rises (wDA>0w_{DA} > 0)

Two quick consequences:


How to Operate a Carnot Engine

The Carnot cycle can be realized conceptually with a gas-filled cylinder, a piston loaded with weights, and two thermal reservoirs. The core idea: you alternate between (i) placing the gas in contact with a thermal reservoir so it can exchange heat reversibly at a fixed temperature (isotherms), and (ii) insulating the gas so it cannot exchange heat (adiabats).

  1. A→BA\to B: isothermal expansion at ThotT_{\mathrm{hot}} Put the cylinder in contact with the hot reservoir. Remove weights slowly so the piston rises quasi-statically. The system absorbs heat qABq_{AB} from the hot reservoir to keep TT constant, while doing work on the weights.

  2. B→CB\to C: adiabatic expansion (insulated) Remove the thermal contact and insulate the cylinder. Continue removing weights slowly so the piston rises. No heat flows (q=0q=0), so the work done by the gas comes from its internal energy, and the temperature drops from ThotT_{\mathrm{hot}} to TcoldT_{\mathrm{cold}}.

  3. C→DC\to D: isothermal compression at TcoldT_{\mathrm{cold}} Put the cylinder in contact with the cold reservoir. Add weights slowly so the piston lowers. The surroundings do work on the gas, and the gas releases heat qCDq_{CD} to the cold reservoir to keep TT constant.

  4. D→AD\to A: adiabatic compression (insulated) Insulate the cylinder again and keep adding weights slowly to compress the gas. With no heat exchange, the work done on the gas increases its internal energy and raises the temperature back to ThotT_{\mathrm{hot}}, returning to state AA.

Figure 4.2.2 illustrates each step, showing the thermal contact, the position of the piston, and the flows of energy.

Source
Loading...

Figure 4.2.2:Schematic of the four steps of the Carnot cycle (not to scale). Each panel shows the thermal contact during the step and the piston at the end of the step. The dashed line is the position of the piston at the start of the step. The number of weights on the piston stands for the pressure of the gas. Heat is exchanged only in the isothermal steps, (a) and (c), and the adiabatic steps, (b) and (d), are insulated. Work is exchanged in all four steps.


Maximum Efficiency of Converting Heat to Work (Carnot Efficiency)

We define the heat quantities on the two isothermal legs from the system’s perspective, following the course sign convention (q>0q > 0 when heat is absorbed by the system):

For one complete cycle, ΔUcycle=0\Delta U_{\mathrm{cycle}} = 0 (state function returns to its initial value), so the First Law gives

0=(qAB+qCD)+wcycle,0 = (q_{AB} + q_{CD}) + w_{\mathrm{cycle}},

where wcyclew_{\mathrm{cycle}} is the total work over the cycle in the course convention (w>0w > 0 when work is done on the system). Since the engine does net work on the surroundings, wcycle<0w_{\mathrm{cycle}} < 0, and the net work output is

Wout≡−wcycle=qAB+qCD.W_{\mathrm{out}} \equiv -w_{\mathrm{cycle}} = q_{AB} + q_{CD}.

The thermal efficiency is defined as the fraction of absorbed heat converted to useful work output:

η=WoutqAB=qAB+qCDqAB.\eta = \frac{W_{\mathrm{out}}}{q_{AB}} = \frac{q_{AB} + q_{CD}}{q_{AB}}.

Figure 4.2.3 shows the three energies of this definition for one cycle.

Source
Loading...

Figure 4.2.3:Energy flow through a Carnot engine in one cycle. The widths of the three streams are drawn to scale for the engine of the Worked Example below, which runs between Thot=500 KT_{\mathrm{hot}} = 500\ \mathrm{K} and Tcold=300 KT_{\mathrm{cold}} = 300\ \mathrm{K}. Of every 1000 J1000\ \mathrm{J} of heat that the engine absorbs from the hot reservoir, 400 J400\ \mathrm{J} leaves as net work and 600 J600\ \mathrm{J} leaves as heat to the cold reservoir. Because ΔUcycle=0\Delta U_{\mathrm{cycle}} = 0, the width of the stream that enters equals the sum of the widths of the two streams that leave.

Now use the entropy definition on the isotherms:

ΔSAB=qABThot,ΔSCD=qCDTcold.\Delta S_{AB} = \frac{q_{AB}}{T_{\mathrm{hot}}},\qquad \Delta S_{CD} = \frac{q_{CD}}{T_{\mathrm{cold}}}.

Because the full reversible cycle returns the system to its initial state,

ΔScycle=ΔSAB+ΔSCD=0⇒ΔSCD=−ΔSAB.\Delta S_{\mathrm{cycle}} = \Delta S_{AB} + \Delta S_{CD} = 0 \quad\Rightarrow\quad \Delta S_{CD} = -\Delta S_{AB}.

Substitute qAB=Thot ΔSABq_{AB} = T_{\mathrm{hot}}\,\Delta S_{AB} and qCD=Tcold ΔSCD=−Tcold ΔSABq_{CD} = T_{\mathrm{cold}}\,\Delta S_{CD} = -T_{\mathrm{cold}}\,\Delta S_{AB} into the efficiency:

η=ThotΔSAB−TcoldΔSABThotΔSAB=1−TcoldThot.\eta = \frac{T_{\mathrm{hot}}\Delta S_{AB} - T_{\mathrm{cold}}\Delta S_{AB}}{T_{\mathrm{hot}}\Delta S_{AB}} = 1 - \frac{T_{\mathrm{cold}}}{T_{\mathrm{hot}}}.

Interpretation: the maximum possible fraction of hot-reservoir heat that can be converted to work depends only on the two reservoir temperatures.

The derivation above gives the efficiency of a fully reversible cycle. Section 4.3 uses the Clausius inequality to show that no engine operating between the same two reservoirs can have a higher efficiency.


The Second Law: Entropy and the Direction of Heat Flow

We can use the fundamental relation from Section 4.1 to derive the direction of spontaneous heat flow. Consider a simple composite system:

Because the composite A+BA+B is isolated,

dUA+dUB=0⇒dUB=−dUA.dU_A + dU_B = 0 \quad\Rightarrow\quad dU_B = -dU_A.

Entropy is extensive, so the total entropy is

S=SA+SB⇒dS=dSA+dSB.S = S_A + S_B \quad\Rightarrow\quad dS = dS_A + dS_B.

At fixed volume, the fundamental relation dU=T dS−P dVdU = T\,dS - P\,dV reduces to dU=T dSdU = T\,dS. The relation applies to each subsystem even though the exchange of heat between them is irreversible, because it contains only state functions (Section 4.1). Therefore

dSA=dUATA,dSB=dUBTB.dS_A = \frac{dU_A}{T_A},\qquad dS_B = \frac{dU_B}{T_B}.

So the total entropy change is

dS=dUATA+dUBTB=dUATA−dUATB=dUA(1TA−1TB).dS = \frac{dU_A}{T_A} + \frac{dU_B}{T_B} = \frac{dU_A}{T_A} - \frac{dU_A}{T_B} = dU_A\left(\frac{1}{T_A} - \frac{1}{T_B}\right).

Second-law statement for an isolated system: spontaneous change requires dS≥0dS \ge 0, with equality for a reversible (equilibrium) exchange.

Now suppose TA>TBT_A > T_B (AA is hotter than BB). Then 1TA−1TB<0\tfrac{1}{T_A} - \tfrac{1}{T_B} < 0. To satisfy dS≥0dS \ge 0, we must have dUA≤0dU_A \le 0, meaning subsystem AA loses internal energy while BB gains it.

That is exactly the familiar conclusion:

Heat flows spontaneously from hot to cold.

Attempting to make heat flow from cold to hot without any other change would make dS<0dS < 0 for the isolated composite system, which violates the second law.


Worked Example

Carnot Efficiency and Reversible Entropy Bookkeeping

An ideal Carnot engine operates between Thot=500 KT_{\mathrm{hot}}=500\ \mathrm{K} and Tcold=300 KT_{\mathrm{cold}}=300\ \mathrm{K}. Suppose the system absorbs qAB=1000 Jq_{AB}=1000\ \mathrm{J} from the hot reservoir during the isothermal expansion step.

  1. Maximum efficiency

    ηCarnot=1−TcoldThot=1−300500=0.40.\eta_{\mathrm{Carnot}} = 1-\frac{T_{\mathrm{cold}}}{T_{\mathrm{hot}}} =1-\frac{300}{500}=0.40.

    So 40%40\% of the absorbed heat is converted to net work output:

    Wout=η qAB=0.40×1000=400 J.W_{\mathrm{out}} = \eta\,q_{AB} = 0.40 \times 1000 = 400\ \mathrm{J}.

    In the course sign convention (w>0w > 0 = work done on the system), the engine does work on the surroundings, so

    wcycle=−Wout=−400 J.w_{\mathrm{cycle}} = -W_{\mathrm{out}} = -400\ \mathrm{J}.
  2. Heat rejected

    Energy conservation over the cycle (ΔU=0\Delta U = 0) gives qAB+qCD+wcycle=0q_{AB} + q_{CD} + w_{\mathrm{cycle}} = 0:

    qCD=−qAB−wcycle=−1000−(−400)=−600 J.q_{CD} = -q_{AB} - w_{\mathrm{cycle}} = -1000 - (-400) = -600\ \mathrm{J}.

    The negative sign confirms that the system releases 600 J to the cold reservoir, as expected. Figure 4.2.3 shows these three energies to scale.

  3. Entropy changes of the reservoirs

    Each reservoir exchanges heat reversibly at its own fixed temperature. From the reservoir’s perspective, the heat it receives is opposite in sign to what the system exchanges (the system’s gain is the reservoir’s loss):

    ΔShot=−qABThot=−1000500=−2.0 J/K,\Delta S_{\mathrm{hot}} = \frac{-q_{AB}}{T_{\mathrm{hot}}}= \frac{-1000}{500}=-2.0\ \mathrm{J/K},
    ΔScold=−qCDTcold=−(−600)300=+2.0 J/K.\Delta S_{\mathrm{cold}} = \frac{-q_{CD}}{T_{\mathrm{cold}}}= \frac{-(-600)}{300}=+2.0\ \mathrm{J/K}.

    The hot reservoir loses entropy (it gave up heat); the cold reservoir gains entropy (it absorbed heat).

Result. ΔShot+ΔScold=0\Delta S_{\mathrm{hot}}+\Delta S_{\mathrm{cold}}=0, and the engine itself returns to its initial state (ΔSengine=0\Delta S_{\mathrm{engine}} = 0), so ΔStotal=0\Delta S_{\mathrm{total}} = 0. This is the hallmark of a fully reversible process. Any real (irreversible) engine would produce ΔStotal>0\Delta S_{\mathrm{total}} > 0, meaning less work output for the same heat input.

Concept Checks

  1. Why are adiabatic steps isentropic only in the reversible case?

  2. What feature of the Carnot cycle makes it “best possible” compared to real engines?

  3. If TcoldT_{\mathrm{cold}} is lowered while ThotT_{\mathrm{hot}} is fixed, how does ηCarnot\eta_{\mathrm{Carnot}} change and why?

  4. In the two-body heat-flow argument, what happens to dSdS as TA→TBT_A \to T_B? What does this tell you about equilibrium?

  5. A real engine operating between Thot=500 KT_{\mathrm{hot}} = 500\ \mathrm{K} and Tcold=300 KT_{\mathrm{cold}} = 300\ \mathrm{K} absorbs 1000 J of heat and produces 350 J of work output. Compute ΔStotal\Delta S_{\mathrm{total}} for the reservoirs and verify that ΔStotal>0\Delta S_{\mathrm{total}} > 0.

Key Takeaways