23.3.207 problem 209

Internal problem ID [5921]
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 : 209
Date solved : Tuesday, September 30, 2025 at 02:06:13 PM
CAS classification : [_Laguerre]

\begin{align*} 3 y-\left (3+x \right ) y^{\prime }+x y^{\prime \prime }&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 24
ode:=3*y(x)-(x+3)*diff(y(x),x)+x*diff(diff(y(x),x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{x}+c_2 \left (x^{3}+3 x^{2}+6 x +6\right ) \]
Mathematica. Time used: 0.042 (sec). Leaf size: 29
ode=3*y[x] - (3 + x)*D[y[x],x] + x*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^x-c_2 \left (x^3+3 x^2+6 x+6\right ) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), (x, 2)) - (x + 3)*Derivative(y(x), x) + 3*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False