1.10 problem 10

Internal problem ID [1879]

Book: Differential Equations, Nelson, Folley, Coral, 3rd ed, 1964
Section: Exercis 5, page 21
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \relax (x ) = c_{1} \cos \relax (x )-3 \]

Solution by Mathematica

Time used: 0.064 (sec). Leaf size: 17

DSolve[(y[x]+3)+Cot[x]*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -3+c_1 \cos (x) \\ y(x)\to -3 \\ \end{align*}