Internal problem ID [3597]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 12
Problem number: 341.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {x \left (a x +1\right ) y^{\prime }-y=-a} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 17
dsolve(x*(a*x+1)*diff(y(x),x)+a-y(x) = 0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {c_{1} x +a}{a x +1} \]
✓ Solution by Mathematica
Time used: 0.036 (sec). Leaf size: 24
DSolve[x(1+a x)y'[x]+a-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {a+c_1 x}{a x+1} \\ y(x)\to a \\ \end{align*}