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]

\[ \boxed {\left (t +1\right ) y+t y^{\prime }={\mathrm e}^{2 t}} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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