A young man’s knock, eager yet a bit hesitant.
“C’mon in, Jeremy, the door’s open.”
“Hi, Mr Moire. How’s your Summer so far? I got an ‘A’ on that black hole paper, thanks to your help. Do you have time to answer a question now that Spring term’s over?”
“Hi, Jeremy. Pretty good, congratulations, and a little. What’s your question?”
“I don’t understand about the gas laws. You squeeze a gas, you raise its temperature, but temperature’s the average kinetic energy of the molecules which is mass times velocity squared but mass doesn’t change so how does the velocity know how big the volume is? And if you let a gas expand it cools and how does that happen?”
“A classic Jeremy question. Let’s take it a step at a time, big-picture view first. The Gas Law says pressure times volume is proportional to the amount of gas times the temperature, or P·V = n·R·T where n measures the amount of gas and R takes care of proportionality and unit conversions. Suppose a kid gets on an airplane with a balloon. The plane starts at sea level pressure but at cruising altitude they maintain cabins at 3/4 of that. Everything stays at room temperature, so the balloon expands by a third –“

“Wait … oh, pressure down by 3/4, volume up by 4/3 because temperature and n and R don’t change. OK, I’m with you. Now what?”
“Now the plane lands at some warm beach resort. We’re back at sea level but the temp has gone from 68°F back home to a basky 95°F. How big is the balloon? I’ll make it easy for you — 68°F is 20°C is 293K and 95°F is 35°C is 308K.”
“Volume goes up by 308/293. That’s a change of 15 in about 300, 5% bigger than back home.”
“Nice estimating. One more stop on the way to the molecular level. Were you in the crowd at Change-me Charlie’s dark matter debate?”
“Yeah, but I didn’t get close to the table.”
“Always a good tactic. So you heard the part about pressure being a measure of energy per unit of enclosed volume. What does that make each side of the Gas Law equation?”
“Umm, P·V is energy per volume, times volume, so it’s the energy inside the balloon. Oh! That’s equal to n·R·T but R‘s a constant and n measures the number of molecules so T = P·V/n·R makes T proportional to average kinetic energy. But I still don’t see why the molecules speed up when you squeeze on them. That just packs the same molecules into a smaller volume.”
“You’re muddling cause and effect. Let’s try to tease them apart. What forces determine the size of the balloon?”
“I guess the balance between the outside pressure pushing in, versus the inside molecules pushing out by banging against the skin. Increasing their temperature means they have more energy so they must bang harder.”
“And that increases the outward pressure and the balloon expands until things get back into balance. Fine, but think about individual molecules, and let’s pretend that we’ve got a perfect gas and a perfect balloon membrane — no leaks and no sticky collisions. A helium-filled Mylar balloon is pretty close to that. When things are in balance, molecules headed outward approach the membrane with some velocity v and bounce back inward with the same velocity v though in a different direction. Their kinetic energy before hitting the membrane is ½m·v²; after the collision the energy’s also ½m·v² so the temperature is stable.”
“But that’s at equilibrium.”
“Right, so let’s increase the outside pressure to squeeze the balloon. The membrane closes in at some speed w. Out-bound molecules approach the membrane with velocity v just as before but the membrane’s speed boosts the bounce. The ‘before’ kinetic energy is still ½m·v² but the ‘after’ value is bigger: ½m·(v+w)². The total and average kinetic energy go up with each collision. The temperature boost comes from the energy we put into the squeezing.”
“So the heating actually happens out at the edges.”
“Yup, the molecules in the middle don’t know about it until hotter molecules collide with them.”
“The last to learn, eh?.”
“Always the case.”
~~ Rich Olcott
Thanks to Mitch Slevc for the question that led to this post.