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]

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

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 \left (x \right ) = 1-\sqrt {-x^{2}-c_{1} -3 x +1} y \left (x \right ) = 1+\sqrt {-x^{2}-c_{1} -3 x +1} \end{align*}

Solution by Mathematica

Time used: 0.115 (sec). Leaf size: 51

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

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