4.5.31 \((a+x) y'(x)=b x\)

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

[_quadrature]

Book solution method
Separable ODE, Dependent variable missing

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

\[\{\{y(x)\to -a b \log (a+x)+b x+c_1\}\}\]

Maple
cpu = 0.008 (sec), leaf count = 17

\[[y \left (x \right ) = -\ln \left (a +x \right ) a b +b x +\textit {\_C1}]\] Mathematica raw input

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

Mathematica raw output

{{y[x] -> b*x + C[1] - a*b*Log[a + x]}}

Maple raw input

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

Maple raw output

[y(x) = -ln(a+x)*a*b+b*x+_C1]