Answer on Question #86242 – Math – Differential Equations
Question
Solve the following ordinary differential equation:
{y(1+x1)+cosy}dx+(x+logx−xsiny)dy=0
Solution
M(x,y)=y(1+x1)+cosy,∂y∂M=1+x1−sinyN(x,y)=x+logx−xsiny,∂x∂N=1+x1−siny∂y∂M=∂x∂N
Exact Differential Equation
f(x,y)=∫M(x,y)dx=∫(y(1+x1)+cosy)dx==y(x+logx)+xcosy+g(y)∂y∂f=x+logx−xsiny+dyd(g(y))=N(x,y)x+logx−xsiny+dyd(g(y))=x+logx−xsinydyd(g(y))=0g(y)=c1f(x,y)=y(x+logx)+xcosy+c1=c2
Finally, the solution of the ordinary differential equation is given by
f(x,y)=C,
where f(x,y)=y(x+logx)+xcosy, C is an arbitrary real constant.
Answer provided by https://www.AssignmentExpert.com