Home/Lessons/Lesson 5

Application to the Ideal Gas

Keywords: Ideal gas, Joule-Gay-Lussac expansion, Joule's law, Isothermal processes, Isochoric processes, Isobaric processes, Adiabatic processes, Clapeyron diagrams, Power cycles, Refrigeration cycles

Final version

The first law was established in Lesson 4 without assuming any particular model for the system. On its own, it therefore does not allow us to calculate , just as Newton's second law does not predict the evolution of a system until the forces acting on it are known. To make use of the first law, we still need to characterize the system under study. We will now do so for the ideal gas.

1. The equations of state of an ideal gas

A first equation of state of the ideal gas is

(1)

As we saw in Lesson 2, this relation is the culmination of a long experimental history. By itself, it says nothing about the internal energy of the gas. The following section, which may be skipped on a first reading, presents the experimental approach that leads to the second equation of state of the ideal gas:

(2)

where, in practice, can be treated as a constant1. Note at this stage that the thermodynamic formalism does not allow these equations of state to be derived. Statistical physics, however, will make it possible to recover them from a microscopic model.

Note 1 : More generally, may depend on temperature (for example for a diatomic gas, whose molecular vibrations contribute only at high temperature); one then only has . In this course, unless otherwise stated, is taken to be constant.

1.1. Joule-Gay-Lussac expansion

The key experiment consists in observing the expansion of a gas into a vacuum. In practice, a sufficiently dilute gas is used to reduce interactions between molecules and thus approach the ideal-gas model. A rigid, thermally insulated vessel is divided into two compartments. The first contains the gas at equilibrium and the second is evacuated. The partition separating them is removed, the system is allowed to reach a new equilibrium, and this equilibrium is then characterized experimentally.

Gay-Lussac was the first to perform this type of experiment at the beginning of the nineteenth century; Joule repeated it later, around 1845. The important experimental result is that no change in the temperature of the gas is observed between the initial and final states. In reality, for a real gas, a small change remains and may be positive or negative depending on the gas and the conditions, but it tends to zero as the density decreases. In the ideal model, we therefore assume that the final temperature is exactly equal to the initial temperature.

To interpret this result, let us examine what the first law says. The work done by external forces is zero, since the gas expands into a vacuum. Moreover, the walls of the system are thermally insulated, so as well. The first law then requires

Let us assume for the moment that the internal energy can be written as ; this choice of variables will be justified after the second law has been established. Since the system is closed, is fixed. Between the initial and final states, the volume has changed but the temperature is the same, and so is the internal energy. Since this result holds whatever the initial and final volumes, the internal energy does not depend on volume at fixed temperature:

(3)

This property constitutes Joule's law: the internal energy of an ideal gas does not depend on its volume. This experiment does not yet determine the form of the function .

1.2. Internal energy of an ideal gas

To determine the form of , we consider a second experiment. A known amount of gas is heated in a rigid vessel. At constant volume, the work done by pressure forces is zero; the energy supplied to the gas is therefore equal to the change in its internal energy. By supplying small amounts of energy and measuring the corresponding rise in temperature, one experimentally determines the value of the molar heat capacity at constant volume

(4)

This heat capacity may a priori depend on temperature. Direct measurement is difficult because the heat capacity of the gas is small compared with that of the vessel and the calorimeter. It is nevertheless possible, and one can even show that for a dilute gas, is approximately constant. Taking it to be strictly constant, the preceding relation can be integrated, giving

(5)

The internal energy is defined only up to an additive constant: only its changes have physical meaning. We may therefore choose the origin of energies so that at , which recovers equation (2).

Key point (Two independent equations of state)
The ideal-gas model is described by two independent equations of state:

which relates , , and , and

which gives its internal energy. The values of will generally be provided in a problem statement; otherwise, take for a monatomic gas and for a diatomic gas.

2. The first law applied to an ideal gas

We can now determine changes in internal energy as well as the work and heat exchanged during the usual transformations of an ideal gas. We restrict ourselves to a closed system with no change in macroscopic kinetic or potential energy, and for which pressure forces are the only source of work. The results of Lesson 4 give

(6)

In the calculations that follow, we also assume that the transformation is quasi-static: the system then follows a path on the surface of equilibrium states. We further assume that the external pressure can be identified with the gas pressure . This assumption is crucial: during an abrupt transformation, the gas pressure need not be uniform, and replacing with is incorrect. We will return to this assumption when studying the second law and transformations said to be reversible or irreversible.

2.1. Isochoric transformation

During an isochoric transformation, . The work done by pressure forces is therefore zero: . The first law then gives

(7)

When the gas receives heat (), its temperature rises, and conversely. This is essentially what happens when air is heated in an oven (assuming the oven is closed, which is not quite true).

2.2. Isothermal transformation

If the temperature is constant, , then because depends only on . Hence . With , the work received is

which gives:

(8)

During an expansion, and hence : the gas supplies work and receives the same amount of energy as heat (). This isothermal expansion stage will often be used in ideal power cycles. During a compression, the signs are reversed.

2.3. Isobaric transformation

At constant pressure , the work received is

(9)

Alternatively, the equation of state gives , and hence also . Since , we obtain

(10)

This expression naturally leads us to introduce the molar heat capacity at constant pressure, denoted , through during an isobaric transformation. For an ideal gas,

(11)

a relation to which we will return later (Mayer's relation). We also introduce the ratio

(12)

called the adiabatic index of the gas. Mayer's relation shows that . For a monatomic gas, with , we find and . For a diatomic gas, with , we obtain and . Since , these relations can be inverted to give

which are often very useful in calculations.

We will return more systematically in Lesson 9 to the heat capacities and , their general definition, and their interpretation. For now, it is enough to remember that, for the same amount of gas, raising its temperature by the same amount at constant pressure requires more energy than at constant volume: in the first case, part of the energy received is returned to the surroundings as work during the inevitable expansion of the gas.

Remark 1
To compare the energy balances of an isochoric, an isothermal and an isobaric transformation on a single diagram, see the exercise “Textbook exercise: elementary transformations”.

2.4. Adiabatic transformation

Let us now consider an adiabatic transformation, for which . Unlike the preceding cases, obtaining expressions for and between the initial and final states is not immediate, because , while the work is written

and the way in which the pressure varies with volume has not yet been determined. To do so, we must return to the differential form of the first law, which relates the infinitesimal changes in , , and along the transformation. The following derivation is an extremely standard exercise, often set in the form “derive the Laplace relations for an ideal gas from the first law”. It is strongly recommended that you work through all of the following calculations yourself.

Since , the first law gives

For the ideal gas considered here, however, . We therefore have . Using , that is, , and dividing by , we obtain the differential equation

It can be integrated immediately:

We divide by and note that

We therefore obtain

that is,

(13)

Substituting into this relation once again gives two other equivalent forms. The three Laplace relations are therefore

(14)

In practice, one form or another will be used depending on the data given in the problem. The work can then be calculated in several ways. The most direct is to use the first law: since , we have , and hence

(15)

This expression is useful when the initial and final temperatures are known. The work can also be recovered by directly integrating the pressure forces. Indeed, the Laplace relation allows us to write, along the transformation, , where . It follows that

This expression is useful when the initial and final volumes are known. We also note that and , which gives

(16)

All these expressions are equivalent. During an adiabatic expansion, the gas supplies work: . Its internal energy decreases and its temperature falls. Conversely, adiabatic compression raises its temperature.

Remark 2
To work through the derivation again and apply the three equivalent forms, see the exercise “Textbook exercise: Laplace's laws”.

3. Clapeyron diagrams

To visualize gas transformations, it is extremely useful to work in the plane, where each point corresponds to an equilibrium state, located by its volume on the horizontal axis and its pressure on the vertical axis. This representation is called a Clapeyron diagram.

At each point, the temperature is determined by the equation of state . Since we always consider a closed system, is constant and is generally given in the problem statement. An important point is that is proportional to the product : it is therefore higher when the point lies in a region of the diagram where this product is large, generally toward the top right.

Under the assumptions stated above, a transformation of the gas is therefore represented by a curve connecting the initial state to the final state .

3.1. Representation of the usual transformations

The four transformations encountered above take particularly simple forms in the plane.

  • An isochoric transformation, , is represented by a vertical segment.
  • An isobaric transformation, , is represented by a horizontal segment.
  • For an isothermal transformation, the equation of state gives : the curve is a branch of a hyperbola of the form .
  • An adiabatic transformation obeys the Laplace relation , that is, . Since , the pressure decreases with volume more rapidly than along an isotherm; see Figure 1.

Schematic representation in a Clapeyron diagram of the usual transformations starting from the same state A. For an expansion, the adiabat decreases more rapidly than the isotherm because >1. The directions of the arrows were chosen arbitrarily: each transformation can be traversed in either direction.
Figure 1. Schematic representation in a Clapeyron diagram of the usual transformations starting from the same state . For an expansion, the adiabat decreases more rapidly than the isotherm because . The directions of the arrows were chosen arbitrarily: each transformation can be traversed in either direction.

3.2. Two paths between the same states

The Clapeyron diagram now makes it possible to visualize a fundamental property established in the previous lesson: is a state function, whereas and depend on the particular transformation.

Consider, for example, the two states

The ideal gas equation gives , with . Since the internal energy of an ideal gas depends only on its temperature,

for any transformation connecting to . Let us now compare the two paths shown in Figure 2.

Two different paths connecting the same states A and B. Path P_1 is isothermal. Path P_2 consists of an isobaric transformation A C, followed by an isochoric transformation C B.
Figure 2. Two different paths connecting the same states and . Path is isothermal. Path consists of an isobaric transformation , followed by an isochoric transformation .

For the first path , which is a direct isothermal expansion, we have

Since , it follows that .

For the second path , the isobaric transformation is performed first, followed by the isochoric transformation . The work received on the first branch is , while . Thus,

We finally obtain

(17)

The two paths have the same endpoints and therefore the same change in internal energy, but they lead to different values of work and, by the first law, to different heat transfers.

3.3. Work as the area under the curve

The path dependence of work has an immediate geometric interpretation. For a quasi-static transformation represented in a Clapeyron diagram, the work received is

(18)

The integral represents the signed area under the curve describing the transformation. With our sign convention, the work received by the gas is the negative of this area.

In a Clapeyron diagram, the integral _A^B P dV represents the signed area under the curve. The work received by the gas is the negative of this area.
Figure 3. In a Clapeyron diagram, the integral represents the signed area under the curve. The work received by the gas is the negative of this area.

Here it is crucial to remember that the order of the limits determines the sign of the integral. During an expansion from to , with , we have

the gas supplies work to its surroundings. During the reverse compression, the limits are interchanged and

the gas receives work. It is therefore essential to use an arrow to indicate the direction in which any curve plotted in a Clapeyron diagram is traversed.

This interpretation also provides a very simple explanation of why the two paths in Figure 2 lead to different values of work: the areas under the two curves are not the same.

3.4. Power cycles and refrigeration cycles

During a cyclic transformation, the system returns to its initial state. The cycle is therefore represented by a closed curve in the Clapeyron diagram.

Since is a state function, . The first law therefore requires . Moreover,

(19)

The preceding geometric interpretation then takes a particularly simple form: the absolute value of the work is equal to the area enclosed by the cycle. To see this, consider a cycle consisting of an upper branch traversed from to , with , followed by a lower branch traversed in the opposite direction, as in Figure 4. We have

This is the area under the upper branch minus the area under the lower branch, in other words the area enclosed by the cycle. For the clockwise path considered here, this integral is positive and the work received is therefore negative.

Property 1 (Work of a cycle in a Clapeyron diagram)
For any simple quasi-static cycle,

where is the area enclosed by the curve in the diagram. With the banker's convention:

  • a cycle traversed clockwise satisfies : overall, the system supplies work to its surroundings; it is a power cycle;
  • a cycle traversed counterclockwise satisfies : overall, the system receives work; it is a refrigeration cycle.

A cycle traversed clockwise supplies net work to the surroundings: it is a power cycle. When traversed in the other direction, it receives work: it is a refrigeration cycle. In both cases, the absolute value of the work is the area enclosed by the cycle.
Figure 4. A cycle traversed clockwise supplies net work to the surroundings: it is a power cycle. When traversed in the other direction, it receives work: it is a refrigeration cycle. In both cases, the absolute value of the work is the area enclosed by the cycle.

For a power cycle, the first law requires : over the complete cycle, the gas receives a net amount of heat equal to the work it supplies to its surroundings.