Final answer to the problem
Step-by-step Solution
Learn how to solve problems step by step online. Solve the differential equation xycos(x)dx+(xsin(x)+cos(x)y)dy=0. The differential equation xy\cos\left(x\right)\cdot dx+\left(x\sin\left(x\right)+\cos\left(x\right)+y\right)dy=0 is exact, since it is written in the standard form M(x,y)dx+N(x,y)dy=0, where M(x,y) and N(x,y) are the partial derivatives of a two-variable function f(x,y) and they satisfy the test for exactness: \displaystyle\frac{\partial M}{\partial y}=\frac{\partial N}{\partial x}. In other words, their second partial derivatives are equal. The general solution of the differential equation is of the form f(x,y)=C. Using the test for exactness, we check that the differential equation is exact. Integrate M(x,y) with respect to x to get. Now take the partial derivative of xy\sin\left(x\right)+y\cos\left(x\right) with respect to y to get.