Let f be a rational function without poles on the real axis and a nullpoint in $\infty$. Then we have: $\lim_{r \rightarrow \infty} \int_{-r}^r f(x) e^{ix} dx = 2 \pi i \sum_{Im(a)>0}\text{Res}_a (f(z)e^{iz})$.
Proof:
We choose a rectangle as the integration path: Let $r>0$ be large enough. Then by the residue theorem we know: $$\int_{-r}^r f(x) e^{ix} dx + \int_{r}^{r+ir} f(x) e^{ix} dx + \int_{r+ir}^{-r+ir} f(x) e^{ix} dx+\int_{-r+ir}^{-r} f(x) e^{ix} dx = 2 \pi i \sum_{Im(a)>0}\text{Res}_a (f(z)e^{iz})$$
Since $f(x) e^{ix} $ has a null at $\infty$, we know that $s_r = \sup_{|z|\geq r} |f(z)| $ exists for $r$ large enough and goes to $0$. But we can estimate the absolute values of the second and fourth integral term by $s_r \int_0^r e^{-t} dt \leq s_r$, and the third integral term by $2re^{-r}s_r$, so they go to $0$ for $r\rightarrow \infty$.
I do not understand the bold part. Why are those estimates true? I understand the rest, but I just don't see why these estimates are true.