Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/iii/paper-301/2/a/i/solution

Integrating by parts gives
because the and terms differ only by a total derivative. Hence

New to topics? Read the docs here!