Thermodynamics
Rub your palms together on a cold morning and they warm up — no flame, no electricity, just work turning into heat inside your skin. Run a steam engine and the traffic reverses: heat drawn from burning coal turns into the work that hauls a train. Thermodynamics is the physics of exactly this two-way exchange between heat and work, and it is a deliberately macroscopic science — it never asks about individual molecules, only about pressure, volume, temperature and the handful of other bulk quantities a thermometer and a gauge can actually read. That restraint is its strength: the laws built in this chapter held true a century before anyone had proven atoms exist, and they hold with equal force for a bicycle pump, a car engine and a power station. This chapter builds the whole framework from a single starting question — what does it mean for two systems to be in thermal equilibrium — and climbs from there to the zeroth law that defines temperature, the first law that turns energy conservation into a working accounting rule for heat, work and internal energy, and the second law that explains why some energy-conserving processes simply never happen in nature. Along the way you will meet specific heat capacity, the ideal gas equation of state, the five standard processes (isothermal, adiabatic, isochoric, isobaric, cyclic) that every gas problem is built from, and the chapter's centrepiece: the Carnot engine, the idealised, perfectly reversible machine that sets the absolute ceiling on how efficient any heat engine — real or imagined — can ever be. By the end you should be able to distinguish heat from internal energy without hesitation, apply to any gas process, read a P-V diagram and know instantly which quantities are zero for each special process, state the Kelvin-Planck and Clausius statements of the second law, and compute the efficiency of a Carnot engine from its reservoir temperatures alone. These are not separate tricks — they are one connected argument about energy, direction and limits.
- Thermal equilibrium and the zeroth law define temperature. If system A is in thermal equilibrium with C, and B is also in thermal equilibrium with C, then A and B are in thermal equilibrium with each other — this shared property is temperature.
- Heat and work are energy in transit, not properties of a state. A system has a definite internal energy in a given state; it never "has" a certain amount of heat or work — those describe how energy moved to reach that state.
- The first law is energy conservation with bookkeeping. , where is heat supplied to the system, is work done by the system, and is the resulting change in internal energy — a state variable, so depends only on the endpoints, never on the path.
- Specific and molar heat capacities quantify how much heat changes temperature. , , and for an ideal gas .
- Five named processes cover essentially every problem. Isothermal ( fixed, ), adiabatic (, ), isochoric ( fixed, no work), isobaric ( fixed), and cyclic ( over one loop).
- The second law forbids what the first law would still allow. No process can have as its sole result the complete conversion of heat into work (Kelvin-Planck), and no process can have as its sole result heat flowing from a colder to a hotter body (Clausius).
- Reversibility is the idealisation behind maximum efficiency. A process is reversible only if it is quasi-static and free of dissipation; real processes are irreversible, but the reversible limit sets the theoretical best case.
- The Carnot engine achieves the highest possible efficiency between two temperatures. , using absolute temperatures of the hot () and cold () reservoirs, and no engine working between the same two temperatures can beat it.
- Key idea: every thermodynamic process is a story about energy moving as heat and work between a system and its surroundings, governed by a strict accounting law (the first law) and a strict directional law (the second law), whose ultimate consequence is that no heat engine, however cleverly built, can ever exceed the Carnot efficiency .
Thermodynamics tracks how heat and work reshape a system's internal energy through the first law, , while the second law fixes the direction that energy transfer is allowed to run, culminating in the Carnot engine's unbeatable efficiency .
What this chapter covers
This chapter is a single continuous argument, and it helps to see the whole climb before starting.
- Thermal equilibrium and the zeroth law of thermodynamics build the very idea of temperature from scratch, using nothing but the notion of an insulating (adiabatic) wall versus a conducting (diathermic) wall.
- Heat, internal energy and work are carefully separated — a distinction the chapter insists is not mere pedantry but essential to getting problems right.
- The first law of thermodynamics assembles these three quantities into one conservation statement, .
- Specific heat capacity and molar specific heat capacity are defined, along with the relation for an ideal gas and the Dulong-Petit rule for solids.
- Thermodynamic state variables, the extensive-intensive distinction, and the equation of state describe what "the state of a gas" actually means.
- Thermodynamic processes — quasi-static, isothermal, adiabatic, isochoric, isobaric and cyclic — are catalogued with the work done and heat exchanged in each.
- The second law of thermodynamics, stated by Kelvin-Planck and by Clausius, explains why heat engines can never be perfectly efficient and refrigerators never perfectly free.
- Reversible and irreversible processes are distinguished, leading to the Carnot engine and the universal ceiling on heat-engine efficiency, .
The physical picture
Thermal equilibrium and the zeroth law
Equilibrium in mechanics means zero net force and torque. Thermodynamic equilibrium means something different: a system is in an equilibrium state if its macroscopic variables — pressure, volume, temperature, mass, composition — do not change with time. Whether a system reaches such a state depends on the wall separating it from its surroundings. An adiabatic wall is an insulating wall that blocks any flow of heat; a diathermic wall is a conducting wall that allows heat to pass. Put two gases A and B in contact through an adiabatic wall and any pair of states and can coexist unchanged. Replace that wall with a diathermic one, and the macroscopic variables of both systems drift spontaneously until they stop changing — the two systems have reached thermal equilibrium with each other. What single property is shared by two systems in thermal equilibrium? Experience says: their temperatures are equal. This is formalised by the zeroth law of thermodynamics: if two systems A and B are each separately in thermal equilibrium with a third system C, then A and B are in thermal equilibrium with each other. Symbolically, if and , then . R. H. Fowler stated this law in 1931, long after the first and second laws had already been numbered — hence the awkward "zeroth" — but logically it comes first, because it is what lets us define temperature as a single number that every thermometer, however built, can agree on.
Heat, internal energy and work — three quantities that must never be confused
Internal energy of a system is the sum of the kinetic and potential energies of all its molecules, measured in the frame where the centre of mass of the system is at rest — the ordered kinetic energy of the system moving as a whole (a bullet's speed, say) is never part of ; only the disordered, random molecular motion counts. Firing a bullet changes its mechanical (kinetic) energy, not its temperature; only when friction stops the bullet does that ordered energy degrade into disordered internal energy, raising the temperature of the bullet and the wood. Crucially, is a state variable: it depends only on the gas's current pressure, volume and temperature, never on the path by which that state was reached. Heat and work are different in kind. They are not properties a system possesses in a given state; they are the two modes of energy transfer by which changes. Heat is energy transferred because of a temperature difference between system and surroundings; work is energy transferred by any other means — pushing a piston down, or letting the gas push it out. It is meaningless to say "a gas has a certain amount of heat," exactly as it would be to say it has "a certain amount of work" — but it is perfectly meaningful to say a gas has a certain internal energy, or that heat was supplied to it, or that it did work. Confusing heat with internal energy is the single most common error in this chapter.
The first law of thermodynamics
Let be the heat supplied to a system, the work done by the system on its surroundings, and the resulting change in internal energy. Energy conservation, applied to a thermodynamic system, reads:
where: is positive when heat flows in, is positive when the system does work on its surroundings (as in expansion), and is the net change in internal energy. The physical reading is simple bookkeeping: heat fed into a system is spent two ways — part raises its internal energy, the rest leaves as work on the outside world. Because is a state variable, depends only on the initial and final states, whatever route the system takes between them; and individually depend on the path, but the combination never does. For a gas in a cylinder with a movable piston, pushing the piston out by against constant external pressure does work , so Eq. (11.1) becomes . NCERT's own illustration: turning 1 g of water to steam at atmospheric pressure absorbs latent heat ; the volume swells from to , so the work done against is , leaving — most of the heat raises internal energy, separating the water molecules, and only a small share does mechanical work. This example is worked in full in the Worked examples section below.
Specific heat capacity
If heat raises a substance's temperature by , its heat capacity is . Dividing by the amount present gives quantities independent of quantity: the specific heat capacity
per unit mass (), and the molar specific heat capacity
per mole (), where is mass in kg and is the number of moles. Both depend on the substance, its temperature, and — for gases — the condition under which heat is supplied. For a solid of atoms, the equipartition of energy predicts average vibrational energy per atom, giving molar heat capacity , the Dulong-Petit rule, which agrees well with measurement at ordinary temperature (failing at low temperature, and for carbon). Water's specific heat is , and the calorie is defined as the heat needed to raise 1 g of water from to , with . For gases, (constant volume) and (constant pressure) differ because heating at constant pressure must also supply the work of expansion. The relation is one of the chapter's key derivations, given in full below.
State variables, extensive and intensive quantities, and the equation of state
An equilibrium state of a gas is fully specified by macroscopic state variables: pressure, volume, temperature, mass and composition. Not every state a system passes through is an equilibrium state — free expansion into a vacuum, or an explosive reaction, passes through states with no well-defined uniform pressure or temperature, states that cannot be plotted on a -- surface at all. The relation linking the state variables of an equilibrium state is its equation of state; for an ideal gas, , with . For a fixed amount of gas this leaves only two independent variables, and a plot of against at fixed is an isotherm. State variables are of two kinds. Extensive variables scale with system size — , , total mass all halve if the system is split into equal parts. Intensive variables do not — , , density stay the same in each half. This is a useful consistency check: in every term is extensive, since intensive times extensive is extensive.
Thermodynamic processes
A process that changes a gas's state slowly enough that the system stays, at every instant, arbitrarily close to thermal and mechanical equilibrium is called quasi-static — meaning nearly static; pressure and temperature differ from the surroundings only infinitesimally at every stage. Strictly it takes infinite time, but sufficiently slow real processes approximate it well. All named processes below are quasi-static unless stated otherwise.
- Isothermal — fixed throughout, usually via contact with a large reservoir. (Boyle's law), and since of an ideal gas depends only on , , so : heat absorbed converts entirely into work (or, in compression, work done on the gas releases entirely as heat).
- Adiabatic — thermally insulated, . Work done by the gas comes entirely at the expense of internal energy, so adiabatic expansion cools the gas and compression heats it. Governed by , with .
- Isochoric — fixed, so and all heat supplied changes internal energy (and temperature), governed by .
- Isobaric — fixed. ; the heat absorbed splits between raising and doing work, governed by .
- Cyclic — the system returns to its initial state, so over the cycle, and total heat absorbed equals total work done.
The second law of thermodynamics
The first law permits many processes that are never actually seen — a hot table could, in principle, cool itself and convert that lost internal energy into the mechanical energy of a book that hops off it, with energy balancing perfectly, yet nobody has ever watched this happen. Something beyond energy conservation forbids it: the second law of thermodynamics, which sets a fundamental ceiling on heat-engine efficiency and refrigerator performance. Two equivalent statements summarise it.
Kelvin-Planck statement: no process is possible whose sole result is the absorption of heat from a reservoir and the complete conversion of that heat into work.
Clausius statement: no process is possible whose sole result is the transfer of heat from a colder object to a hotter object. Neither statement forbids converting heat into work, or moving heat from cold to hot — engines and refrigerators do exactly this every day. What is forbidden is doing so as the sole result, with nothing else in the universe changing: a refrigerator moves heat from cold to hot only by also consuming external work; an engine converts heat to work only by also dumping some leftover heat into a cold sink. The two statements can be proved logically equivalent — violating one lets you construct a device that violates the other.
Reversible and irreversible processes, and the Carnot engine
A process from state to state is reversible if it can be run backwards so that both the system and its surroundings return exactly to their original states, with no other change anywhere. Nearly every real process is irreversible: a hot vessel's base cools by spreading heat to its cooler rim, never the reverse; gas released into a vacuum diffuses to fill the container and never un-diffuses; a stirred liquid converts work into heat via friction, and that heat never spontaneously turns back into motion. Irreversibility has two roots — passing through non-equilibrium states, and dissipative effects such as friction and viscosity, present to some degree in essentially every real process. A process is reversible only if it is both quasi-static and free of dissipation, such as the slow, frictionless isothermal expansion of a gas. Reversibility matters because the second law rules out a perfect (100%-efficient) heat engine but leaves open the best possible efficiency between two temperatures. Sadi Carnot answered this in 1824. A reversible engine operating between a hot reservoir at and cold reservoir at is a Carnot engine, and its cycle consists of four reversible steps: isothermal expansion at absorbing heat , adiabatic expansion cooling the gas to , isothermal compression at releasing heat , and adiabatic compression restoring the gas to . The full derivation of its efficiency, , is below; no engine between the same two temperatures can ever beat it, and no reversible engine does better than another regardless of working substance — the formula depends only on the two temperatures.
The goal is to find the work an ideal gas does on its surroundings as it expands quasi-statically from volume to while its temperature is held fixed at , using only the ideal gas equation of state and the definition of work as pressure times an infinitesimal volume change, summed (integrated) over the whole expansion. This result is the workhorse of the isothermal steps of the Carnot cycle derived later, and it is also the calculation that shows directly why an isothermal expansion absorbs heat even though the gas's internal energy does not change at all.
Step 1. Write the work done in one infinitesimal step. At any intermediate stage, with pressure and a small volume increase , the work done by the gas is . Summing this over the whole path from to , in the limit of infinitesimally small steps, turns the sum into an integral: .
Step 2. Substitute the equation of state. For moles of an ideal gas held at constant temperature , , so . Substituting, . Since is fixed throughout an isothermal process, can be pulled outside the integral as a constant.
Step 3. Carry out the integral. The integral of with respect to is the natural logarithm, so . This is the work done by the gas in an isothermal expansion or compression between any two volumes at fixed temperature .
Step 4. Read off the sign and connect to the first law. If (expansion), and : the gas does positive work on its surroundings. If (compression), : work is done on the gas instead. Because of an ideal gas depends only on , and is unchanged, for the whole process; the first law then collapses to — every joule of heat absorbed from the surroundings during an isothermal expansion leaves again immediately as work, and none of it accumulates as internal energy.
Go deeper · Derivation B · 1 minWhy Cp minus Cv equals R for an ideal gas
The goal is to derive the relation between the molar specific heat capacities of an ideal gas measured at constant pressure and at constant volume, starting only from the first law applied to one mole of gas and the ideal gas equation of state. The result explains, from first principles, why it always takes more heat to raise the temperature of a gas by one degree at constant pressure than at constant volume: at constant pressure some of the heat must also pay for the gas expanding and pushing back the atmosphere.
Step 1. Apply the first law to one mole of gas: . This holds for any process; the two special cases below come from choosing what is held fixed while heat is supplied.
Step 2. Hold volume fixed. If is absorbed at constant volume, , so , and the molar heat capacity at constant volume is . Because the internal energy of an ideal gas depends only on temperature, this partial derivative is simply , with no need to track which variable was held fixed.
Step 3. Hold pressure fixed instead. Now . The first term on the right is again just , the same quantity as in Step 2, because depends only on regardless of which variable is being held fixed elsewhere.
Step 4. Evaluate the extra term using the equation of state. For one mole, , so at constant pressure, (differentiate with respect to at fixed : ).
Step 5. Combine. Substituting Step 4 into Step 3 gives , so . The extra heat capacity at constant pressure is exactly the universal gas constant , the price of doing expansion work; at constant volume that price is never paid, so alone measures how internal energy responds to temperature.
Go deeper · Derivation C · 2 minThe efficiency of a Carnot engine
The goal is to compute the efficiency of the Carnot cycle — the four-step reversible engine of an isothermal expansion at , an adiabatic expansion, an isothermal compression at , and an adiabatic compression back to the start — using only the isothermal work formula and the adiabatic relation derived elsewhere in the chapter. The final result, , depends on nothing but the two reservoir temperatures, which is itself a remarkable claim that falls straight out of the algebra: the volumes at every corner of the cycle cancel completely.
Step 1. Label the four corners : isothermal expansion (1 to 2), adiabatic expansion (2 to 3), isothermal compression (3 to 4), adiabatic compression (4 to 1). Using the isothermal work formula, the heat absorbed in step 1 to 2 equals the work done in it, ; the heat released in step 3 to 4 equals the work done on the gas, .
Step 2. Write efficiency as work output over heat input: . Since over the full cycle, , so .
Step 3. Relate the four volumes using the two adiabatic legs. Step 2 to 3 gives , so . Step 4 to 1 gives , so — the same right-hand side.
Step 4. Cancel the volumes. Since , rearranging gives : the volume ratio in the formula equals the volume ratio in the formula.
Step 5. Substitute back. Using , , the same logarithm as in . Dividing, exactly — independent of the working substance or the volumes chosen. Substituting into Step 2 gives the Carnot efficiency:
Step 6. This is the best possible efficiency: coupling a hypothetical more-efficient irreversible engine to a Carnot engine running in reverse as a refrigerator would let heat flow, as the sole net result, from the cold reservoir to the hot one with no work input — violating the Clausius statement. No engine, real or imagined, can beat the Carnot efficiency between two given temperatures.
Worked examples
Board level — work and change in internal energy when water turns to steam
One gram of water is converted to steam at atmospheric pressure. The measured latent heat of vaporisation is . At atmospheric pressure, of water occupies as a liquid and as vapour, and atmospheric pressure is . Find the work done by the expanding steam and the resulting change in internal energy.
Step 1. Identify the heat supplied. The latent heat is the heat absorbed at constant pressure, so for this 1 g sample.
Step 2. Compute the work done against the atmosphere. The volume change is (NCERT's own calculation keeps the full vapour volume, since the liquid volume is negligible in comparison). Then .
Step 3. Apply the first law to find . From , . Answer: the steam does of work pushing back the atmosphere, and the internal energy of the water rises by — the great majority of the latent heat goes into separating the water molecules from each other, not into mechanical expansion work.
Board level — pressure rise when hydrogen gas is compressed adiabatically
A cylinder with a movable, thermally insulated piston contains 3 moles of hydrogen ( for a diatomic gas) at standard temperature and pressure. The gas is compressed adiabatically to half its original volume. By what factor does the pressure increase?
Step 1. Identify the process: the cylinder and piston are insulators, so no heat enters or leaves — adiabatic, governed by , so .
Step 2. Rearrange for the pressure ratio: . Here , so .
Step 3. Evaluate: . Answer: the pressure increases by a factor of about . A quick check with gives a temperature rise by a factor — consistent with the first law, since work done on the gas () must raise its internal energy.
Competitive level — efficiency, work and heat rejected by a Carnot engine
A Carnot engine operates between a hot reservoir at and a cold reservoir at , absorbing of heat from the source in each cycle. Find (a) the efficiency, (b) the work done per cycle, and (c) the heat rejected to the sink per cycle.
Step 1. Efficiency from the reservoir temperatures alone: , i.e. . Note that only the ratio of absolute temperatures matters — reservoir temperatures must always be used in kelvin, never in Celsius, or the ratio (and hence the efficiency) comes out wrong.
Step 2. Work done per cycle: .
Step 3. Heat rejected per cycle, from energy conservation over the cycle: . As a cross-check, the universal Carnot relation gives , matching exactly. Answer: , per cycle, and rejected to the sink per cycle. Timing note: this should take well under two minutes. The chain is always the same — convert both temperatures to kelvin, compute first, then , then (or cross-check with ). The one trap under exam pressure is plugging Celsius values straight into the ratio; always glance at the units before dividing.
Common traps
Treating heat as something a gas "has." Only internal energy is a state variable; heat and work are always transfers, described with phrases like "heat supplied to" or "work done by," never "heat contained in."
Getting the sign of work wrong. NCERT's convention takes as work done by the system, positive when the gas expands. Flipping this sign silently — a common slip when switching textbooks — turns into the wrong equation.
Assuming whenever a process looks "steady." That holds only for an isothermal process of an ideal gas ( depends on alone) and for a full cyclic process ( is a state variable) — not for isobaric, isochoric or adiabatic processes, where is generally nonzero.
Mixing up and . The first describes an isothermal process, the second an adiabatic one. Confusing them gives a P-V curve of the wrong steepness and a wrong final pressure or temperature.
Using Celsius temperatures in the Carnot formula. is a ratio of absolute temperatures. Using Celsius values changes the ratio and gives a badly wrong efficiency; always convert to kelvin first.
Thinking a refrigerator or a real engine violates the second law. Refrigerators do move heat from cold to hot, and engines do convert heat to work — the second law forbids only doing either as the sole result, with no other change (extra work input for the refrigerator; leftover heat rejected for the engine).
You should be able to…
- State the zeroth law of thermodynamics and explain how it leads to the concept of temperature.
- Explain, in your own words, why heat and internal energy must never be treated as the same thing, and give an example (such as the bullet) that makes the distinction concrete.
- Write and apply the first law of thermodynamics, , correctly tracking signs for heat supplied, work done by the system, and change in internal energy.
- Distinguish specific heat capacity from molar specific heat capacity, and derive for an ideal gas.
- Identify whether a given variable (pressure, volume, temperature, internal energy, heat, work) is a state variable, and whether it is extensive or intensive.
- Recognise the five named thermodynamic processes from a description or a P-V diagram, and state what is zero (or constant) in each.
- Derive the work done by an ideal gas in an isothermal expansion and in an adiabatic process, and use confidently.
- State the Kelvin-Planck and Clausius statements of the second law, and explain why they are equivalent.
- Explain what makes a process reversible, and why real processes are essentially always irreversible.
- Derive the Carnot engine's efficiency from the four steps of the Carnot cycle, and use it to compute work done and heat rejected.
Ask the tutor: to see how the P-V diagram for any of these five processes changes for a diatomic versus a monatomic gas, or to work through another Carnot-cycle numeric step by step.
If a refrigerator moves heat from the cold inside to the warm kitchen, doesn't that break the Clausius statement of the second law?
No, because the Clausius statement forbids only a process whose sole result is heat moving from colder to hotter. A refrigerator does move heat that way, but never as the sole result — it also consumes electrical work from the compressor, and that work ends up as extra heat dumped into the kitchen alongside the heat extracted from inside. Add up everything that changed in the universe and you find work converted to heat, not heat flowing uphill for free. A true violation would be a refrigerator needing no power at all that still cooled the inside while warming the kitchen — exactly what nature disallows.
In an isothermal process the temperature never changes, so how can the gas absorb or release any heat at all?
The gas can only stay isothermal because the reservoir it is in contact with keeps compensating for any tiny temperature drift, and this compensation is itself a flow of heat. At every instant of a quasi-static isothermal expansion, the gas's temperature is only infinitesimally below the reservoir's, which is exactly what drives an infinitesimal trickle of heat in; sum that trickle over the whole slow expansion and it adds up to a finite , even though the temperature reading never visibly moves. It is a genuinely subtle point NCERT itself flags directly: heat is absorbed or released in an isothermal process precisely because of the infinitesimal temperature difference maintained throughout, not despite it.
Why is Cp always greater than Cv for a gas?
Because heating a gas at constant pressure must pay for two things, while heating it at constant volume pays for only one. At constant volume, the gas cannot expand, so every joule of heat supplied goes straight into raising the internal energy (and hence the temperature) of the gas — that is exactly what measures. At constant pressure, the gas is free to expand as it warms, and expanding against the surrounding pressure requires it to do mechanical work on its environment. So the heat supplied at constant pressure has to raise the internal energy by the same amount as before, and additionally supply the work of expansion. That extra work, for one mole of an ideal gas, works out to exactly , giving .
Is a Carnot engine something that actually exists, or is it purely theoretical?
It is a theoretical idealisation, not a machine you could buy. A true Carnot cycle needs perfectly quasi-static isothermal and adiabatic steps and a perfectly frictionless piston — both impossible to achieve exactly. No real engine (petrol, diesel, steam) reaches Carnot efficiency, because real engines always involve some irreversibility: finite-speed pistons, friction, turbulence, heat exchange across a finite temperature gap. What makes it useful despite being unbuildable is that it sets a hard, provable ceiling, , that no real engine between the same two temperatures can ever exceed — exactly the benchmark engineers judge real efficiencies against.
Why does the internal energy of an ideal gas depend only on temperature, and not on pressure or volume separately?
This follows from ignoring intermolecular forces, exactly the assumption that defines an ideal gas. If molecules do not attract or repel each other, internal energy is purely the sum of their individual kinetic energies — there is no potential energy of interaction that could depend on how close together they are, that is, on the volume. Kinetic energy of random molecular motion depends only on how fast molecules move on average, and that average speed is set entirely by temperature. So squeezing an ideal gas into a smaller volume, or expanding it, at the same temperature leaves internal energy unchanged — exactly why for an isothermal process, a fact used repeatedly in this chapter, including the Carnot derivation.