7.22 problem 22 (f)

Internal problem ID [13027]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Exercises section 1.9 page 133
Problem number: 22 (f).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+2 t y=4 \,{\mathrm e}^{-t^{2}}} \]

Solution by Maple

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

dsolve(diff(y(t),t)=-2*t*y(t)+4*exp(-t^2),y(t), singsol=all)
 

\[ y \left (t \right ) = \left (4 t +c_{1} \right ) {\mathrm e}^{-t^{2}} \]

Solution by Mathematica

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

DSolve[y'[t]==-2*t*y[t]+4*Exp[-t^2],y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to e^{-t^2} (4 t+c_1) \]