1.3 problem 3

Internal problem ID [5077]

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.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }+2 y={\mathrm e}^{3 x}} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {\left ({\mathrm e}^{5 x}+5 c_{1} \right ) {\mathrm e}^{-2 x}}{5} \]

Solution by Mathematica

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

DSolve[y'[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} \]