It’s sometimes said that if you sit an immortal monkey in front of an equally durable typewriter and leave it to tap randomly away at the keys, then eventually it will produce the entire text of Richard III (or any other Shakespeare play of your choice), completely by chance. All you have to do is wait long enough.
I was thinking about this one day, and also thinking about air molecules. In the room I’m sitting in at the moment, there are at least 1,000,000,000,000,000,000,000,000,000 air molecules, all frantically dashing around bumping into each other. How often, I wondered, do little clusters of these molecules fleetingly arrange themselves, by chance, in arrangements that we would regard as being somehow regular or remarkable?
It’s not possible for me to directly observe air molecules, so instead I used my computer to make a 2-dimensional simulation of some atoms of gas doing what atoms of gas do. I set it going, and waited…and waited…and waited…
I promise you that my simulation didn’t involve any secret forces drawing atoms towards certain positions. The movements and collisions of the atoms all occurred in accordance with the laws of mechanics. But I did cheat a little. Can you figure out how?
Molecules and atoms
In case you’re fidgeting on your chair wondering why I started talking about air molecules but finished talking about gas atoms, let me explain.
Nearly all of the air is nitrogen and oxygen. Nitrogen and oxygen atoms are essentially spherical. But in the air, nitrogen atoms are bonded together in pairs to form nitrogen molecules that are, roughly speaking, a stubby rod shape. The same goes for oxygen. Now a collision between two moving rods is much more complicated than a collision between two spheres, because the rods can spin end-over-end in a way that spheres can’t. In fact, I’m not sure that I know how to do the calculations. As the point of the video could be made just as well using atoms rather than molecules, I did the simulation using atoms. If you like, you can think of them as atoms of helium or argon, which do go around on their own.