This lesson develops the basic vocabulary of thermodynamics, but also several structural assumptions on which the theory rests: the existence of macroscopic states characterized by a small number of variables, and the structure of the resulting state space.
1. Thermodynamic systems
In thermodynamics, we always begin by choosing the system we wish to study.
For example, we may choose the gas contained in a vessel as our system, in which case the boundary coincides with the walls of the vessel. Note, however, that a boundary need not be a material wall. To study flow through a turbine or a pipe, the system is often chosen as a fixed region of space, called a control volume, bounded by a purely geometrical surface across which matter may flow.
Note also that the choice of system is partly arbitrary. The same phenomenon can often be described using different systems. In practice, knowing the conditions imposed at the system's boundary often leads to a natural choice. These conditions are generally given in the statement of an exercise or implied by the physical situation itself. In every case, the chosen system must be stated clearly before any physical balance equations are written.
Once the system has been defined, the first question is what it can exchange with its surroundings. Two main kinds of exchange will be considered in this course: exchanges of matter and exchanges of energy, notably as heat or work. This leads us to distinguish three types of systems.
The fourth logical category—a system that would exchange matter but no energy with its surroundings—has no physical meaning: any matter crossing the boundary necessarily carries energy with it.
A few examples: a gas enclosed in a cylinder fitted with a piston is a closed system: no molecules cross its walls, but the gas can receive heat or do work by moving the piston. An open pan of boiling water, by contrast, is an open system, since steam escapes from it and it can receive heat from the hotplate.
A perfectly isolated system is always an idealization. A sealed vacuum flask is a good approximation (for a limited time). In reality, no system can be perfectly isolated, since even in a vacuum electromagnetic radiation can carry energy to or from the system; see Lesson 13 on the thermodynamics of radiation.
2. Boundaries, walls, and constraints
The properties of the boundary determine which exchanges are possible between the system and its surroundings. It is essential to understand that different boundary conditions can produce entirely different thermodynamic evolutions from the same initial state. Knowing the system is not enough: we must also know the constraints imposed at its boundary. When a boundary consists of a material wall, several common cases are distinguished.
- A wall may be rigid or movable. A rigid wall fixes the geometry of the system. A movable wall, by contrast, can move under the action of unequal pressure forces on its two sides.
- A wall is called diathermal or diathermanous if it permits heat transfer, and adiabatic if it prevents it. One may also say thermally insulated, but adiabatic is more precise because it is not limited to thermal conduction: an adiabatic wall prevents all heat transfer, whether by conduction, convection, or radiation.
- A wall may be permeable or impermeable to matter. It may also be semipermeable, meaning that it allows some chemical species to pass while blocking others.
Figure 1 summarizes the possible exchanges with the surroundings, the three types of systems, and the main constraints imposed by their boundaries.

These properties are constraints that determine which thermodynamic processes are possible. Consider, for example, two gases separated by a rigid wall. Their pressures may differ without anything happening because the wall prevents all motion. If the wall is replaced by a movable piston, the pressure difference sets the piston in motion. Likewise, two bodies separated by an adiabatic wall may remain at different temperatures. If the wall becomes diathermal, however, heat is transferred until a new equilibrium is established. Finally, two solutions containing the same chemical species at different concentrations can retain that difference when separated by a membrane impermeable to that species. If the membrane becomes permeable to it, the particles can cross the boundary and diffuse from one region to the other until a new equilibrium is established.
It is often useful to impose particular external conditions on a system without describing in detail the apparatus that produces them. For example, we may wish to study a system that is kept at constant temperature no matter what happens.
Formally, this amounts to imposing certain properties on the surroundings with which the system interacts. A reservoir is a system large enough that some of its parameters can be treated as constant despite exchanges with the system under study.
A thermal reservoir, or thermostat, is a reservoir whose temperature remains practically constant when it receives or releases a reasonable amount of heat. A large body of water, for example, can play this role. Similarly, in many situations the atmosphere can be regarded as a mechanical reservoir that imposes an approximately constant pressure; it is then called a pressure reservoir. Later, we will also encounter particle reservoirs capable of imposing a chemical potential.
3. Thermodynamic equilibrium
Equilibrium lies at the heart of thermodynamics. The concept is phenomenological in origin. Experience shows that a system subject to fixed external conditions generally tends, after some time, toward a state in which no macroscopic evolution can be observed. Equilibrium is reached when the macroscopic quantities of the system, such as its temperature, volume, or composition, no longer change with time.
When one of these external conditions is changed, the system generally evolves again until it reaches a new equilibrium state. Consider, for example, a metal cube that has been left in a room for a long time. Its temperature no longer changes by a macroscopically observable amount. Now place the cube in a hot oven. The conditions imposed at its boundary have changed, and the system begins to evolve again: its temperature gradually increases. After some time this evolution ceases once more, and a new stable state is reached.
The system is then said to have relaxed to a new equilibrium state. The time needed to reach this state, called the relaxation time, depends on the system and on the physical processes involved.
These observations lead to the following definition.
Thermodynamic equilibrium does not mean that every temperature, pressure, or concentration difference has necessarily disappeared. It means that no spontaneous macroscopic evolution is possible given the constraints imposed on the system. The second part of the definition distinguishes an equilibrium state from a steady state. In a steady state, macroscopic quantities no longer depend on time, but persistent fluxes, notably of heat or matter, may nevertheless remain. The standard example is a metal bar whose ends are maintained at different temperatures. After some time, the temperature profile in the bar no longer depends on time, yet a steady heat flux keeps passing through it, directed from the hot end to the cold end. The system is therefore not in equilibrium in the above sense.
4. Macroscopic states and state variables
The natural next question is how equilibrium states can be described quantitatively. To this end, we introduce the notion of a state variable.
4.1. State variables
A macroscopic system contains an immense number of microscopic degrees of freedom. One liter of gas, for example, contains on the order of molecules. A complete mechanical description would in principle require the position and velocity of every one of them. Thermodynamics nevertheless assumes that, at equilibrium, this microscopic information can be replaced by a very small number of macroscopic quantities, called state variables because they characterize the macroscopic state.
The best-known examples are volume , pressure , temperature , and particle number . We will see that the first law introduces another, internal energy , while the second law introduces yet another, entropy . For the moment, we assume that these two quantities exist and that they, too, help to characterize the macroscopic state of the system.
The very existence of these macroscopic variables is far from trivial, as we emphasized in the general introduction. Yet this postulate is essential: it is the logical prerequisite for formulating the two laws of thermodynamics.
4.2. Extensive and intensive variables
Experiment shows that these state variables almost always fall into two broad categories.
A quantity is intensive if it remains unchanged under the same scaling.
Volume , mass , and particle number are extensive quantities. In general, we will also assume that internal energy and entropy are extensive. Temperature and pressure , by contrast, are intensive quantities.
4.3. Algebra of extensivity
Extensive and intensive quantities obey a simple algebra. It is useful to formalize it by introducing homogeneous functions.
Extensive quantities are homogeneous of degree , whereas intensive quantities are homogeneous of degree . This definition immediately allows quantities to be combined. If is homogeneous of degree and of degree , then is homogeneous of degree , while is homogeneous of degree .
For example, the ratio is homogeneous of degree and is therefore intensive: it is the volume per particle. Similarly, the particle density is intensive.
This property provides a way to check the consistency of a thermodynamic equation. Besides satisfying ordinary dimensional analysis, an equation must also be consistent with extensivity: both sides must transform in the same way when the size of the system is changed. Adding an extensive variable to an intensive one is meaningless. You should make a habit of checking this in your calculations.
As an exercise, verify that the ideal-gas equation satisfies both constraints. Here is the number of particles. (The relation can also be written in terms of the number of moles , related to by , where is Avogadro's constant. Since , this gives the familiar form .)
5. The space of equilibrium states
It is useful to give a simple mathematical formulation of what we have just postulated. Let denote the set of equilibrium states accessible to the system under consideration. A state can be described by a finite number of independent variables
whose values determine it completely. The may represent temperature, pressure, volume, and so forth. These state variables then serve as coordinates on the space .
We have stipulated that these variables must be independent. Indeed, the various state variables of a system are generally linked by equations of state. The ideal-gas equation provides one example. We will return to this point below.
We will further assume that thermodynamic quantities depend smoothly enough on these coordinates for differential calculus to be used. In mathematical terms, the resulting model of is a finite-dimensional differentiable manifold.
This formulation may seem abstract, but it merely makes explicit an assumption that many books use implicitly when they write quantities such as , , or without further specifying the mathematical structure that makes them possible. Above all, this geometrical construction will allow us to formulate precisely the dependence among thermodynamic variables and the concept of a state function.
We have just modeled the set of equilibrium states as a finite-dimensional manifold. We must now determine what fixes its dimension. Many state variables may be used to describe a system, but they are generally not all independent: relations connect some of them.
The state of an ideal gas, for example, is determined by the four state variables , but since they satisfy , any three of them are enough. This motivates the following definition.
The ideal-gas equation corresponds to
An equation of state reduces the number of variables that can be chosen freely. More generally, if we begin with state variables related by independent relations, only of them can be chosen freely. This number is precisely the dimension of the manifold . In Lesson 11, we will see how the Gibbs phase rule allows this count to be carried out systematically.
Once the state space has been defined, we can introduce a concept that will be used continually.
If independent coordinates are chosen on , we may write . Internal energy and entropy are the two most important state functions in thermodynamics. In practice, these functions will be assumed to be sufficiently smooth.
6. Thermodynamic processes
A thermodynamic process is any evolution in which a system passes from an initial equilibrium state to a final equilibrium state .
During the process, the system is not necessarily in equilibrium, so it would in general be incorrect to represent such an evolution by a path in the space of equilibrium states. Only the initial and final states necessarily belong to this space.
6.1. Quasistatic processes
There is, however, a class of processes for which such a representation is legitimate: those slow enough for the system to remain, at every instant, arbitrarily close to equilibrium. These processes play a central role in thermodynamics.
In concrete terms, this means that the external constraints are changed sufficiently slowly compared with the characteristic relaxation times of the system. All along the path, the system can then be regarded as passing through a succession of infinitesimally close states
and we may write
for example,
The quasistatic character of the process makes it possible to apply differential calculus throughout its evolution. State variables and all state functions are then defined at every stage, and their infinitesimal changes can be evaluated along the path followed in .
Now consider a state function , assumed to be sufficiently smooth. Along a quasistatic path from to , its infinitesimal changes are
and integrating them along gives the total change:
This result depends only on the initial and final states, not on the path followed: we say that is an exact differential. Note that remains well defined even for a non-quasistatic process, since and are equilibrium states: it can always be computed along a fictitious quasistatic path connecting to .
Figure 2 contrasts a quasistatic process, which follows a path in , with a non-quasistatic process (for example, a sudden one), whose intermediate states are not necessarily equilibrium states.

6.2. Special processes
Certain processes occur repeatedly in thermodynamics and are therefore given special names.
- A process in which the system is in contact with surroundings at a constant temperature, , is monothermal.
- A process in which the system is subjected to a constant external pressure, , is monobaric.
- A process in which the system's temperature is defined at every instant and remains constant () is isothermal.
- A process in which the system's pressure remains constant, , is isobaric.
- A process at constant volume, , is isochoric. This is notably the case for a system contained in a rigid vessel.
- A process in which no heat is exchanged with the surroundings at any point is adiabatic. It can ideally be achieved with adiabatic walls.
- A process at constant entropy, throughout the process, is isentropic.
- A process at constant internal energy, throughout the process, is isoenergetic. In particular, it satisfies between its initial and final states.
- A process whose final state is identical to its initial state is cyclic.
Note that a quasistatic monothermal process carried out through a diathermal wall is necessarily isothermal: at every instant the system remains in thermal equilibrium with its surroundings, and hence at their temperature.
7. References
For a classical and systematic presentation of thermodynamics, see in particular Diu et al. [1] and Callen [2].