# Non-ideal behavior of gases

How real gases differ from ideal gases, and when intermolecular attractions and gas molecule volume matter.

## Because sometimes life isn't ideal

By now you've probably heard a lot about the ideal gas law, and you may have a sense of how to use the ideal gas equation to look at the relationships between pressure (), volume (), moles of gas (), and temperature (). But when do gases follow the ideal gas law and why? What if we want to study a gas that behaves in a “non-ideal” way? When we use the ideal gas law, we make a couple assumptions:

We can ignore the volume taken up by the imaginary ideal gas molecules

The gas molecules do not attract or repel each other

The gas molecules do not attract or repel each other

However, we know that in real life, gases are made up of atoms and molecules that actually take up some finite volume, and we also know that atoms and molecules interact with each other through intermolecular forces.

## Compressibility: A measure of ideal behavior

One way we can look at how accurately the ideal gas law describes our system is by comparing the molar volume of our real gas, , to the molar volume of an ideal gas at the same temperature and pressure. To be more specific, at some temperature we can take moles of our gas and measure the volume it takes up at a given pressure (or measure the pressure for a known volume). We can also calculate the molar volume of the ideal gas at the same temperature and pressure, and then take the ratio of the two volumes.

This ratio is called the compressibility or compression factor, . For a gas with ideal behavior, of the gas is the same as of an ideal gas so . It turns out that this is reasonably accurate for real gases under specific circumstances that also depend on the identity of the gas. Let’s look at the compressibility for a couple different gases.

over a range of pressures at for nitrogen (), oxygen (), hydrogen (), and carbon dioxide (). For all of the real gases in this graph, you might notice that the shapes of the curves look a little different for each gas, and most of the curves only approximately resemble the ideal gas line at over a limited pressure range. Also, for all the real gases is sometimes less than at very low pressures, which tells us that the molar volume is less than that of an ideal gas. As you increase the pressure past a certain point that depends on the gas, gets increasingly larger than . That is, at high pressures the of the gas is larger than of the ideal gas, and of the real gas increases with pressure. Why is that?

This graph shows the compression factor ## High pressures: When gas molecules take up too much space

At high pressures, the gas molecules get more crowded and the amount of empty space between the molecules is reduced. How might this affect and ?
It helps to remember that the volume we use in the ideal gas equation is the empty volume that the gas molecules have to move around in. We usually assume that this is the same as the volume of the container when the gas molecules don’t take up much space. But what happens when this is not the case, such as at high pressures?

For a given pressure, the real gas will end up taking up a

*greater volume than predicted by the ideal gas law*since we also have to take into account the additional volume of the gas molecules themselves. This increases our molar volume relative to an ideal gas, which results in a value of that is greater than . The error in molar volume gets worse the more compressed the gas becomes, which is why the difference between for the real and ideal gas increases with pressure.## Low temperatures and intermolecular Forces

To examine the effect of intermolecular forces, let’s look at the compressibility of a single kind of gas at different temperatures.

For nitrogen, you can see that at and with pressures below , the curve looks relatively similar to what you would expect for an ideal gas. As you lower the temperature to and , the curves look much less ideal. In particular, at low pressures we see that for real gases is noticeably less than for , and this effect is even more pronounced at . What’s going on at lower temperatures?

Imagine our gas molecules bouncing around in the container. The pressure we measure comes from the force of the gas molecules hitting the walls of the container. Attractive forces between the molecules will pull them a little closer together, which effectively slows the molecule down a little before it hits the container wall.

This results in a

*decrease in volume*if the pressure is constant compared to what you would expect based on the ideal gas equation. The decreased volume gives a corresponding decrease in compared to the ideal gas so . The effect of intermolecular forces is much more prominent at low temperatures because the molecules have less kinetic energy to overcome the intermolecular attractions.## The van der Waals equation

We can use a number of different equations to model the behavior of real gases, but one of the simplest is the van der Waals (VdW) equation. The VdW equation basically incorporates the effect of gas molecule volume and intermolecular forces into the ideal gas equation.

where:

measured pressure

volume of container

moles of gas

gas constant

temperature (in Kelvin)

volume of container

moles of gas

gas constant

temperature (in Kelvin)

Compared to the ideal gas law, the VdW equation includes a “correction” to the pressure term, , which accounts for the measured pressure being lower due to attraction between gas molecules. The “correction” to the volume, , subtracts out the volume of the gas molecules from the total volume of the container to get a more accurate measure of the empty space available for the gas molecules. and are measured constants for a specific gas (and they might have some slight temperature and pressure dependence).

At low temperatures and low pressure, the correction for volume is not as important as the one for pressure, so is less than . At high pressures, the correction for the volume of the molecules becomes more important so is greater than . At some range of intermediate pressure, the two corrections cancel out and the gas appears to follow the relationship given by the ideal gas equation.

## შინაარსი

In a nutshell, the ideal gas equation works well when intermolecular attractions between gas molecules are negligible and the gas molecules themselves do not occupy a significant part of the whole volume. This is usually true when the pressure is low (around ) and the temperature is high. In other situations such as high pressures and/or low temperatures, the ideal gas law might give answers that are different from what we observe experimentally. In these cases, you can use the van der Waals (or a similar) equation to take into account the fact that gases do not always behave as ideal gases.