3.24 problem 78

Internal problem ID [2833]

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

CAS Maple gives this as type [_Abel]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 50

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

\[ c_{1}+\frac {{\mathrm e}^{-\frac {\left (a \,{\mathrm e}^{x}+\frac {1}{y \relax (x )}\right )^{2}}{2}} {\mathrm e}^{-x}}{a}+\frac {\erf \left (\frac {\left (a \,{\mathrm e}^{x}+\frac {1}{y \relax (x )}\right ) \sqrt {2}}{2}\right ) \sqrt {2}\, \sqrt {\pi }}{2} = 0 \]

Solution by Mathematica

Time used: 0.665 (sec). Leaf size: 78

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

\[ \text {Solve}\left [-i a e^x=\frac {2 e^{\frac {1}{2} \left (-i a e^x-\frac {i}{y(x)}\right )^2}}{\sqrt {2 \pi } \text {Erfi}\left (\frac {-i a e^x-\frac {i}{y(x)}}{\sqrt {2}}\right )+2 c_1},y(x)\right ] \]