Internal problem ID [6571]
Book: First order enumerated odes
Section: section 1
Problem number: 8.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, class A]]
Solve \begin {gather*} \boxed {y^{\prime }-x a -b y=0} \end {gather*}
✓ Solution by Maple
Time used: 0.001 (sec). Leaf size: 24
dsolve(diff(y(x),x)=a*x+b*y(x),y(x), singsol=all)
\[ y \relax (x ) = -\frac {a x}{b}-\frac {a}{b^{2}}+{\mathrm e}^{b x} c_{1} \]
✓ Solution by Mathematica
Time used: 0.055 (sec). Leaf size: 25
DSolve[y'[x]==a*x+b*y[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {a b x+a}{b^2}+c_1 e^{b x} \\ \end{align*}