Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/ia/paper-3/9a/ii/solution

On the first leg and decreases from one to zero; on the second and increases from zero to one. Adding their line integrals gives
The negative sign in the first term follows from the direction of traversal.

New to topics? Read the docs here!