What is the general solution of the differential equation ? (6xy - 3y^2+2y) dx + 2(x-y)dy = 0 (6xy−3y2+2y)dx+2(x−y)dy=0
1 Answer
e^(3x) (2xy-y^2) = C e3x(2xy−y2)=C
Explanation:
(6xy - 3y^2+2y) dx + 2(x-y)dy = 0 ..... [A]
Suppose we have:
M(x,y) dx = N(x,y) dy
Then the DE is exact if
M = 6xy - 3y^2+2y => M_y = 6x-6y+2
N= 2(x-y) => N_x = 2
M_y - N_x != 0 => Not an exact DE
So, we seek an Integrating Factor
(muM)_y = (muN)_x
So, we compute::
(M_y-N_x)/N = (6x-6y+2 - 2)/(2(x-y)) = 3
So the Integrating Factor is given by:
mu(x) = e^(int \ 3 \ dx)
\ \ \ \ \ \ \ = e^(3x)
So when we multiply the DE [A] by the IF we now get an exact equation:
(6xy - 3y^2+2y)e^(3x) dx + 2(x-y)e^(3x)dy = 0
And so if we redefine the function
M = (6xy - 3y^2+2y)e^(3x)
N = 2(x-y)e^(3x)
Then, our solution is given by:
f_x = M andf_y = N and
If we consider
f = int \ 2(x-y)e^(3x) \ dy + g(x) , where we treatx as constant
\ \ = 2e^(3x) \ int x-y \ dy + g(x)
\ \ = 2e^(3x) (xy-1/2y^2) + g(x)
\ \ = e^(3x) (2xy-y^2) + g(x)
And now we consider
f_x = (e^(3x))(2y) + (3e^(3x))(2xy-y^2) + g'(x)
\ \ \ = (2y + 6xy-3y^2 + g'(x))e^(3x)
As
6xy - 3y^2+2y = 2y + 6xy-3y^2 + g'(x)
:. g'(x) = 0 => g(x) = K
Leading to the GS:
e^(3x) (2xy-y^2) = C