3.12 problem 66

Internal problem ID [3330]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 3
Problem number: 66.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {2 x \,{\mathrm e}^{-x}+2 \,{\mathrm e}^{-x}-c_{1}}{2 x \,{\mathrm e}^{-x}-c_{1}} \]

Solution by Mathematica

Time used: 0.172 (sec). Leaf size: 30

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

\begin{align*} y(x)\to \frac {x+c_1 e^x+1}{x+c_1 e^x} \\ y(x)\to 1 \\ \end{align*}