15.1.10 problem 10

Internal problem ID [2850]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 5, page 21
Problem number : 10
Date solved : Monday, January 27, 2025 at 06:19:53 AM
CAS classification : [_separable]

\begin{align*} y+3+\cot \left (x \right ) y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve((y(x)+3)+cot(x)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = \cos \left (x \right ) c_1 -3 \]

Solution by Mathematica

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

DSolve[(y[x]+3)+Cot[x]*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -3+c_1 \cos (x) \\ y(x)\to -3 \\ \end{align*}