Hi,
I'm trying to calculate the real part of a response function, , from its imaginary part using the following relationships
where
I have attached my derivation in the pdf file. However the forward and reverse derivations do not yield the same result. Can someone kindly point me out whether I'm applying the Cauchy residue theorem incorrectly.