2.11 problem 11

Internal problem ID [4588]

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]

\[ \boxed {-y+y^{\prime } x -x^{3}-3 x^{2}+2 x=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.028 (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*}