1.9 problem 9

Internal problem ID [1878]

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

CAS Maple gives this as type [_separable]

\[ \boxed {\tan \left (x \right ) y^{\prime }-y-1=0} \]

Solution by Maple

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

dsolve(diff(y(x),x)*tan(x)-y(x)=1,y(x), singsol=all)
 

\[ y \left (x \right ) = \left (-\csc \left (x \right )+c_{1} \right ) \sin \left (x \right ) \]

Solution by Mathematica

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

DSolve[y'[x]*Tan[x]-y[x]==1,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -1+c_1 \sin (x) \\ y(x)\to -1 \\ \end{align*}