23.1.20 problem 2(j)

Internal problem ID [4110]
Book : Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section : Chapter 2. First order equations. Exercises at page 14
Problem number : 2(j)
Date solved : Monday, January 27, 2025 at 08:09:06 AM
CAS classification : [_separable]

\begin{align*} 2 \sin \left (3 x \right ) \sin \left (2 y\right ) y^{\prime }-3 \cos \left (3 x \right ) \cos \left (2 y\right )&=0 \end{align*}

With initial conditions

\begin{align*} y \left (\frac {\pi }{12}\right )&=\frac {\pi }{8} \end{align*}

Solution by Maple

Time used: 0.374 (sec). Leaf size: 21

dsolve([2*sin(3*x)*sin(2*y(x))*diff(y(x),x)-3*cos(3*x)*cos(2*y(x))=0,y(1/12*Pi) = 1/8*Pi],y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {\pi }{4}-\frac {\arctan \left (\frac {1}{\sqrt {1-2 \cos \left (6 x \right )}}\right )}{2} \]

Solution by Mathematica

Time used: 6.682 (sec). Leaf size: 18

DSolve[{2*Sin[3*x]*Sin[2*y[x]]*D[y[x],x]-3*Cos[3*x]*Cos[2*y[x]]==0,y[Pi/12]==Pi/8},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {1}{2} \arccos \left (\frac {1}{2} \csc (3 x)\right ) \]