36.2.7 problem 7

Internal problem ID [6300]
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
Date solved : Monday, January 27, 2025 at 01:55:27 PM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

Time used: 0.002 (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.041 (sec). Leaf size: 21

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