60.2.97 problem 673

Internal problem ID [10684]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 1, Additional non-linear first order
Problem number : 673
Date solved : Monday, January 27, 2025 at 09:26:13 PM
CAS classification : [`y=_G(x,y')`]

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

Solution by Maple

Time used: 0.010 (sec). Leaf size: 17

dsolve(diff(y(x),x) = 1/2*(-sin(2*y(x))+cos(2*y(x))*x^2+x^2)/x,y(x), singsol=all)
 
\[ y = \arctan \left (\frac {x^{3}+6 c_{1}}{3 x}\right ) \]

Solution by Mathematica

Time used: 1.550 (sec). Leaf size: 57

DSolve[D[y[x],x] == (x^2/2 + (x^2*Cos[2*y[x]])/2 - Sin[2*y[x]]/2)/x,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \arctan \left (\frac {2 x^3+3 c_1}{6 x}\right ) \\ y(x)\to -\frac {1}{2} \pi \sqrt {\frac {1}{x^2}} x \\ y(x)\to \frac {1}{2} \pi \sqrt {\frac {1}{x^2}} x \\ \end{align*}