Mathematically , Boyle 's law can be stated as or where P is the pressure of the gas , V is the volume of the gas , and k is a constant .
In symbols , the law is : or where P is the pressure of the gas , V is the volume of the gas , and k is a constant .