where <em>C</em> is the circle of radius 2 centered at the origin.
You can compute the line integral directly by parameterizing <em>C</em>. Let <em>x</em> = 2 cos(<em>t</em> ) and <em>y</em> = 2 sin(<em>t</em> ), with 0 ≤ <em>t</em> ≤ 2<em>π</em>. Then
Another way to do this is by applying Green's theorem. The integrand doesn't have any singularities on <em>C</em> nor in the region bounded by <em>C</em>, so
where <em>D</em> is the interior of <em>C</em>, i.e. the disk with radius 2 centered at the origin. But this integral is simply -2 times the area of the disk, so we get the same result: .