So, we found that the product of the pressure and volume of an ideal gas remains constant when the gas has a constant number of molecules and is held at a constant temperature. This relationship is known as Boyle's Law. You can see Boyle's Law written in mathematical form below.
It is important to remember that Boyle's Law applies only to ideal gases held at a constant temperature and with a constant number of molecules.