Work done by the gas
.
Boyle’s Law states that when a quantity of gas expands at constant temperature,
.

Substitute the value of
in
.

Constant multiple rule of integrals :
.




Substitute the values of
and
in the above equation.



Substitute the values of
and
into 

Substitute
into
.





Work done by the gas
.