Physics - Kinetic Theory of Gases

Physics - Thermodynamics

Kinetic Theory of Gases

Why does a gas push on its container? Why does pressure rise when you heat it? This lesson answers these questions by watching tiny molecules move, collide and bounce, live on your screen.

Every demo is interactive. Drag the sliders and watch what changes.

1. What is a gas?

A gas is a huge crowd of atoms or molecules that are far apart compared with their own size. They move constantly in random directions. Air in a balloon is a mix of nitrogen, oxygen and other molecules doing exactly this.

Continuous motionMolecules never stop moving.
Random directionNo direction is preferred.
CollisionsWith each other and with the walls.
Large separationMolecules are tiny compared with the container.

2. Live molecule simulator

Each dot is a molecule. Blue is slow, red is fast. Molecules collide with each other like billiard balls. The glowing white dot with a trail is one molecule followed through the crowd. Walls flash when molecules hit them.

slowfast
Pressure (relative)-
Wall hits per second-
Average KE = 3/2 kT-
P × V ÷ (N × T)-
Try this: raise the temperature, then squeeze the volume. The last box stays close to 1.0 because pressure × volume ÷ (molecules × temperature) is constant for an ideal gas. This is the ideal gas law emerging from collisions alone.

This is a simplified two-dimensional model. Real gases move in three dimensions and contain about 10²² molecules per litre.

Speed distribution of this simulation

Molecules do not all move at the same speed. Collisions keep swapping energy between them. The bars show the live count of molecules at each speed, and the line shows the theoretical Maxwell-Boltzmann curve for a 2D gas.

Change the temperature in the simulator above. The whole distribution slides to higher speeds and spreads out.

3. Basic assumptions of an ideal gas

  • Molecules are extremely small, so their own volume is negligible.
  • They move continuously and randomly in all directions.
  • There are no attractive or repulsive forces except during collisions.
  • All collisions are perfectly elastic. Kinetic energy is conserved.
  • Newton's laws of motion apply.
  • The duration of a collision is negligible.

4. How a gas produces pressure

When a molecule hits a wall, its momentum reverses. By Newton's second law, a change of momentum per second is a force. Billions of such hits every second add up to a steady push on the wall.

Pressure = Force / Area

Derivation (cubical box of side L)

One molecule of mass m moving along x with speed vₓ:

Momentum change per hit = 2mvₓ
Time between hits on the same wall = 2L / vₓ
Force from one molecule: F = mvₓ² / L

For N molecules, with V = L³:

P = (Nm/V) × average(vₓ²)

Motion is random, so average(v²) = 3 × average(vₓ²). Therefore:

P = ⅓ (Nm/V) × average(v²) = ⅓ ρ v²rms
Pressure depends on the gas density and on the mean square speed of its molecules.

5. Temperature and kinetic energy

Temperature is a measure of the average translational kinetic energy of the molecules. Double the absolute temperature and the average kinetic energy doubles. It does not depend on what the gas is.

Average KE per molecule = 3/2 kT
Average KE per mole = 3/2 RT

You can read this live in the simulator above, in the "Average KE" box.

6. Ideal gas lab: Boyle's law and Gay-Lussac's law

Combining all gas laws gives one equation:

PV = nRT

The cylinder shows the gas. The graph shows pressure against volume. Grey curves are isotherms (constant temperature) at 200 K, 400 K and 600 K. The amber curve is your current temperature.

Boyle's law (P₁V₁ = P₂V₂): keep temperature fixed and change only the volume. Half the volume gives double the pressure.
Gay-Lussac's law (P₁/T₁ = P₂/T₂): keep volume fixed and change only the temperature. Watch the piston flash faster as molecules speed up.

7. Molecular speeds: most probable, average and RMS

Most probable: √(2RT/M)
Average: √(8RT/πM)
RMS: √(3RT/M)
Most probable < Average < RMS

Pick two gases and a temperature. The curves show the real 3D Maxwell-Boltzmann distribution. The area under each curve is 1. The dashed lines mark the three speeds of gas A. Light molecules are far faster than heavy ones at the same temperature.

Race at RMS speed (slowed down enormously)

8. Degrees of freedom, equipartition and heat capacity

A degree of freedom is an independent way a molecule can store energy. The law of equipartition says each active one stores an average of ½kT per molecule.

U = (f/2) RT per mole
Cv = fR/2 | Cp = Cv + R | γ = (f+2)/f

Translation moves the molecule across the screen, rotation spins it, and vibration stretches its bonds. A monatomic atom can only translate, so f = 3. Diatomic gases usually have f = 5 near room temperature and f = 7 when vibration switches on.

9. Mean free path

The mean free path is the average distance a molecule travels between two collisions.

λ = kT / (√2 π d² P)

In real air at room conditions, λ is about 68 nm, roughly 180 times a molecule's diameter. In this 2D demo the matching formula is λ = 1 / (√2 × d × n), where n is molecules per unit area. The white rings mark where the followed molecule collided.

Collecting data...
Try this: add more molecules or make them bigger. The free path becomes shorter. This is why mean free path decreases when pressure increases at constant temperature.

10. Formulas at a glance

QuantityFormula
PressureP = F/A
Kinetic pressure equationP = ⅓ ρ v²rms
RMS speed√(3RT/M)
Average KE per molecule3kT/2
Ideal gas equationPV = nRT
Mean free pathkT / (√2 π d² P)
Energy per molefRT/2
Cv and CpfR/2 and (f+2)R/2
Specific heat ratio γ(f+2)/f

Constants

ConstantValue
Gas constant R8.314 J mol⁻¹ K⁻¹
Boltzmann constant k1.380649 × 10⁻²³ J/K
Avogadro constant NA6.022 × 10²³ mol⁻¹
Standard atmosphere101325 Pa

11. Check your understanding

12. Final understanding

  1. Gas molecules are in continuous random motion.
  2. Collisions with the walls produce pressure.
  3. Temperature measures the average translational kinetic energy.
  4. RMS speed increases with temperature and decreases with molecular mass.
  5. Pressure, volume and temperature are linked by PV = nRT.
LET'S DO THIS TOGETHER

READY TO MAKE
SOMETHING HAPPEN?

Have a project, idea, or challenge? Tell us what you want to achieve. Let's start with a conversation.

01 TELL US ABOUT YOURSELF
02 CHOOSE YOUR MISSION

Your details will be included in a WhatsApp message. WhatsApp will open for you to review and send your enquiry.

Direct Contact
89812 09009 ↗
WhatsApp Us
TAP TO CHAT ↗