2.6 problem 6

Internal problem ID [1654]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 9
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.041 (sec). Leaf size: 24

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

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