Internal problem ID [3198]
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 {y \cos \left (x \right )-\sin \left (x \right ) y^{\prime }=-1} \]
✓ 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.042 (sec). Leaf size: 15
DSolve[(1+y[x]*Cos[x])-( Sin[x])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\cos (x)+c_1 \sin (x) \]