Question #86242

Solve the following ordinary differential equation:
{y(1+(1/x))+cosy}dx +(x+logx-xsiny)dy=0

Expert's answer

Answer on Question #86242 – Math – Differential Equations

Question

Solve the following ordinary differential equation:


{y(1+1x)+cosy}dx+(x+logxxsiny)dy=0\left\{y \left(1 + \frac {1}{x}\right) + \cos y \right\} d x + (x + \log x - x \sin y) d y = 0


Solution


M(x,y)=y(1+1x)+cosy,My=1+1xsinyM (x, y) = y \left(1 + \frac {1}{x}\right) + \cos y, \frac {\partial M}{\partial y} = 1 + \frac {1}{x} - \sin yN(x,y)=x+logxxsiny,Nx=1+1xsinyN (x, y) = x + \log x - x \sin y, \frac {\partial N}{\partial x} = 1 + \frac {1}{x} - \sin yMy=Nx\frac {\partial M}{\partial y} = \frac {\partial N}{\partial x}


Exact Differential Equation


f(x,y)=M(x,y)dx=(y(1+1x)+cosy)dx=f (x, y) = \int M (x, y) d x = \int \left(y \left(1 + \frac {1}{x}\right) + \cos y\right) d x ==y(x+logx)+xcosy+g(y)= y (x + \log x) + x \cos y + g (y)fy=x+logxxsiny+ddy(g(y))=N(x,y)\frac {\partial f}{\partial y} = x + \log x - x \sin y + \frac {d}{d y} (g (y)) = N (x, y)x+logxxsiny+ddy(g(y))=x+logxxsinyx + \log x - x \sin y + \frac {d}{d y} (g (y)) = x + \log x - x \sin yddy(g(y))=0\frac {d}{d y} (g (y)) = 0g(y)=c1g (y) = c _ {1}f(x,y)=y(x+logx)+xcosy+c1=c2f (x, y) = y (x + \log x) + x \cos y + c _ {1} = c _ {2}


Finally, the solution of the ordinary differential equation is given by


f(x,y)=C,f (x, y) = C,


where f(x,y)=y(x+logx)+xcosyf(x,y) = y(x + \log x) + x\cos y, CC is an arbitrary real constant.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS