1.20 problem 19

Internal problem ID [2774]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 1
Problem number: 19.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime }+\csc \relax (x )+2 \cot \relax (x ) y=0} \end {gather*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 21

dsolve(diff(y(x),x)+csc(x)+2*y(x)*cot(x) = 0,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {-2 \cos \relax (x )-2 c_{1}}{-1+\cos \left (2 x \right )} \]

Solution by Mathematica

Time used: 0.049 (sec). Leaf size: 15

DSolve[y'[x]+Csc[x]+2*y[x]*Cot[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \csc ^2(x) (\cos (x)+c_1) \\ \end{align*}