1.155 problem 156

Internal problem ID [8492]

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

CAS Maple gives this as type [_rational, _Bernoulli]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.165 (sec). Leaf size: 26

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

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