1.349 problem 350

Internal problem ID [7929]

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

CAS Maple gives this as type [`y=_G(x,y')`]

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

Solution by Maple

Time used: 0.125 (sec). Leaf size: 270

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

\begin{align*} y \left (x \right ) = \arctan \left (-\frac {2 \,{\mathrm e}^{x}}{{\mathrm e}^{x} \cos \left (x \right )+{\mathrm e}^{x} \sin \left (x \right )+2 c_{1}}, \frac {\sqrt {\left (2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}+4 c_{1}^{2}+{\mathrm e}^{2 x}\right ) \left (2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}-3 \,{\mathrm e}^{2 x}+4 c_{1}^{2}\right )}}{2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}+4 c_{1}^{2}+{\mathrm e}^{2 x}}\right ) \\ y \left (x \right ) = \arctan \left (-\frac {2 \,{\mathrm e}^{x}}{{\mathrm e}^{x} \cos \left (x \right )+{\mathrm e}^{x} \sin \left (x \right )+2 c_{1}}, -\frac {\sqrt {\left (2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}+4 c_{1}^{2}+{\mathrm e}^{2 x}\right ) \left (2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}-3 \,{\mathrm e}^{2 x}+4 c_{1}^{2}\right )}}{2 \cos \left (x \right ) \sin \left (x \right ) {\mathrm e}^{2 x}+4 c_{1} \sin \left (x \right ) {\mathrm e}^{x}+4 \cos \left (x \right ) c_{1} {\mathrm e}^{x}+4 c_{1}^{2}+{\mathrm e}^{2 x}}\right ) \\ \end{align*}

Solution by Mathematica

Time used: 2.014 (sec). Leaf size: 56

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

\begin{align*} y(x)\to -\csc ^{-1}\left (\frac {1}{2} \left (\sin (x)+\cos (x)+2 c_1 e^{-x}\right )\right ) \\ y(x)\to -\csc ^{-1}\left (\frac {1}{2} \left (\sin (x)+\cos (x)+2 c_1 e^{-x}\right )\right ) \\ y(x)\to 0 \\ \end{align*}