2.10 problem 10

Internal problem ID [4959]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.3, Linear equations. Exercises. page 54
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.027 (sec). Leaf size: 15

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

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