5.9 problem 12

Internal problem ID [2613]

Book: Differential equations with applications and historial notes, George F. Simmons, 1971
Section: Chapter 2, End of chapter, page 61
Problem number: 12.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve((x^2+y(x))=x*diff(y(x),x),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^2+y[x])==x*y'[x],y[x],x,IncludeSingularSolutions -> True]
 

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