For the second step in the problem below, which is a reversible isothermal expansion, how does one conclude to take the natural log of (Pi/Pf) in place of (Vf/Vi)? I've been at it for 40 minutes now. Thanks.
(Expand browser if the image isn't displaying properly.)