1.1 problem 1

Internal problem ID [4567]

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

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to \frac {1}{2} x (x+4)-3 \log (x)+c_1 \\ \end{align*}