But this is not what happens, or there would only be CO2 (and a small ammount of the heavier atoms and molecules) in the lower part of our atmosphere.
> I would think a mixture should gain kinetic energy as the heavier one settles more on the bottom,
But this is not what happens, or there would only be CO2 (and a small ammount of the heavier atoms and molecules) in the lower part of our atmosphere.
Edit: Maybe you know this already, but in equilibrium the mixture does indeed have more kinetic energy (per unit of volume) as you go down because even though the temperature remains constant the pressure increases.
https://en.m.wikipedia.org/wiki/Atmosphere_of_Earth#Stratifi...
At extreme elevations you find much higher concentrations of H and He.
It doesn’t fully separate like you might see with liquids, but there are tendencies.
The light one will move faster than the heavier one on average when they come into contact, and in the presence of gravity it will have a higher average height. The same will hold as you add more particles, but there is a curve to it.
It is true hat the atmosphere is more complex, and has things like ozone layer causing temperature inversion due to different absorption characteristics, etc., but the general reasons that H and He are so much more prevalent in the upper layers is largely due to this kind of explanation using gravity.
I would think a mixture should gain kinetic energy as the heavier one settles more on the bottom, releasing photons from the heat which increases total entropy, but in a closed system where the photons are reflected back it would hit some equilibrium with heavier stuff at the bottom, but more kinectic and photonic energy which maybe both together give more degrees of freedom than a more evenly mixed mixture with less kinetic energy and higher gravitational potential energy.