Understanding Gay-Lussac's Law is essential when discussing the relationship between pressure and temperature in gases. This law asserts that if the volume of a gas is held constant, the pressure exerted by the gas is directly proportional to its absolute temperature. In mathematical terms, Gay-Lussac's Law is expressed as \( \frac{P_1}{T_1} = \frac{P_2}{T_2} \), where:
- \( P_1 \) and \( P_2 \) are the initial and final pressures respectively.
- \( T_1 \) and \( T_2 \) are the initial and final temperatures in Kelvin.
This means if the temperature of a gas increases, its pressure increases too, provided the volume doesn't change. Understanding this relationship helps predict pressure changes due to temperature variations. This can be especially important in real-life scenarios like the one in the exercise, with aerosol cans exposed to varying temperatures.