2.25 problem 25

Internal problem ID [911]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. Linear first order. Section 2.1 Page 41
Problem number: 25.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.011 (sec). Leaf size: 16

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

\[ y \relax (x ) = \frac {\left ({\mathrm e}^{10 x}-1\right ) {\mathrm e}^{-7 x}}{10} \]

Solution by Mathematica

Time used: 0.05 (sec). Leaf size: 21

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

\begin{align*} y(x)\to \frac {1}{10} e^{-7 x} \left (e^{10 x}-1\right ) \\ \end{align*}