In Statistcal Mechanics, in the grand canonical ensemble, the "fugacity" $z$ is introduced and it is defined as
$z = e^{\frac{\mu}{kT}}$
(of course $\mu$ id the chimical potential and K the Boltzsmann's constant).
We can also define the grand-partition function,
$q(z,V,T) = ln \left( \Sigma_{N_s=0}^{+\infty}z^{N_s}Q_{N_s}(V,T) \right)$
where $N_s$ is a fixed number of particle in an element of our ensemble and $Q(V,T)$ is the canonical partition function.
It can be shown that in the grand-canonical description, the mean energy, $U$ is equal to
$U= kT^2 \left[ \frac{\partial}{\partial T} q(z,V,T)\right]_{z,V}$.
Well, later, in Pathria's book is written the following equation, but, to me, it isn't obvious:
$\left(\frac{\partial U}{\partial T}\right)_{z,V}= \left(\frac{\partial U}{\partial T}\right)_{N,V} + \left(\frac{\partial U}{\partial N}\right)_{T,V} \left(\frac{\partial N}{\partial T}\right)_{z,V} .$
Can anyone help me please?