Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2017/paper-2/13/d/solution

Evaluate the line integral along the three coordinate segments, treating coordinates not changing along a segment as constants. On the first segment, , so and the contribution is zero. On the second segment,
On the final segment,
The fundamental theorem for line integrals therefore gives
Taking its gradient verifies each component of the field. The constant is ; the field specifies only potential differences because the gradient of every constant is zero.

New to topics? Read the docs here!