Given y(x+y)dx + (x+2y-1) dy = 0
Comparing with Mdx+Ndy=0;
where M=y(x+y) , N=x+2y-1.
∴∂y∂M=x+2yand∂x∂N=1
It is a non exact differential equation beacuse ∂y∂M=∂x∂N
Integrating factor:
exp(∫N∂x∂M−∂y∂Ndx)=exp∫1dxI.F=exp(x)
Multiplying I.F throughout the differential equation.
exp(x)y(x+y)dx+exp(x)(x+2y-1)dy=0
Now this differential equation is exact.
General solution of a exact differential equation is given by
∫Mdx(consideringyconstant)+∫Ndy(termwhichdonotcontainx)=constant
∫(exp(x)xy+exp(x)y2)+∫(0)dy=constant
y∫exp(x)x+y2∫exp(x)=constant(k)y⋅exp(x)⋅(x−1)+y2⋅exp(x)=k
Thus general solution of above differential equation is
y2⋅exp(x)+y⋅exp(x)⋅(x−1)=k
Comments
Leave a comment