23.3.285 problem 287

Internal problem ID [5999]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 3. THE DIFFERENTIAL EQUATION IS LINEAR AND OF SECOND ORDER, page 311
Problem number : 287
Date solved : Tuesday, September 30, 2025 at 02:07:37 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} 2 y-2 x y^{\prime }+x^{2} y^{\prime \prime }&=x^{5} \ln \left (x \right ) \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 25
ode:=2*y(x)-2*x*diff(y(x),x)+x^2*diff(diff(y(x),x),x) = x^5*ln(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {x^{5} \ln \left (x \right )}{12}-\frac {7 x^{5}}{144}+c_2 \,x^{2}+c_1 x \]
Mathematica. Time used: 0.013 (sec). Leaf size: 32
ode=2*y[x] - 2*x*D[y[x],x] + x^2*D[y[x],{x,2}] == x^5*Log[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to -\frac {7 x^5}{144}+\frac {1}{12} x^5 \log (x)+c_2 x^2+c_1 x \end{align*}
Sympy. Time used: 0.181 (sec). Leaf size: 24
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x**5*log(x) + x**2*Derivative(y(x), (x, 2)) - 2*x*Derivative(y(x), x) + 2*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = x \left (C_{1} + C_{2} x + \frac {x^{4} \log {\left (x \right )}}{12} - \frac {7 x^{4}}{144}\right ) \]