Does anyone know how to solve the following differential equation:
$$2y'\sin x + y\cos x = y^3(x\cos x - \sin x) $$
I tried dividing both sides by sine, then by cosine, which in either case brought me nowhere. I tried isolating $y'$ but only ended up getting a complex expression which is seemingly impossible to integrate. Are there any other approaches here?
Hint
Let $y=\frac 1 {\sqrt z}$, replace and simplify to get $$z'\sin (x) -z \cos (x)=\sin (x)-x \cos (x)$$ which looks much more pleasant to work.
I am sure that you can take it from here.