23.3.335 problem 337

Internal problem ID [6049]
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 : 337
Date solved : Tuesday, September 30, 2025 at 02:20:29 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} \left (4 x^{4}+2 x^{2}+1\right ) y+4 x^{3} y^{\prime }+x^{2} y^{\prime \prime }&=0 \end{align*}
Maple. Time used: 0.006 (sec). Leaf size: 35
ode:=(4*x^4+2*x^2+1)*y(x)+4*x^3*diff(y(x),x)+x^2*diff(diff(y(x),x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{-x^{2}} \sqrt {x}\, \left (x^{-\frac {i \sqrt {3}}{2}} c_2 +x^{\frac {i \sqrt {3}}{2}} c_1 \right ) \]
Mathematica. Time used: 0.049 (sec). Leaf size: 60
ode=(1 + 2*x^2 + 4*x^4)*y[x] + 4*x^3*D[y[x],x] + x^2*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {1}{3} e^{-x^2} x^{\frac {1}{2}-\frac {i \sqrt {3}}{2}} \left (3 c_1-i \sqrt {3} c_2 x^{i \sqrt {3}}\right ) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(4*x**3*Derivative(y(x), x) + x**2*Derivative(y(x), (x, 2)) + (4*x**4 + 2*x**2 + 1)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
ValueError : Expected Expr or iterable but got None