4.8 problem Problem 12.16

Internal problem ID [4691]

Book: Schaums Outline Differential Equations, 4th edition. Bronson and Costa. McGraw Hill 2014
Section: Chapter 12. VARIATION OF PARAMETERS. Supplementary Problems. page 109
Problem number: Problem 12.16.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime }-\frac {y}{x}-x^{2}=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to \frac {x^3}{2}+c_1 x \\ \end{align*}