Physics 🔥 Thermodynamics

Gas Laws & Kinetic Theory

Trillions of invisible molecules slamming into a container's walls, moment by moment, add up to something as simple as squeeze it, and it pushes back harder.

High schoolAP Physics 2 level
💡
The big idea: Gas pressure isn't a mysterious property of matter - it's just the combined effect of countless molecules colliding with whatever contains them. Once you picture a gas as a swarm of tiny, fast-moving particles, Boyle's law, Charles's law, and the ideal gas law stop being memorized formulas and become obvious consequences of that one picture.
🎯 By the end, you'll be able to
  • predict how squeezing or expanding a gas changes its pressure using Boyle's law
  • predict how heating or cooling a gas changes its volume using Charles's law
  • use the ideal gas law PV = nRT to solve for pressure, volume, temperature, or moles
  • explain gas pressure and temperature in terms of molecular motion (kinetic theory)
📎 You should already know
  • Pressure and force
  • Temperature, heat, and the Kelvin scale
  • Moles and molar mass

Picture the Chaos

Take a sealed balloon. It looks perfectly calm sitting on a table, but zoom in far enough and you'd see chaos: billions of tiny gas molecules zipping around at hundreds of meters per second, bouncing off the balloon's inner wall and off each other, completely at random and in every direction.

Every single bounce off the wall is a tiny push. Add up trillions of those pushes every second, spread across the balloon's surface, and you get something calm and measurable: pressure. That's the whole secret behind every gas law you're about to learn - each one is just a pattern hiding inside that chaos.

🔑 Pressure Is Just Collisions Adding Up

A gas's pressure comes from its molecules colliding with the walls of its container. More collisions per second, or harder collisions, mean higher pressure. Squeeze the same molecules into a smaller space, heat them up, or pack in more of them, and you raise the collision rate - which is exactly why the gas laws behave the way they do.

\[ P_1 V_1 = P_2 V_2 \]
Boyle's law: at constant temperature, pressure and volume trade off - squeeze the volume down and the pressure rises by the same factor.
\[ \dfrac{V_1}{T_1} = \dfrac{V_2}{T_2} \]
Charles's law: at constant pressure, volume is directly proportional to absolute temperature (in kelvin) - heat a gas and it expands.
\[ PV = nRT \]
The ideal gas law ties it all together: pressure, volume, moles of gas (n), and absolute temperature, linked by the gas constant \(R = 8.31\ \text{J/(mol·K)}\), or \(0.0821\ \text{L·atm/(mol·K)}\) when working in liters and atmospheres.
🎮 Interactive: Squeeze, Heat, and Watch the Molecules LIVE
Drag the piston or crank the temperature and watch individual molecules speed up and collide more often - then check how pressure, volume, and temperature move together on the readout.

Where the Equations Come From

Kinetic theory treats a gas as a swarm of point-like molecules in constant, random motion, colliding elastically with the walls and with each other. Two simple moves explain everything above:

  • Shrink the volume (Boyle's law), and molecules hit the walls more often because there's less distance to travel between bounces - pressure rises.
  • Raise the temperature (Charles's law), and molecules move faster on average, since temperature is really just a measure of average molecular kinetic energy, \( \overline{KE} = \frac{3}{2}k_BT \). Faster, harder-hitting molecules push the walls outward, so volume must expand to keep pressure constant.

Every gas law you'll ever use is really the same collision story, viewed from a different angle.

📝 Worked example: A sealed syringe holds 60.0 mL of air at 1.00 atm. You push the plunger in until the volume drops to 20.0 mL, keeping the temperature constant. What's the new pressure?
  1. Constant temperature means Boyle's law applies: \(P_1V_1 = P_2V_2\).
  2. Solve for \(P_2\): \(P_2 = \dfrac{P_1V_1}{V_2} = \dfrac{(1.00\text{ atm})(60.0\text{ mL})}{20.0\text{ mL}}\).
  3. \(P_2 = \dfrac{60.0}{20.0}\text{ atm} = 3.00\text{ atm}\).
✓ 3.00 atm - the volume shrank to a third of its original size, so the pressure tripled, exactly as Boyle's law predicts.
📝 Worked example: A rigid 10.0 L tank holds an unknown amount of gas at 2.00 atm and 300 K. How many moles of gas are in the tank?
  1. Use the ideal gas law solved for moles: \(n = \dfrac{PV}{RT}\).
  2. Plug in with \(R = 0.0821\ \text{L·atm/(mol·K)}\): \(n = \dfrac{(2.00\text{ atm})(10.0\text{ L})}{(0.0821\ \text{L·atm/(mol·K)})(300\text{ K})}\).
  3. \(n = \dfrac{20.0}{24.63} \approx 0.812\text{ mol}\).
✓ About 0.812 mol of gas.
⚠️ Kelvin Only, and 'Ideal' Is an Approximation

Charles's law and the ideal gas law only work with absolute temperature - always convert Celsius to kelvin (\(T_K = T_C + 273\)) before plugging in, or you'll get nonsense, including negative volumes. Also remember these laws describe an idealized gas: molecules with no volume of their own and no attraction between them. Real gases match this closely at ordinary pressures and temperatures, but drift away from it when squeezed very hard or cooled close to the point where they'd liquefy.

Check your understanding

1. According to kinetic theory, what directly causes the pressure a gas exerts on its container?
Pressure is the cumulative effect of countless molecular collisions against the walls - more or harder collisions mean higher pressure.
2. A gas occupies 4.0 L at 1.5 atm. If it's compressed at constant temperature until the pressure is 6.0 atm, what's the new volume?
Boyle's law: \(V_2 = \dfrac{P_1V_1}{P_2} = \dfrac{(1.5\text{ atm})(4.0\text{ L})}{6.0\text{ atm}} = 1.0\text{ L}\). Pressure quadrupled, so volume shrank to a quarter.
3. A gas at 300 K occupies 2.0 L at constant pressure. If it's heated to 600 K, what's the new volume?
Charles's law: \(V/T\) stays constant, so \(V_2 = V_1 \times \dfrac{T_2}{T_1} = (2.0\text{ L}) \times \dfrac{600\text{ K}}{300\text{ K}} = 4.0\text{ L}\). Doubling the absolute temperature doubles the volume.
4. Two identical sealed rigid containers hold the same gas at the same temperature, but container B has twice as many molecules as container A. Compared to A, container B's pressure is...
From PV = nRT, with volume and temperature fixed, pressure is directly proportional to the number of moles. Doubling the molecule count doubles the collision rate against the walls, doubling the pressure.
✅ Key takeaways
  • Gas pressure is the macroscopic result of molecules colliding with container walls - more or faster collisions mean higher pressure.
  • Boyle's law (P1V1 = P2V2) and Charles's law (V1/T1 = V2/T2) are two special cases of the same collision story, holding temperature or pressure constant respectively.
  • The ideal gas law PV = nRT unifies pressure, volume, moles, and temperature into a single relationship through the gas constant R.
  • Always convert to Kelvin for temperature, and remember these laws assume an 'ideal' gas - molecules with no volume and no attraction between them.