2.11 problem 11

Internal problem ID [4589]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Further problems 24. page 1068
Problem number: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 20

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

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

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 22

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

\begin{align*} y(x)\to x \left (\frac {1}{2} x (x+6)-2 \log (x)+c_1\right ) \\ \end{align*}