1.4 problem 1(d)

Internal problem ID [2496]

Book: Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section: Exercises, page 14
Problem number: 1(d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\begin{align*} y \left (x \right ) = -\frac {\sqrt {-2 x^{2}+5 \ln \left (1+2 x \right )+4 c_{1} -2 x}}{2} \\ y \left (x \right ) = \frac {\sqrt {-2 x^{2}+5 \ln \left (1+2 x \right )+4 c_{1} -2 x}}{2} \\ \end{align*}

Solution by Mathematica

Time used: 0.109 (sec). Leaf size: 69

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

\begin{align*} y(x)\to -\frac {1}{2} \sqrt {-2 x (x+1)+5 \log (2 x+1)-\frac {1}{2}+8 c_1} \\ y(x)\to \frac {1}{2} \sqrt {-2 x (x+1)+5 \log (2 x+1)-\frac {1}{2}+8 c_1} \\ \end{align*}