I have a silly question regarding complex calculus, in which I'm a bit rusty at the moment. In F. Rouah's book The Heston Model and Its Extensions in Matlab and C# the following appears:
Now evaluate the inner integral in Equation (3.32), as was done in (3.14). This produces $$\begin{align} \Pi_1 & = \dfrac{1}{2\pi}\int_{-\infty}^{\infty} \varphi_2(u) \dfrac{e^{−i(u+i)l}}{ i(u + i)} du − \dfrac{1}{2\pi} \text{lim}_{R\to\infty}\int_{-\infty}^{\infty} \varphi_2(u) \dfrac{e^{−i(u+i)R}}{ i(u + i)} du\\ & = I_1 − I_2. \end{align}$$ The second integral is a complex integral with a pole at $u = −i$. The residue there is, therefore, $\varphi_2(−i)/i$. Applying the Residue Theorem, we obtain $$ I_2 = \text{lim}_{R\to\infty} \dfrac{1}{2\pi} \Bigg[ -2 \pi i \times \dfrac{ \varphi_2 (−i)}{i} \Bigg] = -\varphi_2(-i).$$
I think I see the point on solving the integral using the residue theorem and how it works. However, the question that rises is: Why can't I just do the same for the first integral?
Thanks
Edit: a screenshot of that page, for completion