According to the ideal gas law, which states that the product of pressure (P), volume (V), and temperature (T) is constant for a given amount of gas, if the volume of a container is fixed and the temperature is increased, the pressure will also increase.
Mathematically, the ideal gas law can be represented as:
PV = nRT
Where: P = Pressure V = Volume n = Amount of gas (moles) R = Ideal gas constant T = Temperature
If we assume that the amount of gas and the volume are constant, the equation becomes:
P/T = constant
From this equation, we can see that if the temperature (T) increases, the pressure (P) must also increase to maintain the constant value.
Therefore, if you increase the temperature of a gas in a fixed-volume container, the pressure exerted by the gas will increase.