7.11 problem 11

Internal problem ID [12696]

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: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve([diff(y(t),t)-2*y(t)/t=2*t^2,y(-2) = 4],y(t), singsol=all)
 

\[ y \left (t \right ) = 2 t^{3}+5 t^{2} \]

Solution by Mathematica

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

DSolve[{y'[t]-2*y[t]/t==2*t^2,{y[-2]==4}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to t^2 (2 t+5) \]