Consider the meromorphic function
Close the contour with a large semicircle in the upper half-plane, indenting above the three real pole . The large-arc integral vanishes by Jordan's lemma, while the upper-half-plane indentation rule gives
The three residue are
Their sum is , so the residue theorem yields
The real part of the integrand is an odd function, so its full-line principal value is zero. Its imaginary part,
is an even function. Taking imaginary parts and halving the full-line integral therefore gives