or P 1/V and V 1/P

PV = k1 where k1 is a proportionality
constant that is

PiVi = k1 and PfVf =k1  so
PiVi = PfVf  at the same temp and no.moles
               of gas