40.4.2 problem 19 (c)

Internal problem ID [6642]
Book : Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section : Chapter 6. Equations of first order and first degree (Linear equations). Supplemetary problems. Page 39
Problem number : 19 (c)
Date solved : Monday, January 27, 2025 at 02:16:33 PM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

DSolve[D[y[x],x]-y[x]==x*y[x],y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 e^{\frac {1}{2} x (x+2)} \\ y(x)\to 0 \\ \end{align*}