Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2005/ib/paper-4/4a/a/solution

Where both derivatives exist, the ordinary product rule gives
Neither denominator vanishes. Integrate over a common piecewise-smooth subdivision and use the contour characterization of the winding number:

New to topics? Read the docs here!