83.41.20 problem 5 (vii)

Internal problem ID [19429]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter VIII. Linear equations of second order. Excercise at end of chapter VIII. Page 141
Problem number : 5 (vii)
Date solved : Monday, March 31, 2025 at 07:13:27 PM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} x y^{\prime \prime }-y^{\prime }+4 x^{3} y&=x^{5} \end{align*}

Maple. Time used: 0.003 (sec). Leaf size: 22
ode:=x*diff(diff(y(x),x),x)-diff(y(x),x)+4*x^3*y(x) = x^5; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \sin \left (x^{2}\right ) c_2 +\cos \left (x^{2}\right ) c_1 +\frac {x^{2}}{4} \]
Mathematica. Time used: 0.03 (sec). Leaf size: 27
ode=x*D[y[x],{x,2}]-D[y[x],x]+4*x^3*y[x]==x^5; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {x^2}{4}+c_1 \cos \left (x^2\right )+c_2 \sin \left (x^2\right ) \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x**5 + 4*x**3*y(x) + x*Derivative(y(x), (x, 2)) - Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -x*(-x**4 + 4*x**2*y(x) + Derivative(y(x), (x, 2))) + Derivative(y(x), x) cannot be solved by the factorable group method