[Physics] How do gas molecules constantly bounce without losing energy

ideal-gaspressurethermodynamics

From a related question (How does pressurized gas constantly push?), i asked myself this: How do gas molecules constantly bounce off each other without losing energy?

If you drop a ball, it bounces a bunch of times, but the height of each bounce gets shorter and shorter. Because it loses energy in each bounce.

So I don't see how a pressurized gas doesn't lose energy. As I understand it, pressure is a manifestation of lots of molecules bouncing off each other. So over time, shouldn't the pressure drop as the molecules lose speed? and eventually all the molecules will settle in a pile on the floor.

I think another way to phrase this is, how do elastic collisions not lose any energy in the exchange? My understanding of the 2nd law of thermodynamics is that some energy is always "lost" when it's converted from one form to another, or transferred from one object to another. I.e., no transfer/conversion of energy is ever 100% efficient.

Best Answer

As the comments to the question have stated, in real gasses ( contrasted to ideal gasses which just bounce around elastically) there exist both elastic and inelastic scatterings controlled by quantum mechanical interactions.

Photons are generated leading to what we call Black Body radiation and an isolated gas volume will lose energy according to the Stephan Boltzmann law.

the Stefan–Boltzmann law states that the total energy radiated per unit surface area of a black body across all wavelengths per unit time (also known as the black-body radiant exitance or emissive power), is directly proportional to the fourth power of the black body's thermodynamic temperature T:

stephanboltzmann

Thus the gas does lose energy if the temperature of matter surrounding it is lower.

In answer to

I think another way to phrase this is, how do elastic collisions not lose any energy in the exchange

Elastic means an interaction of two particles where before and after , kinetic energy is conserved. If one assumes that only kinetic energies exist for this scatter ( as in the ideal gas) then energy is conserved because what one particle loses the other gains . If there are other forms of energy that can contribute to the two particle interaction then it is the total energy that is conserved. With billiard balls classically friction has to be taken into account with the energy balance, the same with the bouncing ball, and the kinetic energies stop being the total energy of the system. For particles in a gas it is the quantum mechanical framework, described above.