The energy-eigenstate expansion of for is
Fourier integration and give
Comparing this with the spectral expression in part ii yields the spectral representation of a thermal correlation function