SimuVeda/ Physics

Physics · Simulator 014

Gas Laws

A cylinder with a piston holds bouncing gas particles. Choose what to hold constant, then change the volume, temperature or amount of gas. Watch the pressure, measured from particle impacts on the walls, follow PV = nRT.

Class 11–12Class 11 Physics: Kinetic Theory (gas laws)

Experiments 0 of 0 Challenge not tried

How the model works

For an ideal gas, pressure P, volume V, amount n (mol) and absolute temperature T (K) are linked by

P V = n R T, R = 8.314 J/(mol·K)

Holding two quantities fixed gives the classic laws:

  • Boyle (T, n fixed): P ∝ 1/V, so halving the volume doubles the pressure.
  • Charles (P, n fixed): V ∝ T, so the piston rises as the gas warms.
  • Gay-Lussac (V, n fixed): P ∝ T.
  • Avogadro (P, T fixed): V ∝ n.

The particle picture explains why. Pressure is the momentum delivered per second per unit wall area. Hotter particles move faster (mean kinetic energy ∝ T) and hit harder and more often; a smaller box means more frequent hits. The animation shows a sample of particles (one dot represents many molecules) with speeds drawn from the Maxwell–Boltzmann distribution. The calculated P is exact for the model; the “measured” value from impacts fluctuates around it.

Ideal gas: point particles, no attraction, elastic collisions. Real gases deviate at high pressure and low temperature. The 2-D animation is illustrative; numbers use the 3-D ideal gas law.

Guided experiments

  1. Boyle's law. Hold T fixed and halve the volume from 20 L to 10 L. Prediction: P doubles (1 mol at 300 K: 124.7 kPa becomes 249.4 kPa). Impacts become more frequent.
  2. Charles's law. Hold P fixed and heat from 300 K to 450 K. Prediction: the piston rises until V is 1.5× larger, and particles visibly speed up.
  3. Pump in more gas. Hold V and T fixed and double n. Prediction: P doubles. Twice as many particles, each hitting as hard as before.

Challenge

A sealed 2 L bottle of air at 20 °C and 101 kPa is left in a car at 60 °C. What is the pressure inside? Why must you use kelvin, not °C?

Reveal the explanation

Constant V and n: P₂ = P₁·T₂/T₁ = 101 × 333.15/293.15 ≈ 114.8 kPa, about 14% higher. With °C the ratio would be 60/20 = 3, which is absurd. Gas laws need absolute temperature, because pressure goes to zero at 0 K, not at 0 °C.

References

  • OpenStax, Chemistry 2e, §9.2 “Relating Pressure, Volume, Amount, and Temperature: The Ideal Gas Law”.
  • OpenStax, University Physics Volume 2, §2.2 “Pressure, Temperature, and RMS Speed”.

Related simulators

Worked example

Start: 2 mol of gas in 25 L at 400 K. P = nRT / V = 2 × 8.314 × 400 / 0.025 ≈ 266 000 Pa = 266 kPa.

Compress to 10 L at the same temperature (Boyle): the volume falls by a factor 2.5, so the pressure rises by 2.5 to about 665 kPa.

Then cool to 200 K at 10 L (Gay-Lussac): halving the absolute temperature halves the pressure, to about 333 kPa.

Check with PV = nRT: 2 × 8.314 × 200 / 0.010 ≈ 333 000 Pa. Always use kelvin: 27 °C is 300 K, and doubling 27 °C to 54 °C raises the pressure by only 327/300, about 9%.

Set amount 2 mol, volume 25 L and temperature 400 K, then change one value at a time.

Common questions

What is the ideal gas law?

PV = nRT links pressure, volume, amount of gas and absolute temperature. Holding two of them fixed gives Boyle's, Charles's and Gay-Lussac's laws.

Why must gas law temperatures be in kelvin?

The laws describe proportions to absolute temperature, which starts at zero kinetic energy. Celsius has an arbitrary zero, so doubling a Celsius value does not double anything physical.

Why does gas pressure rise when you heat it?

Hotter particles move faster, so they hit the walls more often and harder. More momentum delivered per second per area is a higher pressure.

Keyboard shortcuts

Space
Play or pause
S
Step
R
Reset
F
Full screen
?
Show this list