4.5.33 \((a+x) y'(x)+b x^2+y(x)=0\)

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

[_linear]

Book solution method
Linear ODE

Mathematica
cpu = 0.173737 (sec), leaf count = 25

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

Maple
cpu = 0.007 (sec), leaf count = 18

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

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

Mathematica raw output

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

Maple raw input

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

Maple raw output

[y(x) = (-1/3*b*x^3+_C1)/(a+x)]