Solve the ODE by Linear ODE method:
x dy/dx + 3y = 6x
x "\\frac{dy}{dx}" + 3y = 6x
Expressing the ODE in the form of linear differential equation, "\\frac{dy}{dx} + py= q" , where p, q are constants or function of x only we get
"\\frac{dy}{dx} + \\frac{3}{x}y= 6"
Integrating factor is "e^{\\int {\\frac{3}{x}dx}}= e^{3ln{x}}=e^{ln{x\u00b3}}= x\u00b3"
Multiplying both sides by integrating factor , x³
"x\u00b3(\\frac{dy}{dx} + \\frac{3}{x}y)= 6x\u00b3"
=> "x\u00b3\\frac{dy}{dx} + {3x\u00b2}y)= 6x\u00b3"
=> "x\u00b3dy+ {3x\u00b2}ydx= 6x\u00b3dx"
=> "d{(x\u00b3y)} = 6x\u00b3dx"
Integrating both sides
"\\int d{(x\u00b3y)} = 6\\int x\u00b3dx+C'" , where "C'" is integration constant.
=> "x\u00b3y = 6. \\frac{x\u2074}{4} + C'"
=> "x\u00b3 y = \\frac{3x\u2074}{2}+ C'"
=> "2x\u00b3y-3x\u2074 = 2C'"
=> "2x\u00b3y-3x\u2074 = C" where "C = 2C'"
This is the solution of the given differential equation.
Comments
Leave a comment