26.5.9 problem 12

Internal problem ID [4283]
Book : Differential equations with applications and historial notes, George F. Simmons. Second edition. 1971
Section : Chapter 2, End of chapter, page 61
Problem number : 12
Date solved : Monday, January 27, 2025 at 08:48:24 AM
CAS classification : [_linear]

\begin{align*} y+x^{2}&=x y^{\prime } \end{align*}

Solution by Maple

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

dsolve((x^2+y(x))=x*diff(y(x),x),y(x), singsol=all)
 
\[ y \left (x \right ) = \left (x +c_{1} \right ) x \]

Solution by Mathematica

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

DSolve[(x^2+y[x])==x*D[y[x],x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x (x+c_1) \]