Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2016/discrete-mathematics-continuous-mathematics-and-probability/4/a/solution

Use partial fraction decomposition:
Integrating each term gives the antiderivative
This holds on any interval avoiding ; the constant may differ between these intervals. Differentiation of the logarithm recovers , providing a direct check.

New to topics? Read the docs here!