2.331 problem 907

Internal problem ID [8487]

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

CAS Maple gives this as type [[_1st_order, _with_symmetry_[F(x),G(x)]], _Riccati]

Solve \begin {gather*} \boxed {y^{\prime }-\frac {-2 \cos \relax (x ) x +2 x^{2} \sin \relax (x )+2 x +2 y^{2}+4 y \cos \relax (x ) x -4 y x +x^{2} \cos \left (2 x \right )+3 x^{2}-4 \cos \relax (x ) x^{2}}{2 x}=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 22

dsolve(diff(y(x),x) = 1/2*(-2*cos(x)*x+2*sin(x)*x^2+2*x+2*y(x)^2+4*y(x)*cos(x)*x-4*x*y(x)+x^2*cos(2*x)+3*x^2-4*x^2*cos(x))/x,y(x), singsol=all)
 

\[ y \relax (x ) = -\frac {\left (2 \cos \relax (x )-2\right ) x}{2}+\frac {1}{c_{1}-\ln \relax (x )} \]

Solution by Mathematica

Time used: 0.388 (sec). Leaf size: 32

DSolve[y'[x] == (x + (3*x^2)/2 - x*Cos[x] - 2*x^2*Cos[x] + (x^2*Cos[2*x])/2 + x^2*Sin[x] - 2*x*y[x] + 2*x*Cos[x]*y[x] + y[x]^2)/x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to x+x (-\cos (x))+\frac {1}{-\log (x)+c_1} \\ y(x)\to x-x \cos (x) \\ \end{align*}