Hello ptcek ,
You can use the gibbs-helmholtz equation for a system undergoing a change in temperature from To to T. Consider a real system versus an ideal system. Then you can write :
d [ ( G - Gid ) / T ] / dT = - ( H - Hid ) / T2
Then the classical relation G = Go + RT Ln f ( f = P for an ideal system ) is substituted to yield :
d Ln ( f / p ) = - 1 / R [ ( H - Hid ) / T2 ] dT
We can now integrate setting T between To and T on the right. On the left the Ln(f/p) changes as a function of T from To to T. However P is the same for both states. Thus , Ln( 1/p ) cancels and you get :
Ln f ( T,p ) - Ln f ( To , p ) = - 1 / R Integral ( H - Hid ) / T2 dT with the integral limits already set. This is the relation required.