Internal problem ID [14263]
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: 34.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {-x+x^{\prime }=1+t} \] With initial conditions \begin {align*} [x \left (0\right ) = 2] \end {align*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 13
dsolve([diff(x(t),t)=x(t)+t+1,x(0) = 2],x(t), singsol=all)
\[ x \left (t \right ) = -t -2+4 \,{\mathrm e}^{t} \]
✓ Solution by Mathematica
Time used: 0.067 (sec). Leaf size: 15
DSolve[{x'[t]==x[t]+t+1,{x[0]==2}},x[t],t,IncludeSingularSolutions -> True]
\[ x(t)\to -t+4 e^t-2 \]