First Order ODE/x sine (y over x) y' = y sine (y over x) + x

Theorem
The first order ordinary differential equation:


 * $(1): \quad x \sin \dfrac y x \dfrac {\d y} {\d x} = y \sin \dfrac y x + x$

is a homogeneous differential equation with solution:


 * $\cos \dfrac y x + \ln C x = 0$

Proof
Let:
 * $\map M {x, y} = y \sin \dfrac y x + x$
 * $\map N {x, y} = x \sin \dfrac y x$

Put $t x, t y$ for $x, y$:

Thus both $M$ and $N$ are homogeneous functions of degree $1$.

Thus, by definition, $(1)$ is a homogeneous differential equation.

By Solution to Homogeneous Differential Equation, its solution is:
 * $\ds \ln x = \int \frac {\d z} {\map f {1, z} - z} + C$

where:
 * $\map f {x, y} = \dfrac {y \sin \dfrac y x + x} {x \sin \dfrac y x}$

Thus: