2.1 problem 1.1-3 (a)

Internal problem ID [1945]

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

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

dsolve([diff(y(t),t)=2*y(t)-4,y(0) = 5],y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 14

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

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