Question: can the density of a gas be changed?
Answer: This is assuming that the pressure remains constant. As such, an increase in temperature will decrease the density of the gas because of a decrease of molecules per cubic unit of length. ... You cannot compress liquids like gases and an increase in temperature will only very slightly decrease the density of liquids.