8.1 problem 1

Internal problem ID [4864]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 13. Miscellaneous problems. page 466
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {x^{2} y^{\prime }-x y=\frac {1}{x}} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 13

dsolve(x^2*diff(y(x),x)-x*y(x)=1/x,y(x), singsol=all)
 

\[ y \left (x \right ) = \left (-\frac {1}{3 x^{3}}+c_{1} \right ) x \]

Solution by Mathematica

Time used: 0.03 (sec). Leaf size: 17

DSolve[x^2*y'[x]-x*y[x]==1/x,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -\frac {1}{3 x^2}+c_1 x \]