
10.7.13 Calculating integrals of a real variable using residues
Problem:
Appropriately applying the Cauchy residue theorem, find the principal value of the integral:
\[
\int_{-\infty}^{\infty} \frac{x \cos x}{x^{2}-5 x+6} d x \text {. }
\]