Thermodynamics
Thermodynamics
Board Coverage AQA Paper 2 | Edexcel CP3 | OCR (A) Paper 2 | CIE P2
Explore the simulation above to develop intuition for this topic.
1. The First Law of Thermodynamics
Definition. The first law of thermodynamics states that the change in internal energy of a closed system equals the net energy transferred to it by heating plus the work done on it: . This is a statement of energy conservation for thermodynamic systems.
Definition. Internal energy is the total energy of a system due to the kinetic and potential energies of its constituent particles (molecules or atoms), excluding the macroscopic kinetic and potential energies of the system as a whole.
The First Law. The change in internal energy of a system equals the energy transferred to it by heating plus the work done on it:
where:
- is the change in internal energy (J)
- is the energy transferred to the system by heating (J) — positive if heat flows in
- is the work done on the system (J) — positive if work is done on the system
warning work done by the system. Always check which convention is being used. We use the "physics" convention where is work done on the system.
Intuition. The first law is simply energy conservation applied to thermodynamic systems. You can increase a gas's internal energy either by heating it or by compressing it (doing work on it).
Derivation of the First Law of Thermodynamics
- The first law is a statement of energy conservation for thermodynamic systems.
- Consider a closed system that can exchange energy with its surroundings only via heat transfer () and work ().
- By the principle of conservation of energy, the change in the system's total energy must equal the net energy input:
- This applies to any process, whether reversible or irreversible.
Definition. Specific heat capacity is the energy required per unit mass to raise the temperature of a substance by one kelvin without a change of state: . The SI unit is J kg K.
Definition. Specific latent heat is the energy per unit mass required to change the state of a substance at constant temperature: . The specific latent heat of fusion refers to melting/solidifying, and the specific latent heat of vaporisation refers to boiling/condensing.
2. Work Done by a Gas
Consider a gas in a cylinder with a frictionless piston of area . The gas expands against external pressure , pushing the piston out by a small distance .
The work done by the gas:
For a finite expansion:
Derivation of Work Done by Gas at Constant Pressure
- A gas at pressure is in a cylinder with a frictionless piston of area .
- The gas exerts a force on the piston.
- When the piston moves outward by distance , the work done by the gas is:
- Since the volume change :
Special case: work done by gas at constant pressure:
The work done by the gas equals the area under the - curve.
In our convention (work done on system): for constant pressure.
3. Thermodynamic Processes on - Diagrams
Isobaric (Constant Pressure)
On a - diagram: a horizontal line. The area under it equals .
Isochoric (Isovolumetric, Constant Volume)
On a - diagram: a vertical line. No area underneath, so no work is done.
From the first law: (all heat goes into internal energy).
Isothermal (Constant Temperature)
For an ideal gas, , so — a hyperbola on the - diagram.
For an ideal gas, internal energy depends only on temperature (), so for an isothermal process.
From the first law: .
Adiabatic
No heat exchange with the surroundings: .
From the first law: .
For an ideal gas undergoing a reversible adiabatic process:
where is the ratio of specific heats. For a monatomic ideal gas, . For a diatomic gas (like air), .
On a - diagram, an adiabatic curve is steeper than an isothermal curve passing through the same point.
Intuition. In an adiabatic expansion, the gas does work (), so , giving — the gas cools. In an adiabatic compression, the gas heats up. This is why pumping a bicycle tyre makes the pump warm.
4. The Carnot Cycle
The Carnot cycle is the most efficient heat engine operating between two temperatures. It consists of four reversible processes:
- Isothermal expansion at (absorbing heat from the hot reservoir)
- Adiabatic expansion (temperature drops from to )
- Isothermal compression at (rejecting heat to the cold reservoir)
- Adiabatic compression (temperature rises from to )
Carnot Efficiency
The efficiency of any heat engine is:
Derivation of Carnot efficiency. For the Carnot cycle, (from the properties of reversible cycles):
where and are the absolute temperatures of the hot and cold reservoirs.
Key results:
- The Carnot efficiency depends only on the two temperatures, not on the working substance.
- No real engine can exceed the Carnot efficiency.
- 100% efficiency requires K (absolute zero), which is unattainable.
Intuition. The larger the temperature difference between hot and cold reservoirs, the more efficiently you can convert heat into work. A car engine is limited because the exhaust temperature cannot be reduced to absolute zero.
Derivation of
Proof. Consider the Carnot cycle step by step:
-
Isothermal expansion at : Gas absorbs heat from hot reservoir. Since is constant, and (work done by gas equals heat absorbed).
-
Adiabatic expansion (): . Gas cools from to .
-
Isothermal compression at : Gas rejects heat to cold reservoir. (work done on gas equals heat rejected).
-
Adiabatic compression (): . Gas heats from to .
For the adiabatic steps, , so and , which gives .
For the isothermal steps, and . Since :
Heat Pumps and Refrigerators
A refrigerator is a heat engine run in reverse: work is done on the system to transfer heat from a cold reservoir to a hot reservoir, rejecting .
The coefficient of performance (COP) of a refrigerator:
A heat pump heats a building by extracting heat from outside (cold reservoir) and dumping it inside (hot reservoir):
Note that .
Common Pitfall Students often confuse engine efficiency () with refrigerator COP (). The key difference: efficiency is a fraction (always ), while COP can exceed 1 (you move more heat than the work you put in).
5. The Second Law of Thermodynamics
Clausius statement. Heat cannot spontaneously flow from a colder body to a hotter body without external work.
Kelvin statement. It is impossible to construct a heat engine that, operating in a cycle, produces no effect other than the extraction of heat from a single reservoir and the performance of an equivalent amount of work.
Definition. Entropy is a thermodynamic quantity that measures the degree of disorder or randomness of a system. For a reversible process at constant temperature, the change in entropy is . The total entropy of an isolated system can never decrease.
Entropy statement. The total entropy of an isolated system can never decrease:
Intuition. The second law explains why some processes are irreversible: an egg can break but not unscramble; heat flows from hot to cold but not the reverse. It sets a fundamental limit on the efficiency of all engines and refrigerators.
Entropy from the Carnot Cycle
Derivation of entropy as a state function. For a reversible Carnot cycle:
This shows is an exact differential -- its integral around any closed reversible path is zero. Therefore, defines a state function, which we call entropy :
For an irreversible process, . For a reversible process, .
Proof that heat flows from hot to cold. Consider two bodies at exchanging a small amount of heat reversibly through a Carnot engine. The total entropy change is:
since . This is consistent with the second law: the process (heat from hot to cold through a reversible engine) increases total entropy. The reverse process would decrease total entropy, which is forbidden.
Molecular Interpretation of Entropy
Boltzmann's entropy formula:
where is the number of microstates (distinct arrangements of particles) corresponding to a given macrostate.
Intuition. A gas in a small volume has fewer accessible microstates than the same gas allowed to expand into a larger volume. When a gas expands freely into a vacuum, increases enormously, so entropy increases -- yet no energy is transferred and no work is done (free expansion). This is an irreversible process driven purely by probability: the system evolves towards the macrostate with the most microstates.
For a phase change: ice has an ordered crystal lattice (low ), while liquid water has disordered molecular arrangements (high ). Melting increases entropy because molecules gain access to many more configurations. Similarly, vaporisation produces a much larger entropy increase because gas molecules have far more positional freedom.
tip give a consequence (no 100% efficient engine), and explain in terms of entropy if possible. On a - diagram, the Carnot cycle encloses the maximum possible area for given temperature limits.
Problem Set
Details
Problem 1
A gas in a cylinder expands isobarically from m to m at a pressure of Pa. Calculate the work done by the gas.Answer. J.
If you get this wrong, revise: Work Done by a Gas
Details
Problem 2
200 J of heat is added to a gas while 80 J of work is done on the gas. Calculate the change in internal energy.Answer. J.
If you get this wrong, revise: The First Law of Thermodynamics
Details
Problem 3
A Carnot engine operates between 600 K and 300 K. Calculate its efficiency and the heat rejected to the cold reservoir if it absorbs 500 J from the hot reservoir.Answer. .
J.
If you get this wrong, revise: Carnot Efficiency
Details
Problem 4
An ideal gas expands isothermally from m to m at 400 K. If there are 0.10 mol of gas, calculate the work done by the gas.Answer. J.
If you get this wrong, revise: Isothermal
Details
Problem 5
In an isochoric process, 500 J of heat is added to a gas. Calculate the change in internal energy and the work done.Answer. Since is constant, . From the first law: J.
If you get this wrong, revise: Isochoric
Details
Problem 6
A heat engine operates between 500 K and 200 K with an efficiency of 45%. Is this possible according to the second law?Answer. Carnot efficiency . Since 45% < 60%, this is possible (it is below the maximum theoretical efficiency).
If you get this wrong, revise: The Second Law of Thermodynamics
Details
Problem 7
Sketch a - diagram showing an isothermal expansion followed by an isochoric pressure increase, followed by an isothermal compression, followed by an isochoric pressure decrease. Label each stage and indicate the net work done.Answer. The isothermal expansion is a hyperbola from to where . The isochoric pressure increase is a vertical line up at to some pressure . The isothermal compression follows a hyperbola back from to . The isochoric decrease is a vertical line down at back to . The net work done is the area enclosed by the cycle (clockwise = positive net work output).
If you get this wrong, revise: Thermodynamic Processes on - Diagrams
Details
Problem 8
Explain why a refrigerator cannot cool a room by leaving its door open.Answer. A refrigerator transfers heat from its interior (cold reservoir) to the room (hot reservoir) using work from its compressor. With the door open, the cold and hot reservoirs are the same room. The refrigerator exhausts more heat (into the room) than it removes (from the room), because where is the electrical work input. The net effect is that the room heats up, not cools. This is consistent with the second law — you cannot transfer heat from cold to hot without external work, and the work input adds to the total heat in the room.
If you get this wrong, revise: The Second Law of Thermodynamics
Problem 9
A heat pump is used to heat a building. The outside temperature is 5°C and the inside is maintained at 22°C. Calculate the maximum possible COP and the electrical power required to deliver 5.0 kW of heating.
Answer. K, K. Maximum COP (Carnot): .
Power required: W.
In practice, real heat pumps have COP of 3--5 due to irreversibilities, so actual power would be 1000--1700 W. The Carnot COP represents the theoretical upper bound.
If you get this wrong, revise: Heat Pumps and Refrigerators
Problem 10
Calculate the entropy change when 1.0 kg of ice at 0°C melts to water at 0°C. ( J kg.)
Answer. The melting occurs at constant temperature K. The heat absorbed is J.
J K.
The entropy increases because the liquid phase has more disorder (more accessible microstates) than the solid phase.
If you get this wrong, revise: Entropy from the Carnot Cycle
Problem 11
200 g of water at 90°C is mixed with 300 g of water at 20°C in an insulated container. Calculate the final temperature and the total entropy change.
Answer. Energy conservation: .
.
. . °C K.
Entropy change of hot water: J K. Entropy change of cold water: J K. Total: J K > 0.
The positive total entropy confirms this is a spontaneous, irreversible process.
If you get this wrong, revise: Entropy from the Carnot Cycle
Problem 12
An ideal gas expands from m to m at constant temperature K. Calculate: (a) the work done by the gas, (b) the heat absorbed, (c) the entropy change of the gas, (d) the entropy change of the universe.
Answer. (a) The gas does work, but we need or the initial pressure. Since at both states and is constant: . Without or , we need more information. Assume Pa. Then mol.
J.
(b) (isothermal, ideal gas), so J (heat absorbed).
(c) J K.
(d) The surroundings lose heat at temperature , so J K. Total: (reversible isothermal process).
If you get this wrong, revise: Isothermal
Problem 13
Explain why the adiabatic curve on a - diagram is steeper than the isothermal curve passing through the same point.
Answer. For an isothermal process: , so . For an adiabatic process: , so . Since , the adiabatic pressure drops faster with increasing volume than the isothermal pressure.
Physically: in an isothermal expansion, heat flows in to maintain temperature, so the pressure drop is moderated. In an adiabatic expansion, no heat enters, so the gas cools (), and the pressure drops both due to increased volume and decreased temperature. The combined effect makes the adiabatic curve steeper.
At any given volume (expansion from ), the adiabatic pressure is lower than the isothermal pressure because the gas is colder.
If you get this wrong, revise: Adiabatic
Problem 14
A real engine operates between 600 K and 300 K with an actual efficiency of 40%. Calculate: (a) the Carnot efficiency, (b) the heat absorbed per cycle if the engine delivers 500 J of work per cycle, (c) the entropy change of the universe per cycle.
Answer. (a) .
(b) . J. J.
(c) J K per cycle.
The positive entropy production confirms the engine is irreversible (if it were reversible, and ).
If you get this wrong, revise: Entropy from the Carnot Cycle
Problem 15
Derive the relation for a reversible adiabatic process starting from the first law and the ideal gas law.
Answer. For an adiabatic process, , so (infinitesimal work done on system).
For moles of ideal gas: .
. Using :
.
.
Since and : .
Integrating: , so .
Using : , giving .
If you get this wrong, revise: Adiabatic
---:::danger Common Pitfalls
-
Confusing the first and second laws of thermodynamics: The first law (conservation of energy: delta_U = Q + W) says energy cannot be created or destroyed. The second law says entropy of an isolated system always increases and heat cannot flow spontaneously from cold to hot. They are different laws addressing different concepts -- do not conflate them.
-
Getting the sign convention wrong in the first law: The convention is delta_U = Q + W, where Q is positive when energy is transferred TO the system (heating) and W is positive when work is done ON the system (compression). Some textbooks use delta_U = Q - W where W is work done BY the system. Always check which convention the question or your course uses.
-
Assuming all processes are reversible: A process is only reversible if it can be returned to its initial state with no net change in the system or surroundings. In practice, all real processes are irreversible due to friction, unrestrained expansion, and heat flow across finite temperature differences. Reversibility is an idealisation.
-
Misunderstanding entropy: Entropy is a measure of disorder or the number of microstates available to a system. The second law says total entropy of an isolated system always increases -- but the entropy of a PART of the system can decrease if the entropy of the surroundings increases by more. A refrigerator decreases entropy inside but increases it outside by a greater amount.
:::