We have x dy + (y - x3) dx = 0
It is in the form of \(\frac{dy}{dx}\) + Py = Q, where P = \(\frac1x\) and Q = x2
\(\therefore\) IF \(e^{\int\frac 1x dx}=e^{log\,x}\) = x
Hence, solution is y. x = ∫ x. x2 dx + C
x y = \(\frac{x^4}4\) + C
⇒ y = \(\frac{x^3}4+\frac Cx\)