Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ia/paper-2/2b/solution

The chain rule gives . Equality with for every therefore requires and , which implies . Conversely, on the plane this compatibility condition makes an exact differential, so a potential exists.
Here , , and . Integrating gives , hence

New to topics? Read the docs here!