3.417 problem 1418

Internal problem ID [8995]

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

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.328 (sec). Leaf size: 51

dsolve(diff(diff(y(x),x),x) = -x*sin(x)/(cos(x)*x-sin(x))*diff(y(x),x)+sin(x)/(cos(x)*x-sin(x))*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} \sin \left (x \right )+c_{2} \sin \left (x \right ) \left (\int {\mathrm e}^{\int \frac {-2 x \cos \left (x \right ) \cot \left (x \right )-3 \sin \left (x \right ) \tan \left (x \right )+2 \sec \left (x \right )}{-\sin \left (x \right )+\cos \left (x \right ) x}d x} \cos \left (x \right )d x \right ) \]

Solution by Mathematica

Time used: 0.093 (sec). Leaf size: 15

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

\begin{align*} y(x)\to c_1 x+c_2 \sin (x) \\ \end{align*}