Internal problem ID [2056]
Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath.
Boston. 1964
Section: Exercise 12, page 46
Problem number: 25.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \cot \left (x \right )=-x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(diff(y(x),x)+x+y(x)*cot(x)=0,y(x), singsol=all)
\[ y \left (x \right ) = -1+\cot \left (x \right ) x +\csc \left (x \right ) c_{1} \]
✓ Solution by Mathematica
Time used: 0.058 (sec). Leaf size: 16
DSolve[y'[x]+x+y[x]*Cot[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x \cot (x)+c_1 \csc (x)-1 \]