I'm on the last question of my homework and it's involving using the residue theory, which I dont really understand, so could somebody lend me a hand?
I have to evaluate the real convergent improper integral below using residue theory:
$$ \int_0^\infty \frac{ \sin \pi x}{x(1-x^2)} \; \textrm{d}x$$