19.2.11 problem 11

Internal problem ID [3540]
Book : Differential equations and linear algebra, Stephen W. Goode, second edition, 2000
Section : 1.6, page 50
Problem number : 11
Date solved : Monday, January 27, 2025 at 07:41:09 AM
CAS classification : [_linear]

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

Solution by Maple

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

dsolve((1-y(x)*sin(x))-cos(x)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = \cos \left (x \right ) c_{1} +\sin \left (x \right ) \]

Solution by Mathematica

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

DSolve[(1-y[x]*Sin[x])-Cos[x]*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \sin (x)+c_1 \cos (x) \]