If you increase the temperature, density can increase, but pressure also increases by a portional amount since the molecules are hitting harder. These two changes cancel out.
I think you meant to say “density can decrease” not “increase”?
Yes, this is what I meant to say, sorry: typo.
I think you meant to say “density can decrease” not “increase”?
Yes, this is what I meant to say, sorry: typo.