1.22 problem 22

Internal problem ID [8359]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime }-y^{2}-y \sin \left (2 x \right )=\cos \left (2 x \right )} \]

Solution by Maple

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

dsolve(diff(y(x),x) - y(x)^2 -y(x)*sin(2*x) - cos(2*x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\sin \left (x \right ) \left (\operatorname {HeunC}\left (1, \frac {1}{2}, -\frac {1}{2}, -1, \frac {7}{8}, \frac {\cos \left (2 x \right )}{2}+\frac {1}{2}\right ) c_{1} +2 \cos \left (x \right ) \left (\cos \left (x \right ) \operatorname {HeunCPrime}\left (1, \frac {1}{2}, -\frac {1}{2}, -1, \frac {7}{8}, \frac {\cos \left (2 x \right )}{2}+\frac {1}{2}\right ) c_{1} +\operatorname {HeunCPrime}\left (1, -\frac {1}{2}, -\frac {1}{2}, -1, \frac {7}{8}, \frac {\cos \left (2 x \right )}{2}+\frac {1}{2}\right )\right )\right )}{c_{1} \cos \left (x \right ) \operatorname {HeunC}\left (1, \frac {1}{2}, -\frac {1}{2}, -1, \frac {7}{8}, \frac {\cos \left (2 x \right )}{2}+\frac {1}{2}\right )+\operatorname {HeunC}\left (1, -\frac {1}{2}, -\frac {1}{2}, -1, \frac {7}{8}, \frac {\cos \left (2 x \right )}{2}+\frac {1}{2}\right )} \]

Solution by Mathematica

Time used: 2.235 (sec). Leaf size: 111

DSolve[y'[x] - y[x]^2 -y[x]*Sin[2*x] - Cos[2*x]==0,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\begin{align*} y(x)\to \frac {\sec (x) \left (\sin (x) \int _1^{\cos (x)}\frac {e^{-K[1]^2}}{K[1]^2 \sqrt {K[1]^2-1}}dK[1]+c_1 \sin (x)+\frac {e^{-\cos ^2(x)} \tan (x)}{\sqrt {-\sin ^2(x)}}\right )}{\int _1^{\cos (x)}\frac {e^{-K[1]^2}}{K[1]^2 \sqrt {K[1]^2-1}}dK[1]+c_1} \\ y(x)\to \tan (x) \\ \end{align*}