Contact FutureLearn for Support
Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.
Diagram showing 2 containers with flow of particles diffusing from one to the other

Boyle's law and the Ideal Gas law

Boyle’s law is a fundamental relation between the pressure and the volume of a gas. It is also a great example of an inverse relation.

In this step we will learn

  • about Boyle’s law and its generalisation the Ideal Gas law

  • what happens to a helium balloon after you let it go

Boyle’s law

Portrait of Robert Boyle The Shannon Portrait of the Hon Robert Boyle Chemical Heritage Foundation, CC BY 3.0, via Wikimedia Commons

Robert Boyle in 1662 published his observations of a law that actually had been discovered earlier by Richard Towneley and Henry Power. Boyle was interested in the properties of air, and by subjecting a cylinder of air to various pressures by using mercury, he was able to verify that indeed the was inversely proportional to the . So

or equivalently

Here is a copy of Boyle’s original observations.

Plot of data points for Boyle’s Law, revealing an inverse relation By Krishnavedala (Own work) CC BY-SA 3.0, via Wikimedia Commons

In fact this law only holds if the temperature of the gas is held fixed.

Q1 (E): Boyle’s original experiments used the units inches of mercury to measure pressure (there is a direct proportionality between these units and other, more familiar, units). If Robert Boyle compressed the volume of gas to 1/10th the original volume, what happened to the pressure?

The volume of a balloon

Suppose we fill a balloon with helium and let it go. Naturally it goes up. As it goes up, the air pressure decreases, and so according to Boyle’s law, the volume will increase. In this next question, you can grapple with some specific numbers, but we will not worry too much about the exact definitions of the units involved!

Q2 (M): Suppose a balloon is filled with helium, and then it ascends from sea level, where the atmospheric pressure is kPa (the unit is called the kilo Pascal: where a Pascal is a Newton per square meter), to an altitude of kilometres. What has happened to its volume at this point?

To answer this, you need to know that air pressure decreases approximately linearly by about kPA per kilometre for the first kilometre or two. In fact here is the relation between altitude and air pressure, using a graphical relation:

Graph of atmospheric pressure versus altitude Atmospheric Pressure vs Altitude By Geek.not.nerd (Own work) [CC0], via Wikimedia Commons

You might also like to ignore changes of temperature. In fact, however, the temperature also decreases as you gain altitude, at least till you get to the end of the troposphere (the lower part of the atmosphere in which most our usual weather takes place). Moreover this is roughly also a linear change!

Q3 (M): If the surface temperature at sea level is degrees (C), and the temperature decreases linearly to degrees at an altitude of kilometers, then what will be the temperature at an altitude of kilometers?

The Ideal Gas law

In fact, Boyle’s law needs to be modified if temperature changes become significant. This was discovered years later. The Ideal Gas law is a generalization of Boyle’s law, and also includes as special cases two other laws called Charles’s law and Avogadro’s Law. It was discovered by E. Clapeyron in 1834 and contains a lot of variables, along with a constant of nature whose value depends on the units chosen.

The Ideal Gas law is:

where: is pressure, is volume, is the total amount of gas, is a constant and is absolute temperature.

The law applies to an amount of an ideal gas in a container of some volume , at some temperature and with some pressure . It is easier to understand if we look at the relation between two quantities at a time.

Q4 (E): Assuming the other quantities are constant, what kind of relation do we have between the temperature and pressure of a gas at a constant volume? What is the meaning of this physically?


A1. If the volume decreases to one-tenth its original value, then correspondingly the pressure must be multiplied by in order that the product of volume and pressure be the same as before.

A2. When the altitude changes by , the pressure decreases by , and so the pressure at the altitude of is By Boyle’s law the volume of the balloon at sea level, denoted by , and the volume at the altitude of , denoted by , are related by the relation . Thus, in proportion to the original volume, the final volume is

which means that the volume has increased.

A3. One possible way to solve this problem is to find the (linear) equation of the temperature in terms of altitude One can obtain that the equation is Therefore, for the altitude we have that degrees (C).

Importantly, if we want to use these temperatures in the Ideal gas law we must convert our temperatures to an absolute temperature scale, like degrees Kelvin. In Kelvin these temperatures are degrees (K) at sea-level and degrees (K) at .

A4. The relation between temperature and pressure is a direct proportionality given by

The physical meaning is that as the temperature increases, the pressure also increases (and vice versa).

Share this article:

This article is from the free online course:

Maths for Humans: Linear, Quadratic & Inverse Relations

UNSW Sydney