8.48 problem 51

Internal problem ID [2080]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 12, page 46
Problem number: 51.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {2 y+y^{\prime }=3 \,{\mathrm e}^{2 x}} \] With initial conditions \begin {align*} [y \left (0\right ) = 1] \end {align*}

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {3 \,{\mathrm e}^{2 x}}{4}+\frac {{\mathrm e}^{-2 x}}{4} \]

Solution by Mathematica

Time used: 0.054 (sec). Leaf size: 23

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

\[ y(x)\to \frac {1}{4} e^{-2 x} \left (3 e^{4 x}+1\right ) \]