Im reading Modern Particle Physics from Mark Thomson and I have problems to follow the derivation of Fermi's golden rule (section 2.3.6). In particular equation 2.49:
$$\Gamma_{fi} = 2\pi \int |T_{fi}|^2 \frac{dn}{dE_f}\delta(E_f - E_i) \displaystyle \lim_{T \to \infty} \left\{ \frac{1}{T} \int_{-T/2}^{+T/2} dt \right\} dE_f$$
$$= 2\pi \int |T_{fi}|^2 \frac{dn}{dE_f}\delta(E_f - E_i)dE_f$$
$$= 2\pi |T_{fi}|^2 \left| \frac{dn}{dE_f} \right|_{E_i}.\tag{2.49}$$
Im completely clueless on how to go from the second to the third line. Any idea?