Internal problem ID [561]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.6. Page 100
Problem number: 26.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }-y=-1+{\mathrm e}^{2 x}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(diff(y(x),x) = -1+exp(2*x)+y(x),y(x), singsol=all)
\[ y \left (x \right ) = {\mathrm e}^{2 x}+1+{\mathrm e}^{x} c_{1} \]
✓ Solution by Mathematica
Time used: 0.047 (sec). Leaf size: 18
DSolve[y'[x] == -1+Exp[2*x]+y[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to e^{2 x}+c_1 e^x+1 \]