10.6.17 problem 17

Internal problem ID [1234]
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
Date solved : Monday, January 27, 2025 at 04:47:00 AM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }&={\mathrm e}^{2 x}+3 y \end{align*}

Solution by Maple

Time used: 0.000 (sec). Leaf size: 15

dsolve(diff(y(x),x) = exp(2*x)+3*y(x),y(x), singsol=all)
 
\[ y = \left ({\mathrm e}^{x} c_1 -1\right ) {\mathrm e}^{2 x} \]

Solution by Mathematica

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

DSolve[D[y[x],x]== Exp[2*x]+3*y[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to e^{2 x} \left (-1+c_1 e^x\right ) \]