Visual walkthrough — Ideal gas law PV = nRT — derivation from kinetic theory
Step 0 — The stage: a box of balls
Before any maths, meet the cast.
- A cube with each side of length (so its volume is — length times width times height, all equal).
- Inside: tiny balls (molecules), each with mass (how heavy one ball is).
- Each ball zooms around with a velocity — an arrow saying how fast and in which direction it moves.
We slice that velocity arrow into three pieces along the three edges of the box: (how fast it moves left–right), (front–back), (up–down). These are the velocity components.

We will study the wall on the right, the one the -axis pokes through. Only matters for pushing that wall.
Step 1 — One bounce off the wall
WHAT: track a single ball smacking the right wall and bouncing straight back.
WHY: a wall cannot feel "temperature". It only feels pushes — forces. Newton told us a force is nothing but momentum changing over time: where is momentum (mass × velocity, "how much oomph a moving thing carries") and means "the change in". So to find any push, we must first find how much momentum a ball hands over per bounce. That is this step. See Pressure and Newton's Second Law.
PICTURE: the ball arrives moving right with -momentum , and leaves moving left with -momentum . The collision is perfectly elastic — the ball keeps its speed, it just flips direction.

The ball's momentum changed by . By Newton's third law the ball pushes the wall the opposite way, so the wall receives a kick of size . The minus sign just says "leftward"; its size is what pushes the wall.
Step 2 — How often does it come back?
WHAT: figure out the time between two hits of the same ball on the same wall.
WHY: one kick isn't a steady push. A wall feels pressure because kicks arrive again and again. So we need the rate of kicks, which means the time gap between them.
PICTURE: after bouncing off the right wall, the ball flies all the way to the left wall (distance ) and comes back (another ). Total round trip . Travelling at speed in the -direction, the time is distance ÷ speed.

So a faster ball ( big) returns sooner — it hits more often. Hold that thought: has now shown up in two places — the size of each kick and how often kicks come.
Step 3 — Average push from one ball
WHAT: combine Step 1 (kick size) and Step 2 (kick rate) into a steady average force.
WHY: because a wall being hit 2 000 times a second with tiny taps feels the same as one smooth push equal to (tap size) × (taps per second). That product is the average force, straight from .
PICTURE: watch appear twice and multiply into . This is why the final law contains speed-squared, not speed.

Step 4 — Add up all balls
WHAT: sum the one-ball force over every ball in the box.
WHY: the wall feels all the balls at once. Each contributes independently, so total force is the sum. And a sum of things equals times their average — that is literally what "average" means.
The angle brackets mean "average over all balls". We traded a giant messy sum of different numbers for one tidy quantity: the mean square -speed.

Step 5 — Randomness makes the
WHAT: replace the wall-specific with the full speed .
WHY: we picked the -wall arbitrarily. In a real gas, no direction is special — this is called isotropy (Greek: "same in all directions"). So the average sideways-ness must equal the average front-ness must equal the average up-ness:
Since , averaging both sides gives , so:
PICTURE: the speed-squared is a "pie" split into three equal slices, one per direction. Each wall only feels its own slice — one third.

Step 6 — From force to pressure
WHAT: turn the total force into pressure by dividing by the wall's area.
WHY: pressure is force spread over area — a big force on a tiny patch presses hard; the same force on a huge wall barely presses. The wall is a square of side , so its area is .
Now the magic: is just the volume . Substituting :

Step 7 — The bridge: what is temperature?
WHAT: connect the mechanical result to temperature .
WHY: our formula speaks "speed"; thermometers speak "temperature". We need a translator. Nature provides one: for an ideal gas, temperature is defined as a measure of average translational kinetic energy (via the Equipartition Theorem). Each of the 3 movement directions stores of energy, so all three give:
Here is the Boltzmann constant — the tiny number () that converts "degrees" into "joules per molecule". See Boltzmann Constant and Gas Constant and Temperature and Internal Energy.
PICTURE: a dial where "hotness" (T) and "average jiggle energy" () are the same needle read on two scales.

Now nudge our Step 6 result into that shape by inserting a (multiply and divide by 2):
The and cancel perfectly — a sign the definition was the right key.
Step 8 — Counting in moles
WHAT: swap "number of balls " for "number of moles ".
WHY: chemists count gas in moles, not individual molecules. One mole is molecules (Avogadro's number). So .
Bundling the two constants into a single gas constant :
Real gases deviate when the "point particle, no forces" assumptions break — that's Real Gases and Van der Waals Equation. The spread of individual speeds behind is the Maxwell-Boltzmann Speed Distribution.
The one-picture summary
Here is the whole climb on one slide: bounce → kick → rate → force → sum → → pressure → temperature → moles.

Recall Feynman retelling — the walkthrough in plain words
Picture a box crammed with billions of tiny bouncy balls. Follow one ball. It smacks the right wall and bounces straight back — its sideways motion flips, and that flip hands the wall a kick worth . Then it flies across, hits the far wall, comes back, and kicks again — every seconds. A kick this size arriving this often feels like a steady push of . Add up the push from all balls and you get times the average of . But no direction is special, so the sideways jiggle is exactly one-third of the total jiggle — that's where the famous comes from. Divide the total force by the wall's area and out pops the pressure: . So far it's pure Newton — no heat anywhere. The last trick is realising that "temperature" is just nature's word for "average jiggle energy": . Slot that in and the fractions cancel to give . Finally, count in moles instead of molecules, roll the two constants into , and you've built from a single bouncing ball.
Recall Rapid self-test
- Why does force scale with , not ? ::: Kick size and hit rate ; they multiply.
- Where does come from? ::: Isotropy — is one of three equal directions, .
- What physical input turns mechanics into thermodynamics? ::: (temperature = average kinetic energy).
- What is ? ::: — Boltzmann's constant scaled from per-molecule to per-mole.
Parent: 1.7.08 Ideal gas law PV = nRT — derivation from kinetic theory (Hinglish)