Thermodynamics
This topic explores the fundamental laws of thermodynamics, analysing how thermal energy is converted into work via cyclic processes and how entropy governs the direction of spontaneous energy transfer.
Part of IB Physics (2025-2030 syllabus) — Standard and Higher Level.
Key points
- The First Law of Thermodynamics is a statement of conservation of energy: the heat energy added to a system () equals the change in its internal energy () plus the work done by the system ().
- For an ideal gas, internal energy depends solely on temperature; therefore, any process where temperature remains constant (isothermal) results in zero change in internal energy ().
- Thermodynamic changes are represented on pressure-volume () diagrams, where the work done during any process is equal to the area under the process curve.
- In an isovolumetric process the volume is fixed, so the gas does no work () and the first law reduces to : all heat added goes directly into internal energy.
- The Second Law of Thermodynamics states that the total entropy of an isolated system always increases over time, dictating that heat cannot spontaneously flow from a colder body to a hotter body.
- A heat engine operates in a closed cycle, taking in heat () from a hot reservoir, performing mechanical work (), and rejecting waste heat () to a cold reservoir.
- The Carnot cycle represents the absolute upper limit of efficiency for any heat engine operating between two temperatures, consisting entirely of reversible isothermal and adiabatic steps.
Subtopic by subtopic
The first law of thermodynamics
The first law of thermodynamics is the principle of energy conservation applied to a gas, given by:
where is the thermal energy added to the gas, is the change in its internal energy and is the work done by the gas.
The signs carry the physics:
- when heat flows in
- when the gas expands and pushes on its surroundings
- when the temperature rises
For an ideal gas the internal energy is purely the random kinetic energy of the molecules, so depends only on the temperature change. For a fixed amount of monatomic ideal gas:
A bicycle pump shows the law in action: pushing the piston in quickly does work on the trapped air () before much heat can escape, so is positive and the barrel becomes noticeably warm.
You must be able to assign the correct sign to each term from a written description, rearrange the law to find any one quantity, and link the sign of to whether the gas heats up or cools down.
Thermodynamic processes (isobaric, isothermal, adiabatic, isovolumetric)
IB problems use four standard processes, each defined by what stays constant and each drawn as a different curve on a diagram. In every case the work done equals the area under the curve.
- Isobaric (constant pressure): a horizontal line, with .
- Isovolumetric (constant volume): a vertical line; zero area means , so .
- Isothermal (constant temperature): the curve follows ; since for an ideal gas, all heat absorbed becomes work, .
- Adiabatic (): no heat is exchanged, so ; for a monatomic ideal gas the curve is steeper than any isotherm through the same point.
In an adiabatic compression the gas temperature rises even though no heat is added. Microscopically, gas molecules collide elastically with the inward-moving piston and rebound with a higher speed, gaining kinetic energy. Because the internal energy of an ideal gas is solely the sum of its molecular kinetic energies, this work done on the gas appears directly as a rise in temperature.
You must be able to identify each process from its curve, apply the first law to it, and carry out adiabatic calculations using the curve a monatomic ideal gas obeys:
Entropy and the second law of thermodynamics
Entropy measures how spread out the energy and particles of a system are. Counting arrangements makes this precise: if a macrostate can be produced by different microstates, its entropy is:
States that can occur in more ways have higher entropy, which is why gases mix and hot objects share their energy: the evened-out arrangements vastly outnumber the ordered ones.
For thermal energy transferred at constant absolute temperature , the entropy change is:
The same energy transfer counts for more at a low temperature, and this is the key to the second law of thermodynamics: in any real (irreversible) process the total entropy of a system plus its surroundings increases. Heat therefore flows spontaneously from hot to cold, because the cold body gains more entropy than the hot body loses, and never the reverse on its own.
Local decreases are allowed. A freezer turns water into highly ordered ice ( for the water), but the heat it pumps into the kitchen raises the entropy of the surroundings by more, so .
You must be able to calculate entropy changes for both a system and its surroundings, predict the sign of , and explain in entropy terms why a process is irreversible.
Heat engines and efficiency
A heat engine is any device that runs a gas around a repeating cycle to convert thermal energy into useful mechanical work. In each cycle it absorbs heat from a hot reservoir, delivers net work , and rejects waste heat to a cold reservoir.
Because the gas returns to its starting state, over a complete cycle and conservation of energy gives:
Efficiency compares useful output with energy input:
The second law forbids : no cyclic engine can convert all of its heat input into work, so always. A petrol car engine, with hot combustion gases as its hot reservoir and the exhaust and radiator as its cold one, typically manages ; the remaining of the fuel's energy leaves as waste heat.
On a diagram a cycle is a closed loop, and the area enclosed equals the net work per cycle. A clockwise loop is an engine (net work done by the gas); a counter-clockwise loop is a refrigerator or heat pump (net work done on the gas).
You must be able to track , and through a cycle, calculate efficiencies, and read net work from loop areas.
The Carnot cycle
The Carnot cycle is the idealized engine cycle that sets the efficiency ceiling for any engine working between the same two temperatures. It has four reversible steps:
- an isothermal expansion at during which the gas absorbs
- an adiabatic expansion that cools the gas to
- an isothermal compression at that rejects
- an adiabatic compression that returns the gas to its starting state
Its efficiency depends only on the reservoir temperatures in kelvin:
A power station running between and can therefore never exceed , however well it is engineered.
The Carnot value is unachievable in practice because every step would have to be truly reversible. Reversible heat transfer in the isothermal stages requires an infinitesimally small temperature difference between the gas and the reservoir, meaning the transfer would be infinitely slow, and the adiabatic stages would need zero friction and no turbulence.
Real engines must operate in finite time and always experience friction and heat leaks, so they inevitably generate entropy and their efficiencies fall well below the Carnot limit.
You must be able to sketch and label the four steps on a diagram, calculate , and explain why real engines cannot reach it.
Formulae
To apply the First Law of Thermodynamics, conservation of energy, where Q is heat added to the system and W is work done by the system.
To find the change in internal energy of a fixed amount of monatomic ideal gas directly from its temperature change, using either the number of moles or the number of molecules .
To calculate the work done by or on a gas during an isobaric (constant pressure) process.
To relate pressure and volume changes during a rapid, reversible adiabatic process of a monatomic ideal gas; the exponent is specific to monatomic gases.
To calculate the change in entropy of a system during a reversible heat transfer process occurring at a constant absolute temperature T (in Kelvin).
To relate the entropy of a system to the number of microstates consistent with its macroscopic state, where is the Boltzmann constant.
To determine the thermal efficiency of any heat engine from the work output and heat inputs/outputs.
To calculate the maximum possible efficiency of a heat engine operating between a cold reservoir temperature T_c and a hot reservoir temperature T_h (both in Kelvin).
Definitions
- Internal energy ()
- The sum of the random kinetic energies and potential energies of all the constituent particles in a system.
- Adiabatic process
- A thermodynamic change in state during which no thermal energy is transferred into or out of the system ().
- Entropy ()
- A thermodynamic property that measures the degree of disorder or randomness in a system, or the number of microstates corresponding to a given macrostate.
- Reversible process
- An idealized thermodynamic process that occurs infinitely slowly, remaining in continuous thermodynamic equilibrium so that both the system and environment can be returned to their initial states.
- Heat engine
- A device that converts thermal energy into mechanical work by running a working substance around a repeating cycle between a hot reservoir and a cold reservoir.
Worked examples
An ideal gas in a thermally insulated cylinder is rapidly compressed, with of mechanical work performed on the gas. State the thermal energy transfer , calculate the change in internal energy of the gas, and describe what happens to its temperature.
- 1Identify the process type: Since the cylinder is thermally insulated, no heat enters or leaves the system, meaning (an adiabatic process).
- 2State the First Law of Thermodynamics: , where is the work done *by* the gas.
- 3Determine the sign of the work: Because work is done *on* the gas, the work done *by* the gas is negative ().
- 4Calculate the change in internal energy: .
- 5Describe the temperature change: For an ideal gas, internal energy is directly proportional to its absolute temperature. Since is positive, the temperature of the gas must rise.
Answer: , , and the temperature increases.
A heat engine operates between a hot reservoir at and a cold reservoir at . Determine the maximum theoretical efficiency of this engine, and calculate the minimum thermal energy rejected to the cold reservoir for every of work produced.
- 1Convert both temperatures from Celsius to Kelvin: and .
- 2Calculate the maximum (Carnot) efficiency: (or ).
- 3Relate efficiency to work and heat input: .
- 4Substitute the given work value to find the required heat input from the hot reservoir: .
- 5Calculate the minimum heat rejected to the cold reservoir using the conservation of energy (): .
Answer: Maximum efficiency = , minimum heat rejected =
A block of ice of mass at melts completely in a large room held at . The specific latent heat of fusion of ice is . Calculate the entropy change of the ice, the entropy change of the room, and hence show that the melting is consistent with the second law of thermodynamics.
- 1Calculate the thermal energy absorbed by the melting ice: .
- 2Find the entropy change of the ice, which melts at a constant temperature of : .
- 3Find the entropy change of the room, which loses the same thermal energy at a constant : .
- 4Add the two contributions to find the total entropy change: .
- 5Interpret the result: because , the total entropy of the ice plus its surroundings increases, so the spontaneous melting is consistent with the second law of thermodynamics.
Answer: , , , consistent with the second law.
Common mistakes
- ×Using temperatures in Celsius instead of Kelvin in thermodynamic formulas. Always convert to Kelvin, especially when calculating entropy changes () and Carnot efficiencies ().
- ×Confusing the sign of work () in the First Law equation. If a gas expands, it does positive work *by* the system (). If a gas is compressed, work is done *on* the system ().
- ×Incorrectly assuming that 'adiabatic' means 'isothermal'. While no heat enters or leaves in an adiabatic process (), the temperature *does* change because work is done, which directly alters the internal energy ().
- ×Believing that the entropy of a system can never decrease. Local entropy can decrease (e.g., when water freezes in a freezer), but the total entropy of the system plus its surroundings must always increase ().
Exam tips
- ✓When asked to **sketch** isothermal and adiabatic curves starting from the same initial state on a diagram, always make the adiabatic curve steeper than the isothermal curve.
- ✓When asked to **distinguish** between thermodynamic processes, explicitly state which variable remains constant: temperature for isothermal, pressure for isobaric, volume for isovolumetric, and thermal energy transfer () for adiabatic.
- ✓To **calculate** the net work done during a complete thermodynamic cycle, find the area enclosed by the loop on a diagram. Clockwise cycles represent net work done *by* the gas (heat engines); counter-clockwise cycles represent net work done *on* the gas (heat pumps).
- ✓When the command term **determine** is used with entropy change, ensure you check whether heat is added to (positive change) or removed from (negative change) the system.