72.12.32 problem 5 (h)

Internal problem ID [19605]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 3. Second order linear equations. Section 17. The Homogeneous Equation with Constant Coefficients. Problems at page 125
Problem number : 5 (h)
Date solved : Thursday, October 02, 2025 at 04:40:33 PM
CAS classification : [[_Emden, _Fowler], [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]

\begin{align*} x^{2} y^{\prime \prime }+x y^{\prime }-2 y&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 21
ode:=x^2*diff(diff(y(x),x),x)+x*diff(y(x),x)-2*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,x^{\sqrt {2}}+c_2 \,x^{-\sqrt {2}} \]
Mathematica. Time used: 0.009 (sec). Leaf size: 28
ode=x^2*D[y[x],{x,2}] +x*D[y[x],x]-2*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 x^{-\sqrt {2}}+c_2 x^{\sqrt {2}} \end{align*}
Sympy. Time used: 0.089 (sec). Leaf size: 19
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**2*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x) - 2*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {C_{1}}{x^{\sqrt {2}}} + C_{2} x^{\sqrt {2}} \]