16.10 problem 10

Internal problem ID [2259]

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: 10.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 30

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

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

Solution by Mathematica

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

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

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