Internal problem ID [10529]
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.6-3. Equations with
tangent.
Problem number: 31.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Riccati]
\[ \boxed {y^{\prime }-y^{2}-a \tan \left (\beta x \right ) y=a b \tan \left (\beta x \right )-b^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 81
dsolve(diff(y(x),x)=y(x)^2+a*tan(beta*x)*y(x)+a*b*tan(beta*x)-b^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {-\left (\sec \left (x \beta \right )^{2}\right )^{\frac {a}{2 \beta }} {\mathrm e}^{-2 b x}-b \left (\int \left (\sec \left (x \beta \right )^{2}\right )^{\frac {a}{2 \beta }} {\mathrm e}^{-2 b x}d x -c_{1} \right )}{\int \left (\sec \left (x \beta \right )^{2}\right )^{\frac {a}{2 \beta }} {\mathrm e}^{-2 b x}d x -c_{1}} \]
✓ Solution by Mathematica
Time used: 25.611 (sec). Leaf size: 408
DSolve[y'[x]==y[x]^2+a*Tan[\[Beta]*x]*y[x]+a*b*Tan[\[Beta]*x]-b^2,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {2^{-\frac {a}{\beta }} \cos ^{-\frac {a}{\beta }}(\beta x) \left (i b (a+2 i b+2 \beta ) \operatorname {Hypergeometric2F1}\left (1,-\frac {a-2 i b}{2 \beta },\frac {a+2 i b+2 \beta }{2 \beta },-e^{2 i x \beta }\right ) (\sin (2 \beta x) \csc (\beta x))^{a/\beta }-(a+2 i b) \left ((a+2 i b+2 \beta ) \left (e^{-i \beta x}+e^{i \beta x}\right )^{a/\beta } \left (1+a b \beta c_1 e^{2 b x} \cos ^{\frac {a}{\beta }}(\beta x)\right )-i b e^{2 i \beta x} \operatorname {Hypergeometric2F1}\left (1,-\frac {a-2 i b-2 \beta }{2 \beta },\frac {a+2 i b+4 \beta }{2 \beta },-e^{2 i x \beta }\right ) (\sin (2 \beta x) \csc (\beta x))^{a/\beta }\right )\right )}{(a+2 i b) \left (a \beta c_1 e^{2 b x} (a+2 i b+2 \beta ) \cos ^{\frac {a}{\beta }}(\beta x)-i e^{2 i \beta x} \operatorname {Hypergeometric2F1}\left (1,-\frac {a-2 i b-2 \beta }{2 \beta },\frac {a+2 i b+4 \beta }{2 \beta },-e^{2 i x \beta }\right )\right )-i (a+2 i b+2 \beta ) \operatorname {Hypergeometric2F1}\left (1,-\frac {a-2 i b}{2 \beta },\frac {a+2 i b+2 \beta }{2 \beta },-e^{2 i x \beta }\right )} \\ y(x)\to -b \\ \end{align*}