Internal problem ID [13042]
Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell.
second edition. CRC Press. FL, USA. 2020
Section: Chapter 5. LINEAR FIRST ORDER EQUATIONS. Additional exercises. page
103
Problem number: 5.2 (f).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime } x^{2}+2 x y=\sin \left (x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(x^2*diff(y(x),x)+2*x*y(x)=sin(x),y(x), singsol=all)
\[ y = \frac {-\cos \left (x \right )+c_{1}}{x^{2}} \]
✓ Solution by Mathematica
Time used: 0.033 (sec). Leaf size: 16
DSolve[x^2*y'[x]+2*x*y[x]==Sin[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {-\cos (x)+c_1}{x^2} \]