16.11 problem 11

Internal problem ID [2260]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 25, page 112
Problem number: 11.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x^{2} y^{\prime \prime }-y^{\prime } x +2 y=\ln \left (x \right ) x^{2}} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 26

dsolve(x^2*diff(y(x),x$2)-x*diff(y(x),x)+2*y(x)=x^2*ln(x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.078 (sec). Leaf size: 31

DSolve[x^2*y''[x]-x*y'[x]+2*y[x]==x^2*Log[x],y[x],x,IncludeSingularSolutions -> True]
 

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