Internal problem ID [3064]
Book: Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section: Chapter 11.3, page 316
Problem number: 13.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {\cot \left (x \right ) y^{\prime }-y=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 2] \end {align*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 8
dsolve([cot(x)*diff(y(x),x)=y(x),y(0) = 2],y(x), singsol=all)
\[ y \left (x \right ) = 2 \sec \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.041 (sec). Leaf size: 9
DSolve[{Cot[x]*y'[x]==y[x],y[0]==2},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to 2 \sec (x) \]