8.23 problem 228

Internal problem ID [2976]

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

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

\[ y \relax (x ) = -\ln \left (a +x \right ) a b +b x +c_{1} \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 19

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

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