Loading
Two kinds of real integral fall to residues. Over a period, put so the integral runs round . Over the whole line, close the contour with a large semicircle in the upper half-plane.
Evaluate .
The calculator below opens on this example.
Forgetting the 2 when factoring.
Including the outside pole.
Dropping 1/(iz).
Complex answer for a real integral.
Use θ (or t) in the first kind and x in the second.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.