11.22 problem 313

Internal problem ID [3061]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 12

dsolve(x*(1+x)*diff(y(x),x) = (1-2*x)*y(x),y(x), singsol=all)
 

\[ y \relax (x ) = \frac {c_{1} x}{\left (x +1\right )^{3}} \]

Solution by Mathematica

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

DSolve[x(1+x)y'[x]==(1-2 x)y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {c_1 x}{(x+1)^3} \\ y(x)\to 0 \\ \end{align*}