Thermodynamics: The Science of What Cannot Be Undone
Perplexing Questions
- The Perpetual Motor: A student builds a machine that absorbs heat from the ocean and converts it entirely into useful work—no exhaust, no cold reservoir required. The ocean is vast; the energy appears to be free. Energy is conserved throughout. Why can this machine never be built?
- The Refrigerator Paradox: A refrigerator cools the food inside it. But if you leave the door open on a hot day hoping to cool your kitchen, the room temperature rises rather than falls. If a refrigerator can cool food, why can it not cool a room?
- The Efficiency Ceiling: Engineers have spent 200 years improving heat engines. Steam turbines, internal combustion engines, gas turbines—all waste a significant fraction of the heat they absorb. Is this a flaw in engineering, or is there a fundamental ceiling set by physics itself?
- The Direction of Time: Heat flows from a hot cup of tea into the cooler air. The reverse—the air spontaneously returning heat to the cup—never happens, though it would violate no conservation law. Both directions conserve energy perfectly. Why does nature insist on only one direction?
By the end of this chapter, every one of them will be fully transparent.
Why a New Chapter? The Limits of Calorimetry
The Thermal Properties chapter gave you powerful empirical tools. You can compute the heat absorbed by a block of iron: \(Q = mc\Delta T\). You can calculate the energy released during a phase transition: \(Q = mL\). You know that heat and temperature are not the same thing, and that the Stefan–Boltzmann law governs how a hot object radiates energy into space.
Those tools answer the question: how much energy is exchanged?
They cannot answer a deeper class of questions:
- Can all of that energy be recovered as useful work?
- If I run the process in reverse, do I get the original state back?
- Is there a theoretical maximum efficiency for any engine operating between two given temperatures?
- Why does a scrambled egg never unscramble itself?
These questions require a new framework—thermodynamics—whose central concepts are work done by a system, internal energy, and entropy. The framework is built on two laws. The First Law is an energy-accounting statement: the total energy of a system plus its surroundings is conserved. The Second Law is more subtle and more profound: it tells us which energy conversions nature actually permits, even among those that would balance the books.
Thermodynamic Systems and State Variables
Before writing a single equation, we need a precise vocabulary. Thermodynamics is exceptionally careful about the words it uses, and nearly every beginner error traces back to a vocabulary slip.
System and Surroundings
The system is the portion of the universe we choose to study—a specific quantity of gas in a cylinder, a chemical mixture in a beaker, the working fluid in a turbine. Everything outside the system is the surroundings. The boundary between them may be real (a cylinder wall) or imaginary (an invisible surface enclosing a parcel of air).
Systems are classified by how their boundary interacts with the surroundings:
- Open system: both matter and energy can cross the boundary. (A boiling pot with the lid off.)
- Closed system: energy can cross but matter cannot. (Gas in a sealed cylinder with a moveable piston. This is the default system in this chapter.)
- Isolated system: neither matter nor energy crosses. (A perfectly insulated, rigid container—an idealisation of central importance in the Second Law.)
State Variables and Equilibrium
A thermodynamic state is a complete description of the system at one instant. For an ideal gas, the state is fully specified by three quantities: pressure \(p\), volume \(V\), and temperature \(T\). These are state variables: their values depend only on the current state, not on the history of how the system arrived there.
This last property is crucial and worth stating separately.
Other common state variables include internal energy \(U\), enthalpy \(H\), and entropy \(S\). We will introduce \(U\) and \(S\) in the sections that follow.
Thermodynamic Processes and Quasi-static Idealization
A thermodynamic process is a change from one equilibrium state to another. In practice, real processes happen at finite speed and pass through non-equilibrium intermediate states where \(p\), \(V\), \(T\) are not well-defined everywhere.
For the purpose of drawing \(p\)-\(V\) diagrams and computing work integrals, we invoke the quasi-static approximation: the process is assumed to occur infinitely slowly, so the system passes through a continuous sequence of equilibrium states, each characterised by well-defined \(p\) and \(V\). Only quasi-static processes can be drawn as smooth curves on a \(p\)-\(V\) diagram; a sudden irreversible process (like a gas rushing into vacuum) can only be drawn as two points—the initial and final states—with no connecting curve.
Equation of State for an Ideal Gas
The state variables of an ideal gas are constrained by a single algebraic relationship. We will derive this from first principles in the Kinetic Theory chapter; for now we state it and use it: \[ pV = nRT, \] where \(n\) is the number of moles, \(R = 8.314\;\mathrm{J\,mol^{-1}K^{-1}}\) is the universal gas constant, and \(T\) is the absolute temperature in kelvin. (Recall that all thermodynamic formulas containing a standalone \(T\) require kelvin.)
This relation is the bridge between mechanics (where \(p\) and \(V\) appear naturally) and thermal physics (where \(T\) is central). Every standard process here is obtained by holding one combination of these variables constant.
- A sealed, thermally insulated rigid box contains gas. After vigorous shaking, the gas is turbulent. Is this an equilibrium state? Once the turbulence dies out, which state variables change and which are restored to their original values?Not an equilibrium state during shaking. After settling: \(p\), \(T\), and \(U\) are generally higher (turbulent KE converts to internal energy); \(V\) is unchanged; the state variables are now well-defined again.
- Two gases are mixed irreversibly in a rigid, insulated container. Can you draw this mixing process as a curve on a \(p\)-\(V\) diagram? Explain why or why not.No. Mixing is irreversible and passes through non-equilibrium states; only the initial and final equilibrium points can be plotted.
- (Trap question) A student says: “I added \(200\;\mathrm{J}\) of heat to a gas, so the gas now contains \(200\;\mathrm{J}\) of heat.” Identify every error in this statement.Two errors: (1) Heat is not a state function—it cannot be “contained.” (2) Some of the \(200\;\mathrm{J}\) may have left the gas as work; the internal energy increased by \(\Delta U = Q - W\), not by \(Q\).
The Zeroth Law and the First Law
Add heat, let the gas do work, and watch the ledger balance: \(\Delta Q=\Delta U+\Delta W\). Internal energy is a state function; heat and work are not.
The Zeroth Law: What Temperature Really Means
The Zeroth Law is not a computational tool—it is the logical foundation of temperature measurement.
Zeroth Law of Thermodynamics: If system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with system C, then A and B are in thermal equilibrium with each other.
This sounds obvious. But its consequence is profound: it establishes that temperature is a property of a system that can be compared across systems. System C acts as a thermometer. Without the Zeroth Law, there would be no guarantee that two objects “at the same temperature” would exchange no heat when brought into contact. The Zeroth Law says they will not.
Internal Energy
Before stating the First Law we need the concept it is really about.
When a gas is in equilibrium, its molecules are in constant, random motion. They have kinetic energy of translation, rotation, and vibration. Between them, they have potential energy due to intermolecular forces. The total of all these microscopic energies is the internal energy \(U\) of the system.
Three facts about \(U\):
- \(U\) is a state function: it depends only on the current equilibrium state.
- For an ideal gas, intermolecular forces are zero, so \(U\) depends only on \(T\)—not on \(p\) or \(V\) separately. (We will derive \(U = \tfrac{f}{2}nRT\) in the Kinetic Theory chapter; for now, accept that \(\Delta U\) depends only on \(\Delta T\) for an ideal gas.)
- \(U\) is extensive: double the amount of gas and \(U\) doubles.
The First Law
A system can exchange energy with its surroundings in two ways: as heat \(Q\) (energy flowing because of a temperature difference) and as work \(W\) (energy flowing because of a force acting through a displacement—here, a pressure acting through a volume change).
The First Law of Thermodynamics: \[ \boxed{\Delta U = Q - W} \]
In words: the increase in internal energy equals the heat absorbed by the system minus the work done by the system.
- \(Q \gt 0\): heat flows into the system.
- \(Q \lt 0\): heat flows out of the system.
- \(W \gt 0\): the system does work on the surroundings (expansion).
- \(W \lt 0\): the surroundings do work on the system (compression).
Connection to Chapter 13: Latent Heat as the First Law
When a solid melts at constant temperature and pressure, no work is done (the volume change of a solid-to-liquid transition is negligible): \(W \approx 0\), so \(\Delta U = Q = mL_f\). All the heat absorbed goes directly into increasing the internal energy—breaking intermolecular bonds.
For a liquid vaporising at pressure \(p\), the volume change is substantial: the work done by the expanding vapour against atmospheric pressure is \(W = p\,\Delta V\), and the latent heat of vaporisation \(L_v\) must supply both this work and the increase in internal energy: \(Q = mL_v = \Delta U + p\,\Delta V\). Latent heat, in other words, is simply the First Law applied at a phase transition.
Sign Drill: A First Example
- A gas is compressed, and \(200\;\mathrm{J}\) of work is done on it by the piston, while \(80\;\mathrm{J}\) of heat escapes to the surroundings. Using the physics convention, find \(\Delta U\).\(W = -200\;\mathrm{J}\) (done by gas), \(Q = -80\;\mathrm{J}\) (heat out); \(\Delta U = Q - W = -80 - (-200) = +120\;\mathrm{J}\).
- Over a complete thermodynamic cycle, a system does \(500\;\mathrm{J}\) of net work. What is the net heat absorbed by the system?\(\Delta U = 0\) for any complete cycle, so \(Q_{\text{net}} = W_{\text{net}} = 500\;\mathrm{J}\).
- (Trap question) A student argues: “If I insulate a gas perfectly and compress it, \(Q = 0\), so by \(\Delta U = Q - W\) the internal energy cannot change.” What is the error?Compression means the surroundings do work on the gas, so \(W \lt 0\) in the physics convention. \(\Delta U = 0 - W = -W \gt 0\): internal energy (and temperature) increase. This is adiabatic heating, the mechanism behind diesel ignition.
Solved examples
Five fully-worked problems from this chapter, free — solution and answer shown in full. The complete set of worked examples is in the full book.
Find: \(\Delta U\), and the sign of \(\Delta T\).
Setup: The first law in the convention “\(W\) done by the gas” is \(\Delta U = Q - W\). For an ideal gas \(U = U(T)\) only, so the sign of \(\Delta U\) fixes the sign of \(\Delta T\).
Solve: \[ \Delta U = Q - W = 600 - 250 = 350\,\mathrm{J}. \] Since \(\Delta U \gt 0\) and \(U = nC_V T\), the temperature rises.
Answer: \(\boxed{\Delta U = +350\,\mathrm{J};\ \text{temperature rises}}\)
Check: Energy accounting: the gas takes in \(600\,\mathrm{J}\), spends \(250\,\mathrm{J}\) pushing its surroundings, and must keep the remaining \(350\,\mathrm{J}\) as internal energy. ✓
Find: \(W\) done by the gas.
Setup: At constant pressure the area under the isobar is a rectangle, so \(W = P\,\Delta V\).
Solve: \[ W = P\,\Delta V = (2.0\times10^{5})(0.025 - 0.010) = (2.0\times10^{5})(0.015) = 3000\,\mathrm{J}. \] Answer: \(\boxed{W = 3.0\times10^{3}\,\mathrm{J}}\)
Check: Via temperatures: at constant \(P\), \(W = nR\,\Delta T\), and \(\Delta T = P\,\Delta V/(nR) = 3000/(2\times8.314) = 180.4\,\mathrm{K}\), so \(W = nR\,\Delta T = 2(8.314)(180.4) = 3000\,\mathrm{J}\). ✓
Find: \(W\), \(\Delta U\), \(\Delta T\).
Setup: Rigid vessel \(\Rightarrow \Delta V = 0 \Rightarrow W = 0\); all heat raises internal energy, \(\Delta U = nC_V\,\Delta T\).
Solve: \[\begin{aligned} W &= 0, \qquad \Delta U = Q - W = 1500\,\mathrm{J},\\ \Delta T &= \frac{\Delta U}{nC_V} = \frac{1500}{3(20.79)} = \frac{1500}{62.36} = 24.1\,\mathrm{K}. \end{aligned}\] Answer: \(\boxed{W = 0,\quad \Delta U = 1500\,\mathrm{J},\quad \Delta T = 24.1\,\mathrm{K}}\)
Check: Direct route: for an isochoric process \(Q = nC_V\,\Delta T\), giving \(\Delta T = 1500/62.36 = 24.1\,\mathrm{K}\) with no separate appeal to the first law. ✓
Find: \(C_V\), \(C_P\), \(\gamma\), \(C_P - C_V\).
Setup: Equipartition gives \(C_V = \tfrac{f}{2}R\); Mayer's relation gives \(C_P = C_V + R\); and \(\gamma = C_P/C_V\).
Solve: \[\begin{aligned} C_V &= \tfrac{5}{2}R = 2.5(8.314) = 20.79\,\mathrm{J\,mol^{-1}K^{-1}},\\ C_P &= C_V + R = \tfrac{7}{2}R = 29.10\,\mathrm{J\,mol^{-1}K^{-1}},\\ \gamma &= \frac{C_P}{C_V} = \frac{7}{5} = 1.40, \qquad C_P - C_V = R = 8.314\,\mathrm{J\,mol^{-1}K^{-1}}. \end{aligned}\] Answer: \(\boxed{C_V = \tfrac{5}{2}R,\ C_P = \tfrac{7}{2}R,\ \gamma = 1.40,\ C_P - C_V = R}\)
Check: Independent formula: \(\gamma = 1 + 2/f = 1 + 2/5 = 1.40\), matching \(C_P/C_V\). ✓
Find: \(W\), \(Q\), \(\Delta U\).
Setup: Isothermal, ideal gas \(\Rightarrow \Delta U = 0\). Reversible isothermal work is \(W = nRT\ln(V_2/V_1)\); the first law then gives \(Q = W\).
Solve: \[ W = nRT\ln\frac{V_2}{V_1} = (1)(8.314)(300)\ln 3 = (2494.2)(1.0986) = 2740\,\mathrm{J}. \] \(\Delta U = 0\), so \(Q = W = 2740\,\mathrm{J}\) (heat absorbed).
Answer: \(\boxed{W = Q = 2.74\times10^{3}\,\mathrm{J},\quad \Delta U = 0}\)
Check: Consistency / magnitude: with \(\Delta U = 0\) the first law forces \(Q = W\); numerically \(nRT \approx 2500\,\mathrm{J}\) and \(\ln 3 \approx 1.1\), so \(W \approx 2.7\,\mathrm{kJ}\), the right order. ✓
Problem bank
Five questions from this chapter’s 50-question bank, free — attempt each one before you reveal the answer. The rest of the bank, and the timed test that draws on all of it, are in the full book.
- First-Law Signs
A gas absorbs \(350\;\mathrm{J}\) of heat and does \(120\;\mathrm{J}\) of work on its surroundings. Find \(\Delta U\). In a second process, \(280\;\mathrm{J}\) of work is done on the gas while \(90\;\mathrm{J}\) of heat escapes. Find \(\Delta U\) for the second process.Convention \(\Delta U = Q - W\) (\(W\) done by gas). Process 1: \(\Delta U = 350 - 120 = +230\;\mathrm{J}\). Process 2: \(W = -280\;\mathrm{J}\), \(Q = -90\;\mathrm{J}\), so \(\Delta U = -90 - (-280) = +190\;\mathrm{J}\). - Isochoric Heating
Two moles of a monatomic ideal gas are heated at constant volume from \(300\;\mathrm{K}\) to \(500\;\mathrm{K}\). Find \(Q\), \(W\), and \(\Delta U\).\(W = 0\); \(\Delta U = nC_V\Delta T = 2\times\tfrac{3}{2}R\times200 = 600R = 4988\;\mathrm{J}\); \(Q = \Delta U = 4988\;\mathrm{J}\). - Isobaric Expansion
One mole of a diatomic ideal gas expands isobarically from \(250\;\mathrm{K}\) to \(450\;\mathrm{K}\). Find \(Q\), \(W\), \(\Delta U\), and the ratio \(W/Q\).\(\Delta U = \tfrac{5}{2}R\times200 = 500R \approx 4157\;\mathrm{J}\); \(W = R\times200 = 200R \approx 1663\;\mathrm{J}\); \(Q = \tfrac{7}{2}R\times200 = 700R \approx 5820\;\mathrm{J}\); \(W/Q = 2/7\). - Rectangular Cycle on a \(p\)–\(V\) Diagram
One mole of a monatomic ideal gas runs the cycle A\((p_0, V_0) \to\) B\((p_0, 3V_0) \to\) C\((2p_0, 3V_0) \to\) D\((2p_0, V_0) \to\) A, with the A\(\to\)B and C\(\to\)D legs isobaric and the B\(\to\)C and D\(\to\)A legs isochoric. Find \(Q\), \(W\), \(\Delta U\) for each leg and the net work, and verify \(\Delta U_{\text{cycle}} = 0\).\(T_A = p_0V_0/R\), \(T_B = 3p_0V_0/R\), \(T_C = 6p_0V_0/R\), \(T_D = 2p_0V_0/R\). AB: \(W = 2p_0V_0\), \(\Delta U = 3p_0V_0\), \(Q = 5p_0V_0\). BC: \(W = 0\), \(\Delta U = \tfrac{9}{2}p_0V_0 = Q\). CD: \(W = -4p_0V_0\), \(\Delta U = -6p_0V_0\), \(Q = -10p_0V_0\). DA: \(W = 0\), \(\Delta U = -\tfrac{3}{2}p_0V_0 = Q\). \(W_{\text{net}} = 2p_0V_0 - 4p_0V_0 = -2p_0V_0\) (net work done on the gas: this is an anticlockwise cycle). \(\sum\Delta U = 3 + \tfrac{9}{2} - 6 - \tfrac{3}{2} = 0\). ✓ - Entropy Is a State Function: Two Routes
One mole of a monatomic ideal gas goes from \((300\;\mathrm{K}, V)\) to \((400\;\mathrm{K}, 2V)\). Compute \(\Delta S\) by (a) isothermal-then-isochoric and (b) isochoric-then-isothermal, and show they agree.(a) Isothermal (\(V\to2V\)): \(R\ln2\); isochoric (\(300\to400\)): \(\tfrac32 R\ln\tfrac{400}{300}\). (b) Same two pieces in the other order. Both give \(\Delta S = R\ln2 + \tfrac32 R\ln\tfrac43 = 5.76 + 3.59 = 9.35\;\mathrm{J\,K^{-1}}\), independent of path—as a state function must be.
Chapter test
A paper drawn at random from this chapter's bank. Choose the exam you are training for — the marking scheme, pace and difficulty mix follow the real pattern. Work on paper; when you finish (or the clock runs out), the answers are revealed and you mark yourself honestly.
The chapter continues.
You’ve read the opening, the first three theory sections, the opening run of worked examples and five bank questions — all free, with no account. The rest of the chapter is behind the pass.
- Work Done by a Gas
- Specific Heats of Gases: C_P, C_V, and
- Standard Thermodynamic Processes
- The Second Law: Entropy and Irreversibility
- Heat Engines and the Carnot Cycle
- Refrigerators and Heat Pumps
- Entropy: A Deeper Look
- Common Pitfalls and Exam Strategy
- Resolution of the Perplexing Questions
- Extra: Maxwell's Demon
₹3,999 for a year · ₹5,999 for two — one payment, no subscription and no auto-renewal, for one student on any of their own devices. Work, Energy & Power is free end to end, so you can read a whole chapter before you decide; there are no refunds once a pass is bought. Terms