The gas laws and the ideal gas equation · Chemistry… | StemPy Lab
Course 12.1·Lesson 2 of 3
The gas laws and the ideal gas equation
A bicycle tyre gets harder when you pump air in, and a sealed can bulges in the sun. The gas laws tell us how pressure, volume, temperature and the amount of gas depend on each other. They combine into one equation, PV=nRT, and the whole skill is to use its units correctly.
about 35 min
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Pressure and its units
Pressure is force per unit area. The SI unit is the pascal: 1Pa=1N/m2. A pascal is tiny, so we use bigger units:
1bar=100kPa=105Pa.
1atm=101.325kPa=1.01325bar. This is the average air pressure at sea level.
1atm=760mm Hg=760torr. A barometer measures it with a column of mercury 760mm high. One mm Hg is 133.322Pa.
To change 750mm Hg to kPa, multiply: 750×0.133322=99.99kPa, about 1.00bar.
A gas has four variables: pressure P, volume V, temperature T and amount n. The gas laws join them two at a time.
Boyle's law: pressure and volume
Robert Boyle found in 1662 that for a fixed amount of gas at constant temperature, the volume falls when the pressure rises:
PV=constant
So for two states of the same gas,
P1V1=P2V2
A gas at 125kPa fills 3.2L. It expands to 8.0L at the same temperature. We want P2, so P2=V2P1V1=8.0L125kPa×3.2L=50kPa. The volume grew 2.5 times, and the pressure fell to 2.51 of its value.
Two graphs side by side for one mole of an ideal gas at 250 K, 300 K and 400 K. On the left, pressure in bar against volume in litres from 5 to 60 L: three curves that fall steeply and then flatten, the 400 K curve highest. On the right, pressure against 1 divided by volume: three straight lines through the origin, with slopes 20.8, 24.9 and 33.3 bar litre. Boyle's law gives a curve in the first graph and a straight line in the second.
A graph of P against V at one temperature is a curve called an isotherm. A graph of P against 1/V is a straight line through the origin. A higher temperature gives a higher curve.
Charles' law: volume and temperature
Jacques Charles found that for a fixed amount of gas at constant pressure, the volume rises steadily with the temperature. Plot the volume against the temperature in ∘C. The graph is a straight line. Extend it backwards. Every line, whatever the pressure or the gas, meets the axis at the same point, −273.15∘C.
A graph of the volume of one mole of gas in litres against temperature in degrees Celsius, from minus 290 to 150. Three straight lines rise to the right, for constant pressures of 0.5 bar (the steepest), 1.0 bar and 2.0 bar. Each is drawn solid from minus 120 degrees Celsius and dotted when extended backwards. All three dotted lines meet at one point on the axis, minus 273.15 degrees Celsius, where the volume is zero. At 0 degrees Celsius the volumes are 45.4, 22.7 and 11.4 litres.
That temperature is absolute zero, and it is the zero of the kelvin scale. So T(K)=t(∘C)+273.15. In kelvin, the volume is proportional to the temperature:
TV=constantsoT1V1=T2V2
A gas fills 2.40L at 27∘C. It is heated to 87∘C at constant pressure. We change to kelvin: T1=300.15K and T2=360.15K. Then V2=2.40L×300.15360.15=2.88L. A common slip is to write 2787, which gives 7.7L. A real gas turns to a liquid before it reaches absolute zero, so the dotted part of the lines is an extension only.
Gay-Lussac's law: pressure and temperature
For a fixed amount of gas in a fixed volume, the pressure is proportional to the temperature in kelvin:
T1P1=T2P2
A sealed can at 1.00atm and 20∘C is thrown into a fire and reaches 120∘C. The pressure becomes 1.00atm×293.15393.15=1.34atm. This law is also called Amontons' law. Some books give the name Gay-Lussac's law to the law of combining volumes, so say what you mean.
Avogadro's law: volume and amount
Equal volumes of different gases at the same temperature and pressure contain the same number of molecules. In symbols, V∝n at constant T and P. So the molar volume, the volume of one mole, is the same for every ideal gas at the same T and P.
The ideal gas equation
Put the four laws together. V is proportional to n, to T and to 1/P, so V=RPnT, which is usually written
PV=nRT
An ideal gas is a gas that follows this equation exactly. Real gases follow it closely at low pressure and high temperature. We study the difference in the next course.
R is the gas constant. Its value depends on the units of P and V, and a wrong pair of units is the most common source of wrong answers:
Pressure in Pa and volume in m3: R=8.314J K−1mol−1.
Pressure in kPa and volume in L: R=8.314kPa L K−1mol−1.
Pressure in bar and volume in L: R=0.08314L bar K−1mol−1.
Pressure in atm and volume in L: R=0.08206L atm K−1mol−1.
Pressure in mm Hg and volume in L: R=62.36L mm Hg K−1mol−1.
All five are the same constant. A pascal times a cubic metre is a joule. One L bar is 105Pa×10−3m3=100J, so 0.08314L bar=8.314J. One L atm is 101.325J, and 0.08206×101.325=8.315.
The temperature in the equation is always in kelvin.
Set n=1mol, T=300K, V=24L. Then set V=12L. The product PV does not change. Now double T. The product doubles.
Molar volume and standard conditions
One mole of an ideal gas at 273.15K and 1bar fills 10.08314×273.15=22.71L. This is the molar volume at the IUPAC standard temperature and pressure (STP) in use since 1982. Older books and the older NCERT use 273.15K and 1atm, which gives 22.41L, usually printed as 22.4L. At 298.15K and 1bar, the molar volume is 24.79L. Always read which standard a question means. This course gives the temperature and pressure in each question.
Density and molar mass
The amount of gas is n=m/M, where m is the mass and M the molar mass. Put this in PV=nRT and use the density d=m/V:
PV=MmRT⇒d=RTPM
We want M, so M=PdRT. Carbon dioxide has M=44.01g/mol. At 1.00bar and 300K its density is 0.08314×3001.00×44.01=1.76g/L. Dry air has M=28.96g/mol, so at the same conditions its density is 1.16g/L. Carbon dioxide is heavier than air. It sinks and collects at the bottom of a pit.
The density of a gas depends strongly on T and P. That is why a hot-air balloon rises: the hot air inside is less dense than the cool air outside.
Practise with new numbers
Try it in Python
The program uses the gas constant that matches the units, finds an amount of gas, and then finds the pressure when the flask is heated.
Common mistakes
Temperature in ∘C. The gas laws use kelvin. Doubling 20∘C gives 40∘C, but doubling 293K gives 586K.
The wrong R. Check the units of P and V first. Then take the R that has the same units.
Mixing mm Hg and atm. Convert before you use a law with two pressures. A ratio of two pressures can use any unit, as long as both are the same.
Using mass instead of moles. In PV=nRT, n is in moles. Divide the mass by the molar mass.
Using Boyle's law when the temperature changes. Boyle's law needs a constant temperature and a constant amount of gas.
Remember these
PV=nRT, with T in kelvin and R chosen to match the units of P and V.