2.11 problem 11

Internal problem ID [4452]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.3, Linear equations. Exercises. page 54
Problem number: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {t +y+1-y^{\prime }=0} \end {gather*}

Solution by Maple

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

dsolve((t+y(t)+1)-diff(y(t),t)=0,y(t), singsol=all)
 

\[ y \relax (t ) = -t -2+c_{1} {\mathrm e}^{t} \]

Solution by Mathematica

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

DSolve[(t+y[t]+1)-y'[t]==0,y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to -t+c_1 e^t-2 \\ \end{align*}