The exercise consists of calculating the integral $\int_{\gamma} \mathbf{F} \cdot d \mathbf{r}$ where
$\mathbf{F}(x,y)=\left( - \frac{y-1}{(x-1)^2 + (y-1)^2}, \frac{x-1}{(x-1)^2 + (y-1)^2} \right) + \left(\frac{y}{x^2 + y^2}, \frac{-x}{x^2 + y^2} \right)$
and $\gamma$ is the circle $x^2 + y^2 = 4$ oriented anticlockwise, and to determine if the integral is independent of its path on the set $D=\{(x,y): (x,y) \neq (0,0) \text{ and } (x,y) \neq (1,1) \}$
For the first part, I concluded that using Green's theorem is not an option, since the disc $x^2 + y^2 \leq 4$ contains singular points. Since it is appears to be a bit of a tricky function, I also chose not to parametrise it directly.
Instead I opted to determine the potential function to the integral. I show that $\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}$, and, solving it like a system of equations, found that the potential function is $U(x,y) = \arctan{(\frac{y-1}{x-1})} - \arctan{(\frac{y}{x})}$. If I $U$ actually is a conservative vector field, I can then evaluate the integral simply by using the starting points and end points of $U$, by letting the starting point and end point to be, for instance, $(\sqrt{2}, \sqrt{2})$. Since $\gamma$ is a closed curve, the integral is zero.
I then argue that, on the set $D$, the integral is independent of its path, since $\mathbf{F}$ is conservative, and the potential function $U$ does not have any singular points on $D$.
I am a bit unsure whether this is the right approach, but I cannot see how else I would solve this exercise. Any input would be much appreciated.
If $\mathbf F$ is path-independent, then its integral along any simple closed curve must be zero. It suffices, then, to demonstrate a closed path $\Gamma$ along which the integral doesn’t vanish.
This particular vector field is the sum of two copies of one of the standard examples of an irrotational field that is not conservative. Let $$\mathbf G(x,y) = \left(\frac{y}{x^2 + y^2}, \frac{-x}{x^2 + y^2} \right)$$ so that $\mathbf F(x,y) = \mathbf G(x,y)-\mathbf G(x-1,y-1)$. Choose for our $\Gamma$ the unit circle with counterclockwise orientation. By linearity of the integral, we can consider each copy of $\mathbf G$ separately. For the first term, use the obvious parameterization to get $$\int_\Gamma \mathbf G\cdot d\mathbf r = \int_0^{2\pi}(\sin t,-\cos t)\cdot(-\sin t,\cos t)\,dt = -\int_0^{2\pi}dt = -2\pi.$$ For the other term, you can use Green’s theorem since $\Gamma$ doesn’t enclose a singular point of $\mathbf G(x-1,y-1)$. That integral vanishes on $\Gamma$, therefore $$\int_\Gamma \mathbf F\cdot d\mathbf r = -2\pi \ne 0$$ and so $\mathbf F$ is not conservative on $D$.
Finally, as far as integrating $\mathbf F$ over the larger circle goes, you could switch to the complex domain and use the residue theorem, but otherwise no particular trick for simplifying the computation comes to mind. Parameterizing $\gamma$ in the obvious way eventually leads to the integral $$-\int_0^{2\pi} {\cos t+\sin t-1 \over 2\cos t+2\sin t-3} dt.$$ This happens to be the equal to $-\int_\Gamma \mathbf G(x-1,y-1)\cdot d\mathbf r = 0$ ($\Gamma$ is the unit circle), but the only reason I know this is that I had expanded the latter integral while exploring the path-independence of $\mathbf F$ earlier.