Internal problem ID [2141]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition,
2015
Section: Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential
Equations. page 59
Problem number: Problem 12.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {1-\sin \left (x \right ) y-y^{\prime } \cos \left (x \right )=0} \]
✓ Solution by Maple
Time used: 0.0 (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 ) = \left (\tan \left (x \right )+c_{1} \right ) \cos \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.038 (sec). Leaf size: 13
DSolve[(1-y[x]*Sin[x])-Cos[x]*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \sin (x)+c_1 \cos (x) \\ \end{align*}