5.1 problem 1.1-6 (a)

Internal problem ID [1954]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.1-6, page 7
Problem number: 1.1-6 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 10

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

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

Solution by Mathematica

Time used: 0.027 (sec). Leaf size: 18

DSolve[y'[t]==y[t]-1,y[t],t,IncludeSingularSolutions -> True]
 

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