12.22 problem 341

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 (x a +1\right ) y^{\prime }-y=-a} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 20

dsolve(x*(a*x+1)*diff(y(x),x)+a-y(x) = 0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\left (\frac {a}{x}+c_{1} \right ) x}{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*}