2.7 problem 7

Internal problem ID [4448]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.3, Linear equations. Exercises. page 54
Problem number: 7.
ODE order: 1.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime }-y-{\mathrm e}^{3 x}=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x)-y(x)-exp(3*x)=0,y(x), singsol=all)
 

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

Solution by Mathematica

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

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

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