Solve the following equation: $$(3x^2y^2+x^2)dx+(2x^3y+y^2)dy=0$$ (1).
Solution:
We need to determine if (1) is an exact equation or not.
Let $$M(x,y)=(3x^2y^2+x^2)$$ and $$N(x,y)=(2x^3y+y^2)$$. For testing for exactness, we need to take the partial derivatives with respect to y and x for M and N, respectively.
So, $$M_y(x,y)=6x^2y$$ and $$N_x(x,y)=6x^2y$$.
Since $$M_y(x,y)=N_x(x,y)$$, we know that (1) is an exact equation. So
\begin{align*}
F_x=(3x^2y^2+x^2)\\
&\int F_x \, dx =\int (3x^2y^2+x^2) \, dx\\
&F(x,y)= x^3y^2+\frac{x^3}{3}+g(y) \, & (\text{we need to determine what g(y), so taking the partial derivative of F with respect to y and set equal to N(x,y) and integrate both side by y})\\
&F_y(x,y)=2x^3y+g'(y)\\
2x^3y+y^2=2x^3y+g'(y)\\
g(y)=\frac{y^3}{3}
\end{align*}
The final solution of (1) is $$F(x,y)=x^3y^2+\frac{x^3}{3}+\frac{y^3}{3}=C$$.