13.3 problem 3

Internal problem ID [12787]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 5. The Laplace Transform Method. Exercises 5.2, page 248
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }+2 y=4} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \left (y \left (0\right )-2\right ) {\mathrm e}^{-2 x}+2 \]

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 20

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

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