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 (-1+\ln \left (x \right )\right ) y^{\prime \prime }-y^{\prime } x +y=x \left (1-\ln \left (x \right )\right )^{2}} \]

Solution by Maple

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

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 ) = \left (\frac {\ln \left (x \right )^{2}}{2}-\frac {c_{1} \ln \left (x \right )}{x}-\ln \left (x \right )+c_{2} \right ) 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) \]