3.13 problem 13

Internal problem ID [9674]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 1, section 1.2. Riccati Equation. subsection 1.2.3. Equations Containing Exponential Functions
Problem number: 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime }-{\mathrm e}^{\lambda x} y^{2}-a \,{\mathrm e}^{\mu x} y-a \lambda \,{\mathrm e}^{\left (-\lambda +\mu \right ) x}=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 2.058 (sec). Leaf size: 82

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

\begin{align*} y(x)\to e^{\lambda (-x)} \left (-\lambda -\frac {\mu e^{\frac {a e^{\mu x}}{\mu }}}{-\operatorname {ExpIntegralE}\left (\frac {\lambda +\mu }{\mu },-\frac {a e^{x \mu }}{\mu }\right )+c_1 \left (e^{\mu x}\right )^{\lambda /\mu }}\right ) \\ y(x)\to \lambda \left (-e^{\lambda (-x)}\right ) \\ \end{align*}