Home/Lessons/Lesson 1

General Introduction

Keywords: Heat engines, Heat-to-work conversion, Second law, Entropy, Hot reservoir, Cold reservoir, Carnot efficiency, Universality of thermodynamics

Final version

1. Trying to understand thermodynamics

This introduction is deliberately dense. Its purpose is not so much to teach as to give, from the outset, an overview of what thermodynamics is. It also serves as a summary of what we will study in detail throughout the course. Readers who find it difficult on a first reading should not worry: we strongly recommend coming back to it after working through the rest of the course. The goal is not merely to be able to do thermodynamics, which many students learn to do successfully. The goal is to understand the nature of the theory, and that is considerably harder.

Like classical mechanics, thermodynamics seeks to impose a unified formal framework on the evolution of measurable physical quantities. In particle mechanics, these quantities are positions and velocities, which are directly accessible to observation. Thermodynamics, by contrast, studies macroscopic systems composed of a very large number of particles, and we cannot hope to track the positions and velocities of some particles. Indeed, everyday experience already teaches us that the relevant quantities at this scale are pressure, temperature, volume, energy, concentrations, and so forth. These quantities may seem just as familiar, but their epistemic status differs from that of the mechanical variables. Some are aggregated or averaged over the entire system (total energy and concentrations, for example), whereas others, such as temperature and pressure, are emergent: they have meaning only at the macroscopic scale and have no microscopic counterpart. Thermodynamics formalizes the relationships among all these quantities.

This immediately raises a central question that thermodynamics cannot answer on its own: why does a small number of parameters suffice to describe the evolution of such a complex system? Why do we not need to know the position and velocity of every molecule in order to predict the behavior of a gas? This remarkable fact – at the macroscopic level, the system effectively “forgets” its microscopic details – is the founding postulate of the theory. Two centuries of experiments support it, but its deeper explanation belongs to statistical physics and remains a partly open question.

If that were all we had to accept, the situation would still be fairly simple. Experiments, however, reveal a new phenomenon in these systems: some transformations occur spontaneously in one direction and are impossible in the other. For example, heat flows spontaneously from hot to cold, and never the reverse; dry friction slows a moving object by dissipating its kinetic energy as heat, but we never see a solid draw thermal energy from its surroundings and spontaneously set itself in motion. This asymmetry in physical phenomena is called the thermodynamic arrow of time. Its undeniable existence forces the theory to draw a sharp distinction between reversible transformations and irreversible transformations.

Doing so requires introducing a new quantity with no counterpart in classical mechanics: entropy, one of the most difficult physical quantities to grasp. It is a scalar quantity associated with the macroscopic state of the system, and it cannot decrease during the spontaneous evolution of an isolated system. Thermodynamics therefore does not provide a differential equation governing time evolution, as mechanics does. Instead, it sets up an entropy balance that constrains the direction of possible transformations and quantifies how irreversible they are. This is the second law of thermodynamics.

Together, the possibility of discarding microscopic details and the existence of entropy account for the remarkable universality of thermodynamic phenomena. Gas equilibrium, chemical equilibrium, and thermoelectric equilibrium all obey the same structural laws. Thermodynamics even applies on astrophysical scales.

The rest of this lesson traces in more detail the historical and conceptual path that led, over two centuries, from steam engines to black-hole entropy. Along the way, bold type flags the vocabulary characteristic of thermodynamics, which will be defined rigorously, step by step, in the rest of the book.

2. A theory of the conversion of heat into work

Burning coal releases energy, but this energy does not immediately turn a wheel or a drive shaft. For that, it must be converted into mechanical work. This is precisely what heat engines do; modern examples include coal-fired, natural-gas-fired, and nuclear power plants, as well as gasoline and diesel engines. Their energy performance is measured by their efficiency, defined as the ratio of the mechanical energy produced to the amount of energy received – a ratio we would naturally like to make as large as possible.

One of the oldest heat engines is the steam engine. Devices using steam to pump or move fluids appeared in Europe as early as the seventeenth century. But it was Watt who, from 1769 onward, improved them decisively and turned the steam engine into a genuinely industrial machine with many applications (mining, textiles, metallurgy, and so on). Watt's engine was nevertheless rather inefficient, with an efficiency on the order of a few percent. One question thus became pressing: could it be improved, and if so, how?

Engineers naturally sought to reduce friction and heat losses. Physicists, however, framed the question differently. In the 1820s, Sadi Carnot took up the problem and asked whether a maximum efficiency existed, or whether efficiency could in principle reach 100 %. Thermodynamics was born of this question and its answer.

Let us clarify what is meant by a thermal machine. In such a device, a fluid, called the working fluid, exchanges heat with one or more reservoirs held at fixed temperatures and exchanges mechanical work with its surroundings. A device of this kind can convert all the heat it receives into work in a single operation. For example, an ideal gas placed in contact with a high-temperature reservoir, called the hot reservoir, undergoes isothermal expansion and pushes a piston. It can be shown that this converts the heat received into work with an efficiency of 1. But the device will operate only once unless the piston is returned to its initial position.

To operate indefinitely, in a cycle, the working fluid must return to its initial state. In some real machines, such as gasoline engines and gas turbines, the fluid is replaced rather than recirculated: this is called open-cycle operation. If the machine delivers net work over a cycle, it is a heat engine (see Fig. 1); if it receives net work, it is a work-consuming device. Refrigerators and heat pumps are the best-known examples of the latter.

Generic diagram of a two-reservoir heat engine: the engine M receives an amount of heat Q_ H from the hot reservoir, rejects part of it, Q_ C, to the cold reservoir, and converts the remainder into mechanical work W. We will return to why the cold reservoir is necessary for the engine to operate.
Figure 1. Generic diagram of a two-reservoir heat engine: the engine receives an amount of heat from the hot reservoir, rejects part of it, , to the cold reservoir, and converts the remainder into mechanical work . We will return to why the cold reservoir is necessary for the engine to operate.

Let us return to the isothermal expansion described above, which converts heat into work in a single operation. To turn this device into an engine that can run indefinitely, we must bring the gas back to its initial volume. But this requires work: if we compressed it again at the same temperature, we would return all the work it had initially delivered. The net work over the cycle would be zero. One possible way around this is to cool the gas before compressing it. This lowers its pressure, so compression now requires less work than expansion produced. We thus obtain a genuine engine cycle. This requires bringing the gas into contact with a colder body, to which it gives up heat before being compressed: this is the cold reservoir. Some of the heat received from the hot reservoir must therefore be rejected to the cold reservoir, so the efficiency cannot reach 11.

Note 1 : To close the cycle, the gas must still be heated at constant volume to restore its initial state, which further reduces the efficiency.

This is a good argument, but is this loss strictly necessary? Could a more ingenious design avoid losing this heat to the cold reservoir? The answer, first given by Carnot in 1824, is no: no heat engine can operate without a cold reservoir. This is one of several ways of stating the second law of thermodynamics.

3. A theory based on the second law

Consider a heat wave. A modern air conditioner receives electrical energy and uses it to cool the air in a room, extracting heat from the air and rejecting it outdoors. This cycle consumes net work. Would it not be far more advantageous simply to extract the heat from the room and convert it entirely into mechanical work? The room would be cooled while useful energy was produced – essentially for free.

Achieving this would mean building a cyclic heat engine that converts all the heat it receives into work, needs no cold reservoir, and draws thermal energy from the room until the room reaches absolute zero. If no such machine is for sale at the shop down the street, it is not because no one has yet managed to build one: it is because it is impossible (see Fig. 2).

The machine forbidden by the second law: the complete conversion into work W of the heat Q extracted from a single reservoir at temperature T, without rejecting any of it to a colder reservoir. Compare this with the two-reservoir engine (Fig.  moteur-ditherme-schema), which is possible.
Figure 2. The machine forbidden by the second law: the complete conversion into work of the heat extracted from a single reservoir at temperature , without rejecting any of it to a colder reservoir. Compare this with the two-reservoir engine (Fig. 1), which is possible.

This powerful result was established gradually over the course of the nineteenth century, and, to qualify what we said above, not by Sadi Carnot alone. The precise history is somewhat more complicated, and we will return to it in full in the next lesson. At the risk of some slight inaccuracy for now, let us state the following points:

  • In 1824, Carnot showed that, in order to operate, a heat engine must reject part of the heat received from the hot reservoir to at least one cold reservoir. He also established that the efficiency of any heat engine is bounded above by a theoretical limit that depends only on the temperatures of the two reservoirs – not on the technical details of the engine or the fluid circulating through it. This is the Carnot efficiency, whose exact expression he could not yet give, because a rigorous definition of temperature was still lacking.
  • Beginning in 1848, Kelvin developed an absolute temperature scale, later reformulated into the one used today (see the next lesson). This fixed the expression for the Carnot efficiency: where is the temperature of the cold reservoir and that of the hot reservoir. In doing so, he made explicit what Carnot had in fact already demonstrated: it is impossible to perform a cycle whose sole result would be to convert entirely into work the heat extracted from a single reservoir. This is known as the Kelvin statement of the second law. It expresses the impossibility of the perfect air conditioner described above.
  • Finally, between 1850 and 1865, Clausius realized that this maximum efficiency entails the existence of a new quantity, which he named entropy. He also realized that this quantity measures the irreversibility of physical processes: it cannot decrease during the spontaneous evolution of an isolated system. This is the second law in its most general form, the one still used today.

The Carnot-Kelvin formula opened up new prospects for the engineers of the time. Reducing the various losses is always useful, but there are two entirely different levers for raising efficiency: designing machines whose operation comes as close as possible to the ideal Carnot cycle, see Lesson 6, and, given the formula above, making the cold reservoir colder and/or the hot reservoir hotter2. This conclusion, it must be admitted, is anything but obvious, and it perfectly illustrates the predictive power of thermodynamics.

Note 2 : Practical implementation was slow. Raising the steam temperature also meant raising its pressure considerably. The theoretical question thus turned into a metallurgical one: how could materials capable of withstanding such conditions be designed and assembled?
Key point
A heat engine is a kind of “tollbooth” set up at the boundary between a hot reservoir and a cold reservoir. Heat flows spontaneously from hot to cold without our having to do anything; during its cycle, the engine diverts a fraction of this flow and converts it into work. It collects, so to speak, a “tax” on the flow. Without a temperature difference between the two reservoirs, there is no flow, and no net work can be extracted.

In class, I often give the following example because it leaves a strong impression: by some misfortune, you find yourself on a raft in the middle of the ocean, with no engine, sail, or oars. Can you make headway? You can always swim, of course. Or perhaps your raft carries the tools needed to build a mechanical device, and you can design it to exploit the small temperature difference between the air above you and the generally colder water below. You now have an engine that runs without gasoline.

The main message, which often comes as a surprise, is that a heat engine needs no fuel to operate. Or rather: the temperature gradient is the fuel. An engine does not need an explosion; it needs a temperature difference (the cold reservoir is usually just the ambient environment: the air around us, the water of rivers and oceans, and so on).

This example is not so far-fetched, in fact, because OTEC plants (Ocean Thermal Energy Conversion) are industrial installations that exploit precisely the temperature difference between surface ocean water and deep ocean water to extract mechanical work. Likewise, geothermal power plants run on heat drawn from deep underground.

4. A universal theory

Carnot and Clausius thus gave a definitive answer to the problem of converting heat into work. But the discovery of entropy and the second law showed the physicists of the time that the theory developed to describe heat engines had a far broader scope, and belonged much more to fundamental physics than to engineering.

The nature of entropy then became the central question. What does this quantity represent, why does it exist, and how can the temporal asymmetry of irreversible phenomena be understood when the microscopic laws of classical mechanics are reversible? In the second part of the book, we will see that statistical physics provides a profound answer to these questions by interpreting the state of a system probabilistically: a single macroscopic state can correspond to a multitude of different microscopic states. Entropy is a measure of this multiplicity. This explains both why a macroscopic description can forget the microscopic details and why entropy emerges – the two essential ingredients that make thermodynamics a fundamental theory of such broad scope. Boltzmann laid the first foundations only fifteen years after Clausius. The theory then developed throughout the twentieth century and continues to evolve today.

Once physicists understood the universality of the theory, they applied it to many fields. Beyond engines, for example, thermodynamics turned out to govern phase changes as well: it determines the exact conditions under which water boils or ice melts. It also describes chemical equilibria, determining the spontaneous direction of reactions and the energy exchanges that accompany them. This gave rise to thermochemistry. It made it possible to calculate the power radiated by any body in thermal equilibrium, known as black-body radiation. Understanding this radiation at the microscopic level contributed, through Planck's work, to the discovery of quantum mechanics. More surprisingly still, Bekenstein and Hawking showed in 1973 and 1974 that black holes are themselves thermodynamic objects, endowed with well-defined temperatures and entropies. This result continues to guide research in quantum gravity. More recently, in 1995, Jacobson showed that Einstein's equations can, under certain assumptions, be recovered from thermodynamic relations. This work suggested that spacetime might be more than a geometric framework, a kind of deformable arena for the world: in particular, it might itself possess thermodynamic properties and, in a certain sense, a temperature.

This diversity of applications might lead one to fear an endless proliferation of formulas. Yet the underlying structure of the theory is relatively simple. A small number of concepts (system, equilibrium, boundary conditions, energy, entropy) and a few general principles are enough to organize the whole (see Fig. 3). The remaining lessons are devoted precisely to showing this.

The architecture of thermodynamics: the need to describe a macroscopic system without tracking each particle gives rise to state variables, then to the two laws, and finally to a single, universal mathematical structure.
Figure 3. The architecture of thermodynamics: the need to describe a macroscopic system without tracking each particle gives rise to state variables, then to the two laws, and finally to a single, universal mathematical structure.

5. Course outline

Many introductory thermodynamics textbooks devote considerable attention to the physics of the ideal gas. This approach certainly has the advantage of easing students into the theory, but it risks leaving them with the impression that thermodynamics is just the study of cylinders, pistons, and the ideal-gas equation .

We hope the preceding discussion has made clear that reducing thermodynamics to ideal gases would be to profoundly misunderstand the nature of the theory. We will therefore not take this gradual route. Instead, we will tackle the underlying structure of the theory directly: its specialized vocabulary; its kinematics, so to speak (i.e. state variables, state space, state functions, and transformations); its differential geometry; and finally the concept of entropy, one of the subtlest quantities in all of physics.

We will nevertheless cover the ideal gas: it will serve as a recurring example to illustrate each new concept. But it will remain what it is: a convenient special case, not the heart of the theory.

The course is organized as follows:

  • Lesson 2: Historical Perspective. A look back at the forgotten caloric theory and the transition to the modern formalism (this lesson may be skipped on a first reading).
  • Lesson 3: Fundamental Concepts. Rigorous definitions of the basic vocabulary (system, walls, constraints, equilibrium, state variables, intensivity and extensivity, state space, and thermodynamic transformations).
  • Lesson 4: The First Law. Microscopic and macroscopic construction of the internal energy . Definition of work and heat transfers; exact and inexact differential forms.
  • Lesson 5: Application of the First Law to the Ideal Gas. Explicit calculations for elementary ideal-gas processes. Adiabatic index and Laplace's law.
  • Lesson 6: Reversibility, Irreversibility, Entropy. Operational introduction to the second law as the prohibition of spontaneous heat transfer from cold to hot; Carnot-Clausius construction of entropy through the maximum efficiency of heat engines, and finally a quantitative formulation of the second law in terms of entropy.
  • Lesson 7: The Fundamental Relation. Combining the two laws yields a fundamental equation, generalized to open systems, which constrains the differential geometry of the equilibrium state space. Gibbs-Duhem relation, ideal-gas entropy.
  • Lesson 8: Direction of Evolution, Equilibrium and Stability. Direction of spontaneous transfers, equilibrium conditions from the stationarity of entropy, maximum entropy, concavity and stability; review of the theory's assumptions.
  • Lesson 9: Calorimetric and Thermoelastic Coefficients. Connecting heat, expansion, and compressibility to measurable properties and stability.
  • Lesson 10: Thermodynamic Potentials. Choosing the potential suited to the constraints to determine equilibrium and available work.
  • Lesson 11: Phase Transitions. Phase diagrams, instabilities, and the van der Waals gas.
  • Lesson 12: Heat Engines and Refrigeration Machines. A study of the steam engine and refrigeration cycles.
  • Lesson 13: Thermodynamics of Radiation. Thermal radiation and the properties of the black body.