Solution

ID: past-exam-of-the-mathematical-methods-ii-course-of-the-university-of-oxford/2021-resit/9/b/solution

Set and . Their partial derivatives satisfy throughout . The vector field is smooth on the entire simply connected plane, so zero curl proves path independence.
Choose the broken straight path . Along its horizontal segment and , giving
Along its vertical segment and , giving
Therefore the line integral is
Figure 1.
Original sketch of the chosen oriented path through the corner at (2,0)
. Details.

New to topics? Read the docs here!