IB Physics • The particulate nature of matter

Understand Thermodynamics — Understand B.4 Thermodynamics

Explore how energy flows, engines convert heat into work, and entropy governs the direction of natural processes.

IB Physics emblem with an orbital path, atom, and Earth
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The science of thermodynamics grew directly out of the Industrial Revolution, when engineers desperately wanted to understand how to build better steam engines. Before thermodynamics, there was no clear framework for explaining why heat flows from hot objects to cold ones, or what limits the efficiency of a machine. These questions might sound simple, but answering them required entirely new physical laws—laws that now rank among the most universal principles in all of science.

The field evolved over roughly two centuries, moving from practical engineering puzzles to profound insights about energy, entropy, and the fundamental direction of natural processes. Each breakthrough built on the last, gradually constructing the four laws of thermodynamics that IB Physics asks you to master. Let's trace that story.

1824 • Carnot's Ideal Engine

Sadi Carnot published Reflections on the Motive Power of Fire, introducing the concept of an ideal heat engine and showing that no real engine can be perfectly efficient. This laid the groundwork for the second law of thermodynamics.

1850 • Clausius States the Second Law

Rudolf Clausius formalized the idea that heat cannot spontaneously flow from a cold body to a hot one, and later introduced the concept of entropy as a measure of energy dispersal.

1865 • Entropy Gets Its Name

Clausius coined the term 'entropy' (from the Greek word for transformation) and stated that the entropy of the universe tends toward a maximum—a concise expression of the second law.

1877 • Boltzmann's Statistical Interpretation

Ludwig Boltzmann connected entropy to probability, showing that entropy measures the number of microscopic arrangements (microstates) consistent with a given macrostate. His famous equation S = kB ln Ω is engraved on his tombstone.

1906 • Nernst and the Third Law

Walther Nernst proposed that entropy approaches a constant value (typically zero) as the temperature of a perfect crystal approaches absolute zero, completing the classical framework of thermodynamic laws.

The central question that thermodynamics answers is deceptively simple: When energy is transferred or transformed, what rules govern the process, and why can't we ever get something for nothing? As you work through IB Topic B.4, you'll see how these historical insights translate into precise equations and powerful predictions about everything from car engines to the fate of the universe.

SECTION 2

Core Principles & Definitions

IB B.4 Thermodynamics centers on a handful of powerful ideas. Before you tackle calculations, you need to understand the vocabulary and the conceptual landscape. The following core principles form the backbone of the entire topic.

1

The First Law of Thermodynamics

Energy is conserved. The change in a system's internal energy equals the heat added to it minus the work done by it: ΔU = Q − W. This is essentially conservation of energy applied to thermal systems.
2

The Second Law & Entropy

In any spontaneous process, the total entropy of an isolated system increases. Entropy measures energy dispersal—how 'spread out' energy becomes. This law explains why heat flows from hot to cold and why perfect efficiency is impossible.
3

Thermodynamic Processes

Systems can change via isothermal (constant T), isobaric (constant P), isovolumetric (constant V), or adiabatic (no heat exchange) processes. Each has distinct rules.
4

Heat Engines & Cycles

A heat engine absorbs heat from a hot reservoir, converts some into work, and dumps the remainder into a cold reservoir. The Carnot cycle sets the theoretical maximum efficiency for any engine operating between two temperatures.
5

Entropy Change (ΔS)

For a reversible process at constant temperature, the entropy change is ΔS = Q / T. This equation quantifies how much disorder or energy dispersal occurs when heat Q flows at temperature T.
✦

KEY TAKEAWAY

Think of thermodynamics like managing a bank account. The first law says your account balance (internal energy) changes by exactly what you deposit (heat in) minus what you withdraw (work out)—money doesn't appear or vanish. The second law adds a twist: every transaction incurs a fee (entropy increase), so the usable cash in the universe is always declining. You can never break even in the long run.

SECTION 3

Visualizing the Carnot Cycle

The Carnot cycle is the most important idealized heat engine cycle in thermodynamics. It consists of four reversible processes that together demonstrate the maximum possible efficiency any engine can achieve between two temperature reservoirs. The pressure–volume (P–V) diagram below shows how a gas expands and compresses through these four stages, tracing a closed loop. The area enclosed by that loop equals the net work the engine delivers per cycle.

Carnot Cycle — P–V DiagramVolume (V)Pressure (P)ABCDA → B Isothermal expansion (TH)B → C Adiabatic expansionC → D Isothermal compression (TC)D → A Adiabatic compressionShaded area = net work (W)
The four stages of the Carnot cycle shown on a P–V diagram. From A to B the gas expands isothermally at the hot reservoir temperature TH, absorbing heat QH. From B to C it expands adiabatically (no heat exchange), cooling to TC. From C to D it is compressed isothermally at TC, releasing heat QC. Finally, from D to A it undergoes adiabatic compression back to the starting state. The enclosed area represents the net work output.

Notice how the two isothermal curves (A → B and C → D) involve heat transfer, while the two adiabatic curves (B → C and D → A) involve no heat exchange at all. During the adiabatic stages, the temperature of the gas changes purely because work is being done on or by the gas. The beauty of the Carnot cycle is that every step is reversible, meaning it produces the absolute maximum work for a given pair of reservoir temperatures. Real engines—car engines, power plants, jet turbines—always fall short of Carnot efficiency because of friction, turbulence, and other irreversible effects.

SECTION 4

Mathematical Framework

Thermodynamics provides several key equations that you'll need for IB assessments. Each one connects measurable quantities—heat, work, temperature, entropy—in precise ways. Let's walk through the most important formulas, define every variable, and explain what each equation tells us physically.

FIRST LAW OF THERMODYNAMICS

ΔU=Q−WΔU = Q − W

ΔU = change in internal energy (J), Q = heat added to the system (J), W = work done by the system (J). When the system gains heat, Q is positive; when the system does work on its surroundings, W is positive.

WORK DONE BY A GAS (ISOBARIC PROCESS)

W=PΔVW = PΔV

P = constant pressure (Pa), ΔV = change in volume (m³). This is the area under the curve on a P–V diagram for a constant-pressure process. For other processes, you need the full area under whatever curve connects the initial and final states.

CARNOT EFFICIENCY

ηCarnot=1−TC/THη_Carnot = 1 − T_C / T_H

ηCarnot = maximum possible efficiency (dimensionless, between 0 and 1), TC = cold reservoir temperature (K), TH = hot reservoir temperature (K). Both temperatures must be in kelvin. This efficiency can never reach 1 (100%) unless TC = 0 K, which is physically unattainable.

ENTROPY CHANGE (CONSTANT TEMPERATURE)

ΔS=Q/TΔS = Q / T

ΔS = change in entropy (J K⁻¹), Q = heat transferred reversibly (J), T = absolute temperature at which the transfer occurs (K). For the overall entropy of the universe to increase in any real process, the total ΔS (system + surroundings) must be positive.

⚠

IB EXAM TIP

Always convert temperatures to kelvin before substituting into thermodynamic equations. To convert from Celsius: T(K) = T(°C) + 273. Using Celsius in the Carnot formula or entropy equation will produce incorrect answers and cost you marks.

SECTION 5

Thermodynamic Processes in Detail

Every thermodynamic change a gas undergoes falls into one (or a combination) of four standard process types. Each type holds one variable constant, and this constraint dramatically changes the relationships among pressure, volume, temperature, heat, and work. The table below summarizes the key features, and the diagram that follows shows all four processes on a single P–V diagram so you can visually compare their behavior.

ProcessHeld ConstantQ (Heat)W (Work)ΔU (Internal Energy)
IsothermalTemperature (T)Q = W (all heat becomes work)W = nRT ln(V₂/V₁)ΔU = 0
IsobaricPressure (P)Q = ΔU + PΔVW = PΔVΔU = Q − PΔV
IsovolumetricVolume (V)Q = ΔUW = 0 (no volume change)ΔU = Q
AdiabaticNo heat exchange (Q = 0)Q = 0W = −ΔUΔU = −W

Summary of the four standard thermodynamic processes for an ideal gas

Four Thermodynamic Processes on a P–V DiagramVolume (V)Pressure (P)P₁P₂V₁V₂Isobaric (const P)Isovolumetric (const V)Isothermal (const T)Adiabatic (Q = 0)i
All four processes start from the same initial state i. The isobaric process (pink) moves horizontally at constant pressure. The isovolumetric process (green) moves vertically at constant volume. The isothermal curve (cyan) follows a hyperbola because PV = constant. The adiabatic curve (amber) drops more steeply than the isothermal because the gas also cools as it expands with no heat input.

A crucial visual detail: the adiabatic curve is always steeper than the isothermal curve through the same point. This is because during an adiabatic expansion, the gas receives no heat, so its temperature drops and its pressure falls faster. During an isothermal expansion, heat flows in from the surroundings to keep the temperature constant, so the pressure decreases more gently. Recognizing this difference on a P–V diagram is a common IB exam question.

SECTION 6

Worked Example: Carnot Efficiency & Entropy

Let's work through a full problem that combines Carnot efficiency with entropy change—exactly the kind of multi-part question you'll encounter on IB Paper 2.

ℹ

PROBLEM STATEMENT

A Carnot engine operates between a hot reservoir at 500 °C and a cold reservoir at 25 °C. In one cycle, the engine absorbs 8 000 J of heat from the hot reservoir. (a) Calculate the Carnot efficiency. (b) Determine the work done per cycle. (c) Find the heat rejected to the cold reservoir. (d) Calculate the entropy change of each reservoir per cycle and verify that the total entropy change is zero for this reversible engine.

Carnot Engine Analysis

  1. 1

    Step 1 — Convert Temperatures to Kelvin

    TH = 500 + 273 = 773 K. TC = 25 + 273 = 298 K. Always do this conversion first.
    TH = 773 K, TC = 298 K
  2. 2

    Step 2 — Calculate Carnot Efficiency

    η = 1 − TC / TH = 1 − 298 / 773 = 1 − 0.3856 = 0.614. Expressed as a percentage, this is 61.4%.
    η = 0.614 or 61.4%
  3. 3

    Step 3 — Determine Work Output

    Efficiency equals work output divided by heat input: η = W / QH. Rearranging: W = η × QH = 0.614 × 8 000 = 4 914 J.
    W = 4 914 J
  4. 4

    Step 4 — Heat Rejected to Cold Reservoir

    By the first law (energy conservation for a complete cycle where ΔU = 0): QH = W + QC. So QC = QH − W = 8 000 − 4 914 = 3 086 J.
    QCQ_C = 3 086 J
  5. 5

    Step 5 — Entropy Changes

    The hot reservoir loses heat, so ΔSH = −QH / TH = −8 000 / 773 = −10.35 J K⁻¹. The cold reservoir gains heat, so ΔSC = +QC / TC = +3 086 / 298 = +10.35 J K⁻¹. Total: ΔStotal = −10.35 + 10.35 = 0. This confirms the Carnot cycle is reversible—no net entropy is produced.
    ΔS_total = 0 J K⁻¹ (reversible)

SECTION 7

Real Engines vs. Ideal Engines

No real engine achieves Carnot efficiency. Understanding why—and by how much real engines fall short—is an important part of IB B.4. The table below compares the idealized Carnot engine with the realities of practical engines.

FeatureCarnot (Ideal)Real Engine
ProcessesAll steps are reversibleFriction, turbulence, and rapid expansion make steps irreversible
Entropy productionΔS_total = 0 per cycleΔS_total > 0 per cycle (entropy is always generated)
Efficiencyη = 1 − TCT_C / THT_H (maximum)Always less than Carnot; typically 20–40% for car engines
SpeedInfinitely slow (quasi-static)Operates at thousands of RPM; speed introduces irreversibilities
Working substanceIdeal gas assumedFuel-air mixtures, steam, or refrigerants with non-ideal behavior
Heat transferPerfectly conducted across zero temperature differenceRequires finite ΔT, which wastes energy and produces entropy

Comparison of ideal Carnot engines and real-world engines

🔑

WHY 100% IS IMPOSSIBLE

Imagine trying to squeeze every last drop of water out of a sponge. No matter how hard you squeeze, some water always stays trapped inside. Similarly, a heat engine can never convert 100% of its heat input into work—some energy must always be 'dumped' to the cold reservoir. The second law of thermodynamics guarantees this: the cold reservoir temperature TC can never reach absolute zero, so the ratio TC / TH is always greater than zero, making η always less than 1.

SECTION 8

Connection to Advanced Theory

IB B.4 gives you the classical, macroscopic view of thermodynamics. But the story goes much deeper. Statistical mechanics and quantum thermodynamics extend these ideas by connecting macroscopic quantities (temperature, pressure, entropy) to the microscopic behavior of individual particles. The table below previews how the concepts you've learned here relate to more advanced treatments.

IB B.4 ConceptAdvanced Extension
Entropy as ΔS = Q / TBoltzmann's S = kBk_B ln Ω connects entropy to the number of microstates, explaining entropy at the particle level
Carnot efficiency sets a maximumFinite-time thermodynamics studies the efficiency of engines that operate at realistic (non-zero) speeds, yielding tighter efficiency bounds
Four named processes (isothermal, isobaric, etc.)Polytropic processes (PVnPV^n = constant) unify all four as special cases with different values of n
First law: ΔU = Q − WThermodynamic potentials (Gibbs free energy, Helmholtz free energy, enthalpy) generalize the first law for constant-pressure or constant-temperature conditions
Entropy always increases (second law)The arrow of time in cosmology—why the universe evolves from order to disorder—is a direct consequence of the second law applied on the largest possible scale

How IB B.4 concepts connect to university-level thermodynamics

You don't need to know these advanced ideas for the IB exam, but being aware of them helps you see that thermodynamics isn't just an isolated chapter—it's a gateway to some of the deepest questions in physics, from why time moves forward to how black holes radiate energy. The laws you're learning now are the exact same laws that govern stars, galaxies, and the ultimate fate of the universe.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A student claims that a heat engine can be designed to operate with only a single thermal reservoir—absorbing heat and converting all of it into work, with no exhaust. Using the second law of thermodynamics, explain why this claim is incorrect.
Show answer
The second law of thermodynamics (Kelvin-Planck statement) explicitly forbids a cyclic device that converts heat entirely into work with no other effect. For a heat engine to complete a full cycle and return to its initial state, it must reject some heat to a cold reservoir. If it didn't, the total entropy of the universe would decrease (since removing heat from the hot reservoir lowers its entropy, but nothing compensates). This would violate the requirement that ΔStotal ≥ 0. Therefore, at least two reservoirs are required for any heat engine.

Question 2: BASIC CALCULATION

A Carnot engine operates between a hot reservoir at 627 °C and a cold reservoir at 27 °C. Calculate the maximum efficiency of this engine.
Show answer
First, convert temperatures to kelvin: TH = 627 + 273 = 900 K and TC = 27 + 273 = 300 K. Then apply the Carnot efficiency formula: η = 1 − TC / TH = 1 − 300 / 900 = 1 − 0.333 = 0.667, or 66.7%. This means even in the ideal case, one-third of the heat input must be wasted as exhaust to the cold reservoir.

Question 3: INTERMEDIATE

During an isobaric expansion, 5 000 J of heat is added to an ideal gas. The gas expands against a constant pressure of 1.5 × 10⁵ Pa and its volume increases by 0.012 m³. (a) Calculate the work done by the gas. (b) Determine the change in internal energy of the gas.
Show answer
(a) For an isobaric process, W = PΔV = 1.5 × 10⁵ Pa × 0.012 m³ = 1 800 J. (b) Applying the first law: ΔU = Q − W = 5 000 − 1 800 = 3 200 J. The gas gains 3 200 J of internal energy, which corresponds to an increase in the kinetic energy (and therefore temperature) of its molecules. The remaining 1 800 J was used to push the surroundings back as the gas expanded.

Question 4: APPLIED

A coal-fired power plant has a boiler temperature of 550 °C and uses a nearby river (at 15 °C) as its cold reservoir. The plant actually operates at 38% efficiency. (a) Calculate the Carnot efficiency for these temperatures. (b) Determine the ratio of the actual efficiency to the Carnot efficiency, and comment on what the remaining 'lost' efficiency represents physically.
Show answer
(a) TH = 550 + 273 = 823 K, TC = 15 + 273 = 288 K. ηCarnot = 1 − 288/823 = 0.650 or 65.0%. (b) The ratio is 0.38 / 0.65 = 0.585, meaning the plant captures only about 58.5% of the theoretically available work. The remaining 41.5% of the potential work is lost to irreversible processes within the plant—friction in turbines, non-ideal heat transfer requiring finite temperature differences, heat leaks through pipe walls, and electrical resistance losses. These irreversible processes generate entropy and degrade the quality of the energy.

Question 5: CRITICAL THINKING

An inventor proposes two different designs for improving a heat engine's Carnot efficiency: (A) raising the hot reservoir temperature from 400 K to 500 K while keeping TC at 300 K, or (B) lowering the cold reservoir temperature from 300 K to 200 K while keeping TH at 400 K. Calculate the efficiency improvement for each option. Which is more effective, and why does this make physical sense in terms of entropy?
Show answer
Original efficiency: η = 1 − 300/400 = 0.250 (25.0%). Option A: η = 1 − 300/500 = 0.400 (40.0%), an improvement of 15.0 percentage points. Option B: η = 1 − 200/400 = 0.500 (50.0%), an improvement of 25.0 percentage points. Option B is significantly more effective. This makes sense from an entropy perspective: lowering TC reduces the entropy generated during the heat-rejection step (ΔSC = QC / TC), so less energy must be wasted to 'pay the entropy tax.' The ratio TC / TH is more sensitive to changes in TC when TC is small, because the ratio changes proportionally more. However, in practice, lowering TC is often harder and more expensive than raising TH.

SUMMARY

Lesson Summary

Summary

IB B.4 Thermodynamics is built on two pillars. The first law of thermodynamics (ΔU = Q − W) ensures that energy is always conserved: the change in a system's internal energy equals the heat added minus the work done by the system. The second law introduces entropy (ΔS = Q / T), a quantity that measures energy dispersal and always increases for the universe as a whole in any real process. Together, these laws explain why heat flows spontaneously from hot to cold, why perpetual motion machines are impossible, and why no engine can be 100% efficient.

The four standard thermodynamic processes—isothermal, isobaric, isovolumetric, and adiabatic—describe how systems evolve under specific constraints, and each appears as a distinctive curve on a P–V diagram. The Carnot cycle combines two isothermal and two adiabatic steps to define the maximum efficiency (η = 1 − TC / TH) any engine can achieve between two reservoirs. Real engines always fall below this limit due to irreversible processes like friction and finite-rate heat transfer. Master these concepts and equations, and you'll be well-prepared for any IB question on thermodynamics.

Varsity Tutors • IB Physics • Understand Thermodynamics — Understand B.4 Thermodynamics