Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2025/paper-1/13/e/solution

Use the tangent half-angle substitution , so and . Then
The inverse tangent antiderivative gives
This expression applies on each interval for an integer . Although everywhere, the chosen inverse tangent expression jumps at the endpoints because the substitution has a pole there. A global continuous antiderivative is obtained by adding on that interval, using one common , and extending by continuity at the endpoints.

New to topics? Read the docs here!