5.8 problem 8

Internal problem ID [5829]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 2. Linear homogeneous equations. Section 2.3.4 problems. page 104
Problem number: 8.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.031 (sec). Leaf size: 25

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

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

Solution by Mathematica

Time used: 0.105 (sec). Leaf size: 27

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

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