Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2007/paper-2/section-b/2/solution

The tangent half-angle substitution gives and . The endpoints become , respectively. Hence
Completing the square, , then gives

New to topics? Read the docs here!