11.13 problem 304

Internal problem ID [3560]

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

CAS Maple gives this as type [_rational, _Bernoulli]

\[ \boxed {\left (-x^{2}+4\right ) y^{\prime }+4 y-\left (2+x \right ) y^{2}=0} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {x -2}{\ln \left (2+x \right ) x +c_{1} x +2 \ln \left (2+x \right )+2 c_{1}} \]

Solution by Mathematica

Time used: 0.214 (sec). Leaf size: 32

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

\begin{align*} y(x)\to \frac {2-x}{(x+2) (-\log (x+2)+c_1)} y(x)\to 0 \end{align*}