# 16.5: The Second Virial Coefficient

- Page ID
- 204043

The second virial coefficient describes the contribution of the pair-wise potential to the pressure of the gas. The third virial coefficient depends on interactions between three molecules, and so on and so forth.

## Introduction

As the density is increased the interactions between gas molecules become non-negligible. Deviations from the ideal gas law have been described in a large number of equations of state. The *virial equation of state* expresses the deviation from ideality in terms of a power series in the density.

\[ \dfrac{P}{kT} = \rho + B_2(T)\rho^2 + B_3(T)\rho^3 + ...\]

- \(B_2(T)\) is the second virial coefficient,
- \(B_3(T)\) is called the third virial coefficient, etc.

The j^{th} virial coefficient can be calculated in terms of the interaction of j molecules in a volume \(V\). The second and third virial coefficients give most of the deviation from ideal (P/rkT) up to 100 atm.

The **second virial coefficient** is usually written as *B* or as \(B_2\). The second virial coefficient represents the initial departure from ideal-gas behavior. The second virial coefficient, in three dimensions, is given by

\[B_{2}(T)= - \dfrac{1}{2} \int \left( \exp\left(-\dfrac{\Phi_{12}({\mathbf r})}{k_BT}\right) -1 \right) 4 \pi r^2 dr \]

where \(\Phi_{12}({\mathbf r})\) is the intermolecular pair potential, T is the temperature and \(k_B\) is the Boltzmann constant. Notice that the expression within the parenthesis of the integral is the *Mayer f-function*. In practice, the integral is often *very hard* to integrate analytically for anything other than, say, the hard sphere model, thus one numerically evaluates

\[B_{2}(T)= - \dfrac{1}{2} \int \left( \left\langle \exp\left(-\dfrac{\Phi_{12}({\mathbf r})}{k_BT}\right)\right\rangle -1 \right) 4 \pi r^2 dr \]

calculating

\[ \left\langle \exp\left(-\dfrac{\Phi_{12}({\mathbf r})}{k_BT}\right)\right\rangle\]

for each \(r\) using the numerical integration scheme proposed by Harold Conroy ^{[1]}^{[2]}.

## Calculation of virial coefficients

The configuration integrals for \(Z_1\), \(Z_2\), and \(Z_3\) are

- \( Z_1 = \int dr_1 = V\)
- \( Z_2 = \int e^{-U_2/kT}dr_1\;dr_2\)
- \( Z_3 = \int e^{-U_3/kT}dr_1\;dr_2\;dr_3\)

The series method allows the calculation of a number of virial coefficients. Recall that the second and third virial coefficient can account for the properties of gases up the hundreds of atmospheres. We will discuss the calculation of the second virial coefficient for a monatomic gas to illustrate the procedure. To calculation \(B_2(T)\) we need \(U_2\). For monatomic particles it is reasonable to assume that the potential depends only on the separation of the two particles so \(U_2 = u(r_{12})\), where \(r_{12} = |r_2 - r_1|\). We have

Using a change of variables we can write this integral \(r_{12} = r_2 - r_1\) and after integration over \(r_1\) we can transform variables from \(dr_{12}\) to \(4\pi r^2dr\). The result is

\[ B_2(T) = -2 \pi \int [ e^{-\beta u(r)} - 1 ] r^2 \; dr\]

This expression can be used to obtain parameters from experiment. The second virial coefficient is tabulated for a number of gases.

For a hard-sphere potential

there is an infinite repulsive wall at a particle radius \(\sigma\). There is no attractive part.

\[ B_2(T) = -2 \pi \int_0^{\sigma} [ - 1 ] r^2 \; dr = \dfrac{2 \pi \sigma^2}{3}\]

The Lennard-Jones potential cannot be calculated analytically, but the integral can be computed numerically. The second virial coefficient was a useful starting point for obtaining Lennard-Jones parameters that were used in simulations.

## Isihara-Hadwiger Formula

The Isihara-Hadwiger formula was discovered simultaneously and independently by Isihara and the Swiss mathematician Hadwiger in 1950. The second virial coefficient for any hard convex body is given by the exact relation

\[B_2=RS+V\]

or

\[\dfrac{B_2}{V}=1+3 \alpha\]

where

\[\alpha = \dfrac{RS}{3V}\]

where \(V\) is the volume, \(S\), the surface area, and \(R\) the mean radius of curvature.

## Hard spheres

For the hard sphere model one has ^{[9]}

\[B_{2}(T)= - \dfrac{1}{2} \int_0^\sigma \left(\langle 0\rangle -1 \right) 4 \pi r^2 dr \] leading to \[B_{2}= \dfrac{2\pi\sigma^3}{3}\]

Note that \(B_{2}\) for the hard sphere is independent of temperature.

## Van der Waals equation of state

For the Van der Waals equation of state one has:

\[B_{2}(T)= b -\dfrac{a}{RT} \]

## Excluded volume

The second virial coefficient can be computed from the expression

\[B_{2}= \dfrac{1}{2} \iint v_{\mathrm {excluded}} (\Omega,\Omega') f(\Omega) f(\Omega')~ {\mathrm d}\Omega {\mathrm d}\Omega'\]

where \(v_{\mathrm {excluded}}\) is the excluded volume.

## References

- Reid, B. P. J. Chem. Educ. 1996, 73, 612-615.
- Harold Conroy "Molecular Schrödinger Equation. VIII. A New Method for the Evaluation of Multidimensional Integrals", Journal of Chemical Physics
**47**pp. 5307 (1967) - I. Nezbeda, J. Kolafa and S. Labík "The spherical harmonic expansion coefficients and multidimensional integrals in theories of liquids", Czechoslovak Journal of Physics
**39**pp. 65-79 (1989) - Akira Isihara "Determination of Molecular Shape by Osmotic Measurement", Journal of Chemical Physics
**18**pp. 1446-1449 (1950) - Akira Isihara and Tsuyoshi Hayashida "Theory of High Polymer Solutions. I. Second Virial Coefficient for Rigid Ovaloids Model", Journal of the Physical Society of Japan
**6**pp. 40-45 (1951) - Akira Isihara and Tsuyoshi Hayashida "Theory of High Polymer Solutions. II. Special Forms of Second Osmotic Coefficient", Journal of the Physical Society of Japan
**6**pp. 46-50 (1951) - H. Hadwiger "Einige Anwendungen eines Funkticnalsatzes fur konvexe Körper in der räumichen Integralgeometrie" Mh. Math.
**54**pp. 345- (1950) - H. Hadwiger "Der kinetische Radius nichtkugelförmiger Moleküle" Experientia
**7**pp. 395-398 (1951) - H. Hadwiger "Altes und Neues über Konvexe Körper" Birkäuser Verlag (1955)
- Donald A. McQuarrie "Statistical Mechanics", University Science Books (2000) ISBN 978-1-891389-15-3 Eq. 12-40
- I. Amdur and E. A. Mason "Properties of Gases at Very High Temperatures", Physics of Fluids
**1**pp. 370-383 (1958)

**Related reading**

- W. H. Stockmayer "Second Virial Coefficients of Polar Gases", Journal of Chemical Physics
**9**pp. 398- (1941) - G. A. Vliegenthart and H. N. W. Lekkerkerker "Predicting the gas–liquid critical point from the second virial coefficient", Journal of Chemical Physics
**112**pp. 5364-5369 (2000)