I was following along Mark Thomson's Modern Particle Physics, and got stuck on this book's derivation of Fermi's Golden Rule (On page 53):
"... If there are d$n$ accessible final states in the energy range $E_f \rightarrow E_f +dE_f$, then the total transition rate $\Gamma_{fi}$ is given by \begin{equation} \Gamma_{fi} = 2\pi \int|T_{fi}|^2 \frac{dn}{dE_f} \lim_{T\rightarrow \infty} \left\{ \frac{1}{T} \int_{-\frac{T}{2}}^{-\frac{T}{2}} e^{i(E_f - E_i)t} \delta(E_f-E_i) dt \right\}dE_f \tag{A}. \end{equation} The delta-function in the integral implies that $E_f=E_i$ and therefore $(\text{A})$ can be written \begin{equation} \Gamma_{fi} = 2\pi \int|T_{fi}|^2 \frac{dn}{dE_f} \delta(E_f-E_i) \lim_{T\rightarrow \infty} \left\{ \frac{1}{T} \int_{-\frac{T}{2}}^{-\frac{T}{2}} dt \right\}dE_f \tag{B}. \end{equation} ... (and so on) "
Based on the explanation between the steps, I don't understand why $E_f$ and $E_i$ should be the same. I do know that in order for $E_f$ to be the same as $E_i$, the Dirac-delta functions supposed to be integrated with the exponent, but this is not the case. Any explanation for this would be appreciated.