Internal problem ID [3110]
Book: Differential equations with applications and historial notes, George F. Simmons,
1971
Section: Chapter 2, section 11, page 49
Problem number: 2(c).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {2 y x +\left (x^{2}+1\right ) y^{\prime }=\cot \left (x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 17
dsolve((1+x^2)*diff(y(x),x)+2*x*y(x)=cot(x),y(x), singsol=all)
\[ y \left (x \right ) = \frac {\ln \left (\sin \left (x \right )\right )+c_{1}}{x^{2}+1} \]
✓ Solution by Mathematica
Time used: 0.056 (sec). Leaf size: 19
DSolve[(1+x^2)*y'[x]+2*x*y[x]==Cot[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {\log (\sin (x))+c_1}{x^2+1} \]