7.10 problem 14

Internal problem ID [12695]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.3.3, page 71
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to x (-x+c_1) \]