I'm trying to evaluate the integral of the $1$-form
$$\omega=\dfrac{-y \,dx +x\,dy}{x^2 +y^2}$$
through the corners of a triangle with the vertices $A= (-5,-2)$, $B=(5,-2)$, $C=(0,3)$.
I've tried to use Green's theorem but it didn't work because the 1-form isn't differentiable on (0,0) so I had to parametrize the paths from each point and got three line integrals but it got so complicated at the end, so it doesn't seem to be the right solution or at least the one I'm supposed to calculate. Is there anyway else to evaluate the integral?
We know that $$\omega=\dfrac{-y \,dx +x\,dy}{x^2 +y^2}=d\arctan\dfrac{y}{x}$$ is an exact differential and the area $\Delta$ includes the origin, since the $\arctan\dfrac{y}{x}$ winds around the origin one time then $$\int_\Delta \omega=2\pi$$