Divide both sides of the equation by the multiplier of the derivative of y':
$$\csc^{2}{\left(x \right)}$$
We get the equation:
y' = $$- \frac{\sec{\left(x \right)}}{\csc^{2}{\left(x \right)}}$$
This differential equation has the form:
y' = f(x)
It is solved by multiplying both sides of the equation by dx:
y'dx = f(x)dx, or
d(y) = f(x)dx
And by using the integrals of the both equation sides:
∫ d(y) = ∫ f(x) dx
or
y = ∫ f(x) dx
In this case,
f(x) = $$- \frac{\sec{\left(x \right)}}{\csc^{2}{\left(x \right)}}$$
Consequently, the solution will be
y = $$\int \left(- \frac{\sec{\left(x \right)}}{\csc^{2}{\left(x \right)}}\right)\, dx$$
Detailed solution of the integralor
y = $$\frac{\log{\left(\sin{\left(x \right)} - 1 \right)}}{2} - \frac{\log{\left(\sin{\left(x \right)} + 1 \right)}}{2} + \sin{\left(x \right)}$$ + C1
where C1 is constant, independent of x