74.5.6 problem 6

Internal problem ID [15970]
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
Date solved : Tuesday, January 28, 2025 at 08:25:07 AM
CAS classification : [_linear]

\begin{align*} y^{\prime } t +y&=t^{2} \end{align*}

Solution by Maple

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

dsolve(t*diff(y(t),t)+y(t)=t^2,y(t), singsol=all)
 
\[ y = \frac {t^{3}+3 c_{1}}{3 t} \]

Solution by Mathematica

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

DSolve[t*D[y[t],t]+y[t]==t^2,y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to \frac {t^2}{3}+\frac {c_1}{t} \]