What is the general solution of the differential equation? # (3x^2+2y)dx+2xdy=0 #
2 Answers
Explanation:
We can write the equation
# \ \ \ \ \ \ \ 2xdy = -(3x^2+2y)dx #
# :. 2xdy/dx = -3x^2 - 2y #
# :. dy/dx + y/x = -3/2x #
This is a First Order DE of the form:
# y'(x) + P(x)y = Q(x) #
Which we know how to solve using an Integrating Factor given by:
# IF = e^(int P(x) \ dx) #
And so our Integrating Factor is:
# IF = e^(int 1/x \ dx) #
# \ \ \ \ = e^(ln|x|) #
# \ \ \ \ = x #
If we multiply by this Integrating Factor we will (by its very design) have the perfect differential of a product:
# \ \ \ \ \ dy/dx + y/x = -3/2x #
# :. xdy/dx +y = -3/2x^2 #
# :. \ \ d/dx(xy) = -3/2x^2 #
Which is now a separable DE, and we can separate the variables to get:
# " "xy = int \ -3/2x^2 \ dx #
# :. xy = -1/2x^3 + A #
# :. y = -1/2x^2 + A/x #
Explanation:
An alternative approach
The equation is exact. ie there exists a potential function
to verify this we check the mixed partials
For reasons that become apparent, we can now choose to integrate either term ... we will integrate
....where
We then look at the other partial that follows by now differentiating this f wrt y:
And from
Final bit of algebra: