1.4 problem 4

Internal problem ID [4570]

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: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to x (x+c_1) \\ \end{align*}