6.23 problem 23

Internal problem ID [590]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 23.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {\left (t +1\right ) y+t y^{\prime }-{\mathrm e}^{2 t}=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.056 (sec). Leaf size: 27

DSolve[(1+t)*y[t]+t*y'[t] == Exp[2*t],y[t],t,IncludeSingularSolutions -> True]
 

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