Internal problem ID [3278]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 1
Problem number: 14.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \cot \left (x \right )=1} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(diff(y(x),x) = 1-y(x)*cot(x),y(x), singsol=all)
\[ y \left (x \right ) = -\cot \left (x \right )+\csc \left (x \right ) c_{1} \]
✓ Solution by Mathematica
Time used: 0.04 (sec). Leaf size: 15
DSolve[y'[x]==1-y[x]*Cot[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\cot (x)+c_1 \csc (x) \]