2.16 problem 20

Internal problem ID [1664]

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

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\frac {y}{t}=\frac {1}{t^{2}}} \]

Solution by Maple

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

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

\[ y \left (t \right ) = \frac {\ln \left (t \right )+c_{1}}{t} \]

Solution by Mathematica

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

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

\[ y(t)\to \frac {\log (t)+c_1}{t} \]