1.7 problem 7

Internal problem ID [454]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.1. Page 40
Problem number: 7.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {2 y t +y^{\prime }-2 t \,{\mathrm e}^{-t^{2}}=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(t)\to e^{-t^2} \left (t^2+c_1\right ) \\ \end{align*}