I'm working with Exercise 4 of Chapter 4, Stein & Shakarchi "Complex Analysis".
The problem is
Suppose $Q$ is a polynomial of degree$\geq2$ with distinct roots, none lying on the real axis. Calculate $$F(\xi) = \int_{-\infty}^{\infty} \dfrac{e^{-2\pi i x \xi}}{Q(x)}\ dx,\space\xi\in\mathbb R$$ in terms of the roots of $Q$. What happens when several roots coincide?
For $\xi=0$, I approached by residue formula using upper half circle $C_R^+$ and $R\to\infty$ for the first summation and $C_R^-$ for the second summation and got the below: $$\dfrac{F(0)}{2\pi i} = \sum_{\Im(s_i)>0} \operatorname{Res}\dfrac{1}{Q(z)}=-\sum_{\Im(s_i)<0} \operatorname{Res}\dfrac{1}{Q(z)} $$ where $s_i$'s are distinct roots of $Q$. I think there would be a better representation for this using $Q(x)=A\prod(x-s_i)$ so that I can get a "Fourier transform formula" of $\frac{1}{Q(x)}$, but I can't go further.
For $\xi<0$ and $\xi>0$, I find that I should use $C_R^+$ and $C_R^-$ respectively but that's all. I don't know about the the role of coinciding several roots too.
How can I get some meaningful formulas for this problem?
Edit Thanks for hints and answer. Using all I got for $\xi\geq 0$, $$ F(\xi) = -2\pi i \sum_{\Im(s_i)<0} \operatorname{Res} \dfrac{e^{-2\pi i x \xi}}{Q(x)} = -2\pi i \sum_{\Im(s_i)<0} \dfrac{e^{-2\pi i s_i \xi}}{Q’(s_i)} $$
where the second equality holds when $Q(x)$ has all distinct roots and $Q’(s_i)=A\prod_{s_j\neq s_i}(s_j-s_i)$. Also for $\xi\leq 0$,
$$ F(\xi) = 2\pi i \sum_{\Im(s_i)>0}\operatorname{Res} \dfrac{e^{-2\pi i x \xi}}{Q(x)} = 2\pi i \sum_{\Im(s_i)>0} \dfrac{e^{-2\pi i s_i \xi}}{Q’(s_i)} $$
For multiple roots, the residue formula of $\frac{1}{Q(z)}$ where $Q(z)=A\prod(z-s_i)^{r_i}$ would be different, but again I can’t approach. The residue formula for $n$-th order poles requires $(n-1)$-times of differentiation, and I feel this direct route is too dirty. How can I approach this?