THERMODYNAMICS • MIXTURES AND HUMID AIR

Ideal Gas Mixture Properties — Compute mixture properties for ideal gas mixtures (intro)

Learn how to determine pressure, temperature, and thermodynamic properties of multi-component ideal gas mixtures.

Historical Context & Motivation

Most real engineering systems involve not a single pure substance but a mixture of gases — air in a combustion chamber, flue gases exiting a power plant, or the refrigerant blend circulating through an HVAC cycle. The intellectual foundation for analyzing such mixtures grew out of centuries of inquiry into the behavior of individual gases and the rules governing their combination. Understanding this history illuminates why the mixture rules we use today take the elegant, additive form that they do.

1662
Boyle's Law
Robert Boyle established that the pressure of a confined gas is inversely proportional to its volume at constant temperature, laying the empirical groundwork for the ideal gas equation.
1801
Dalton's Law of Partial Pressures
John Dalton proposed that each component gas in a mixture exerts its own independent pressure as though the other components were absent, and the total pressure equals the sum of these partial pressures.
1811
Amagat's Volume Rule
Émile Amagat showed that the total volume of an ideal gas mixture equals the sum of the component volumes each species would occupy alone at the mixture temperature and total pressure.
1834
Clapeyron's Ideal Gas Equation
Benoît Paul Émile Clapeyron combined earlier gas laws into the unified equation PV = nRT, providing the theoretical backbone for treating mixtures as collections of ideal components.
1901
Gibbs–Dalton Law
J. Willard Gibbs extended Dalton's rule to thermodynamic properties, asserting that energy, enthalpy, and entropy of an ideal gas mixture are the mass- or mole-weighted sums of individual component properties.

The central question that drove this development is deceptively simple: if you know the thermodynamic properties of each pure gas in a mixture, how do you compute the properties of the mixture as a whole? The ideal gas model answers this question with remarkable elegance — mixture properties are the appropriately weighted sums of the component properties — and this introductory lesson develops the tools to perform those calculations confidently.

Core Principles & Definitions

Before computing any mixture property, one must precisely specify the composition and understand the assumptions that make the ideal gas mixture model tractable. The following foundational ideas underpin every calculation in this lesson.

1

Mole Fraction (yᵢ)

The ratio of the number of moles of component i to the total number of moles in the mixture: yᵢ = nᵢ / nm. All mole fractions sum to unity.
2

Mass Fraction (mfᵢ)

The ratio of the mass of component i to the total mixture mass: mfᵢ = mᵢ / mm. Mass fractions also sum to one.
3

Dalton's Law

Each component behaves as if it alone occupies the full volume at the mixture temperature. Its partial pressure is Pi = yᵢ × P. Total pressure: P = ΣPᵢ.
4

Amagat's Law

Each component occupies a partial volume Vᵢ at the mixture temperature and total pressure. The total volume is V = ΣVᵢ, and Vᵢ = yᵢ × V for ideal gases.
5

Gibbs–Dalton Law

Extensive properties (U, H, S) of an ideal gas mixture equal the sum of the individual component contributions, each evaluated at the mixture temperature and its own partial pressure.
KEY TAKEAWAY
Think of an ideal gas mixture like a shared office building. Each company (gas species) operates independently, oblivious to the others. The total rent (pressure) is the sum of each company's rent. The total floor space used (volume) is the sum of each company's floor space. Each company's energy bill (internal energy) depends only on its own activity and the building's temperature — not on what the neighbors are doing. This independence is the defining feature of the ideal gas mixture model.

Visual Explanation — Dalton's Model vs. Amagat's Model

Left: Dalton's model — each gas occupies the full volume V at temperature T but exerts only its partial pressure Pᵢ. Right: Amagat's model — each gas exists at the full pressure P and temperature T but occupies only its partial volume Vᵢ. For ideal gas mixtures the two perspectives are exactly equivalent, linked by the mole fraction yᵢ.

The diagram above illustrates the two complementary ways of conceptualizing an ideal gas mixture. In Dalton's picture, every component is imagined to fill the entire container volume independently, contributing a partial pressure proportional to its mole fraction. In Amagat's picture, each component is held at the total mixture pressure, and the container volume is partitioned so that each species occupies a fraction of the space proportional to its mole fraction. For ideal gases, the two models are mathematically identical because the equation of state PV = nRT is linear in n. This equivalence breaks down for real gases at high pressures, where intermolecular forces and molecular volumes become significant.

Mathematical Framework

The quantitative treatment of ideal gas mixtures rests on a handful of equations that relate component properties to mixture properties. We begin with composition descriptors, proceed to the equation of state, and then extend to thermodynamic properties such as internal energy, enthalpy, and entropy.

MOLE FRACTION
yᵢ = nᵢ / n_m where n_m = Σ nᵢ and Σ yᵢ = 1
nᵢ = moles of component i; nm = total moles; yᵢ = mole fraction of component i.
APPARENT (AVERAGE) MOLAR MASS
M_m = Σ yᵢ Mᵢ = m_m / n_m
Mᵢ = molar mass of pure component i (kg/kmol); Mm = apparent molar mass of the mixture; mm = total mass.
MIXTURE EQUATION OF STATE
PV = n_m R̄ T or equivalently Pv̄ = R̄ T (per-mole basis)
P = total pressure; V = total volume; R̄ = 8.314 kJ/(kmol·K) = universal gas constant; T = absolute temperature; v̄ = V/nm = molar volume of the mixture.
MIXTURE SPECIFIC HEATS & ENTHALPY
c̄_p,m = Σ yᵢ c̄_p,ᵢ h̄_m(T) = Σ yᵢ h̄ᵢ(T) ū_m(T) = Σ yᵢ ūᵢ(T)
Overbar ( ̄ ) denotes a molar (per-kmol) quantity. Each component enthalpy h̄ᵢ(T) and internal energy ūᵢ(T) is evaluated at the mixture temperature T. The mixture specific heat c̄p,m is the mole-fraction-weighted average of the component specific heats.
💡 Mass-Based vs. Mole-Based Properties
Mixture properties can also be expressed on a mass basis using mass fractions: cp,m = Σ mfᵢ cp,i. The choice between mole and mass bases is often dictated by the data tables available. Converting between the two requires the apparent molar mass Mm.

Composition Conversions & Property Tables

A common task in mixture thermodynamics is converting between mole fractions and mass fractions. Given one set, the other follows directly from the molar masses of the individual components. These conversions are essential because property data (specific heats, enthalpy tables) are sometimes tabulated on a per-mass basis and sometimes on a per-mole basis.

Flowchart showing the standard workflow for converting between mole fractions and mass fractions, and for computing mixture properties on either a molar or mass-specific basis. The apparent molar mass Mm serves as the bridge between the two representations.
Summary of mixture property formulas on mole and mass bases
PropertyMole-Basis FormulaMass-Basis Formula
Apparent molar massMm = Σ yᵢMᵢ1/Mm = Σ (mfᵢ/Mᵢ)
Gas constantR̄ = 8.314 kJ/(kmol·K)Rm = R̄ / Mm
Specific heat (const. P)p,m = Σ yᵢ c̄p,icp,m = Σ mfᵢ cp,i
Enthalpym = Σ yᵢ h̄ᵢ(T)hm = Σ mfᵢ hᵢ(T)
Internal energyūm = Σ yᵢ ūᵢ(T)um = Σ mfᵢ uᵢ(T)

Worked Example — Air as an Ideal Gas Mixture

Dry air is often modeled as a two-component ideal gas mixture of 79% N₂ and 21% O₂ by moles. Determine the apparent molar mass, the mass fractions, the mixture specific heat at constant pressure (assuming constant c̄p values of 29.1 kJ/(kmol·K) for N₂ and 29.4 kJ/(kmol·K) for O₂), and the specific gas constant of the mixture.

Computing Properties of Simplified Dry Air
1
Step 1 — Identify Given ValuesMole fractions: yN₂ = 0.79, yO₂ = 0.21. Molar masses: MN₂ = 28.014 kg/kmol, MO₂ = 31.999 kg/kmol. Molar specific heats at constant pressure: c̄p,N₂ = 29.1 kJ/(kmol·K), c̄p,O₂ = 29.4 kJ/(kmol·K). R̄ = 8.314 kJ/(kmol·K).
2
Step 2 — Apparent Molar MassMm = Σ yᵢMᵢ = (0.79)(28.014) + (0.21)(31.999) = 22.131 + 6.720 = 28.851 kg/kmol.
Mm ≈ 28.85 kg/kmol
3
Step 3 — Mass FractionsmfN₂ = yN₂ × MN₂ / Mm = (0.79 × 28.014) / 28.851 = 22.131 / 28.851 = 0.767. Similarly, mfO₂ = (0.21 × 31.999) / 28.851 = 6.720 / 28.851 = 0.233. Check: 0.767 + 0.233 = 1.000 ✓.
mfN₂ = 0.767, mfO₂ = 0.233
4
Step 4 — Mixture Molar Specific Heatp,m = Σ yᵢ c̄p,i = (0.79)(29.1) + (0.21)(29.4) = 22.989 + 6.174 = 29.163 kJ/(kmol·K).
p,m ≈ 29.16 kJ/(kmol·K)
5
Step 5 — Specific Gas ConstantRm = R̄ / Mm = 8.314 / 28.851 = 0.2881 kJ/(kg·K). This is the familiar value often quoted for dry air.
Rm ≈ 0.288 kJ/(kg·K)

Strengths & Limitations of the Ideal Gas Mixture Model

Like the ideal gas model for pure substances, the ideal gas mixture model is a simplification that works well under certain conditions but degrades under others. Understanding its boundaries prevents misapplication and guides the analyst toward more sophisticated models when necessary.

Strengths versus limitations of the ideal gas mixture model
StrengthsLimitations
Simple additivity — mixture properties are weighted sums of component properties, requiring no mixing rules.Assumes zero intermolecular interactions; fails at high pressures or near the saturation dome.
Widely tabulated component data (cp, h, s) available for common gases.Cannot capture mixing enthalpies or volume changes upon mixing (both are zero by assumption).
Dalton's and Amagat's models are equivalent, providing dual perspectives for analysis.Not valid for condensable vapors at temperatures near their dew point within the mixture.
Excellent accuracy for atmospheric-pressure engineering applications (combustion, HVAC, meteorology).For reactive mixtures, composition changes with extent of reaction — the model applies only at a given snapshot of composition.
⚠️ WHEN TO TRUST THE MODEL
Use the ideal gas mixture model when the mixture temperature is well above the critical temperatures of all components and the total pressure is moderate (typically below about 5 atm for common gases). If any component approaches its saturation conditions — as water vapor does in humid-air problems — treat that component with real-gas or saturation-table data while keeping the remaining components ideal. This hybrid strategy is, in fact, how psychrometric (humid-air) calculations are routinely performed in HVAC engineering.

Connection to Advanced Theory — Real Gas Mixtures & Humid Air

The ideal gas mixture framework developed here is the launching point for several more sophisticated treatments encountered later in thermodynamics courses. Recognizing how these advanced models extend (rather than replace) the ideal model helps contextualize the present material and motivates careful study of the fundamentals.

Ideal gas mixture model compared with advanced treatments
FeatureIdeal Gas Mixture (This Lesson)Advanced / Real Gas Mixture
Equation of statePV = nmR̄TPV = ZnmR̄T, where Z is the compressibility factor from mixing rules (Kay's rule, etc.)
Volume change on mixingZero by assumptionNon-zero; computed from excess volume functions
Enthalpy of mixingZero by assumptionNon-zero; requires departure functions or activity coefficients
Entropy of mixingΔSmix = −R̄ Σ yᵢ ln yᵢ (always positive)Includes an excess entropy term beyond the ideal mixing contribution
Humid airDry air treated as ideal; water vapor added ideally when far from saturationPsychrometric charts account for phase change of water vapor; wet-bulb, dew-point, and relative humidity are key

In your next studies you will encounter psychrometrics, where dry air is modeled as an ideal gas mixture and water vapor is treated with care because it may condense. The ideal gas mixture formulas from this lesson carry over directly for the dry-air component. You will also meet Kay's rule for pseudo-critical properties and compressibility factor approaches for high-pressure gas mixtures, both of which reduce to the ideal model in the low-pressure limit. Mastery of the ideal gas mixture therefore provides the conceptual scaffold upon which all real-mixture corrections are built.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain, in physical terms, why the partial pressure of a component in an ideal gas mixture is proportional to its mole fraction rather than its mass fraction.
PROBLEM 2BASIC CALCULATION
A gas mixture consists of 3 kmol of CO₂ (M = 44.01 kg/kmol) and 7 kmol of N₂ (M = 28.01 kg/kmol). Calculate the mole fractions, the apparent molar mass of the mixture, and the mass fraction of CO₂.
PROBLEM 3INTERMEDIATE
A rigid 0.5 m³ tank contains a mixture of 1.2 kmol O₂ and 0.8 kmol Ar at 400 K. Treating both as ideal gases, find (a) the total pressure, (b) the partial pressure of each species, and (c) the partial volume of O₂ under Amagat's model.
PROBLEM 4APPLIED
The exhaust from a natural-gas boiler has the following dry molar composition: 8% CO₂, 12% H₂O (vapor), 4% O₂, and 76% N₂. Using constant molar specific heats c̄p of 37.1, 33.6, 29.4, and 29.1 kJ/(kmol·K) respectively, determine the mixture molar specific heat and the mixture specific heat on a mass basis (kJ/(kg·K)).
PROBLEM 5CRITICAL THINKING
Derive an expression for the entropy of mixing when k ideal gases, each initially at the same temperature T and pressure P in separate containers, are allowed to mix at constant T and P. Show that the entropy of mixing is always positive and discuss why this result is consistent with the second law of thermodynamics.

Lesson Summary

An ideal gas mixture treats each component as an independent ideal gas whose molecules do not interact with those of other species. Composition is specified by mole fractions (yᵢ = nᵢ/nm) or mass fractions (mfᵢ = mᵢ/mm), bridged by the apparent molar mass Mm = Σ yᵢMᵢ. Dalton's law partitions the total pressure into partial pressures (Pᵢ = yᵢP), while Amagat's law partitions the total volume into partial volumes (Vᵢ = yᵢV); for ideal gases these two perspectives are equivalent.

Extensive thermodynamic properties — internal energy, enthalpy, specific heat — are the mole-fraction-weighted (or mass-fraction-weighted) sums of the pure-component values evaluated at the mixture temperature. The entropy of mixing ΔSmix = −nmR̄ Σ yᵢ ln yᵢ is always positive, consistent with the irreversibility of mixing. This ideal framework is the foundation for psychrometrics (humid-air analysis) and for real-gas mixture corrections using compressibility factors and departure functions.

Varsity Tutors • Thermodynamics • Ideal Gas Mixture Properties