Ideal gas law

From Citizendium
Jump to navigation Jump to search
This article is developed but not approved.
Main Article
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
Video [?]
Tutorials [?]
This editable, developed Main Article is subject to a disclaimer.
Values of R Units
8.314472 J·K-1·mol-1
0.082057 L·atm·K-1·mol-1
8.205745 × 10-5 m3·atm·K-1·mol-1
8.314472 L·kPa·K-1·mol-1
8.314472 m3·Pa·K-1·mol-1
62.36367 mmHg·K-1·mol-1
62.36367 torr·K-1·mol-1
83.14472 L·mbar·K-1·mol-1
10.7316 ft3·psi· °R-1·lb-mol-1
0.73024 ft3·atm·°R-1·lb-mol-1

The ideal gas law is the equation of state of an ideal gas (also known as a perfect gas) that relates its absolute pressure p to its absolute temperature T. Further parameters that enter the equation are the volume V of the container holding the gas and the amount n (in moles) of gas contained in there. The law reads

where R is the molar gas constant, defined as the product of the Boltzmann constant kB and Avogadro's constant NA

Currently, the most accurate value of R is:[1] 8.314472 ± 0.000015 J·K-1·mol-1.

The law applies to ideal gases which are hypothetical gases that consist of molecules[2] that do not interact, i.e., that move through the container independently of each other. In contrast to what is sometimes stated, an ideal gas does not necessarily consist of point particles without internal structure, but may be formed by polyatomic molecules with internal rotational, vibrational, and electronic degrees of freedom. The ideal gas law describes the motion of the centers of mass of the molecules and, indeed, mass centers may be seen as structureless point masses. However, for other properties of ideal gases, such as entropy, the internal structure may play a role.

The ideal gas law is a useful approximation for calculating temperatures, volumes, pressures or amount of substance for many gases over a wide range of values, as long as the temperatures and pressures are far from the values where condensation or sublimation occur.

Real gases deviate from ideal gas behavior because the intermolecular attractive and repulsive forces cause the motions of the molecules to be correlated. The deviation is especially significant at low temperatures or high pressures, i.e., close to condensation. A conventional measure for this deviation is the compressibility factor.

There are many equations of state available for use with real gases, the simplest of which is the van der Waals equation.

Historic background

The early work on the behavior of gases began in pre-industrialized Europe in the latter half of the 17th century by Robert Boyle who formulated Boyle's law in 1662 (independently confirmed by Edme Mariotte at about the same time).[3] Their work on air at low pressures established the inverse relationship between pressure and volume, V = constant / p at constant temperature and a fixed amount of air. Boyle's Law is often referred to as the Boyles-Mariotte Law.

In 1699, Guillaume Amontons formulated what is now known as Amontons' law, p = constant / T.

Almost a century later, Jacques Alexandre César Charles experimented with hot-air balloons (around 1780), and additional contributions by John Dalton (1801) and Joseph Louis Gay-Lussac (1808) showed that a sample of gas, at a fixed pressure, increases in volume linearly with the temperature, i.e. V / T is constant.

In 1811, Amedeo Avogadro re-interpreted Gay-Lussac's law of combining volumes to state what is now commonly called Avogadro's law: equal volumes of any two gases at the same temperature and pressure contain the same number of molecules.

In 1834, Benoît Paul Émile Clapeyron combined the work of Boyle, Mariotte, Charles and Gay-Lussac into an equation of state of a perfect (i.e., ideal) gas: PV = RoT where Ro was a gas-dependent constant.[3][4] In 1845, Victor Regnault cast Clapeyron's perfect gas equation into the familiar ideal gas equation form by applying Avagadro's hypothesis on the volume of one mole of an ideal gas, i.e. PV = nRT.[3]

Sometimes, the ideal gas law is referred to as the Boyle-Gay-Lussac law. However, with hindsight, the Boyle-Gay-Lussac law, Amontons' law and Avogadro's law are all special cases of the ideal gas law.

Extrapolation of the volume/temperature relationship of ideal and many real gases to zero volume crosses the temperature axis at about −273 °C. This temperature is defined as the absolute zero temperature. Since any real gas would liquefy before reaching it, this temperature region remains a theoretical minimum.

Statistical mechanics derivation

The statistical mechanics[5][6] derivation of the ideal gas law provides the most precise insight into the microscopic conditions that a gas must satisfy in order to be called an ideal gas. In the derivation below, we will make the following two assumptions[7]:

  1. The molecules constituting the gas are practically independent systems, each pursuing its own motion;
  2. Exchange of energy between molecules occasionally takes place, so that the system can achieve a thermal equilibrium.[8]

Starting with the second assumption, we recall from equilibrium statistical mechanics that the canonical partition function is a function of NnNA, V, and T, defined as

where is the I-th energy of the total gas (i.e. the energy of all N molecules). From quantum mechanics follows that a gas in a finite-size container has discrete energies; I is the discrete index labeling the different energies. The sum is over all eigenstates of the energy operator including degeneracies. Further, we recall that the Helmholtz free energy is given by . The following expression for the absolute pressure p will be the starting point in the derivation

The only approximation (but a very drastic one) that must be made is assumption 1 from above, i.e. that the energies are sums of one-molecule energies . These one-molecule energies are those of a single molecule moving by itself in the vessel, an approximation that is common in many branches of physics and known as the independent particle approximation. Thus,

The total partition function Q will factorize into one-molecule partition functions q given by,

In absence of interactions Q becomes (assuming that the gas consists of one type of molecules only),

This form of Q would be correct if the non-interacting gas molecules were non-identical. However, in the early days of quantum mechanics it was discovered that gas molecules of the same type are identical particles, just like electrons, and that a factorial 1/N! must be inserted to avoid overcounting. Later it was shown that this factorial arises from Bose-Einstein statistics (obeyed by the majority of stable molecules). Complete Bose-Einstein statistics itself needs only to be applied at temperatures close to the absolute zero. For higher temperatures Bose-Einstein statistics goes over into Boltzmann statistics, which requires the simple factor 1/N! that we will insert now ad hoc[9] into the expression for Q. In summary, from the additivity of the molecular energies and the application of Boltzmann statistics follows

The application of Boltzmann statistics is of no consequence to the equation of state, but modifies expressions for other properties of the gas, such as the entropy. The factorization of Q would be exact if (i) the molecules would not interact and if (ii) every molecule had the whole volume V of the container to its disposal, or in other words, if the molecules themselves had zero volume.


where we used the rules ln(a/b) = lna - lnb and lnan = n lna.

It follows from both classical mechanics and quantum mechanics that the molecular energy can be exactly separated as

where is the translational energy of the center of mass of the molecule and is the internal (rotational, vibrational, electronic) energy of the molecule. This factorization of the one-molecule partition function into a translational and an internal factor proceeds in the same way as the factorization of the N-molecule partition function Q into one-molecule partition functions.

The internal energy of the molecule does not depend on the volume V (this is an exact result), but the translational energy does, hence

The determination of the translational energy of one molecule moving in a box of volume V is one of the few problems in quantum mechanics that can be solved analytically. That is, the energies are known exactly. To a very good approximation, one may replace the sum appearing in by an integral, finding

where h is Planck's constant and M is the total mass of the molecule. Note that Λ, the thermal de Broglie wavelength, does not depend on the volume V, so that

Here we applied that

Using that N = nNA and NAkB = R (see introduction), we have

and that completes the proof of the ideal gas law.


  1. Molar gas constant Obtained from the NIST website. (Archived by WebCite® at on Jan 3, 2009)
  2. Atoms may be seen as monatomic molecules.
  3. 3.0 3.1 3.2 Compressibility of Natural Gas Jeffrey L. Savidge, 78th International School for Hydrocarbon Measurement (Class 1040), 2003. From the website of the Colorado Engineering Experiment Station, Inc. (CEESI).
  4. Emile Clapeyron (1834). "Mémoire sur la puissance motrice de la chaleur (The motive power of heat)". Journal de l'École Polytechnique 14 (23): 153-190.
  5. T.L. Hill (1987). An Introduction to Statistical Thermodynamics. Dover Publications. ISBN 0-486-65242-4. 
  6. D.A. McQuarrie (2000). Statistical Mechanics. University Science Books. ISBN 1-891389-15-7. 
  7. R. H. Fowler (1966). Statistical Mechanics, 2nd Edition (Reprinted). Cambridge University Press, page 31. ISBN 0-521-09377-5. 
  8. Such occasional exchange of energy can proceed via collisions with the walls, through interaction with a radiation field, or sporadic molecule-molecule collisions. This energy exchange is not explicitly included in the following formalism.
  9. This ad hoc insertion cuts short the application of the Bose-Einstein statistics and the proof that it leads to a multiplication by 1/N! for higher temperatures