THERMODYNAMICS • FOUNDATIONS AND THERMODYNAMIC PROPERTIES

Ideal Gas Law — Use ideal gas law and specific gas constant relationships

Connecting macroscopic state variables through universal and substance-specific gas constants for engineering analysis.

Historical Context & Motivation

The quest to relate the measurable properties of gases—pressure, volume, and temperature—spans nearly four centuries of experimental and theoretical work. Early natural philosophers recognized that gases behave in remarkably predictable ways under moderate conditions, and the mathematical relationships they uncovered laid the groundwork for modern thermodynamics and chemical engineering. Understanding how these empirical gas laws were synthesized into a single, elegant equation illuminates why the ideal gas law remains one of the most widely used equations of state in science and engineering today.

1662
Boyle's Law
Robert Boyle demonstrated that the pressure and volume of a confined gas are inversely proportional at constant temperature, establishing PV = constant as the first quantitative gas law.
1787
Charles's Law
Jacques Charles observed that the volume of a gas at constant pressure varies linearly with absolute temperature, formalizing the concept of thermal expansion of gases.
1811
Avogadro's Hypothesis
Amedeo Avogadro proposed that equal volumes of gases at the same temperature and pressure contain equal numbers of molecules, linking the macroscopic volume to the molar quantity.
1834
Clapeyron's Combined Equation
Émile Clapeyron unified Boyle's and Charles's laws into the single relation PV = nRT, introducing what we now call the universal gas constant R̄ and creating the classical ideal gas equation of state.
1857
Kinetic Theory Foundation
Rudolf Clausius provided a molecular-kinetic interpretation, showing that the ideal gas law emerges naturally from statistical mechanics when intermolecular forces and molecular volumes are negligible.

While Clapeyron's formulation uses the universal gas constant R̄ (8.314 J·mol⁻¹·K⁻¹), engineers working with mass-based analyses frequently require a substance-specific form. This need gave rise to the specific gas constant R, which absorbs the molar mass of a particular gas into the constant itself. The central question this lesson addresses is: how do we move fluently between the molar and mass-based forms of the ideal gas law, and when is each form most appropriate for thermodynamic analysis?

Core Principles & Definitions

The ideal gas law rests on a set of simplifying assumptions about molecular behavior that, despite their ideality, yield remarkably accurate predictions for many engineering applications. Before deriving the various forms of the equation, it is essential to understand the foundational concepts and the distinctions among the constants that appear in them.

1

Equation of State

An equation of state relates thermodynamic state variables—pressure (P), specific volume or molar volume (v or V̄), and temperature (T)—for a substance in equilibrium. The ideal gas law is the simplest such equation.
2

Universal Gas Constant (R̄)

R̄ = 8.314 J·mol⁻¹·K⁻¹ is a fundamental constant relating energy per mole per kelvin. It appears in the molar form PV̄ = R̄T and is the same for every gas, arising from Boltzmann's constant multiplied by Avogadro's number.
3

Specific Gas Constant (R)

R = R̄/M, where M is the molar mass of the gas. This substance-dependent constant (units: J·kg⁻¹·K⁻¹) enables the mass-based form Pv = RT, which is the preferred form in many engineering thermodynamics texts.
4

Ideal Gas Assumptions

The model assumes point-mass molecules with no intermolecular attractions or repulsions, and that the volume occupied by the molecules themselves is negligible compared to the container volume. Collisions are perfectly elastic.
5

Intensive vs. Extensive Forms

The total form PV = mRT involves extensive properties (V, m). Dividing by mass yields the intensive form Pv = RT, where v = V/m is the specific volume. Both forms are equivalent and used interchangeably depending on context.
KEY TAKEAWAY
Think of the universal gas constant R̄ as a "currency exchange rate" that is the same at every bank in the world, converting between moles-kelvin and energy for any gas. The specific gas constant R is like a local conversion factor already adjusted for the "weight" (molar mass) of a particular gas—you trade convenience for universality. An engineer analyzing air (M ≈ 28.97 g/mol) uses R = 287 J·kg⁻¹·K⁻¹ directly, avoiding repeated division by M in every calculation.

Visual Explanation — Forms of the Ideal Gas Law

The following diagram maps the relationships among the various forms of the ideal gas law and shows how the universal gas constant R̄ connects to the specific gas constant R through the molar mass M of the gas. Each pathway represents a legitimate form of the equation, and arrows indicate the algebraic operations that transform one form into another.

The diagram traces the transformation from the molar form PV = nR̄T (top, cyan) through mass substitution (pink) to the mass-based form PV = mRT (amber) and finally to the intensive specific-volume form Pv = RT (emerald). The key relationship R = R̄/M bridges the universal and specific constants.

Notice that the left branch of the diagram produces the molar intensive form PV̄ = R̄T by dividing total volume V by the number of moles n. The right branch proceeds by substituting n = m/M and then defining the specific gas constant R = R̄/M to arrive at the mass-based forms preferred in engineering practice. Both branches are algebraically equivalent and can be interconverted as needed.

Mathematical Framework

This section presents the mathematical forms of the ideal gas law and derives the relationship between the universal and specific gas constants. Mastery of these equations enables rapid transitions between mole-based and mass-based analyses—a skill essential for solving thermodynamic problems in both physics and engineering contexts.

MOLAR FORM
PV = nR̄T
P = absolute pressure (Pa), V = total volume (m³), n = number of moles (mol), R̄ = 8.314 J·mol⁻¹·K⁻¹ (universal gas constant), T = absolute temperature (K).
SPECIFIC GAS CONSTANT DEFINITION
R = R̄ / M
R = specific gas constant (J·kg⁻¹·K⁻¹), M = molar mass of the gas (kg·mol⁻¹). For example, for dry air: R = 8.314 / 0.02897 ≈ 287.0 J·kg⁻¹·K⁻¹.
MASS-BASED TOTAL FORM
PV = mRT
m = mass of the gas (kg), R = specific gas constant (J·kg⁻¹·K⁻¹). This form is obtained by substituting n = m/M and R = R̄/M into PV = nR̄T.
INTENSIVE SPECIFIC-VOLUME FORM
Pv = RT
v = V/m = specific volume (m³/kg). Dividing PV = mRT by the mass m yields this intensive form, which is independent of the amount of gas and is widely used in property tables and thermodynamic cycle analysis.
📐 Derivation Note
Starting from PV = nR̄T, substitute n = m/M to obtain PV = (m/M)R̄T = m(R̄/M)T. Defining R ≡ R̄/M gives PV = mRT. Dividing both sides by m yields Pv = RT. Alternatively, one can also express density ρ = 1/v, giving P = ρRT, which is useful in fluid mechanics and atmospheric science.

Specific Gas Constants for Common Gases

Because the specific gas constant R depends on the molar mass M of the substance, each gas has its own unique value. The table below compiles specific gas constants for gases frequently encountered in thermodynamic analysis, including those relevant to combustion, HVAC, and atmospheric sciences. All values are computed from R = R̄/M = 8.314/M, with M expressed in kg·mol⁻¹.

Specific gas constants computed from R = 8.314 / M for common gases.
GasChemical FormulaM (kg/mol)R (J·kg⁻¹·K⁻¹)
Dry Airmixture0.02897287.0
NitrogenN₂0.02802296.8
OxygenO₂0.03200259.8
Carbon DioxideCO₂0.04401188.9
Water VaporH₂O0.01802461.5
HydrogenH₂0.002024124
HeliumHe0.004002079
ArgonAr0.03995208.1
Horizontal bar chart of specific gas constants for common gases. Lighter molecules like H₂ and He have dramatically larger R values because R is inversely proportional to molar mass M.

The bar chart makes a critical trend immediately apparent: the lighter the molecule, the larger its specific gas constant. Hydrogen (M = 2.02 g/mol) has a specific gas constant more than 20 times that of carbon dioxide (M = 44.01 g/mol). This inverse relationship R = R̄/M means that for a given pressure and temperature, a lighter gas occupies a proportionally larger specific volume—an important consideration in applications ranging from balloon buoyancy to gas turbine design.

Worked Example — Determining Specific Volume of Air

Consider the following scenario: a rigid tank contains 2.5 kg of air at 350 kPa and 450 K. We wish to determine (a) the specific gas constant for air, (b) the total volume of the tank, and (c) the specific volume of the air. We will use the mass-based ideal gas law throughout.

Rigid Tank of Air at Elevated Temperature
1
Step 1 — Compute the Specific Gas ConstantThe molar mass of dry air is M = 28.97 g/mol = 0.02897 kg/mol. Applying R = R̄/M: R = 8.314 J·mol⁻¹·K⁻¹ / 0.02897 kg·mol⁻¹.
R = 286.9 J·kg⁻¹·K⁻¹ ≈ 287.0 J·kg⁻¹·K⁻¹
2
Step 2 — Identify Known ValuesGiven: P = 350 kPa = 350 × 10³ Pa, T = 450 K, m = 2.5 kg, R = 287.0 J·kg⁻¹·K⁻¹. We seek V (total volume) and v (specific volume). The equation to apply is PV = mRT.
3
Step 3 — Solve for Total VolumeRearranging PV = mRT for V: V = mRT / P = (2.5 kg)(287.0 J·kg⁻¹·K⁻¹)(450 K) / (350 × 10³ Pa). Numerator = 2.5 × 287.0 × 450 = 322,875 J. Denominator = 350,000 Pa. Note that 1 J = 1 Pa·m³, so V has units of m³.
V = 322,875 / 350,000 = 0.9225 m³
4
Step 4 — Compute Specific VolumeThe specific volume is v = V/m = 0.9225 m³ / 2.5 kg. Alternatively, we could compute v directly from Pv = RT: v = RT/P = (287.0)(450) / (350 × 10³).
v = 0.3690 m³/kg
5
Step 5 — Verify with Molar FormAs a cross-check, n = m/M = 2.5/0.02897 = 86.3 mol. Then V = nR̄T/P = (86.3)(8.314)(450) / (350,000) = 322,880/350,000 = 0.9225 m³. This confirms our answer—both forms of the ideal gas law are consistent, as expected.
✓ Cross-check confirmed: V = 0.9225 m³

Strengths & Limitations of the Ideal Gas Model

The ideal gas law is a powerful tool, but understanding when it breaks down is just as important as knowing how to apply it. The model's accuracy depends on how closely the actual molecular behavior approximates the point-mass, no-interaction assumptions. The following table summarizes the conditions under which the ideal gas law performs well and where it begins to deviate significantly from real gas behavior.

Comparison of ideal gas law applicability versus limitations.
AspectStrengthsLimitations
Pressure rangeAccurate at low to moderate pressures (P ≪ P_crit) where intermolecular spacing is large.Significant deviation at high pressures where molecular volume and repulsive forces become non-negligible.
Temperature rangeWorks well at temperatures much above the critical temperature (T ≫ T_crit).Fails near the saturation curve and critical point where phase changes and strong intermolecular attractions occur.
Mathematical simplicityLinear equation of state: explicit in any variable. Easy to invert for P, V, T, m, or n.Oversimplification may lead to errors of 5–30% near saturation conditions for refrigerants, steam, or CO₂.
Gas typeExcellent for monatomic and diatomic gases (He, N₂, O₂, air) at standard conditions.Poor for polar molecules (H₂O, NH₃) and large organic molecules at moderate temperatures due to dipole-dipole interactions.
Engineering useFirst-pass sizing, atmospheric calculations, ideal cycle analysis (Brayton, Otto), and combustion gas analysis.Must switch to real-gas equations (van der Waals, Redlich-Kwong, Peng-Robinson) or property tables for high-precision work.
WHEN TO TRUST THE IDEAL GAS MODEL
A useful engineering heuristic is the reduced-property criterion: if the reduced pressure P_r = P/P_crit is below about 0.1 or the reduced temperature T_r = T/T_crit exceeds roughly 2, the ideal gas law typically yields errors of less than 1–2%. Think of it like a map projection—a flat Mercator map works well near the equator (low curvature) but distorts terribly near the poles (high curvature). Similarly, the ideal gas law "flattens" molecular interactions, and the distortion grows as you approach the critical point.

Connection to Real Gas Models

The ideal gas law serves as the foundation upon which more sophisticated equations of state are built. Real gas models introduce correction terms that account for the finite size of molecules and the attractive forces between them. Understanding how these corrections modify the ideal gas framework provides a natural bridge to advanced thermodynamic analysis.

Comparison of the ideal gas law with real-gas correction approaches.
FeatureIdeal Gas LawVan der Waals EquationCompressibility Factor (Z)
EquationPv = RT(P + a/v²)(v − b) = RTPv = ZRT
Molecular volumeNeglectedAccounted for by parameter bEmbedded in Z
Intermolecular forcesNeglectedAttractive forces modeled by a/v²Embedded in Z
Ideal limitAlways Z = 1Recovers Pv = RT as a, b → 0Z → 1 at low P and high T
ComplexityAlgebraically trivialCubic in v; requires iterative solutionRequires generalized charts or correlations

The compressibility factor Z = Pv/(RT) quantifies how much a real gas deviates from ideality. For an ideal gas, Z = 1 at all states. Real gases exhibit Z < 1 when attractive forces dominate (pulling molecules closer, reducing volume) and Z > 1 when repulsive forces dominate at very high pressures. In future coursework, you will use generalized compressibility charts (Nelson-Obert charts) indexed by reduced pressure and reduced temperature to correct the ideal gas law for real-gas effects without needing substance-specific parameters.

🔭 Looking Ahead
The ideal gas law is not merely a stepping stone to be discarded—it remains the starting point for engineering estimates, appears in entropy and enthalpy change expressions for ideal gases, and underpins the analysis of air-standard power and refrigeration cycles throughout your thermodynamics course.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the specific gas constant R for hydrogen (H₂) is approximately 14 times larger than that of nitrogen (N₂), even though both are diatomic gases. What physical property of the molecule determines R, and does a larger R imply a stronger or weaker molecular interaction?
PROBLEM 2BASIC CALCULATION
Compute the specific gas constant for methane (CH₄, M = 16.04 g/mol) and then determine the density of methane at 200 kPa and 300 K using the ideal gas law in the form P = ρRT.
PROBLEM 3INTERMEDIATE
A 0.5 m³ rigid container holds a mixture of 1.2 kg of N₂ and 0.8 kg of O₂ at 400 K. Treating the mixture as an ideal gas, find: (a) the effective molar mass of the mixture, (b) the specific gas constant of the mixture, and (c) the total pressure in the container.
PROBLEM 4APPLIED
An automotive tire has an internal volume of 0.025 m³ and is inflated to a gauge pressure of 220 kPa at a temperature of 25 °C. After highway driving, the tire temperature rises to 55 °C. Assuming the tire is rigid and the gas behaves ideally, find: (a) the new gauge pressure in the tire, and (b) the mass of air in the tire. Use R_air = 287.0 J·kg⁻¹·K⁻¹ and P_atm = 101.325 kPa.
PROBLEM 5CRITICAL THINKING
A colleague proposes using the ideal gas law (Pv = RT with R = 461.5 J·kg⁻¹·K⁻¹) to compute the specific volume of steam at 10 MPa and 450 °C. The steam table value at this state is v = 0.02641 m³/kg. (a) Compute the ideal-gas prediction for v. (b) Calculate the percentage error relative to the steam table value. (c) Discuss whether the ideal gas approximation is appropriate here, referencing the critical properties of water (T_crit = 647.1 K, P_crit = 22.064 MPa) and the compressibility factor Z.

Lesson Summary

The ideal gas law is the simplest equation of state relating pressure, volume, and temperature for a gas. In its molar form PV = nR̄T, the universal gas constant R̄ = 8.314 J·mol⁻¹·K⁻¹ applies to every gas. For mass-based engineering analyses, the specific gas constant R = R̄/M encodes the molar mass of the substance, yielding the forms PV = mRT and Pv = RT. Lighter molecules have larger R values because R is inversely proportional to M.

The ideal gas law is most accurate at low pressures and high temperatures relative to a substance's critical point. The compressibility factor Z = Pv/(RT) quantifies deviations from ideality; Z = 1 for a perfect ideal gas and departs from unity as intermolecular forces become significant. For precise work near saturation or at elevated pressures, engineers transition to real-gas equations of state or property tables, but the ideal gas law remains the indispensable first approximation in thermodynamic analysis.

Varsity Tutors • Thermodynamics • Ideal Gas Law — Use ideal gas law and specific gas constant relationships