Boyle's law
Boyle's law says that at constant temperature and amount of gas, the pressure and volume of a gas are inversely proportional. When you squeeze a gas into a smaller volume, the same number of particles hit the walls more often in the smaller space, so the pressure goes up. That is why pressure times volume always stays the same.
Formulas
When to use it
Use it when a gas stays at the same temperature and you need the new volume after the pressure changes, or the new pressure after the volume changes.
Worked example
A gas has a volume of 6 L at 1 atm. Keeping the temperature the same, you raise the pressure to 3 atm, so . Since , the volume becomes 2 L.
Common mistake
Students often treat it as direct proportion and say doubling the pressure doubles the volume. It is inverse, so raising a 6 L gas from 1 atm to 2 atm makes the volume 3 L, not 12 L.