5.29 problem 29

Internal problem ID [14258]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number: 29.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }+2 t y=2 t} \] With initial conditions \begin {align*} [y \left (0\right ) = -1] \end {align*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 14

dsolve([diff(y(t),t)+2*t*y(t)=2*t,y(0) = -1],y(t), singsol=all)
 

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

Solution by Mathematica

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

DSolve[{y'[t]+2*t*y[t]==2*t,{y[0]==-1}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to 1-2 e^{-t^2} \]