3.1 problem 23 (a)

Internal problem ID [5262]

Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section: Chapter 5. Equations of first order and first degree (Exact equations). Supplemetary problems. Page 33
Problem number: 23 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

\[ y = \frac {\frac {x^{3}}{3}+c_{1}}{x} \]

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 19

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

\[ y(x)\to \frac {x^2}{3}+\frac {c_1}{x} \]