6.1 problem Exercise 12.1, page 103

Internal problem ID [4522]

Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 12, Miscellaneous Methods
Problem number: Exercise 12.1, page 103.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Bernoulli]

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

Solution by Maple

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

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

\begin{align*} y \left (x \right ) = -\frac {{\mathrm e}^{-x} \sqrt {2}\, \sqrt {{\mathrm e}^{x} x \left ({\mathrm e}^{2 x}+2 c_{1} \right )}}{2 x} y \left (x \right ) = \frac {{\mathrm e}^{-x} \sqrt {2}\, \sqrt {{\mathrm e}^{x} x \left ({\mathrm e}^{2 x}+2 c_{1} \right )}}{2 x} \end{align*}

Solution by Mathematica

Time used: 7.324 (sec). Leaf size: 66

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

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