Thermodynamic processes on an ideal gas

In this note we discuss isothermal, adiabatic, isobaric, and isochoric processes with an ideal gas. We begin by recalling a few basic principles from thermodynamics, and their application to a container of ideal gas, as shown in the figure below.

Rendered by QuickLaTeX.com

A container of ideal gas.

When the gas is at an absolute temperature T > 0, the molecules of the gas move around inside the container and bounce off its walls. Each gas molecule suffers a change in momentum upon such a collision, and the totality of all those collisions per unit time exerts a force on the walls of the container. The average of this force per unit area is called the pressure P. If the volume V of the enclosure is increased, by raising the piston say, the average distance that a molecule needs to travel between collisions also increases (see this problem). Thus, collisions of the gas molecules with the walls become less frequent and the pressure decreases. If we now raise the temperature of the gas the molecules start moving faster, and the pressure rises again. It is therefore intuitively apparent that the pressure, volume and temperature of the gas are related to one another. A more quantitative analysis of this picture is given in chapter 39 of The Feynman Lectures. For the present discussion, we will start with (39.11) from that chapter, which relates the pressure and volume to the internal energy U of the gas

(1)   \begin{equation*}   PV = (\gamma-1) U , \quad\text{ with } \gamma > 1 .  \end{equation*}

It was shown by Joule that the internal energy of the gas is a function of only the temperature, U = U(T) (see page 22 of Thermodynamics by E. Fermi). In fact U is directly proprotional to the termperature of the gas,

(2)   \begin{equation*}   U \propto T .  \end{equation*}

For example, a monatomic gas has \gamma=5/3 and U=\frac{3}{2} nRT which turns (1) into the familiar ideal gas law

(3)   \begin{equation*}   PV=nRT .  \end{equation*}

Next, we remember the first law of thermodynamics which is essentially the statement of the principle of conservation of energy for thermodynamical systems. It states that the change in energy of the system during any transformation is equal to the amount of energy that the system receives from its environment. We can write this in the differential form

(4)   \begin{equation*}   {\rm d} U = {\rm d} Q + {\rm d} W  \end{equation*}

where {\rm d} Q is the heat energy supplied to the system and {\rm d} W is the work done on the system. We know work is force \times displacement. The force needed to move the piston in figure is PA where A is the cross-sectional area of the piston. As we compress the gas its pressure changes. If we displace the piston by a small {\rm d} x such that the pressure does not change appreciably, the differential work done on the gas is

(5)   \begin{equation*}   {\rm d} W = -PA{\rm d} x = -P {\rm d} V .  \end{equation*}

We have added a negative sign by hand so that when we compress the gas it’s volume decreases, {\rm d} V < 0, which makes {\rm d} W > 0. In other words, work done on the gas is positive. Conversely, work done on the gas as it expands is negative. In some textbooks (4) is written as {\rm d} U = {\rm d} Q - {\rm d} W in which case W stands for the work done by the system. In either case the first law will be {\rm d} U = {\rm d} Q - P {\rm d} V when we express work in terms of pressure and volume.

If we plot the pressure vis-a-vis the volume as in the figure, then total work done on the gas as we compress it from V_i to V_f is

(6)   \begin{equation*}   \boxed{     W = \int_i^f {\rm d} W = - \int_{V_i}^{V_f} P {\rm d} V = - (\text{area under the PV curve}) .   } \end{equation*}

The relation (6) applies for all ideal gas processes. To carry out this integral we need to know the exact relationship between P and V. This will be subject of the rest of our discussion.

Rendered by QuickLaTeX.com

A PV diagram.

Isothermal Process

In an isothermal process the temperature remains constant throughout. For example, consider a closed container of gas with a movable piston as shown in the figure below. The bottom wall of the container is assumed to a perfect conductor of heat. We can now place this assembly on a heat bath (also called a reservoir), which is a system that can absorb or release heat with no change to its temperature, T. After a while the gas comes to equilibrium with the heat bath, reaching a temperature T.

Rendered by QuickLaTeX.com

A container of ideal gas in contact with a heat bath.

The heat bath maintains the temperature of the gas at T, which means the internal energy of the gas cannot change (cf. (2)). Therefore, the r.h.s. of (1) is a constant (call it c(T)),

(7)   \begin{equation*}   % P = \frac{c(T)}{V}   PV = c(T) \implies P = \frac{c(T)}{V} .  \end{equation*}

If the gas is monatomic the constant c(T)=nRT. We may now plot this relation on a pressure-volume (PV) diagram, as shown in the figure. These curves are called isotherms. Suppose we start out with a volume V_i of the gas at pressure P_i initially. We slowly compress the gas, allowing enough time for the gas to equilibriate with the bath at each step, so that the temperature is always T. As we do so, we do work on the gas. Since the internal energy of the gas remains constant, this work is dumped as heat into the bath (cf. (4)). By the time we reach the point (V_f,P_f) on the isotherm we would have done a total amount of work

(8)   \begin{equation*}   W_{\rm i.t.} = - \int_{V_i}^{V_f} P {\rm d} V     = - c(T) \int_{V_i}^{V_f} \frac{{\rm d} V}{V}     = c(T) \ln \left( \frac{V_i}{V_f} \right) , \end{equation*}

where we used (7) in the second step. Also by (7), P_i V_i = c(T) = P_f V_f. Therefore, we may write the above equation as

(9)   \begin{equation*}   \boxed{     W_{\rm i.t.}       = P_i V_i \ln \left( \frac{V_i}{V_f} \right)       = P_i V_i \ln \left( \frac{P_f}{P_i} \right).   } \end{equation*}

If the gas is monatomic we can use (3) to write

(10)   \begin{equation*}   W_{\rm i.t.} = n R T \ln \left( \frac{V_i}{V_f} \right) .  \end{equation*}

Rendered by QuickLaTeX.com

An isotherm on a PV diagram. The shaded region in light blue is negative of the work done on the gas.

It is also instructive to see what the process looks like on a TV diagram, as shown in figure. We have denoted the reservoir temperature by T_0 to avoid confusion with the axis label T. This plot contains all the information we need to compute the work done directly, using (10).

Rendered by QuickLaTeX.com

An isothermal process on a TV diagram.

Adiabatic Process

If we keep an ideal gas in an thermally insulated container it can no longer exchange heat with it’s surroundings. That means {\rm d} Q = 0 in (4), and so {\rm d} U = {\rm d W}; the work done on the gas raises the internal energy and temperature of the gas. Using this in (5), we have

(11)   \begin{equation*}   {\rm d} U = - P {\rm d} V . \end{equation*}

Next, we take the derivative of (1) to obtain

(12)   \begin{equation*}   {\rm d} U = \frac{P {\rm d} V + V {\rm d} P}{\gamma-1} . \end{equation*}

Substituting this equation into the previous one we find

(13)   \begin{equation*}   V {\rm d} P = - \gamma P {\rm d} V , \end{equation*}

which can be integrated to obtain

(14)   \begin{equation*}   \boxed{P V^\gamma = {\rm const.}}  \end{equation*}

Rendered by QuickLaTeX.com

An adiabatic process (violet) on a PV diagram.

The relation (14) is plotted in figure in green. For comparison, we also show an isotherm (in dashed blue) which touches the adiabatic curve at point a. The area under the latter is smaller because P \propto V^{\gamma} < V^{-1} since \gamma>1 (cf. (1)). Therefore the work done to compress the gas from V_i to V_f is smaller than it would be for an isothermal process. We can find an expression for this work on the gas using (6),

(15)   \begin{equation*}   W_{\rm ad} = - \int_{V_i}^{V_f} P {\rm d} V = - {\rm const.} \times \int_{V_i}^{V_f} \frac{{\rm d} V}{V^\gamma} , \end{equation*}

where we have used (14). Since P_i V_i^\gamma = {\rm const.} = P_f V_f^\gamma, we may write

(16)   \begin{equation*}   W_{\rm ad} = - P_i V_i^\gamma \int_{V_i}^{V_f} \frac{{\rm d} V}{V^\gamma}     % = - P_i V_i^\gamma \left( \frac{V^{-\gamma+1}}{-\gamma+1} \right) \bigg\rvert_{V_i}^{V_f}     = \frac{P_i V_i^\gamma}{\gamma-1} \left( \frac{1}{V_f^{\gamma-1}} - \frac{1}{V_i^{\gamma-1}} \right)     = \frac{P_f V_f - P_i V_i}{\gamma-1} . \end{equation*}

As mentioned above, the temperature of the gas increases as we compress it. We can find relations between the pressure, volume and temperature at every point of an adiabatic process. First, note that (1) and (2) imply PV \propto T for any gas. Then, (14) may be written as

(17)   \begin{equation*}   (PV) V^{\gamma-1} = {\rm const.} \implies \boxed{T V^{\gamma-1} = {\rm const.'}} \end{equation*}

where {\rm const.'} is a new constant. We can plot this relationship on a TV diagram as shown in figure. The temperature and volume at the initial and final points on the adiabatic curve satisfy

(18)   \begin{equation*}   T_i V_i^{\gamma-1} = T_f V_f^{\gamma-1} . \end{equation*}

Rendered by QuickLaTeX.com

An adiabatic process on a TV diagram.

Similarly, replacing the volume V in (14) using V \propto T/P gives

(19)   \begin{equation*}   \boxed{\frac{T^{\gamma}}{P^{\gamma-1}} = {\rm const.}''} \end{equation*}

Isobaric process

If the pressure of the gas is kept constant the process is called isobaric. If we denote this constant pressure as P_0, the work done in compressing the gas from V_i to V_f (see (figure)) is

(20)   \begin{equation*}   W_{\rm i.b.} = - P_0 \int_{V_i}^{V_f} {\rm d} V = P_0(V_i-V_f) . \end{equation*}

Rendered by QuickLaTeX.com

An isobaric process on a PV diagram.

Furthermore, the temperature and volume are directly proportional to one another in this process. For a monatomic gas, (3) tells us

(21)   \begin{equation*}   V = \frac{nR}{P_0} T. \end{equation*}

Therefore isobaric curves will be slanted lines on a TV diagram, with their slopes inversely proportional to P_0 (see figure).

Rendered by QuickLaTeX.com

An isobaric process on a TV diagram.

Isochoric process

In an isochoric process the volume of the gas is kept constant, call it V_0. Therefore {\rm d} V = 0 which means {\rm dW} = -P {\rm d} V = 0 and {\rm d} U = {\rm d} Q. In other words, no work is done in this process and the heat exchanged between the gas and its surroundings simply changes the internal energy of the gas. If the gas is monatomic the pressure and temperature are directly proportional to one another,

(22)   \begin{equation*}   P = \frac{n R}{V_0} T . \end{equation*}

Both the PV and TV diagrams for this process are trivial as shown in figure and figure.

Rendered by QuickLaTeX.com

An isochoric process for a gas heated from T_i to T_f.

Rendered by QuickLaTeX.com

An isochoric process on a PV diagram. Pressure is increased by heating the gas. No work is done since area under the PV curve is zero.

Related Problems:

Thermodynamic cycle on a VT diagram
Cyclic processes on a PV diagram
Ideal gas match list

Leave a Reply