2.11 problem 11

Internal problem ID [4960]

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`]]

\[ \boxed {y-y^{\prime }=-t -1} \]

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 \left (t \right ) = -t -2+c_{1} {\mathrm e}^{t} \]

Solution by Mathematica

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

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

\[ y(t)\to -t+c_1 e^t-2 \]