Gas Laws

Gas Laws

Definition: Gas laws are mathematical relationships describing how the pressure, volume, temperature, and amount (moles) of a gas relate to one another, built up from experimental observations and unified in the ideal gas law.

How It Works

  • Gas behavior follows from kinetic molecular theory.
  • Gas particles are treated as point masses in constant, random, straight-line motion.
  • They collide elastically with each other and the container walls.
  • There are no attractive or repulsive forces between them, the idealization that makes a gas “ideal.”
  • Pressure is just the cumulative effect of countless particle collisions against the container wall.
  • Temperature is a direct measure of the particles’ average kinetic energy.

Several simpler relationships fall out of this model when other variables are held constant:

Boyle's Law (constant T, n):     P1V1 = P2V2
Charles's Law (constant P, n):   V1/T1 = V2/T2
Gay-Lussac's Law (constant V, n): P1/T1 = P2/T2
Avogadro's Law (constant P, T):  V1/n1 = V2/n2
  • Boyle’s Law: compressing a gas into a smaller volume forces more frequent wall collisions, raising pressure.
  • Charles’s Law: heating a gas increases particle speed, which would raise pressure unless the container expands to compensate.
  • Gay-Lussac’s Law: heating a gas in a rigid container raises pressure directly.
  • Avogadro’s Law: equal volumes of gas at the same conditions contain equal numbers of particles, regardless of identity.

These combine into the ideal gas law:

PV = nRT
  • R = 0.08206 L·atm/(mol·K), or 8.314 J/(mol·K) in SI units.
  • This reduces to any of the individual laws when the relevant variables are fixed.

Under the Hood

Worked example: ideal gas law.

  • Given: 5.00 L at 2.50 atm and 310 K (body temperature)
  • Step 1: rearrange for moles
n = PV/RT = (2.50 × 5.00) / (0.08206 × 310) = 12.5 / 25.44
  • Answer: n = 0.491 mol

Worked example: combined gas law (Boyle’s + Charles’s).

  • Given: a scuba diver’s lungs hold 6.0 L of air at 3.0 atm, ascending at constant temperature to 1.0 atm at the surface
  • Step 1: apply Boyle’s Law
P1V1 = P2V2
V2 = P1V1/P2 = (3.0 × 6.0)/1.0
  • Answer: V2 = 18 L
  • This threefold expansion, if the diver holds their breath while ascending, is exactly why breath-holding during ascent risks lung over-expansion injury.

Worked example: molar volume at STP.

  • Given: standard temperature and pressure, 0°C = 273 K, 1 atm, 2.00 mol of an ideal gas
  • Step 1: rearrange for volume
V = nRT/P = (2.00 × 0.08206 × 273) / 1.0
  • Answer: V = 44.8 L
  • This confirms one mole of any ideal gas occupies 22.4 L at STP, doubling the moles doubles the volume, exactly as Avogadro’s Law predicts.

Real gas deviations.

  • Real gas molecules have finite volume and do attract each other weakly.
  • PV=nRT breaks down at high pressure, molecules are forced close enough for their own volume and mutual attraction to matter.
  • It also breaks down at low temperature, slow-moving molecules linger close enough for attractive forces to noticeably act.
  • The van der Waals equation corrects for both:
(P + a(n/V)²)(V - nb) = nRT
  • a corrects for intermolecular attraction, b corrects for the finite volume the molecules occupy.
  • Both constants are determined experimentally and are larger for bigger, more polarizable molecules.

Why It Matters

  • Gas laws are essential wherever pressure, volume, or temperature of a gas changes and needs to be predicted.
  • Scuba diving decompression tables depend on them.
  • Weather balloon design depends on them.
  • Internal combustion engine cycles depend on them.
  • Aerosol can safety warnings depend on them.
  • Respiratory physiology, how pressure gradients drive oxygen and CO2 exchange in the lungs, depends on them.
  • All of these reduce to some combination of Boyle’s, Charles’s, and the ideal gas law.

Common Pitfalls

  • Forgetting to convert Celsius to Kelvin before using any gas law.
  • Using °C directly, which can be negative or zero, breaks the proportional relationships.
  • Mismatching units with the value of R used.
  • If using R = 0.08206 L·atm/(mol·K), pressure must be in atm and volume in liters, not kPa or mL.
  • Assuming real gases always behave ideally.
  • The ideal gas law is a good approximation at ordinary conditions but breaks down at high pressure or near a gas’s condensation point.
  • Confusing STP, 0°C and 1 atm, molar volume 22.4 L/mol, with SATP or “room conditions,” 25°C and 1 atm.
  • These two standards give a different molar volume.
  • Treating partial pressure problems as if total moles and total pressure aren’t linked by Dalton’s Law:
Ptotal = P1 + P2 + ...
  • Forgetting that “n” in PV=nRT is total moles of gas particles, not moles of the original compound.
  • If a gas dissociates or reacts to change particle count, n must reflect the actual current amount.

Comparison

LawHeld ConstantRelationship
Boyle’s LawT, nP and V inversely proportional
Charles’s LawP, nV and T directly proportional
Gay-Lussac’s LawV, nP and T directly proportional
Avogadro’s LawP, TV and n directly proportional
Ideal Gas Law—PV = nRT, unifies all of the above
ConditionIdeal Gas Behavior
Low pressure, high temperatureClosely approximates ideal
Very low pressure (near vacuum)Nearly ideal regardless of molecule type
High pressure, low temperatureDeviates significantly, van der Waals correction needed
Small, nonpolar molecules (He, H2)Closer to ideal behavior
Large or polar molecules (CO2, H2O vapor)Deviates more from ideal behavior

Real-World Application

Weather balloons rely directly on the interplay between Boyle’s and Charles’s Laws as they climb.

  • A balloon launched at sea level, roughly 1 atm, ~288 K, is filled to only a fraction of its maximum volume on purpose.
  • As it ascends, atmospheric pressure drops steadily, to under 0.01 atm near 30 km.
  • Temperature initially falls, then rises again in the stratosphere.
  • The combined effect is a dramatic expansion: some weather balloons grow from about 2 meters to over 10 meters in diameter.
  • The reduced pressure and material strain eventually cause them to burst, releasing the instrument package on a parachute.
  • Balloon engineers use the ideal gas law to predict burst altitude and size the initial fill volume accordingly.

Example

A sealed bag of chips visibly puffs up when carried to a higher altitude, or on an airplane. The bag’s contents, mostly air, sealed at sea-level pressure, stay fixed in moles and roughly fixed in temperature, but the outside atmospheric pressure drops; following Boyle’s Law, the trapped gas expands until its internal pressure once again roughly balances the lower external pressure, stretching the bag.

FAQ

Why does R have different numeric values depending on units?

  • R is a proportionality constant whose numeric value depends entirely on which units are chosen for P, V, and T.
  • The physical relationship it encodes doesn’t change, only its numeric representation does.
  • The units used must always match the value of R selected.

Do gas laws apply to mixtures of different gases?

  • Yes, treated individually via partial pressures, Dalton’s Law, or collectively via total moles in the ideal gas law.
  • Each gas in an ideal mixture behaves as if the others weren’t there.

Why do real gases deviate more at low temperature specifically?

  • At low temperature, molecules move slowly enough that weak intermolecular attractions have time to act.
  • These attractions pull molecules closer together than the ideal model assumes.
  • Near a gas’s boiling point, molecules may even begin condensing, an outcome the ideal gas law has no way to represent.

Dig deeper