7.1 problem 1.2-2 (a)

Internal problem ID [1967]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-2, page 12
Problem number: 1.2-2 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-y=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 2] \end {align*}

Solution by Maple

Time used: 0.008 (sec). Leaf size: 8

dsolve([diff(y(t),t)=y(t),y(0) = 2],y(t), singsol=all)
 

\[ y \relax (t ) = 2 \,{\mathrm e}^{t} \]

Solution by Mathematica

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

DSolve[{y'[t]==y[t],y[0]==2},y[t],t,IncludeSingularSolutions -> True]
 

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