Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2017/discrete-mathematics-continuous-mathematics-and-probability/5/b/solution

For positive bounds, integration by parts with and gives
For negative bounds, specify the complex logarithm on the negative real axis. With argument , namely the upper-bank boundary value of the principal logarithm, . Substitute in the real part:
More generally, a continuous branch taking argument replaces by . The imaginary part depends on that choice. The analytic principal branch excludes the negative axis itself, so the boundary-value convention is part of this interpretation.

New to topics? Read the docs here!