2.7 problem 7

Internal problem ID [4956]

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`]]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to \frac {e^{3 x}}{2}+c_1 e^x \]