72.24.1 problem 3 (a)

Internal problem ID [19744]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 9. Laplace transforms. Section 51. Derivatives and Integrals of Laplace Transforms. Problems at page 467
Problem number : 3 (a)
Date solved : Thursday, October 02, 2025 at 04:41:52 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x y^{\prime \prime }+\left (3 x -1\right ) y^{\prime }-\left (9+4 x \right ) y&=0 \end{align*}

Using Laplace method With initial conditions

\begin{align*} y \left (0\right )&=0 \\ y^{\prime }\left (0\right )&=0 \\ \end{align*}
Maple. Time used: 0.090 (sec). Leaf size: 12
ode:=x*diff(diff(y(x),x),x)+(3*x-1)*diff(y(x),x)-(4*x+9)*y(x) = 0; 
ic:=[y(0) = 0, D(y)(0) = 0]; 
dsolve([ode,op(ic)],y(x),method='laplace');
 
\[ y = \frac {c_1 \,{\mathrm e}^{x} x^{2}}{2} \]
Mathematica. Time used: 0.181 (sec). Leaf size: 14
ode=x*D[y[x],{x,2}]+(3*x-1)*D[y[x],x]-(4*x+9)*y[x]==0; 
ic={y[0]==0,Derivative[1][y][0] == 0}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^x x^2 \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), (x, 2)) + (3*x - 1)*Derivative(y(x), x) - (4*x + 9)*y(x),0) 
ics = {y(0): 0, Subs(Derivative(y(x), x), x, 0): 0} 
dsolve(ode,func=y(x),ics=ics)
 
ValueError : Couldnt solve for initial conditions