The virial equation of state is a mathematical expression that models the behaviour of a real gas.

Recognising van der Waals’ work, Heike Kamerlingh, another Dutch physicist, attempted to establish a more extensive equation of state and devised the **virial equation of state** in 1882:

The word *virial* is latin meaning *force* or *energy*. The RHS of eq16 suggests that the virial equation is derived using a power series.

In fact, the equation can be perceived as a Maclaurin series of van der Waals’ equation. To illustrate this, let’s multiply the right side of eq10 from the previous section by where to give:

A Maclaurin series for the polynomial is in the form:

From eq17,

Substituting eq19 through eq22 in eq18

Substitute back in eq23

Eq24 is the same as eq16 if and *C* = *b ^{2}*. If so, the coefficient

*C*(and perhaps other higher coefficients) is not a function of temperature, which limits the accuracy of the equation in predicting the pressure of the real gas. Kamerlingh therefore decided to use experimental data to determine the coefficients

*B*,

*C*and so on, instead of using the van der Waals factors, resulting in eq16 as the final form rather than eq24.

Comparing eq16 and eq2, the compression factor is equal to the expansion part of the virial equation

If all the virial coefficients are equal to zero, *Z* = 1 and the virial equation becomes the ideal gas equation. For large *V** _{m}* (i.e. at low pressures), all the terms with virial coefficients tend to zero with the virial equation transforming into the ideal gas equation again. The virial equation can also be expressed in terms of powers of pressure:

The pressure version of the virial equation is constructed in a way that is consistent with the volume version, such that the equation becomes the ideal gas equation when all the virial coefficients are zero.

In summary, the virial equation’s accuracy in modeling the behaviour of real gases increases with increasing number of expansion terms. However, it may be cumbersome to determine the virial coefficients that are needed to make the equation work.