xlines said:
Density does not matter. Relating macroscopical phenomena of thermodynamic equilibrium to atomic level events was subject to much research and is legitimate scientific question. Quick was to relate temperature and velocity of a particle is through equipartition - let say you have pointlike atoms. For every degree of freedom - number of independent ways particle can move - you get 1/2kT of kinetic energy. Such particle has 3 degrees of freedom, so
3*1/2kT = 1/2 mv2
where k is Boltzmann constant, T is temperature in kelvins, m is mass of a particle and v is the thing you are interested in - velocity of a particle.
Just to be very clear, the equipartition theorem does not give you the velocity of a single particle, it gives you the root mean square (rms) velocity of the atoms of an ideal gas in thermal equilibrium at temperature T. In this case, where all of the atoms are the same (i.e., have the same mass and are classical particles), it follows that this is the rms velocity of a single atom, but that atom could at times be going much faster or much slower than the rms velocity.
That is to say, temperature is related to the
average kinetic energy.
Also, it's worth noting that when one asks how the rms velocity increases with temperature, the word "increases" is a bit misleading. The equipartition theorem relates, for example, the rms velocities and temperatures of two systems in equilibrium, but it only relates the rms velocities and temperatures of a single system at different points in time when the system is in thermal equilibrium at those two points in time.
That is, you can use it relate the rms velocity of a system in equilibrium at temperature ##T_1## at time ##t_1## compared to its rms velocity at a later time ##t_2## and temperature ##T_2##, but only so long as you have waited for the system to settle back down into equilibrium. The equipartition theorem does not hold while you are heating the system from temperature ##T_1## to ##T_2##; i.e., while the temperature is actually increasing - hence why I say "increasing" is a misleading word to use.
So, you can relate the rms velocities and temperatures of two different systems in equilibrium, or you can relate the rms velocities and temperatures of a single system that is in equilibrium at different temperatures at different points in time, but you can't do that while you are actually physically increasing the temperature.