5.1 problem 1

Internal problem ID [9706]

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.4-1. Equations with hyperbolic sine and cosine
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

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

Solution by Maple

Time used: 0.005 (sec). Leaf size: 828

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

\[ \text {Expression too large to display} \]

Solution by Mathematica

Time used: 8.164 (sec). Leaf size: 75

DSolve[y'[x]==y[x]^2-a^2+a*\[Lambda]*Sinh[\[Lambda]*x]-a^2*Sinh[\[Lambda]*x]^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to a \cosh (\lambda x)-\frac {\lambda e^{\frac {2 a \sinh (\lambda x)}{\lambda }}}{\int _1^{e^{x \lambda }}\frac {e^{\frac {a \left (K[1]^2-1\right )}{\lambda K[1]}}}{K[1]}dK[1]+c_1} \\ y(x)\to a \cosh (\lambda x) \\ \end{align*}