40.3.27 problem 26 (a)

Internal problem ID [6631]
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 : 26 (a)
Date solved : Monday, January 27, 2025 at 02:16:21 PM
CAS classification : [_linear]

\begin{align*} -y-x^{2} {\mathrm e}^{x}+x y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve((-y(x)-x^2*exp(x))+x*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = \left (c_1 +{\mathrm e}^{x}\right ) x \]

Solution by Mathematica

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

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