Solving Linear Differential Equations of First Order
Solve the dif...
Question
Solve the differential equation dydx+2xy=y.
Open in App
Solution
Given that, dydx+2xy=y ⇒dydx+2xy−y=0 ⇒dydx+(2x−1)y=0 Which is a linear differential equation. On comparing it with dydx+Py=Q, we getP=(2x−1),Q=0 IF=e∫pdx=e∫(2x−1)dx =e⎛⎜⎝2x22−x⎞⎟⎠ The complete solution is y.ex2−x=∫Q.ex2−x=0+C ⇒y.ex2−x=0+C ⇒y=Cex−x2