Internal problem ID [2689]
Book: Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section: Chapter 2. First-Order and Simple Higher-Order Differential Equations. Page
78
Problem number: 54.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {1+\cos \left (x \right ) y-\sin \left (x \right ) y^{\prime }=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve((1+y(x)*cos(x))-( sin(x))*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \left (-\cot \left (x \right )+c_{1} \right ) \sin \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.04 (sec). Leaf size: 15
DSolve[(1+y[x]*Cos[x])-( Sin[x])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\cos (x)+c_1 \sin (x) \\ \end{align*}