Internal problem ID [2143]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition,
2015
Section: Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential
Equations. page 59
Problem number: Problem 14.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, class A]]
Solve \begin {gather*} \boxed {y^{\prime }+\alpha y-{\mathrm e}^{\beta x}=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 24
dsolve(diff(y(x),x)+alpha*y(x)=exp(beta*x),y(x), singsol=all)
\[ y \relax (x ) = \left (\frac {{\mathrm e}^{x \left (\alpha +\beta \right )}}{\alpha +\beta }+c_{1}\right ) {\mathrm e}^{-\alpha x} \]
✓ Solution by Mathematica
Time used: 0.061 (sec). Leaf size: 31
DSolve[y'[x]+\[Alpha]*y[x]==Exp[\[Beta]*x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {e^{\alpha (-x)} \left (e^{x (\alpha +\beta )}+c_1 (\alpha +\beta )\right )}{\alpha +\beta } \\ \end{align*}