82.53.3 problem Ex. 3

Internal problem ID [18944]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter IX. Equations of the second order. problems at page 118
Problem number : Ex. 3
Date solved : Monday, March 31, 2025 at 06:26:11 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.004 (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.04 (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