I saw several times that $\frac{-y}{x^2+y^2}dx+\frac{x}{x^2+y^2}dy$ is closed but not exact. Closed, is obvious but I can't prove non exactness, can one please help me ?
My attempt, let $f\in \omega^{0}(U)$ and $df=\frac{-y}{x^2+y^2}dx+\frac{x}{x^2+y^2}dy=\frac{\partial f}{\partial x}dx+\frac{\partial f}{\partial y} dy$ and so $\frac{\partial f}{\partial x}(x,y)=\frac{-y}{x^2+y^2},\frac{\partial f}{\partial y}(x,y)=\frac{x}{x^2+y^2}$. Now let $g(\theta)=f(\cos \theta,\sin \theta)$ so $g'(\theta)=1 \implies g(\theta)=\theta+C$. Now i'm not getting any contradiction.