4.4.12 \(y(x) (a+b x)+x y'(x)=0\)

ODE
\[ y(x) (a+b x)+x y'(x)=0 \] ODE Classification

[_separable]

Book solution method
Separable ODE, Neither variable missing

Mathematica
cpu = 0.161988 (sec), leaf count = 19

\[\left \{\left \{y(x)\to c_1 x^{-a} e^{-b x}\right \}\right \}\]

Maple
cpu = 0.017 (sec), leaf count = 16

\[[y \left (x \right ) = \textit {\_C1} \,{\mathrm e}^{-b x} x^{-a}]\] Mathematica raw input

DSolve[(a + b*x)*y[x] + x*y'[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> C[1]/(E^(b*x)*x^a)}}

Maple raw input

dsolve(x*diff(y(x),x)+(b*x+a)*y(x) = 0, y(x))

Maple raw output

[y(x) = _C1*exp(-b*x)*x^(-a)]