38.1.3 problem 3

Internal problem ID [6420]
Book : Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section : Program 24. First order differential equations. Test excercise 24. page 1067
Problem number : 3
Date solved : Monday, January 27, 2025 at 02:01:10 PM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

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

Solution by Mathematica

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

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