So, I was doing some exercises of differential forms and exterior derivatives and I got stuck in one exercise that requested to find closed-forms, that is $d\omega =0$. All of them are 1-form and a need to find 0-form. Well, i know there's exist $d\alpha=\omega$. My question is how find $\alpha$. Do i have to use Stokes' Theorem?
Ps.: $\omega=2xydx+x^2dy+2zdz$
A 0-form is just a function, and the exterior derivative is its differential:
$$df = \frac{\partial f}{\partial x} dx+\frac{\partial f}{\partial y} dy+\frac{\partial f}{\partial z} dz$$
So, you need a function $f$, such that
$$\frac{\partial f}{\partial x}=2xy$$ $$\frac{\partial f}{\partial y}=x^2$$ $$\frac{\partial f}{\partial z}=2z$$
Integrating the first and second equation in variables $x$ and $y$, respectively, we obtain the same answer - $x^2y$. The last equation gives a term $z^2$. So, a function satisfying these equations is $$x^2y+z^2$$