Internal problem ID [11650]
Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi.
2004.
Section: Chapter 2, section 2.3 (Linear equations). Exercises page 56
Problem number: 13.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {-y \cos \left (x \right )-\left (1+\sin \left (x \right )\right ) y^{\prime }=-\cos \left (x \right )^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 23
dsolve((cos(x)^2-y(x)*cos(x))-(1+sin(x))*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {\sin \left (x \right ) \cos \left (x \right )+2 c_{1} +x}{2+2 \sin \left (x \right )} \]
✓ Solution by Mathematica
Time used: 0.314 (sec). Leaf size: 25
DSolve[(Cos[x]^2-y[x]*Cos[x])-(1+Sin[x])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {x+\sin (x) \cos (x)+2 c_1}{2 \sin (x)+2} \]