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]

\[ \boxed {y+3+\cot \left (x \right ) y^{\prime }=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 13

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

\[ y \left (x \right ) = \left (-3 \sec \left (x \right )+c_{1} \right ) \cos \left (x \right ) \]

Solution by Mathematica

Time used: 0.057 (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*}