8.25 problem 230

Internal problem ID [3486]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 8
Problem number: 230.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {\left (x +a \right ) y^{\prime }+y=-b \,x^{2}} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {-\frac {b \,x^{3}}{3}+c_{1}}{x +a} \]

Solution by Mathematica

Time used: 0.033 (sec). Leaf size: 25

DSolve[(a+x) y'[x]+b x^2+y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

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