4.2 problem 2

Internal problem ID [55]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.5. Linear first order equations. Page 56
Problem number: 2.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 11

dsolve([-2*y(x)+diff(y(x),x) = 3*exp(2*x),y(0) = 0],y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.041 (sec). Leaf size: 13

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

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