Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

1.3. Ideal Gases

See also: Course-wide Conventions & Notation

Run the code: Notebook for Section 1.3, in which you can change and rerun the Python cells of this section in your browser.

Overview and Learning Objectives

The ideal-gas model consolidates several empirical gas laws into a single equation of state and is accurate when intermolecular interactions are negligible. In this section, we review the classical gas laws, derive PV=NkBT=nRTPV=Nk_{\mathrm{B}}T=nRT, use the result to estimate microscopic length scales, and see how it motivates an absolute temperature scale.


Learning objectives:

Core Ideas and Derivations

Gas Laws

Source
Loading...

Figure 1.3.1:The four classical gas laws in chronological order: (a) Boyle’s law (Boyle’s original data), (b) Charles’s law, (c) Gay–Lussac’s law, and (d) Avogadro’s law. Each curve is calculated for an ideal gas with the two named variables held constant.

Written as equations, the four laws are:

Table 1.3.1:Classical gas laws

Law

Relation

Held constant

Boyle’s law

P=cB/VP = c_{\mathrm{B}} / V

TT, NN

Charles’s law

V=cC TV = c_{\mathrm{C}}\, T

PP, NN

Gay–Lussac’s law

P=cGL TP = c_{\mathrm{GL}}\, T

VV, NN

Avogadro’s law

V=cA NV = c_{\mathrm{A}}\, N

PP, TT

Here, cBc_{\mathrm{B}}, cCc_{\mathrm{C}}, cGLc_{\mathrm{GL}}, and cAc_{\mathrm{A}} are constants whose values depend on the variables held constant. Avogadro’s law holds with the same constant cAc_{\mathrm{A}} for every gas: at a given pressure and temperature, equal volumes of different gases contain equal numbers of particles.

Real gases approximately follow these relationships under conditions that favor ideal behavior:

These conditions collectively minimize intermolecular interactions, allowing the gas to behave ideally.


Deriving an Equation of State

In Section 1.1, we defined an equation of state as a mathematical relationship among state variables. Each gas law above relates two state variables (among P,V,T,NP, V, T, N) under conditions where the other two are held constant. To obtain a single equation of state relating all four variables, we can combine these laws using multivariate calculus (as covered in Math 233).

Total Differential

The total differential dfdf of a function ff of mm variables x1,…,xmx_1, \ldots, x_m is

df=∑i=1m(∂f∂xi){xj∣j≠i}dxi,df = \sum_{i=1}^m \left( \frac{\partial f}{\partial x_i} \right)_{\{ x_j | j \neq i \}} dx_i,

where (∂f/∂xi){xj∣j≠i}\left(\partial f / \partial x_i\right)_{\{ x_j | j \neq i \}} denotes the partial derivative of ff with respect to xix_i, holding all other variables constant, and dxidx_i is an infinitesimal change in xix_i.

Total Differential of Volume

From Boyle’s, Charles’s, and Avogadro’s laws, we can treat VV as a function of P,T,P, T, and NN:

V=V(P,T,N).V = V(P, T, N).

Applying Eq. (1.3.1) to VV gives

dV=(∂V∂P)T,NdP  +  (∂V∂T)P,NdT  +  (∂V∂N)P,TdN.dV = \left( \frac{\partial V}{\partial P} \right)_{T,N} dP \;+\; \left( \frac{\partial V}{\partial T} \right)_{P,N} dT \;+\; \left( \frac{\partial V}{\partial N} \right)_{P,T} dN.

Partial Derivatives via Gas Laws

Each partial derivative follows from the gas law in Table 1.3.1 that holds the same two variables constant. Solving Boyle’s law for the volume gives V=cB/PV = c_{\mathrm{B}}/P, so that

(∂V∂P)T,N=−cBP2=−VP.\left( \frac{\partial V}{\partial P} \right)_{T,N} = -\frac{c_{\mathrm{B}}}{P^2} = -\frac{V}{P}.

Charles’s law, V=cC TV = c_{\mathrm{C}}\,T, and Avogadro’s law, V=cA NV = c_{\mathrm{A}}\,N, give

(∂V∂T)P,N=cC=VTand(∂V∂N)P,T=cA=VN.\left( \frac{\partial V}{\partial T} \right)_{P,N} = c_{\mathrm{C}} = \frac{V}{T} \qquad \text{and} \qquad \left( \frac{\partial V}{\partial N} \right)_{P,T} = c_{\mathrm{A}} = \frac{V}{N}.

Substituting these three derivatives into the total differential of the volume gives

dV  =  −VP dP  +  VT dT  +  VN dN.dV \;=\; -\frac{V}{P}\,dP \;+\; \frac{V}{T}\,dT \;+\; \frac{V}{N}\,dN.

Dividing by VV and rearranging (i.e., using logarithmic differentials) yields

dln⁡P  +  dln⁡V  =  dln⁡T  +  dln⁡N.d \ln P \;+\; d \ln V \;=\; d \ln T \;+\; d \ln N.

Integrating the Total Differential

Integrating each term from an initial state (Pi,Vi,Ti,Ni)(P_i, V_i, T_i, N_i) to a final state (Pf,Vf,Tf,Nf)(P_f, V_f, T_f, N_f) gives

ln⁡PfPi  +  ln⁡VfVi  =  ln⁡TfTi  +  ln⁡NfNi.\ln \frac{P_f}{P_i} \;+\; \ln \frac{V_f}{V_i} \;=\; \ln \frac{T_f}{T_i} \;+\; \ln \frac{N_f}{N_i}.

Combining the logarithms on each side,

ln⁡PfVfPiVi  =  ln⁡TfNfTiNi,\ln \frac{P_f V_f}{P_i V_i} \;=\; \ln \frac{T_f N_f}{T_i N_i},

and exponentiating and rearranging gives

PfVfNfTf  =  PiViNiTi.\frac{P_f V_f}{N_f T_f} \;=\; \frac{P_i V_i}{N_i T_i}.

Because the initial and final states are arbitrary, the ratio PV/(NT)PV/(NT) must be a constant. Since Avogadro’s law holds with the same constant for every gas, the value of this ratio is also the same for every gas. Denoting it by kBk_{\mathrm{B}}, we arrive at the ideal-gas equation of state:

PV  =  NkBT  =  nRT,PV \;=\; N k_{\mathrm{B}} T \;=\; nRT,

where n=N/NAn = N / N_{\mathrm{A}} is the number of moles and R=kBNAR = k_{\mathrm{B}} N_{\mathrm{A}} is the molar gas constant (R=8.314 J mol−1 K−1R = 8.314\,\mathrm{J\,mol^{-1}\,K^{-1}}).

The PP–VV–TT Surface

For a fixed number of particles, Eq. (1.3.11) assigns one pressure to every pair of volume and temperature, so the states of an ideal gas form a surface. Each gas law of Figure 1.3.1 that holds NN constant is a cut through this surface: Boyle’s law at constant TT, Charles’s law at constant PP, and Gay–Lussac’s law at constant VV. In Figure 1.3.2, choose the variable to hold constant, and move the state along the corresponding cut.

Figure 1.3.2:The pressure of one mole of an ideal gas as a surface over the volume and the temperature, from Eq. (1.3.11). The three curves through the chosen state are the cuts at constant TT (Boyle), at constant PP (Charles), and at constant VV (Gay–Lussac), and the small plots show the same curves in two dimensions.

Two things to try:

  1. Hold the temperature constant, and halve the volume. Then hold the pressure constant, and halve the volume again. Compare how the state moves on the surface in the two cases.

  2. Bring the gas to 2.00 bar and 10.0 L along two different routes, and compare the temperatures that you reach.


Ideal-Gas Assumptions

A gas described by Eq. (1.3.11) is called ideal because, under conditions of low pressure, low density, and high temperature, we can adopt the simplifying assumptions of kinetic theory:

  1. Each particle’s size is negligible compared to the average distance between particles (point particles).

  2. Particles experience no intermolecular forces except during elastic collisions.

  3. Collisions conserve total energy and momentum.

Many thermodynamic properties follow cleanly from these assumptions.


Estimating Particle Distances

Rearranging Eq. (1.3.11), a simple estimate for a typical intermolecular spacing is

⟨d⟩=(VN)1/3  =  (kBTP)1/3.\langle d \rangle = \left(\frac{V}{N}\right)^{1/3} \;=\; \left(\frac{k_{\mathrm{B}} T}{P}\right)^{1/3}.

This expression shows that increasing temperature or reducing pressure increases the typical separation between gas particles.

Figure 1.3.3 shows this spacing to scale for nitrogen at 300 K300\ \mathrm{K} and 1 bar1\ \mathrm{bar}, where Eq. (1.3.12) gives ⟨d⟩=3.46 nm\langle d \rangle = 3.46\ \mathrm{nm} (see the worked example below). The molecules are about ten molecular diameters apart, which is why their own volume and their interactions can be neglected. In the liquid, the same molecules touch.

Source
Loading...

Figure 1.3.3:Nitrogen molecules drawn to scale as discs with a diameter of 0.36 nm, in slices 10 nm wide. (a) The gas at 300 K and 1 bar, in a slice that is one mean spacing thick. The bar shows the mean spacing ⟨d⟩\langle d \rangle. (b) The liquid at its boiling point, in a slice that is one molecule thick.

Absolute Temperature Scale

Source
Loading...

Figure 1.3.4:Molar volume of O2_2 at 1 Pa against the Celsius temperature (points, from the NIST Chemistry WebBook). The line is an ordinary least-squares fit to the measurements. Extended to zero volume (dashed), it reaches the temperature axis at −273.15 ∘C-273.15\,{}^{\circ}\mathrm{C}, which is absolute zero (0 K).

Charles’s law states that, at constant (sufficiently low) pressure, the volume per particle is directly proportional to the gas temperature. If temperature is reported on the Celsius scale (0 ∘C0\,{}^{\circ}\mathrm{C} at the freezing point of water and 100 ∘C100\,{}^{\circ}\mathrm{C} at the boiling point), plotting T( ∘C)T(\,{}^{\circ}\mathrm{C}) versus vv gives an approximately linear relationship. Extrapolating this line to the (unphysical) point where the volume would vanish identifies a theoretical lower bound at −273.15 ∘C-273.15\,{}^{\circ}\mathrm{C}. Shifting the Celsius scale by 273.15 degrees places this bound at zero:

T(K)  =  T( ∘C)  +  273.15.T(\mathrm{K}) \;=\; T(\,{}^{\circ}\mathrm{C}) \;+\; 273.15.

This defines the Kelvin scale, an absolute temperature scale that begins at the lowest physically meaningful temperature.

Worked Example

Mean intermolecular spacing at 1 bar

Estimate the mean spacing ⟨d⟩\langle d\rangle between molecules in an ideal gas at T=300 KT=300\ \mathrm{K} and P=1.00 barP=1.00\ \mathrm{bar}.

Using

⟨d⟩=(VN)1/3=(kBTP)1/3,\langle d\rangle=\left(\frac{V}{N}\right)^{1/3}=\left(\frac{k_{\mathrm{B}}T}{P}\right)^{1/3},

with kB=1.38065×10−23 J/Kk_{\mathrm{B}}=1.38065\times10^{-23}\ \mathrm{J/K} and P=1.00×105 PaP=1.00\times10^{5}\ \mathrm{Pa}:

  1. Compute kBT/Pk_{\mathrm{B}}T/P

    kBTP=(1.38065×10−23)(300)1.00×105=4.14×10−26 m3.\frac{k_{\mathrm{B}}T}{P}=\frac{(1.38065\times10^{-23})(300)}{1.00\times10^{5}} =4.14\times10^{-26}\ \mathrm{m^3}.
  2. Take the cube root

    ⟨d⟩=(4.14×10−26)1/3≈3.46×10−9 m=3.46 nm.\langle d\rangle=(4.14\times10^{-26})^{1/3} \approx 3.46\times10^{-9}\ \mathrm{m} =3.46\ \mathrm{nm}.
  3. Compute the number density

    The number density is the reciprocal of the volume per molecule:

    NV=PkBT=1.00×105(1.38065×10−23)(300)=2.41×1025 m−3.\frac{N}{V}=\frac{P}{k_{\mathrm{B}}T}=\frac{1.00\times10^{5}}{(1.38065\times10^{-23})(300)} =2.41\times10^{25}\ \mathrm{m^{-3}}.

Result. At 300 K300\ \mathrm{K} and 1 bar1\ \mathrm{bar}, an ideal gas contains about 2.4×10252.4\times10^{25} molecules per cubic meter, and the molecules are typically separated by a few nanometers.

Concept Checks

  1. Why does the ratio PV/(NT)PV/(NT) have to be constant if the total-differential argument holds for arbitrary initial/final states?

  2. Which change (increasing TT or increasing PP) makes a gas less ideal, and why?

  3. Why must temperature be measured on an absolute (Kelvin) scale in the ideal-gas law?

  4. How would ⟨d⟩\langle d\rangle scale if pressure increased by a factor of 8 at fixed TT?

Key Takeaways