5.24 problem 24

Internal problem ID [102]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.6, Substitution methods and exact equations. Page 74
Problem number: 24.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Bernoulli]

Solve \begin {gather*} \boxed {y^{3} {\mathrm e}^{-2 x}+2 y^{\prime } x -2 y x=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.332 (sec). Leaf size: 41

DSolve[y[x]^3/Exp[2*x]+2*x*y'[x] == 2*x*y[x],y[x],x,IncludeSingularSolutions -> True]
 

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