I am working with the following difference of 1-forms $$d\omega = \alpha - \beta$$ where $d$ is the exterior derivative and $\alpha = ydz$ and $\beta = (y-2y\sin^2(x))dx + (\sin(x)\cos(x))dy + ydz$.
So \begin{align*} d\omega &=ydz - [(y-2y\sin^2(x))dx + (\sin(x)\cos(x))dy + ydz] \\ &= (2y\sin^2(x)-y)dx + (-\sin(x)\cos(x))dy +0dz. \end{align*}
My goal is to determine $\omega$. I have tried to anti-differentiate each term separately so that when the exterior derivative is taken, the result is $d\omega$. However, I was told that I will need to generate three partial differential equations for $\omega$ and then possibly use Maple or MatLab to solve the system of PDEs.
I am not sure how I am to generate these three PDEs from $$d\omega = (2y\sin^2(x)-y)dx + (-\sin(x)\cos(x))dy$$ and was hoping someone knows how to do this.
Since $d\omega$ is a 1-form, $\omega$ must be a 0-form, or a function. The total derivative is then given by \begin{equation} d\omega = \frac{\partial \omega}{\partial x}dx + \frac{\partial \omega}{\partial y}dy + \frac{\partial \omega}{\partial z}dz, \end{equation} so you need to set \begin{equation} \frac{\partial \omega}{\partial x} = 2y\sin^2(x)-y \end{equation} and \begin{equation} \frac{\partial \omega}{\partial y} = -\sin(x)\cos(x), \end{equation} and also require that $\partial\omega/\partial z=0$, and then solve for $\omega$.