3.171 problem 1175

Internal problem ID [9505]

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

CAS Maple gives this as type [[_2nd_order, _exact, _linear, _nonhomogeneous]]

\[ \boxed {x^{2} y^{\prime \prime }-2 y^{\prime } x -4 y=x \sin \left (x \right )+\left (a \,x^{2}+12 a +4\right ) \cos \left (x \right )} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {\left (-2 a -1\right ) \sin \left (x \right )+x^{5} c_{2} -x a \cos \left (x \right )+c_{1}}{x} \]

Solution by Mathematica

Time used: 0.501 (sec). Leaf size: 33

DSolve[(-4 - 12*a - a*x^2)*Cos[x] - x*Sin[x] - 4*y[x] - 2*x*y'[x] + x^2*y''[x] == 0,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\[ y(x)\to \frac {-(2 a+1) \sin (x)-a x \cos (x)+c_2 x^5+c_1}{x} \]