Internal problem ID [3292]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 2
Problem number: 28.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \tan \left (x \right )=\cos \left (x \right )} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 10
dsolve(diff(y(x),x) = cos(x)-y(x)*tan(x),y(x), singsol=all)
\[ y \left (x \right ) = \left (c_{1} +x \right ) \cos \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.054 (sec). Leaf size: 12
DSolve[y'[x]==Cos[x]-y[x]*Tan[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to (x+c_1) \cos (x) \]