rv6a
Member
You are correct, air gets less dense with temperature and altitude.
"Air gets more dense, when hot." I'm not too sure about that -------- In an enclosed vessel the pressure will certainly go up. Air molecules move faster at higher temps, attempting to push further apart( lower density) but higher pressure.
I could be wrong of course, ask your local chemist about Boyle's gas laws.
Lew L