63.5.8 problem 2(b)

Internal problem ID [13082]
Book : A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section : Chapter 1, First order differential equations. Section 1.4.1. Integrating factors. Exercises page 41
Problem number : 2(b)
Date solved : Tuesday, January 28, 2025 at 04:51:43 AM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

Time used: 0.000 (sec). Leaf size: 15

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

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 21

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