(2x3+ y3)dx- 3xy2dy= 0
This is a first order differential equation. It's almost exact since (2x3+ y3)y= 3y2 while (-3xy2)x= -3y2, differing only in the sign. Such an equation always has an "integrating factor"- a function such that, if you multiply the entire equation by the function the equation becomes exact but there is no general way of finding that integrating factor.
Here, because the terms involve only powers of x and y, I decided to try an integrating factor of the form xnym. Then the test for exactness becomes (2x3+nym+ xny3+m)y= 2mx3+nym-1+(3+m)xny2+m= (-3x1+ny2+m)x= -3(1+n)xny2+m.
That is, we must have 2mx3+nym-1+(3+m)xny2+m= -3(1+n)xny2+m.
The second term on the left has the same powers as the right but we need to get rid of the first term- OK, take m= 0! That "kills" the first term and to make the terms left equal we need to have 3+m= -3(1+n) or 3= -3(1+n) since m=0. That gives
1+n= -1 or n= -2.
Let's try that: multiplying (2x3+ y3)dx- 3xy2dy= 0
by x-2 gives (2x+ x-2y3)dx- 3x-1y2dy= 0.
(2x+ x-2y3)y= 3x-2y2 and
(-3x-1y2)x= 3x-2y2.
Yes! Those are the same so this equation is exact.
That MEANS that there exist some function, F(x,y), such that dF= (2x+ x-2y3)dx- 3x-1y2dy or, same thing, that
Fx= 2x+ x-2y3and Fy= - 3x-1y2 (you might remember that from multi-variable calculus).
Since Fx= 2x+ x-2y3, taking the anti-derivative (with respect to x), F(x,y)= x2- x-1y3+ g(y).
(The partial derivative with respect to x treats y like a constant. Taking the "anti-derivative" we treat y like a constant so that "constant of integration" may be any function of y.)
From that, Fy= -3x-1y2+ g'(y) and that must be equal to - 3x-1y2 . Comparing the two, that tells us that g'(y)= 0 or that g really is a constant.
IF F(x,y)= x2- x-1y3+ C, for any constant C, then
dF=(2x+ x-2y3)dx- 3x-1y2dy = 0. Since dF= 0, F is actually a constant: F(x,y)= x2- x-1y3+ C= C' where C' is also a constant, not necessarily equal to C. Since subtracting C from C' will still be an unknown constant, we can just write that as "C" and have
x2- x-1y3= C as the general solution to the differential equation.