1.159 problem 160

Internal problem ID [8496]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 160.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, _Bernoulli]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

DSolve[(x^2-4)*y'[x] + (x+2)*y[x]^2 - 4*y[x]==0,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*}