Exercise
$\left(y+x\cot\frac{y}{x}\right)dx-xdy=0$
Step-by-step Solution
Learn how to solve separable differential equations problems step by step online. Solve the differential equation (y+xcot(y/x))dx-xdy=0. We can identify that the differential equation \left(y+x\cot\left(\frac{y}{x}\right)\right)dx-x\cdot dy=0 is homogeneous, 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 both are homogeneous functions of the same degree. Use the substitution: y=ux. Expand and simplify. Integrate both sides of the differential equation, the left side with respect to u, and the right side with respect to x.
Solve the differential equation (y+xcot(y/x))dx-xdy=0
Final answer to the exercise
$\ln\left(\cos\left(\frac{y}{x}\right)\right)=-\ln\left(x\right)+C_0$