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.

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.

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.

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.

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.

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 = 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Δ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 − 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 = 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.

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.

Summary of the four standard thermodynamic processes for an ideal gas
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
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.

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
Step 1 — Convert Temperatures to KelvinTH = 500 + 273 = 773 K. TC = 25 + 273 = 298 K. Always do this conversion first.
TH = 773 K, TC = 298 K
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
Step 3 — Determine Work OutputEfficiency equals work output divided by heat input: η = W / QH. Rearranging: W = η × QH = 0.614 × 8 000 = 4 914 J.
W = 4 914 J
4
Step 4 — Heat Rejected to Cold ReservoirBy 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.
Q_C = 3 086 J
5
Step 5 — Entropy ChangesThe 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)

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.

Comparison of ideal Carnot engines and real-world 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 − T_C / T_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
🔑 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.

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.

How IB B.4 concepts connect to university-level thermodynamics
IB B.4 ConceptAdvanced Extension
Entropy as ΔS = Q / TBoltzmann's S = k_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 (PV^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

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.

Practice Problems

PROBLEM 1CONCEPTUAL
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.
PROBLEM 2BASIC 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.
PROBLEM 3INTERMEDIATE
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.
PROBLEM 4APPLIED
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.
PROBLEM 5CRITICAL 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?

Lesson 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