74.5.4 problem 4

Internal problem ID [15968]
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 : 4
Date solved : Tuesday, January 28, 2025 at 08:25:04 AM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.091 (sec). Leaf size: 17

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