5.1 problem 1

Internal problem ID [543]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.6. Page 100
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\begin{align*} y \relax (x ) = 1-\sqrt {-x^{2}-3 x -c_{1}+1} \\ y \relax (x ) = 1+\sqrt {-x^{2}-3 x -c_{1}+1} \\ \end{align*}

Solution by Mathematica

Time used: 0.135 (sec). Leaf size: 47

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

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