I've seen the following claim in a book without proof and don't know why it holds. Let $a<b \in\mathbb{R}$. Then the integral $$\frac{1}{2\pi i}\int_a^b\left(\frac{1}{t-i\epsilon-\lambda}-\frac{1}{t+i\epsilon-\lambda}\right)dt$$ converges to $0$ if $\lambda\not\in(a,b)$, $\frac{1}{2}$ if $\lambda=a$ or $b$ and $1$ if $\lambda\in(a,b)$ as $\epsilon\searrow0$. The $2\pi i$ made me think that this could be an application of the residue theorem but I don't know which integration path to choose.
|
Hint: just split the integral up in real and imaginary part similar this proof. Spoiler below:
|
||||