6.17 problem 17

Internal problem ID [584]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 17.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {y^{\prime }-{\mathrm e}^{2 x}-3 y=0} \end {gather*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 17

dsolve(diff(y(x),x) = exp(2*x)+3*y(x),y(x), singsol=all)
 

\[ y \relax (x ) = \left (-{\mathrm e}^{-x}+c_{1}\right ) {\mathrm e}^{3 x} \]

Solution by Mathematica

Time used: 0.044 (sec). Leaf size: 19

DSolve[y'[x]== Exp[2*x]+3*y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to e^{2 x} \left (-1+c_1 e^x\right ) \\ \end{align*}