8.25 problem 230

Internal problem ID [2978]

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]

Solve \begin {gather*} \boxed {\left (x +a \right ) y^{\prime }+b \,x^{2}+y=0} \end {gather*}

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 \relax (x ) = \frac {-\frac {b \,x^{3}}{3}+c_{1}}{a +x} \]

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]
 

\begin{align*} y(x)\to \frac {-b x^3+3 c_1}{3 (a+x)} \\ \end{align*}