tutorgum
Try a Class

Virial Equations of State: Understanding Real Gases

Explore how virial equations account for real-gas behaviour beyond the ideal gas law. Learn how density-based corrections, virial coefficients, and the compressibility factor describe molecular interactions, and why the expansion has a limited range of validity.

Compress a sealed sample of gas while keeping its temperature constant. The ideal gas law predicts that pressure will increase in direct proportion to the gas’s molar density. But real molecules attract and repel one another. Will the pressure still match the ideal prediction?

Not necessarily. Attractions can make the pressure lower than predicted, while strong short-range repulsion can make it higher. The virial equation of state provides a mathematical way to describe these departures from ideal behaviour.

This is an extension beyond the required Year 11 Quantitative chemistry content, not an HSC assessment requirement. The 2025 NSW Chemistry syllabus provides the relevant ideal-gas foundation, but virial equations take that model further. The new syllabus is scheduled for Year 11 implementation from 2028. The Year 11 material is a prerequisite entry point, not an assessment requirement.

01The ideal-gas model: a useful starting point

In Year 11, you encounter the ideal gas equation:

\[ PV=nRT \]

Here:

  • \(P\) is the pressure of the gas.
  • \(V\) is the volume occupied by the gas.
  • \(n\) is the amount of gas in moles.
  • \(R\) is the ideal gas constant.
  • \(T\) is the absolute temperature in kelvin.

The ideal-gas model makes two important assumptions about its particles:

  1. The particles occupy negligible volume compared with the space available to them.
  2. There are no intermolecular attractions or repulsions between particles.

The particles move randomly, and collisions with the container walls produce the measured gas pressure. Collisions are assumed to be elastic, meaning that kinetic energy is conserved.

These assumptions make the mathematics manageable. They also explain why the ideal gas law works particularly well when gases are dilute.

Consider what happens when you compress a gas. If temperature and the amount of gas remain constant, the particles have the same average kinetic energy, but they occupy a smaller volume.

There are more particles per unit volume, so collisions with the container walls occur more frequently. Pressure increases.

Two transparent piston-cylinder vessels contain equal numbers of identical gas molecules at constant temperature. The compressed vessel has a lower piston, less available space, closer particles and overlapping coral interaction zones.
At constant temperature and amount of gas, compression crowds molecules into less space, making close-range intermolecular interactions more likely.

Due to technical limitations, this figure may display incorrectly or contain inaccuracies. Please check key details against your course materials.

The first model treats particles as if they do not interact. Real molecules, however, experience intermolecular forces.

02Why real gases behave differently

Real molecules experience both attractive and repulsive interactions.

At moderate separation distances, molecules can attract one another. These attractions arise from intermolecular forces, including dispersion forces and permanent dipole interactions where applicable.

At extremely short distances, repulsive interactions become dominant. Bringing electron clouds too close together requires a substantial increase in energy.

A useful way to represent the interaction between two molecules is through their potential energy, \(U(r)\), where \(r\) is the distance between their centres.

These interactions affect the pressure of a real gas.

When attractions dominate

Imagine a molecule moving towards the wall of its container.

If neighbouring molecules attract it back towards the interior, the molecule’s motion towards the wall is affected. The net effect of these attractions is to reduce the pressure compared with the ideal-gas prediction at the same temperature and molar density.

Therefore:

\[ P_{\text{real}} < P_{\text{ideal}} \]

This is one reason real gases can have a compressibility factor below one.

When repulsions become important

Now consider molecules being pushed very close together.

Their electron clouds resist further overlap. The effective space available to their motion becomes more restricted, and the gas becomes harder to compress.

Short-range repulsive effects can therefore produce a pressure greater than the ideal-gas prediction:

\[ P_{\text{real}} > P_{\text{ideal}} \]

The important point is that the relative importance of attractions and repulsions changes with temperature and density.

The ideal-gas model ignores both effects. A real-gas equation of state attempts to account for them.

03Introducing the virial equation of state

The virial equation of state describes real-gas behaviour by adding corrections to the ideal-gas model.

There are several mathematical forms of the virial equation. This article focuses on the density-based virial expansion, which expresses deviations from ideal behaviour as powers of molar density.

Before writing it down, we need two quantities.

Molar volume, \(V_m\), is the volume occupied by one mole of gas:

\[ V_m=\frac{V}{n} \]

Its units are typically L mol\(^{-1}\).

Molar density, \(\rho\), is the amount of gas per unit volume:

\[ \rho=\frac{n}{V} \]

Its units are typically mol L\(^{-1}\).

These quantities are reciprocals:

\[ \rho=\frac{1}{V_m} \]

Notice that molar density is not the same as mass density. Molar density measures moles per unit volume, rather than grams per unit volume.

The compressibility factor

To measure how far a real gas deviates from ideal behaviour, we introduce the compressibility factor, \(Z\).

It is defined as:

\[ Z=\frac{PV_m}{RT} \]

For an ideal gas, the ideal gas equation gives:

\[ Z=1 \]

This gives us a convenient reference point.

Compressibility factorInterpretation
\(Z=1\)Pressure matches the ideal-gas prediction at that state.
\(Z<1\)Real-gas pressure is lower than the ideal prediction.
\(Z>1\)Real-gas pressure is higher than the ideal prediction.

The compressibility factor is dimensionless. It does not have units.

The density-based virial expansion

The density-based virial equation is:

\[ \boxed{ Z=1+B(T)\rho+C(T)\rho^2+D(T)\rho^3+\cdots } \]

This is the central equation of this topic.

Substituting the definition of \(Z\) gives:

\[ \frac{P}{\rho RT} = 1+B(T)\rho+C(T)\rho^2+\cdots \]

Rearranging:

\[ \boxed{ P=\rho RT \left[ 1+B(T)\rho+C(T)\rho^2+\cdots \right] } \]

The equation starts with the ideal-gas prediction, \(\rho RT\), and then introduces corrections.

The coefficients \(B(T)\), \(C(T)\), and \(D(T)\) are called virial coefficients. They depend on temperature and the identity of the gas.

The density-based form is used in thermodynamic modelling, including the gas-phase calculations described in a National Institute of Standards and Technology (NIST) report.

What does each coefficient represent?

The coefficients have different physical meanings.

CoefficientNamePhysical contribution
\(B(T)\)Second virial coefficientEffects associated with interactions between pairs of molecules.
\(C(T)\)Third virial coefficientEffects involving groups of three molecules.
\(D(T)\)Fourth virial coefficientEffects involving groups of four molecules.

The second virial coefficient is particularly important because it provides the first correction to ideal-gas behaviour.

The coefficients also have different units:

CoefficientUnits when \(\rho\) is in mol L\(^{-1}\)
\(B(T)\)L mol\(^{-1}\)
\(C(T)\)L\(^2\) mol\(^{-2}\)
\(D(T)\)L\(^3\) mol\(^{-3}\)

Each term in the expansion must be dimensionless because it contributes to \(Z\).

For example, \(B(T)\rho\) has units:

\[ \frac{\mathrm{L}}{\mathrm{mol}} \times \frac{\mathrm{mol}}{\mathrm{L}} =1 \]

The units cancel, as required.

Why does the equation approach ideal behaviour at low density?

Look again at:

\[ Z=1+B\rho+C\rho^2+\cdots \]

At very low molar density, \(\rho\) approaches zero.

Consequently:

  • \(B\rho\) becomes very small.
  • \(C\rho^2\) becomes even smaller.
  • Higher-order terms become progressively less significant within the low-density expansion.

The equation approaches:

\[ Z\approx1 \]

This is exactly the ideal-gas result.

The virial equation therefore does not replace the ideal-gas law. It extends it by describing how real gases depart from ideal behaviour.

04Understanding the second virial coefficient

The second virial coefficient, \(B(T)\), is particularly useful because its sign tells us about the net effect of pair interactions on gas pressure in the low-density limit.

There are three important possibilities.

When \(B(T)\) is negative

If:

\[ B(T)<0 \]

then the first correction to \(Z\) is negative.

At sufficiently low density, this produces:

\[ Z<1 \]

The net effect of intermolecular attractions between pairs of molecules is to reduce the pressure below the ideal-gas prediction.

When \(B(T)\) is positive

If:

\[ B(T)>0 \]

then the first correction is positive.

At sufficiently low density:

\[ Z>1 \]

The net effect of repulsive and excluded-volume contributions raises the pressure above the ideal-gas prediction.

Remember that the sign of \(B\) describes the net pair-interaction contribution. It does not mean that every molecule is experiencing only attraction or only repulsion.

When \(B(T)\) is zero

This is a particularly interesting case.

At a specific temperature, some gases have a second virial coefficient equal to zero:

\[ B(T_B)=0 \]

The temperature \(T_B\) is called the Boyle temperature.

At this temperature, the leading correction to ideal-gas behaviour disappears.

However, does this mean the gas becomes perfectly ideal?

No.

The third virial coefficient and higher coefficients may still be non-zero:

\[ Z=1+C(T_B)\rho^2+D(T_B)\rho^3+\cdots \]

The Boyle temperature makes the leading correction vanish. It does not eliminate every intermolecular interaction.

This is an important distinction when interpreting real-gas behaviour.

University of Cambridge lecture notes on microscopic physics discuss the relationship between the second virial coefficient, intermolecular attractions, repulsions, and the Boyle point.

A note about gas mixtures

The equations introduced so far describe a pure gas.

For a mixture, interactions between different types of molecules must also be considered. These introduce additional cross-interaction contributions to the virial coefficients.

The ideal-gas starting point for mixtures is Dalton’s law of partial pressures, but real mixtures require a more detailed treatment.

05The limitations of the virial expansion

The virial equation looks powerful because it can include many corrections. However, it has an important limitation.

It is fundamentally a low-density expansion.

The equation is written as a series of increasing powers of density:

\[ Z=1+B\rho+C\rho^2+D\rho^3+\cdots \]

As density increases, the higher powers become increasingly important.

For example, if density doubles:

  • The second-order density contribution becomes four times as large.
  • The third-order density contribution becomes eight times as large.
  • The fourth-order density contribution becomes sixteen times as large.

This means a correction that was negligible at low density might become significant after compression.

Truncating the expansion

In practical calculations, we usually cannot include infinitely many terms.

Instead, we truncate the series.

Keeping only the second virial coefficient gives:

\[ Z\approx1+B(T)\rho \]

Including the third virial coefficient gives:

\[ Z\approx1+B(T)\rho+C(T)\rho^2 \]

The first approximation is simpler, but it ignores the contribution from three-molecule effects.

The second approximation includes another layer of detail, but still ignores all subsequent terms.

Neither is automatically accurate at every density.

Where does the expansion stop being useful?

There is no single density limit that applies to every gas.

The useful range depends on:

  • The identity of the gas.
  • The temperature.
  • The number of virial coefficients included.
  • The accuracy required.
  • How close the system is to condensation or other phase changes.

At low density, a short expansion may provide an excellent approximation.

At higher densities, omitted terms can become important. Near liquid-like conditions or phase transitions, a truncated virial expansion may no longer provide a reliable description.

NIST thermodynamic modelling explicitly identifies increasing errors from omitted higher-order virial coefficients as density increases.

The practical lesson is simple: a good approximation at low density is not automatically a good approximation at high density.

You must consider the validity of the model before using it.

06Worked examples

Worked example: calculating the compressibility factor and pressure

A pure gas is at 298 K and has a molar density of 0.150 mol L\(^{-1}\).

At this temperature, its second virial coefficient is \(-0.100\) L mol\(^{-1}\), and its third virial coefficient is \(+0.030\) L\(^2\) mol\(^{-2}\).

Using the virial equation truncated after the third virial coefficient, calculate:

  1. The compressibility factor.
  2. The pressure of the gas.

Step 1

We are including the second and third virial coefficients:

\[ Z=1+B\rho+C\rho^2 \]

Step 2

\[ \begin{aligned} Z={}&1+(-0.100)(0.150)\\ &+(0.030)(0.150)^2 \end{aligned} \]

Calculate each correction:

\[ B\rho=-0.015 \]

\[ C\rho^2=0.000675 \]

Therefore:

\[ Z=1-0.015+0.000675 \]

\[ \boxed{Z=0.985675} \]

The compressibility factor is approximately 0.9857.

Step 3

Rearranging the definition of the compressibility factor:

\[ P_{\text{ideal}}=\rho RT \]

Use:

\[ R=8.314\ \mathrm{kPa\,L\,mol^{-1}\,K^{-1}} \]

Substitute:

\[ P_{\text{ideal}} =0.150\times8.314\times298 \]

\[ P_{\text{ideal}}=371.64\ \mathrm{kPa} \]

Step 4

The actual pressure predicted by the virial equation is:

\[ P=Z\rho RT \]

\[ P=0.985675\times371.64 \]

\[ \boxed{P=366.3\ \mathrm{kPa}} \]

The real-gas pressure is approximately 366.3 kPa, compared with the ideal prediction of 371.6 kPa.

This is consistent with the negative second virial coefficient: the net pair-interaction contribution reduces the pressure.

Worked example: converting mass density before using the virial equation

A gas has a mass density of 8.00 g L\(^{-1}\), a molar mass of 32.0 g mol\(^{-1}\), and a temperature of 320 K.

Its second virial coefficient is \(-0.200\) L mol\(^{-1}\), and its third virial coefficient is \(+0.080\) L\(^2\) mol\(^{-2}\).

Calculate its compressibility factor and pressure using terms up to the third virial coefficient.

Step 1

The virial equation requires molar density, not mass density.

Use:

\[ \rho=\frac{d}{M} \]

where:

  • \(d\) is mass density.
  • \(M\) is molar mass.
  • \(\rho\) is molar density.

Substitute:

\[ \rho=\frac{8.00\ \mathrm{g\,L^{-1}}} {32.0\ \mathrm{g\,mol^{-1}}} \]

\[ \boxed{\rho=0.250\ \mathrm{mol\,L^{-1}}} \]

Step 2

Use:

\[ Z=1+B\rho+C\rho^2 \]

Substitute:

\[ Z=1+(-0.200)(0.250) +(0.080)(0.250)^2 \]

Calculate the corrections:

\[ B\rho=-0.050 \]

\[ C\rho^2=0.005 \]

Therefore:

\[ Z=1-0.050+0.005 \]

\[ \boxed{Z=0.955} \]

Step 3

\[ P_{\text{ideal}}=\rho RT \]

\[ P_{\text{ideal}} =0.250\times8.314\times320 \]

\[ P_{\text{ideal}}=665.12\ \mathrm{kPa} \]

Step 4

\[ P=Z\rho RT \]

\[ P=0.955\times665.12 \]

\[ \boxed{P=635.2\ \mathrm{kPa}} \]

The corrected pressure is approximately 635.2 kPa.

This is 4.5% below the ideal-gas prediction.

Notice why converting mass density first was essential. Substituting 8.00 directly into the virial equation would have been incorrect because the coefficients were supplied using molar-density units.

07Questions and solutions

The coefficients in the following questions are hypothetical teaching values. They are not experimental measurements for particular gases.

Question 1

A pure gas is at 300 K and has a molar density of 0.120 mol L\(^{-1}\).

Its second virial coefficient is \(-0.080\) L mol\(^{-1}\), and its third virial coefficient is \(+0.015\) L\(^2\) mol\(^{-2}\).

Using the virial equation truncated after the third virial coefficient, calculate:

a) The compressibility factor.

b) The corrected pressure.

c) Whether the pressure is greater or less than the ideal-gas prediction.

Solution 1

The compressibility factor is approximately 0.9906, and the corrected pressure is 296.5 kPa. The pressure is lower than the ideal-gas prediction.

Step 1: Calculate the compressibility factor.

\[ Z=1+B\rho+C\rho^2 \]

Substitute:

\[ \begin{aligned} Z={}&1+(-0.080)(0.120)\\ &+(0.015)(0.120)^2 \end{aligned} \]

\[ Z=1-0.0096+0.000216 \]

\[ \boxed{Z=0.990616} \]

Step 2: Calculate the ideal-gas pressure.

\[ P_{\text{ideal}}=\rho RT \]

\[ P_{\text{ideal}} =0.120\times8.314\times300 \]

\[ P_{\text{ideal}}=299.304\ \mathrm{kPa} \]

Step 3: Calculate the corrected pressure.

\[ P=ZP_{\text{ideal}} \]

\[ P=0.990616\times299.304 \]

\[ \boxed{P=296.5\ \mathrm{kPa}} \]

Step 4: Interpret the result.

Since \(Z<1\), the real-gas pressure is lower than the ideal-gas prediction.

The negative second virial coefficient produces a larger negative correction than the positive third virial coefficient can offset.

The final pressure is approximately 0.94% below the ideal value.

Question 2

Two different gases, X and Y, are maintained at the same temperature of 300 K and the same molar density of 0.200 mol L\(^{-1}\).

Their second virial coefficients are:

GasSecond virial coefficient
X\(-0.150\) L mol\(^{-1}\)
Y\(+0.080\) L mol\(^{-1}\)

Assume that higher-order virial coefficients are negligible.

a) Calculate the compressibility factor for each gas.

b) Calculate the pressure of each gas.

c) Which gas behaves more ideally at these conditions? Explain the physical significance of the signs of the coefficients.

Solution 2

Gas Y behaves more ideally at these conditions because its compressibility factor is closer to one.

Gas X has \(Z=0.970\), while gas Y has \(Z=1.016\).

Step 1: Calculate the compressibility factor of gas X.

With higher-order terms neglected:

\[ Z=1+B\rho \]

For gas X:

\[ Z_X=1+(-0.150)(0.200) \]

\[ \boxed{Z_X=0.970} \]

Step 2: Calculate the compressibility factor of gas Y.

\[ Z_Y=1+(0.080)(0.200) \]

\[ \boxed{Z_Y=1.016} \]

Step 3: Calculate the ideal-gas pressure.

Both gases have the same temperature and molar density.

\[ P_{\text{ideal}}=\rho RT \]

\[ P_{\text{ideal}} =0.200\times8.314\times300 \]

\[ P_{\text{ideal}}=498.84\ \mathrm{kPa} \]

Step 4: Calculate each corrected pressure.

For gas X:

\[ P_X=0.970\times498.84 \]

\[ \boxed{P_X=483.87\ \mathrm{kPa}} \]

For gas Y:

\[ P_Y=1.016\times498.84 \]

\[ \boxed{P_Y=506.82\ \mathrm{kPa}} \]

Step 5: Compare the deviations from ideal behaviour.

For gas X:

\[ |Z_X-1|=0.030 \]

For gas Y:

\[ |Z_Y-1|=0.016 \]

Gas Y is closer to ideal behaviour because its absolute deviation is smaller.

The negative coefficient for gas X indicates that attractive pair-interaction effects dominate its first correction.

The positive coefficient for gas Y indicates that repulsive and excluded-volume contributions dominate its first correction.

A common mistake is to assume that a negative coefficient automatically means a gas is more non-ideal than a gas with a positive coefficient. The sign alone does not tell you how far the gas is from ideal behaviour. You must consider the magnitude of the deviation from \(Z=1\).

Question 3

A gas at 310 K has the following virial coefficients:

\[ B=-0.180\ \mathrm{L\,mol^{-1}} \]

\[ C=+0.050\ \mathrm{L^2\,mol^{-2}} \]

Consider two states with molar densities of 0.300 mol L\(^{-1}\) and 0.600 mol L\(^{-1}\).

a) Calculate the compressibility factor at each density using terms up to the third virial coefficient.

b) Calculate the compressibility factor at each density using only the second virial coefficient.

c) Determine whether neglecting the third virial coefficient produces an error of less than 1% relative to the calculation including it at both densities.

d) Explain why this comparison demonstrates a limitation of truncating the virial expansion.

Solution 3

Neglecting the third virial coefficient produces an error of approximately 0.47% at the lower density and 1.98% at the higher density. Therefore, the second-virial-only approximation meets the 1% tolerance at the lower density, but not at the higher density.

Step 1: Calculate the compressibility factor at 0.300 mol L\(^{-1}\).

Including the third virial coefficient:

\[ Z=1+B\rho+C\rho^2 \]

\[ Z=1+(-0.180)(0.300) +(0.050)(0.300)^2 \]

\[ Z=1-0.054+0.0045 \]

\[ \boxed{Z=0.9505} \]

Using only the second virial coefficient:

\[ Z=1+B\rho \]

\[ Z=1-0.054 \]

\[ \boxed{Z=0.946} \]

Step 2: Compare the two predictions at the lower density.

The absolute difference is:

\[ \Delta Z=0.9505-0.946 \]

\[ \Delta Z=0.0045 \]

Calculate the percentage difference relative to the calculation including \(C\):

\[ \text{Percentage difference} =\frac{0.0045}{0.9505}\times100 \]

\[ \boxed{0.47\%} \]

The second-virial-only approximation meets the 1% tolerance.

Step 3: Repeat the calculation at 0.600 mol L\(^{-1}\).

Including the third virial coefficient:

\[ Z=1+(-0.180)(0.600) +(0.050)(0.600)^2 \]

\[ Z=1-0.108+0.018 \]

\[ \boxed{Z=0.910} \]

Using only the second virial coefficient:

\[ Z=1-0.108 \]

\[ \boxed{Z=0.892} \]

Step 4: Compare the two predictions at the higher density.

\[ \Delta Z=0.910-0.892 \]

\[ \Delta Z=0.018 \]

The percentage difference is:

\[ \frac{0.018}{0.910}\times100 \]

\[ \boxed{1.98\%} \]

The approximation no longer meets the 1% tolerance.

Step 5: Explain the density dependence.

When the molar density doubles, the second virial contribution doubles:

\[ B(2\rho)=2B\rho \]

However, the third virial contribution becomes four times larger:

\[ C(2\rho)^2=4C\rho^2 \]

This explains why the third virial coefficient becomes increasingly important as density rises.

There is one further limitation worth recognising. These percentages compare two truncated models. They do not prove that the model including \(C\) is accurate to within 1% of the actual gas behaviour. Higher coefficients, including \(D\), could still contribute.

Question 4

A particular gas is at its Boyle temperature, \(T_B\).

At this temperature:

\[ B(T_B)=0 \]

However, its third virial coefficient is:

\[ C(T_B)=+0.030\ \mathrm{L^2\,mol^{-2}} \]

Consider two states with molar densities of 0.400 mol L\(^{-1}\) and 0.600 mol L\(^{-1}\).

a) Calculate the compressibility factor at each density using terms up to the third virial coefficient.

b) A student claims that a gas at its Boyle temperature must behave perfectly ideally. Evaluate this claim.

Solution 4

The student is incorrect. The compressibility factors are 1.0048 and 1.0108, respectively. The Boyle temperature eliminates the second virial contribution, but higher-order corrections can remain.

Step 1: Write the virial equation.

\[ Z=1+B(T)\rho+C(T)\rho^2 \]

At the Boyle temperature, \(B(T_B)=0\).

Therefore:

\[ Z=1+C(T_B)\rho^2 \]

Step 2: Calculate \(Z\) at 0.400 mol L\(^{-1}\).

\[ Z=1+(0.030)(0.400)^2 \]

\[ Z=1+0.0048 \]

\[ \boxed{Z=1.0048} \]

Step 3: Calculate \(Z\) at 0.600 mol L\(^{-1}\).

\[ Z=1+(0.030)(0.600)^2 \]

\[ Z=1+0.0108 \]

\[ \boxed{Z=1.0108} \]

Step 4: Evaluate the student’s claim.

At the Boyle temperature, the second virial coefficient is zero. This means the leading correction associated with pair interactions disappears from the density expansion.

However, the third virial coefficient remains positive.

The gas therefore still deviates from ideal behaviour.

The important distinction is:

  • Boyle temperature: the second virial coefficient is zero.
  • Perfectly ideal gas: all non-ideal corrections vanish.

These are not equivalent conditions.

At sufficiently low density, the remaining corrections may be very small, so the ideal-gas approximation can still be useful. But it is not mathematically exact simply because the gas is at its Boyle temperature.

Question 5

A sealed sample of gas is compressed at a constant temperature of 300 K.

Over the density interval considered, assume its behaviour is accurately described by the following truncated virial equation:

\[ Z=1-0.100\rho+0.200\rho^2 \]

Here, \(\rho\) is in mol L\(^{-1}\), and the coefficients are constant over the stated temperature and density range.

The sample passes through three states:

  • State A: \(\rho=0.400\) mol L\(^{-1}\).
  • State B: \(\rho=0.500\) mol L\(^{-1}\).
  • State C: \(\rho=0.600\) mol L\(^{-1}\).

A student calculates that the pressure at state B exactly matches the ideal-gas prediction. They conclude that intermolecular interactions must have disappeared at this state, so the ideal gas law should also correctly predict the pressure increase during further compression from B to C.

Evaluate this reasoning.

In your answer:

a) Calculate \(Z\) at all three states.

b) Calculate the actual and ideal-gas pressures at states B and C.

c) Compare the actual pressure increase from B to C with the ideal-gas prediction.

d) Explain why matching the ideal-gas pressure at one state does not establish ideal-gas behaviour.

Solution 5

The student is incorrect. The pressure matches the ideal prediction at state B because the two virial corrections cancel, not because intermolecular interactions have disappeared. From B to C, the actual pressure increases by approximately 267.4 kPa, compared with an ideal-gas increase of 249.4 kPa.

Step 1: Calculate the compressibility factor at each state.

The equation is:

\[ Z=1-0.100\rho+0.200\rho^2 \]

At state A:

\[ Z_A=1-0.100(0.400)+0.200(0.400)^2 \]

\[ Z_A=1-0.040+0.032 \]

\[ \boxed{Z_A=0.992} \]

At state B:

\[ Z_B=1-0.100(0.500)+0.200(0.500)^2 \]

\[ Z_B=1-0.050+0.050 \]

\[ \boxed{Z_B=1.000} \]

At state C:

\[ Z_C=1-0.100(0.600)+0.200(0.600)^2 \]

\[ Z_C=1-0.060+0.072 \]

\[ \boxed{Z_C=1.012} \]

Notice the pattern.

At state A, the compressibility factor is below one.

At state B, it equals one.

At state C, it is above one.

The gas changes from a negative deviation to a positive deviation as its density increases.

Step 2: Calculate the ideal-gas and actual pressures at state B.

The ideal-gas pressure is:

\[ P_{\text{ideal}}=\rho RT \]

At state B:

\[ P_{\text{ideal,B}} =0.500\times8.314\times300 \]

\[ P_{\text{ideal,B}}=1247.1\ \mathrm{kPa} \]

The actual pressure is:

\[ P_B=Z_B\rho RT \]

Since \(Z_B=1\):

\[ \boxed{P_B=1247.1\ \mathrm{kPa}} \]

The two predictions match exactly.

Step 3: Calculate the pressures at state C.

The ideal-gas pressure is:

\[ P_{\text{ideal,C}} =0.600\times8.314\times300 \]

\[ P_{\text{ideal,C}}=1496.52\ \mathrm{kPa} \]

The actual pressure is:

\[ P_C=Z_C\rho RT \]

\[ P_C=1.012\times1496.52 \]

\[ \boxed{P_C=1514.48\ \mathrm{kPa}} \]

The actual pressure is now greater than the ideal-gas prediction.

Step 4: Compare the pressure increases.

The actual pressure increase is:

\[ \Delta P_{\text{actual}}=P_C-P_B \]

\[ \Delta P_{\text{actual}} =1514.48-1247.10 \]

\[ \boxed{\Delta P_{\text{actual}}=267.38\ \mathrm{kPa}} \]

The ideal-gas pressure increase is:

\[ \Delta P_{\text{ideal}} =1496.52-1247.10 \]

\[ \boxed{\Delta P_{\text{ideal}}=249.42\ \mathrm{kPa}} \]

The actual increase is therefore:

\[ \frac{267.38-249.42}{249.42}\times100 \]

\[ \boxed{7.2\%} \]

The pressure rises approximately 7.2% more than the ideal-gas model predicts over this interval.

Step 5: Explain the cancellation.

This is the most important part of the question.

At state B, the second virial contribution is:

\[ B\rho=-0.050 \]

The third virial contribution is:

\[ C\rho^2=+0.050 \]

Together:

\[ -0.050+0.050=0 \]

The two corrections cancel exactly.

That is why \(Z=1\) at this particular density.

However, neither coefficient is zero. The gas has not stopped experiencing intermolecular interactions.

The cancellation only occurs at one particular density. As the gas is compressed further, the second and third virial contributions change at different rates because they depend on different powers of density.

This is the conceptual trap: a real gas can have the same pressure as an ideal gas at one particular state without behaving ideally across a range of states.

A single measurement where \(Z=1\) is therefore insufficient to establish ideal-gas behaviour.

08What the virial equation lets you understand next

The virial equation gives you a way to move beyond the assumption that all gases behave ideally.

You can now distinguish three important ideas:

  • The ideal-gas law describes the limiting behaviour of a gas at sufficiently low density.
  • The virial coefficients quantify successive corrections arising from molecular interactions.
  • The accuracy of a truncated virial expansion depends on density, temperature, and the number of terms retained.

When deciding which equation of state to use, consider the conditions first. An ideal-gas equation may be sufficient for a dilute gas. A virial correction can improve the description when reliable low-density coefficients are available. At higher densities, a different real-gas model may be more appropriate.

A useful next concept is the van der Waals equation of state. It also corrects ideal-gas behaviour, but does so by explicitly introducing corrections for molecular attractions and the volume occupied by molecules. Comparing the two models helps explain how different mathematical approaches can describe the same underlying molecular behaviour.