1.13 problem 13

Internal problem ID [2555]

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]

Solve \begin {gather*} \boxed {\cot \relax (x ) y^{\prime }-y=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 2] \end {align*}

Solution by Maple

Time used: 0.012 (sec). Leaf size: 10

dsolve([cot(x)*diff(y(x),x)=y(x),y(0) = 2],y(x), singsol=all)
 

\[ y \relax (x ) = \frac {2}{\cos \relax (x )} \]

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]
 

\begin{align*} y(x)\to 2 \sec (x) \\ \end{align*}