When the temperature of a substance increases , the density decreases .
Increasing the pressure always increases the density of a material . Increasing the temperature generally decreases the density , but there are notable exceptions to this generalization .