74.8.21 problem 21

Internal problem ID [16157]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Review exercises, page 80
Problem number : 21
Date solved : Tuesday, January 28, 2025 at 08:53:03 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

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