Chemical Potential of an Ideal Gas
Pump up a bicycle tire and the air inside gains more than pressure. It gains a thermodynamic "eagerness" to escape, expand, or react. That eagerness is the chemical potential, and for gases it has one of the cleanest formulas in all of thermodynamics. This relationship matters because chemical potential is the master variable of equilibrium. Reaction direction, phase stability, and equilibrium constants all reduce to comparing chemical potentials. For ideal gases the dependence on pressure is exactly logarithmic, which makes every downstream calculation tractable. This article derives the pressure dependence of from the Gibbs energy of an ideal gas. It extends the result to gas mixtures using partial pressures. It closes with two worked numerical examples and a preview of activities and equilibrium constants.
- The chemical potential of a pure ideal gas is , with .
- This comes directly from at constant , integrated using .
- In a mixture of ideal gases, each component obeys the same law using its own partial pressure .
- Doubling pressure raises by , about 1.7 kJ/mol at 298 K.
- Chemical potential differences, not absolute values, drive spontaneous change and equilibrium.
- Key idea: for an ideal gas, chemical potential rises logarithmically with pressure or partial pressure, each species behaving as if the others were not there.
Because the molar Gibbs energy of an ideal gas increases as (relative to a standard state), and because chemical potential is just molar Gibbs energy for a pure substance, the chemical potential of an ideal gas—pure or in a mixture, using its partial pressure—is .
The physical picture
Chemical potential, , measures how much the Gibbs energy of a system changes when you add one more mole of a substance, at constant temperature, pressure, and composition of everything else. For a pure substance it equals the molar Gibbs energy, . Gases are the simplest system in which to see how depends on a state variable, because the equation of state is simple: . Picture a fixed amount of ideal gas at fixed temperature. As you compress it, the molecules are squeezed into a smaller volume. They collide with walls more often and more energetically in an entropic sense: the number of accessible microstates per particle shrinks. Gibbs energy rises. Since for a pure gas, the chemical potential rises too. The relationship is not linear in ; it is logarithmic, because the entropy of an ideal gas depends on the logarithm of volume, and at fixed . Now consider a mixture: nitrogen and oxygen in air. Each gas, being ideal, does not "feel" the other. Ideal gas molecules occupy space and exchange energy without intermolecular forces, so each component's chemical potential depends only on its own partial pressure, , exactly as if it alone filled the container at pressure . This is the microscopic reason the mixture formula is simply the pure-gas formula with replaced by .
The core relations
where is the standard chemical potential at and the same temperature .
where is the partial pressure of component in an ideal gas mixture, its mole fraction.
where the total Gibbs energy of the mixture is the mole-weighted sum of the partial chemical potentials.
Goal. Show that the molar Gibbs energy—and hence the chemical potential—of a pure ideal gas depends on pressure as , starting from the fundamental relation for .
Step 1. Start from the pressure dependence of Gibbs energy. For a closed system of fixed composition, the combined first and second law gives . At constant temperature, , so
Step 2. Convert to molar quantities. Divide through by the (fixed) amount of substance . Since for a pure substance,
where is the molar volume.
Step 3. Insert the ideal gas equation of state. For one mole of ideal gas, , so . Substituting,
Step 4. Integrate from the standard pressure to the pressure of interest. Integrate both sides from a reference state to the current state , holding fixed so leaves the integral:
Step 5. Evaluate both integrals. The left side gives . The right side gives , since . So
Step 6. Extend to a mixture component. In an ideal gas mixture, each species behaves as though it alone occupied the container, exerting only its partial pressure and contributing independently to the total pressure (, Dalton's law). Because there are no intermolecular forces distinguishing species in the ideal limit, the same integration applies to each component using in place of :
Boxed result.
reducing to for a pure gas, where .
Worked examples
Example 1 — Pure nitrogen gas compressed. A cylinder holds pure N₂(g) at 298.15 K. Find the change in chemical potential when the pressure is raised from 1.00 bar (the standard pressure) to 50.0 bar, assuming ideal behavior. Use
With , , :
Sanity check: pressure rose 50-fold, well above 1 bar, so should rise substantially and positively—consistent with compression driving the gas toward higher Gibbs energy, favoring expansion back toward 1 bar. The size (about four times the "one " scale of 2.48 kJ/mol) is reasonable for a factor of 50 inside a logarithm.
Example 2 — Partial pressures in a reacting mixture (ammonia synthesis feed). A gas mixture at 400 K and total pressure 200 bar contains N₂, H₂, and NH₃ in mole fractions , , . Treating the mixture as ideal, find the chemical potential of each species relative to its own standard state, , at this composition and pressure.
Step 1: partial pressures.
Check: bar. ✓
Step 2: RT at 400 K.
Step 3: apply to each gas (with bar, so is numerically the pressure in bar): For N₂:
For H₂:
For NH₃:
Sanity check: all three values are positive because every partial pressure exceeds 1 bar, correctly raising each above its standard value. The ordering tracks the partial pressures: H₂ has the highest partial pressure and the largest boost, NH₃ the smallest. These numbers are exactly the pieces needed later to build and the reaction quotient for the Haber process.
Limiting cases & common traps
| Situation | What happens | Why |
|---|---|---|
| Gas becomes infinitely dilute, entropy diverges | ||
| (ideal model) | Formula still logarithmic, no physical divergence at real high | |
| Real gas at high pressure | Formula breaks down | Must replace with fugacity (foreshadowing activity and fugacity) |
| Mixture component | Use , not total | Each ideal gas responds only to its own partial pressure |
The chemist behind it
The mathematical machinery here—Gibbs energy, chemical potential, and their pressure and composition dependence—traces to Josiah Willard Gibbs, whose 1876 and 1878 papers "On the Equilibrium of Heterogeneous Substances" essentially invented chemical thermodynamics from scratch. Gibbs defined chemical potential as a partial molar quantity and showed it governs phase and reaction equilibrium, decades before physical chemists had the vocabulary of partial pressures and standard states to apply it neatly to gases. The logarithmic pressure dependence used constantly by chemists today, from vapor pressures to equilibrium constants, is a direct descendant of Gibbs's abstract formalism.
Origins · 1 minJosiah Willard Gibbs and how this was discovered
Ask the tutor: How does replacing pressure with fugacity fix this formula for real, non-ideal gases?
Why does chemical potential depend on ln p rather than p itself?
The logarithm traces back to the ideal gas law entering through in . Integrating produces a natural logarithm. Physically, molar volume shrinks as , so each successive increment of pressure squeezes the gas proportionally less in absolute volume terms but represents the same relative compression. Entropy, and hence Gibbs energy, tracks that relative, multiplicative change, which is exactly what a logarithm captures.
What exactly is the standard state for a gas, and why 1 bar?
The standard state is the pure ideal gas at pressure bar exactly, at whatever temperature is specified. IUPAC adopted 1 bar (rather than the older 1 atm = 1.01325 bar) as the standard pressure in 1982. The gas is treated as ideal even if the real gas is not, meaning tabulated standard values already extrapolate to ideal behavior at that reference pressure.
Does this formula apply to real gases like CO2 at high pressure?
Not accurately. Real gases deviate from ideality especially at high pressure or low temperature, where intermolecular attractions and finite molecular volume matter. The fix is to replace pressure with fugacity, , an effective pressure defined so that remains exactly true. Fugacity equals pressure in the ideal limit and corrects for nonideality otherwise—the subject of the next topic in this sequence.
How does this connect to equilibrium constants like Kp?
At equilibrium, the sum of over products minus reactants equals zero. Substituting for every species and collecting terms yields , where is built from equilibrium partial pressures raised to their stoichiometric powers. The logarithmic pressure dependence derived here is the direct ancestor of that equilibrium expression.
Is μ the same as Gibbs energy for a gas?
Only for a pure substance, where , the molar Gibbs energy. In a mixture, is a partial molar Gibbs energy: the slope of total with respect to moles of species , holding , , and all other mole numbers fixed. Total for the mixture is then , not simply a molar average.