Paper 2, Section II, 7 B7 \mathrm{~B}

Further Complex Methods
Part II, 2018

Show that

cosnxcosmxx2dx=π(mn),\int_{-\infty}^{\infty} \frac{\cos n x-\cos m x}{x^{2}} d x=\pi(m-n),

in the sense of Cauchy principal value, where nn and mm are positive integers. [State clearly any standard results involving contour integrals that you use.]