83.41.16 problem 5 (iii)

Internal problem ID [19417]
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 (iii)
Date solved : Thursday, March 13, 2025 at 02:24:37 PM
CAS classification : [[_2nd_order, _exact, _linear, _homogeneous]]

\begin{align*} x^{2} y^{\prime \prime }+x y^{\prime }-y&=0 \end{align*}

Maple. Time used: 0.003 (sec). Leaf size: 15
ode:=x^2*diff(diff(y(x),x),x)+x*diff(y(x),x)-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y \left (x \right ) = \frac {c_{2} x^{2}+c_{1}}{x} \]
Mathematica. Time used: 0.011 (sec). Leaf size: 16
ode=x^2*D[y[x],{x,2}]+x*D[y[x],x]-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {c_1}{x}+c_2 x \]
Sympy. Time used: 0.141 (sec). Leaf size: 8
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**2*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x) - y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {C_{1}}{x} + C_{2} x \]