(b) the temperature of the air falls as we go up in the lower atmosphere.
(The escape speed from the surface of the Moon is about 2.4km s−1, and its sunlit surface reaches about 400K; the escape speed from the Earth is about 11.2km s−1. Take R=8.31J mol−1K−1.)
(a) A gas molecule escapes from the Moon if its speed exceeds the escape speed, about 2.4km s−1. The rms speeds of gas molecules are given by vrms=3RT/M. For hydrogen (M=2.0×10−3kg mol−1):
These are comparable with the escape speed, not much greater than it. But vrms is only a typical speed: the molecules have a wide range of speeds, and a fraction of them always move much faster than vrms. Molecules near the top of a gas layer with such speeds leave the Moon for ever, and collisions keep giving other molecules high speeds, so a light gas such as hydrogen, or helium (1.58km s−1 at 400K), leaks away steadily. For heavier gases such as nitrogen (0.60km s−1 at 400K) the fast fraction is much smaller, but over the Moon's long history it too is lost. The Moon's weak gravity, which makes the escape speed low, is the main cause; on the Earth the escape speed is about 11.2km s−1, and nitrogen and oxygen are retained.
(b) Air near the ground is warmed by the ground and rises. As it rises, the pressure around it falls, so the rising air expands. In expanding, it pushes the surrounding air back and does work on it. Little heat flows in during this, so the energy for the work comes from the internal energy of the rising air: its molecules lose kinetic energy and its temperature falls.
In kinetic terms, this is the molecule-and-receding-piston picture of Example 12.7: a molecule that bounces off a boundary moving away from it comes back slower. The expanding boundary of the rising air recedes from its molecules, so they lose speed, and the air cools. This is why the temperature falls with height in the lower atmosphere.