73.13.15 problem 20.1 (o)

Internal problem ID [15314]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 20. Euler equations. Additional exercises page 382
Problem number : 20.1 (o)
Date solved : Thursday, March 13, 2025 at 05:54:20 AM
CAS classification : [[_2nd_order, _missing_y]]

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

Maple. Time used: 0.001 (sec). Leaf size: 10
ode:=x^2*diff(diff(y(x),x),x)+x*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \ln \left (x \right ) c_{2} +c_{1} \]
Mathematica. Time used: 0.024 (sec). Leaf size: 13
ode=x^2*D[y[x],{x,2}]+x*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 \log (x)+c_2 \]
Sympy. Time used: 0.124 (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),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + C_{2} \log {\left (x \right )} \]