15.1.9 problem 9

Internal problem ID [2849]
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 : 9
Date solved : Monday, January 27, 2025 at 06:19:51 AM
CAS classification : [_separable]

\begin{align*} y^{\prime } \tan \left (x \right )-y&=1 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)*tan(x)-y(x)=1,y(x), singsol=all)
 
\[ y = c_1 \sin \left (x \right )-1 \]

Solution by Mathematica

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

DSolve[D[y[x],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*}