5.6 problem 6

Internal problem ID [14235]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.04 (sec). Leaf size: 19

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

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